- #1
LogicX
- 181
- 1
Homework Statement
Calculate [x,px] = (xpx - pxx)
Do this for a function f(x).
Now calculate [x,py] for f(x,y)
Homework Equations
px is actually px hat, I'm just not familiar with latex code.
px= -i (d/dx)
The Attempt at a Solution
I believe I got the first part, for f(x). This is just the canonical commutator relation with f(x) instead of a wavefunction like my book had.
My final answer was :
[x,px]= i f(x)
I'm a little stuck on the second part because my derivative skills are shaky right now. I believe that the momentum operator changes to py= -i (d/dy)
So, if I do the question I get (using the product rule):
[tex]
x p_y f(x,y) ~=~ x \times -i \frac{df(x,y)}{dy}
[/tex]
[tex]
p_y x f(x,y) ~=~ -i x \frac{df(x,y)}{dy} + i f(x,y) \frac{dx}{dy}
[/tex]
Then two things cancel out when you do the subtraction and I am left with:
[tex]
x p_y f(x,y) - p_y x f(x,y) ~=~ i f(x,y) \frac{dx}{dy}
[/tex]
I am not sure where to go from here. This is where I say that I am shaky with derivatives because I don't know what f(x,y) dx/dy means. In the first part, instead of dx/dy I just got dx/dx which I assume cancels to one. So that is why I could do the first part but not this second part.