Operators and commutors, and order.

  • Thread starter LogicX
  • Start date
  • Tags
    Operators
In summary: I think I am supposed to use the chain rule or something like that?In summary, the equation simplifies the way it does by canceling out the order of the operators. However, I don't understand why they cancel, and I'm not sure why the order of the operators matters.
  • #1
LogicX
181
1
I'm having trouble figuring out why an equation simplifies the way it does.

(x and p refer to x hat and px hat, h refers to h bar, and the momentum operator is h/i dψ/dx )

I want to show that xpψ - pxψ = -h/i ψ

I understand that xpψ= x χ h/i dψ/dx
And pxψ= h/i x dψ/dx

When you try to simplify the subtraction expression you get:
x [itex]\times[/itex] h/i dψ/dx - h/i ψ - h/i x dψ/dx

The first and last part cancel out (do they?) to give the middle, -h/i ψ as the correct final answer.

But I don't get why they cancel, if that is what they are indeed doing. Is x χ (something) the same as (something) multiplied by x? If they are the same, then why don't they commute? In xpψ, you are calculating the effect of p on ψ followed by multiplication. In pxψ you are calculating the effect of multiplication by x followed by the effect of p.

But then when you are subtracting them to find the commutor, you can suddenly treat the order as irrelevant and cancel stuff out? Or am I misunderstanding how they got the final result?

(sorry if my notations are confusing, I'll work on learning how to write equations if no one knows what I am saying, this is just the commutation relation of position and momentum)
 
Last edited:
Physics news on Phys.org
  • #2
LogicX said:
pxψ= h/i x dψ/dx

No. Operators in such expressions are usually taken to operate on everything to their right.
So [itex]px\psi ~\equiv~ p(x\psi)[/itex].

Does that help at all?
 
  • #3
So you started with working out [X,P]:
[X,P] = xpψ - pxψ as you said.

I understand that xpψ= x χ h/i dψ/dx
And pxψ= h/i x dψ/dx

The first bit xpψ= x χ h/i dψ/dx is correct.
But pxψ ≠ h/i x dψ/dx
Don't know if that was just a mistake typing up but;
pxψ = p(xψ) = h/i x dψ/dx +(h/i)ψ <--- since differentiation of product.

In the end where
{x × h/i }dψ/dx - h/i ψ - {h/i x }dψ/dx
the bits in the curly brackets {} are the same since they are just numbers now, not operators. Its only the order of operators that matters.
 
  • #4
Thanks, both posts helped a lot.
 
  • #5
LogicX said:
I'm having trouble figuring out why an equation simplifies the way it does.

(x and p refer to x hat and px hat, h refers to h bar, and the momentum operator is h/i dψ/dx )

I want to show that xpψ - pxψ = -h/i ψ

I understand that xpψ= x χ h/i dψ/dx
And pxψ= h/i x dψ/dx

When you try to simplify the subtraction expression you get:
x [itex]\times[/itex] h/i dψ/dx - h/i ψ - h/i x dψ/dx

The first and last part cancel out (do they?) to give the middle, -h/i ψ as the correct final answer.

But I don't get why they cancel, if that is what they are indeed doing. Is x χ (something) the same as (something) multiplied by x? If they are the same, then why don't they commute? In xpψ, you are calculating the effect of p on ψ followed by multiplication. In pxψ you are calculating the effect of multiplication by x followed by the effect of p.

But then when you are subtracting them to find the commutor, you can suddenly treat the order as irrelevant and cancel stuff out? Or am I misunderstanding how they got the final result?

(sorry if my notations are confusing, I'll work on learning how to write equations if no one knows what I am saying, this is just the commutation relation of position and momentum)

I'm quoting myself for reference here. I'm wondering how this question changes if this is the question instead:

instead of ψ, you just have a general function, f(x). So my final answer would be -h/i f(x) (I think).

What if you use py=-i d/dy and apply it to a function f(x,y) instead?

xpyf(x,y)= x χ -i d(f(x,y))/dy
pyxf(x,y)= -i [x d(f(x,y))/dy + f(x,y) dx/dy]

What does d(f(x,y))/dy mean? How is it different from f(x,y) dx/dy (and what does that one mean as well?)? I'm not used to this heavy notation with derivatives.
 
Last edited:
  • #6
LogicX said:
What does d(f(x,y))/dy mean?
You should be using partial derivatives:
[tex]
\frac{\partial f(x,y)}{\partial y}
[/tex]
http://en.wikipedia.org/wiki/Partial_derivative

(If you're not familiar with this sort of thing, you'll most likely need a textbook on multivariate calculus.)
 
  • #7
strangerep said:
You should be using partial derivatives:
[tex]
\frac{\partial f(x,y)}{\partial y}
[/tex]
http://en.wikipedia.org/wiki/Partial_derivative

(If you're not familiar with this sort of thing, you'll most likely need a textbook on multivariate calculus.)

Ok well in the problem I am doing, it gives the momentum operator as px= -i d/dx (not a partial derivative...)

I went to talk to my professor and he said that for the second part with f(x,y), the operator is py= -i d/dy

How do I know to change it to a partial derivative? I know how to take a partial derivative in the basic sense. Since both the x and y momentum operators specified a specific dimension, are they automatically partial derivatives with respect to that variable?

So, in the first case with px I was able to get away with my method because the only variable present was x. But now that I have py, and I have x in the equation, I have to do something different?

EDIT: Ok, wikipedia helped. So, if I have a function in terms of x and y, i.e. f(x,y). I take the partial derivative of this function with respect to y. so x d(f(x,y))/dy= 0, because x would be treated as a constant?

What about f(x,y) dx/dy? That isn't a partial derivative, is it?

EDIT 2: Nope, it wouldn't be zero. You are taking the partial derivative of the function f(x,y), it has nothing to do with the x in front of it

Whereas the second part, dx/dy would act on the function in front of it? I'm so confused by this. How do you know what the numerator of the derivative is telling you to do? I've even seen them factor out functions from derivatives before. I don't know the rules for this so it all seems random to me.

Grr, I'm not prepared for this. Derivatives have always just been a thing you take of a defined function. Not morphing strange notations into different strange notation that they never taught us.
 
Last edited:
  • #8
LogicX said:
[...] I'm so confused by this. How do you know what the numerator of the derivative is telling you to do? I've even seen them factor out functions from derivatives before.
The numerator doesn't tell you what to do. The operator does. E.g., for an ordinary derivative
[tex]
\frac{df(x)}{dx} ~\equiv~ \frac{d}{dx}\Big(f(x)\Big)
[/tex]
and for a partial derivative
[tex]
\frac{\partial f(x,y)}{\partial y} ~\equiv~ \frac{\partial}{\partial y}\Big(f(x,y)\Big)
[/tex]
Also,
[tex]
\frac{\partial}{\partial y}\Big(A(x) B(y) \Big)
~=~ A(x) \frac{\partial}{\partial y}\Big(B(y) \Big)
[/tex]
because x is kept constant while doing a partial derivative with respect to y. So you can move it outside the derivative just like an ordinary constant.

I don't know the rules for this so it all seems random to me.
Grr, I'm not prepared for this. Derivatives have always just been a thing you take of a defined function. Not morphing strange notations into different strange notation that they never taught us.
OK, ok. Stop. You absolutely must get a textbook on the basics of multivariate calculus as your highest priority, since your teacher is obviously assuming that as prerequisite knowledge.

Try the Schaum's Outline of Calculus, 5th ed. (Schaum's Outline Series) by Frank Ayres and Elliott Mendelson. It's really cheap, and most of the Schaum outline series contain lots of essential basics in concise form.

(P.S: I know how you're feeling, btw. In my very first QM course, the lecturer solved the Schrodinger equation for the Hydrogen atom, using separation of variables, Legendre functions, Laguerre polynomials, -- all of which left most of the class thinking "what the f**k??" because the math courses in the same year hadn't yet covered that stuff.
 
  • #9
strangerep said:
The numerator doesn't tell you what to do. The operator does. E.g., for an ordinary derivative
[tex]
\frac{df(x)}{dx} ~\equiv~ \frac{d}{dx}\Big(f(x)\Big)
[/tex]
and for a partial derivative
[tex]
\frac{\partial f(x,y)}{\partial y} ~\equiv~ \frac{\partial}{\partial y}\Big(f(x,y)\Big)
[/tex]
Also,
[tex]
\frac{\partial}{\partial y}\Big(A(x) B(y) \Big)
~=~ A(x) \frac{\partial}{\partial y}\Big(B(y) \Big)
[/tex]
because x is kept constant while doing a partial derivative with respect to y. So you can move it outside the derivative just like an ordinary constant.

Ok, I think I knew this, I was just having a little breakdown. I know how to take a partial derivative. I just did not know it was a partial derivative because the notation listed for the operator was d, not [itex]\delta[/itex]. Can you explain this to me?

As for the derivative: [tex]
\frac{\partial f(x,y)}{\partial y} ~\equiv~ \frac{\partial}{\partial y}\Big(f(x,y)\Big)
[/tex]

If you gave me a function like x^2y+y^2 instead of f(x,y) I would have been able to do this question probably without trouble. I just got confused because I was thinking I should be able to simplify what I did have, but I don't think you can, because there is no simplification for the general case of a function f(x,y).

I believe my final answer for xpyf(x,y) - pyxf(x,y)= i f(x,y) dx/dy

Because there is still a cancellation like for when I did the question for px. Except that now, the function is f(x,y) and it is dx/dy instead of dx/dx so that does not cancel out.

OK, ok. Stop. You absolutely must get a textbook on the basics of multivariate calculus as your highest priority, since your teacher is obviously assuming that as prerequisite knowledge.

Try the Schaum's Outline of Calculus, 5th ed. (Schaum's Outline Series) by Frank Ayres and Elliott Mendelson. It's really cheap, and most of the Schaum outline series contain lots of essential basics in concise form.

Ok... and this is where I am going to be absolutely ashamed... I took multivariable calculus a couple years ago. But there was only one chapter on partial derivatives and all I remember doing was memorizing how to take multiple partial derivatives, and the basic "hold all other variables constant" rule. Except that I don't actually remember how to do it. I will be rereading that chapter very soon. The notation always confused me.

(P.S: I know how you're feeling, btw. In my very first QM course, the lecturer solved the Schrodinger equation for the Hydrogen atom, using separation of variables, Legendre functions, Laguerre polynomials, -- all of which left most of the class thinking "what the f**k??" because the math courses in the same year hadn't yet covered that stuff.

Yeah, I'm pretty sure I'm the only one in the class even attempting the homework so far, haha. The course is pretty overwhelming. Thanks for your help though.
 
  • #10
LogicX said:
O I just did not know it was a partial derivative because the notation listed for the operator was d, not [itex]\delta[/itex]. Can you explain this to me?
The correct symbol is not [itex]\delta[/itex] either, but [itex]\partial[/itex]. (There's a difference -- look carefully. :-)

The [itex]\delta[/itex] symbol is sometimes used for functional derivatives (kinda like partial derivatives where there's an infinite number of variables), but don't worry too much about that just yet. :-)

I believe my final answer for xpyf(x,y) - pyxf(x,y)= i f(x,y) dx/dy
If you mean
[tex]
x p_y f(x,y) - p_y x f(x,y) ~=~ i f(x,y) \frac{\partial x}{\partial y}
[/tex]
then you haven't yet finished, since x and y are assumed to be independent variables, which means that
[tex]
\frac{\partial x}{\partial y} ~=~ 0 ~=~\frac{\partial y}{\partial x} ~.
[/tex]
 
Last edited:
  • #11
strangerep said:
The correct symbol is not [itex]\delta[/itex] either, but [itex]\partial[/itex]. (There's a difference -- look carefully. :-)

Yeah I couldn't find the right symbol to use... So it was incorrect for the problem to use d/dx instead of [itex]\delta[/itex]?

If you mean
[tex]
x p_y f(x,y) - p_y x f(x,y) ~=~ i f(x,y) \frac{\partial x}{\partial y}
[/tex]

Yes.

then you haven't yet finished, since x and y are assumed to be independent variables, which means that
[tex]
\frac{\partial x}{\partial y} ~=~ 0 ~=~\frac{\partial y}{\partial x} ~.
[/tex]

Are you saying that [tex]
\frac{\partial x}{\partial y} ~=~ x\frac{\partial}{\partial y}[/tex]

And the partial derivative of x with respect to y is 0.

So all that, and my answer is zero? Did I mess up somewhere else?

Doesn't it matter that I have f(x,y) out in front? In these problems, when the operator is all the way on the left, i.e. pxxf(x), you have to do the product rule. If what is in the numerator doesn't matter, why doesn't x factor out (or f(x) factor in) in this step:

[tex]
i f(x,y) \frac{\partial x}{\partial y} ~=~ i \frac{\partial f(x,y) x}{\partial y}
[/tex]

Is that what I'm missing? But wait, if you actually do the product rule with that, you get the same exact function back:
[tex]
\frac{\partial f(x,y) x}{\partial y} ~=~ x\frac{\partial}{\partial y}\ f(x,y) + \frac{\partial f(x,y)}{\partial y}\ x ~=~ 0 + \frac{\partial f(x,y)}{\partial y}\ x
[/tex]

so that can't be it... If, in order to complete a derivative, you do indeed need to do the product rule, then I would say that I am correct and the problem is simplified. And it seems to me that you must do the product rule in this final step if you actually want to take that partial derivative.

In the course of this thread I seem to have confused myself now about the product rule. It is first*derivative of the second + second*derivative of the first. Not first*derivative of the second but also maybe the first if you factor that into the derivative + second*derivative of the first... Or does this go back to the concept that I just made up that you can keep taking the product rule again, but you will get the same function back no matter what?
 
Last edited:
  • #12
LogicX said:
Yeah I couldn't find the right symbol to use... So it was incorrect for the problem to use d/dx instead of [itex]\delta[/itex]?
Since you didn't post the full original text of the problem, I can't be sure.

But I must now mention something else. Since this is all clearly a homework question, you're actually in violation of PF guidelines by posting it here. Please (re-)read the Forum Guidelines thread which appears at the top of the quantum physics forum, and also the other threads linked to therein.

The homework forum has strict guidelines about how the question must be formatted, one of which is that you must begin with a full statement of the original problem. This ensures that potential helpers can actually help with the real problem, and are not trying to disentangle some confused version of it.

Are you saying that [tex]
\frac{\partial x}{\partial y} ~=~ x\frac{\partial}{\partial y}[/tex]
I was saying what I actually said:
[tex]
\frac{\partial x}{\partial y} ~=~ 0 ~,
[/tex]
but a corollary of this is that
[tex]
\frac{\partial\Big( x f(y) \Big)}{\partial y} ~=~ x \frac{\partial f(y)}{\partial y} ~.
[/tex]

So all that, and my answer is zero? Did I mess up somewhere else?
The position and momentum operators for orthogonal cartesian directions (such as [itex]x[/itex] and [itex]p_y[/itex]) commute, whereas [itex]x[/itex] and [itex]p_x[/itex] do not commute.

[tex]
i f(x,y) \frac{\partial x}{\partial y} ~=~ i \frac{\partial f(x,y) x}{\partial y}
[/tex]
That's wrong. The LHS is 0, but the RHS is not (which hopefully you can now see from my previous answers above).

[...] if you actually do the product rule with that, you get the same exact function back:
[tex]
\frac{\partial f(x,y) x}{\partial y} ~=~ x\frac{\partial}{\partial y}\ f(x,y) + \frac{\partial f(x,y)}{\partial y}\ x ~=~ 0 + \frac{\partial f(x,y)}{\partial y}\ x
[/tex]
Your first step above is a misapplication of the Leibniz product rule. It should be
[tex]
\frac{\partial f(x,y) x}{\partial y}
~=~ f(x,y) \frac{\partial x}{\partial y} ~+~ \frac{\partial f(x,y)}{\partial y} \; x
[/tex]

[...confusion about product rule...]
Probably best at this stage if you review the product rule for ordinary derivatives in that calculus textbook of yours, or perhaps on Wiki:

http://en.wikipedia.org/wiki/Product_rule

and I think you should post any further followup questions over in the homework forum (and conform to its format guidelines when doing so), otherwise you might incur the wrath of the moderators...
 

What is the difference between operators and commutators?

Operators and commutators are both mathematical concepts used in the field of quantum mechanics. Operators represent physical quantities, such as position or momentum, while commutators represent the order in which these operators are applied. In other words, operators are the tools used to perform calculations, while commutators determine the order in which these calculations are done.

Why is the order of operators important?

The order of operators is important because in quantum mechanics, the order in which calculations are performed can affect the final result. This is due to the fact that operators do not always commute with each other, meaning their order does matter. Therefore, it is crucial to carefully consider the order of operators when performing calculations in quantum mechanics.

Can operators and commutators be used in classical mechanics?

Yes, operators and commutators can also be used in classical mechanics. However, their use is more prevalent in quantum mechanics due to the fact that classical mechanics relies on deterministic equations, while quantum mechanics involves probabilistic calculations that require the use of operators and commutators.

How are operators and commutators related to Heisenberg's uncertainty principle?

Operators and commutators are related to Heisenberg's uncertainty principle because they are used to calculate the uncertainties in physical quantities, such as position and momentum. The uncertainty principle states that it is impossible to know both the exact position and momentum of a particle at the same time, and operators and commutators are the mathematical tools used to determine these uncertainties.

What are some common examples of operators and commutators?

Some common examples of operators include the position operator, momentum operator, and energy operator. Commutators are often used to calculate the uncertainties in these operators. For example, the position and momentum operators do not commute, meaning their order matters and affects the uncertainty in these quantities.

Similar threads

Replies
2
Views
811
Replies
4
Views
1K
  • Quantum Physics
Replies
6
Views
1K
Replies
3
Views
820
  • Quantum Physics
Replies
3
Views
1K
  • Quantum Physics
2
Replies
57
Views
5K
Replies
3
Views
1K
  • Quantum Physics
Replies
14
Views
2K
  • Quantum Physics
Replies
5
Views
2K
Replies
1
Views
1K
Back
Top