- #1
- 718
- 163
For this, f and g are real functions, and k is a real constant.
I have ##\psi = fe^{ikx}+ge^{ikx}## and I want to find ##\left|\psi \right|^2##. I went about this two different ways, and got two different answers, meaning I must be doing something wrong.
Method 1:
##\psi =(f+g)e^{ikx}##
##\left|\psi \right|^2=(f+g)^2\left|e^{ikx}\right|^2=(f+g)^2=f^2+g^2+2fg##
Method 2:
Since ##|a+b|^2=|a|^2+|b|^2+2\Re (ab)##,
##|\psi |^2=f^2+g^2+2\Re \left( fge^{2ikx} \right)=f^2+g^2+2\cos(2kx)fg##
Method 2 gives me that extra cosine term. Where did I go wrong?
I have ##\psi = fe^{ikx}+ge^{ikx}## and I want to find ##\left|\psi \right|^2##. I went about this two different ways, and got two different answers, meaning I must be doing something wrong.
Method 1:
##\psi =(f+g)e^{ikx}##
##\left|\psi \right|^2=(f+g)^2\left|e^{ikx}\right|^2=(f+g)^2=f^2+g^2+2fg##
Method 2:
Since ##|a+b|^2=|a|^2+|b|^2+2\Re (ab)##,
##|\psi |^2=f^2+g^2+2\Re \left( fge^{2ikx} \right)=f^2+g^2+2\cos(2kx)fg##
Method 2 gives me that extra cosine term. Where did I go wrong?