Expanding a bracket of derivatives

Click For Summary
SUMMARY

The discussion centers on the non-commutative nature of differential operators, specifically the operators \( \frac{d}{dx} \) and \( x \). The participants analyze two methods of expanding the expression \( (\frac{d}{dx} + x)(-\frac{d}{dx} + x)z \) and identify discrepancies in results due to misapplication of operator order. The correct approach emphasizes maintaining the order of operations to avoid errors, particularly in the context of applying these operators to the function \( z(x) \). This principle is also noted as fundamental in Quantum Mechanics.

PREREQUISITES
  • Understanding of differential operators, specifically \( \frac{d}{dx} \) and their properties.
  • Familiarity with the concept of non-commutativity in mathematical operations.
  • Basic knowledge of functions and derivatives, particularly in the context of calculus.
  • Awareness of the implications of operator order in advanced mathematics and physics.
NEXT STEPS
  • Study the properties of differential operators in depth, focusing on non-commutative behavior.
  • Learn about the application of the product rule in calculus, particularly with multiple operators.
  • Explore the implications of operator order in Quantum Mechanics and its mathematical foundations.
  • Investigate the role of function notation and operator application in advanced calculus.
USEFUL FOR

Mathematicians, physicists, and students studying calculus or quantum mechanics who seek to deepen their understanding of operator manipulation and its implications in various fields.

etotheipi
Homework Statement
Show that [itex](\frac{d}{dx} +x)(-\frac{d}{dx} + x)z = -\frac{d^{2}z}{dx^{2}}+x^{2}z + z[/itex]
Relevant Equations
N/A
I am wondering why the two methods below give different answers. If I multiply z through the second bracket I get $$(\frac{d}{dx} +x)(-\frac{dz}{dx} + xz)$$which, on expansion, yields $$-\frac{d}{dx}\frac{dz}{dx} -x\frac{dz}{dx} + \frac{d(xz)}{dx} + x^{2}z = -\frac{d^{2}z}{dx^{2}} + x^{2}z + z$$ via the product rule on the third term, as required. However, if instead I expand the brackets first before multiplying through by z, I get$$(-\frac{d}{dx}\frac{d}{dx} -x\frac{d}{dx} + x\frac{d}{dx} + x^{2})z = -\frac{d^{2}z}{dx^{2}} + x^{2}z$$ I know the error has something to do with misusing the \frac{d}{dx} operator, but I can't pinpoint it.
 
Physics news on Phys.org
What is / does ##z##? Is it left multiplication with a variable called ##z##? What is / does ##z.f(x)##?

I would apply the entire thing to a function ##f## and work with usual derivatives. And note that they are not commutative!
 
Last edited:
Yes, please define and/or give refs for the operator.
 
fresh_42 said:
What is / does ##z##? Is it left multiplication with a variable called ##z##? What is / does ##z.f(x)##?

I would apply the entire thing to a function ##f## and work with usual derivatives. And note that they are not commutative!

WWGD said:
Yes, please define and/or give refs for the operator.

Sorry I should have added, that z(x) is some function of x, though no other information is given apart from that and the problem statement.
 
Then apply the operators to ##z(x)## and write ##\dfrac{d}{dx}z(x)=z'(x)##. But do not multiply. Chances are you make a mistake since multiplication isn't commutative.
$$
(\frac{d}{dx} +x)(-\frac{d}{dx} + x)z =\left(\frac{d}{dx} +x\right)\left[\left((-\frac{d}{dx} + x)z\right)\right]
$$
 
  • Like
Likes   Reactions: etotheipi
etotheipi said:
However, if instead I expand the brackets first before multiplying through by z, I get$$(-\frac{d}{dx}\frac{d}{dx} -x\frac{d}{dx} + x\frac{d}{dx} + x^{2})z = -\frac{d^{2}z}{dx^{2}} + x^{2}z$$ I know the error has something to do with misusing the \frac{d}{dx} operator, but I can't pinpoint it.

The operators ##x## and ##\frac{d}{dx}## do not commute. That should be:
$$(-\frac{d}{dx}\frac{d}{dx} -x\frac{d}{dx} + \frac{d}{dx}x + x^{2})z $$
And the two terms in the middle do not cancel.

By the way, just out of interest, the fact that ##x## and ##\frac{d}{dx}## do not commute is actually at the heart of Quantum Mechanics.
 
  • Like
Likes   Reactions: HallsofIvy, FactChecker and etotheipi
fresh_42 said:
Then apply the operators to ##z(x)## and write ##\dfrac{d}{dx}z(x)=z'(x)##. But do not multiply. Chances are you make a mistake since multiplication isn't commutative.
$$
(\frac{d}{dx} +x)(-\frac{d}{dx} + x)z =\left(\frac{d}{dx} +x\right)\left[\left((-\frac{d}{dx} + x)z\right)\right]
$$

PeroK said:
The operators ##x## and ##\frac{d}{dx}## do not commute. That should be:
$$(-\frac{d}{dx}\frac{d}{dx} -x\frac{d}{dx} + \frac{d}{dx}x + x^{2})z $$
And the two terms in the middle do not cancel.

By the way, just out of interest, the fact that ##x## and ##\frac{d}{dx}## do not commute is actually at the heart of Quantum Mechanics.

Thank you, I think I now understand. My mistake was exactly that, assuming that each term obtained by expanding the brackets could commute when in fact the order of the different terms must be maintained as per the brackets.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
12
Views
2K
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K