The calculation
The commutator formulas
In the card we stated four formulas about commutators and used them to determine the Hamiltonian matrix. Here we prove them.
Suppose the function f(X) can be expanded in a power series
f(X)=n=−∞∑+∞fnXn
The derivative of this function is
dXdf(X)=−∞∑+∞fnnXn−1
So to prove 1a we must verify the following identity
[K,n=−∞∑+∞fnXn]=in=−∞∑+∞nfnXn−1
Analogously, to prove 2a we must verify the following identity
[X,−∞∑∞fnKn]=−i−∞∑∞nfnKn−1
We will prove that the terms of the sums on the left-hand sides are equal, one by one, to the terms of the sums on the right-hand sides:
[K,fnXn][K,Xn][X,fnKn][X,Kn]=infnXn−1⇔=inXn−1=−infnKn−1⇔=−inKn−1∀n∈1…∞
We carry out a proof by induction.
For n=1 we must verify that
[K,X]=iI[X,K]=−iI
Let us begin with the first. Consider a generic function ψ(x)
[K,X]ψ(x)=KXψ(x)−XKψ(x)=idxd(xψ(x))−xdxdψ(x)=iψ(x)+xdxdψ(x)−xdxdψ(x)=iψ(x)
so [K,X]ψ(x)=iψ(x). Being true for every ψ(x), we can deduce [K,X]=iI.
The second is now obvious, indeed [X,K]=−[K,X]=−iI.
Now we prove that if the formulas
[K,Xn]=inXn−1[X,Kn]=−inKn−1
are true for n, then they are true also for n+1 and for n−1.
Let us begin with the first and prove that if it is true for n, then it is also true for n+1
[K,Xn+1]=KXn+1−Xn+1K=KXn+1−XnXK=
applying the formula valid for n=1
=KXn+1+Xn(iI−KX)=KXn+1+iXn−XnKX=iXn+(KXn−XnK)X=
applying the formula valid for n
=iXn+inXn−1X=iXn+inXn=i(n+1)XnAs we wanted to prove.
Now we prove that if it is true for n, then it is also true for n−1
[K,Xn−1]=KXn−1−Xn−1K=X−1XKXn−1−Xn−1K=
applying the formula valid for n=1
=X−1(−iI+KX)Xn−1−Xn−1K=−iXn−2+X−1KXn−X−1XnK=−iXn−2+X−1(KXn−XnK)
applying the formula valid for n
−iXn−2+X−1inXn−1=−iXn−2+inXn−2=i(n−1)Xn−2As we wanted to prove.
For 2a the steps are identical.
The 3rd and the 4th are practically obvious, and hold for any operator A, indeed
[A,An]=AAn−AnA=An+1−An+1=0