What is the Commutator of Position and Momentum in Different Dimensions?

In summary, the commutator [x,px] for a function f(x) is i f(x), and the commutator [x,py] for a function f(x,y) is also i f(x,y).
  • #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.
 
Physics news on Phys.org
  • #2
Review partial derivatives because that's what these derivatives are. [itex]\frac{\partial f(x,y)}{\partial y}[/itex] means take the derivative of f(x,y) with respect to y with x held constant. If f(x,y) is just x, then that is 0. It's the derivative of a constant.
 
  • #3
Dick said:
Review partial derivatives because that's what these derivatives are. [itex]\frac{\partial f(x,y)}{\partial y}[/itex] means take the derivative of f(x,y) with respect to y with x held constant. If f(x,y) is just x, then that is 0. It's the derivative of a constant.

So how did you know that it was a partial derivative? Just because it couldn't be anything else with that specific derivative that I presented? I just didn't recognize it because my HW used d instead of [itex]\partial[/itex].

And I think I see what you are saying. I understand that the partial derivative of x with respect to y is 0. So you are tell me that the f(x,y) in the numerator of the derivative is referring to the x as being the function f(x,y)?

Here is where I am a little confused. I thought that f(x,y) represented an actual function, it just happens to be the general case for any function with independent variables x and y. So, if you wanted to do it for a specific function, say f(x,y)=x2y2, you could write that in place of f(x,y).

Do you see what I'm getting at? In what you are doing, f(x,y) seems to just be part of the derivative notation in order to take the partial derivative of x. In my specific example, f(x,y) is an actual function and you must include that in the what you are taking a derivative of. I am confused that it just kind of disappears in what you are telling me to do.

I had thought that having f(x,y) meant you couldn't simplify it anymore because you don't know what f(x,y) is, it is just a general function.

(sorry for being so longwinded, I'm just trying to be as specific as possible so that you can get a sense for what my trouble is, since it seems to be some sort of fundamental misunderstanding of derivatives.)
 
  • #4
LogicX said:
So how did you know that it was a partial derivative? Just because it couldn't be anything else with that specific derivative that I presented? I just didn't recognize it because my HW used d instead of [itex]\partial[/itex].

And I think I see what you are saying. I understand that the partial derivative of x with respect to y is 0. So you are tell me that the f(x,y) in the numerator of the derivative is referring to the x as being the function f(x,y)?

Here is where I am a little confused. I thought that f(x,y) represented an actual function, it just happens to be the general case for any function with independent variables x and y. So, if you wanted to do it for a specific function, say f(x,y)=x2y2, you could write that in place of f(x,y).

Do you see what I'm getting at? In what you are doing, f(x,y) seems to just be part of the derivative notation in order to take the partial derivative of x. In my specific example, f(x,y) is an actual function and you must include that in the what you are taking a derivative of. I am confused that it just kind of disappears in what you are telling me to do.

I had thought that having f(x,y) meant you couldn't simplify it anymore because you don't know what f(x,y) is, it is just a general function.

(sorry for being so longwinded, I'm just trying to be as specific as possible so that you can get a sense for what my trouble is, since it seems to be some sort of fundamental misunderstanding of derivatives.)

I'm trying to say that you are doing everything right. The HW is sloppy if it is just using d instead of [itex]\partial[/itex]. When you are dealing with multiple variables like x and y you should use [itex]\partial[/itex]. And your answer is correct. It's [itex]i f(x,y) \frac{\partial x}{\partial y}[/itex]. But [itex]\frac{\partial x}{\partial y}=0[/itex]. So you can simplify the whole answer to 0.
 
  • #5
Dick said:
I'm trying to say that you are doing everything right. The HW is sloppy if it is just using d instead of [itex]\partial[/itex]. When you are dealing with multiple variables like x and y you should use [itex]\partial[/itex]. And your answer is correct. It's [itex]i f(x,y) \frac{\partial x}{\partial y}[/itex]. But [itex]\frac{\partial x}{\partial y}=0[/itex]. So you can simplify the whole answer to 0.

So [itex]\frac{\partial x}{\partial y}=0[/itex] only because it is a partial derivative, right? [itex]\frac{\partial x}{\partial y}[/itex] means take the derivative of x with respect to y with x as a constant. Thus it is zero.

I guess I'm just a little confused because I haven't seen partial derivatives in a while. Normally in the types of problems I do, derivatives look like dy/dx, and that just means take the derivative of whatever is in front of it, not that it equals zero.



Okay one last thing and again I apologize that my problem seems to be with the fundamentals. When I did this part of the problem:

[tex]
p_y x f(x,y) ~=~ -i \left[xf(x,y)\frac{\partial}{\partial y}\right] ~=~ -i x \frac{\partial f(x,y)}{\partial y} + i f(x,y) \frac{\partial x}{\partial y}
[/tex]

I had to use the product rule. What is different about [itex]x\frac{\partial f(x,y)}{\partial y}[/itex] that it is not considerd a product rule? f(x,y) and x are being multiplied together in both the first equation where they are being acted on by an operator, and in the latter example as well. Or is something different about the latter example that you cannot factor out both x and f(x,y) to have:

[itex]xf(x,y)\frac{\partial}{\partial y}[/itex]
 
Last edited:
  • #6
It IS a product rule and you did it almost correctly. [itex]p_y x f(x,y) ~=~ -i \frac{\partial }{\partial y} (x f(x,y)) ~=~ -i x \frac{ \partial f(x,y)}{\partial y} - i f(x,y) \frac{\partial x}{\partial y}[/itex].
 
  • #7
LogicX said:
[itex]xf(x,y)\frac{\partial}{\partial y}[/itex]

This part I don't get. How do you get the partial derivative hanging at the end? It used to be at the beginning.
 
  • #8
Dick said:
This part I don't get. How do you get the partial derivative hanging at the end? It used to be at the beginning.

Ok, ignore that right now, I'm not sure what I was going for. When you do the subtraction:

[itex]-i x \frac{\partial f(x,y)}{\partial y} - \left[-i x \frac{ \partial f(x,y)}{\partial y} - i f(x,y) \frac{\partial x}{\partial y}\right] ~=~ i f(x,y) \frac{\partial x}{\partial y}[/itex]

And this is where my previous' post was in error, since:

[itex]i f(x,y) \frac{\partial x}{\partial y}\neq i x \frac{\partial f(x,y)}{\partial y}[/itex]

The derivative only operates on what is to its right, and you cannot just factor anything in and out of the derivative as you please (?).
 
Last edited:
  • #9
LogicX said:
Ok, ignore that right now, I'm not sure what I was going for. When you do the subtraction:

[itex]-i x \frac{\partial f(x,y)}{\partial y} - \left[-i x \frac{ \partial f(x,y)}{\partial y} - i f(x,y) \frac{\partial x}{\partial y}\right] ~=~ i f(x,y) \frac{\partial x}{\partial y}[/itex]

And this is where my previous' post was in error, since:

[itex]i f(x,y) \frac{\partial x}{\partial y}\neq i x \frac{\partial f(x,y)}{\partial y}[/itex]

The derivative only operates on what is to its right, and you cannot just factor anything in and out of the derivative as you please (?).

Sure, you can't do that. You can't just move d/dy around where ever you please. It doesn't commute with everything. But you had the right answer to begin with. And I hope you'll agree that it's zero.
 
  • #10
Dick said:
Sure, you can't do that. You can't just move d/dy around where ever you please. It doesn't commute with everything. But you had the right answer to begin with. And I hope you'll agree that it's zero.

Yes I do, and I think I've sorted my issues out now. Thanks very much.
 

FAQ: What is the Commutator of Position and Momentum in Different Dimensions?

What is the uncertainty principle?

The uncertainty principle, also known as Heisenberg's uncertainty principle, is a fundamental concept in quantum mechanics that states that it is impossible to know both the position and momentum of a particle at the same time with complete accuracy. This is due to the wave-like nature of particles at the quantum level.

How does the uncertainty principle relate to the commutator?

The commutator is a mathematical operation used in quantum mechanics to calculate the uncertainty in a particle's position and momentum. The uncertainty principle states that the commutator of the position and momentum operators is equal to Planck's constant divided by 2π.

Why is the uncertainty principle important?

The uncertainty principle has significant implications for our understanding of the behavior of particles at the quantum level. It shows that there is a fundamental limit to our ability to know certain properties of particles, and it has a profound impact on the way we view the world at the smallest scales.

Can the uncertainty principle be violated?

No, the uncertainty principle is a fundamental law of quantum mechanics and has been confirmed by numerous experiments. It is a key principle in our understanding of the behavior of particles and cannot be violated.

What are some real-world applications of the uncertainty principle?

The uncertainty principle has practical applications in various fields, including quantum computing and cryptography. It also plays a crucial role in medical imaging techniques such as MRI and PET scans. Its understanding is also essential for the development of new technologies in fields such as nanotechnology and telecommunications.

Back
Top