Let there be a infinite square well where the volume density V(x) is
V(x)={0,∞,0≤x≤Lotherwise
Finding wave function
Inside the well, TISE reduces to a free-particle form
−2mℏ2dx2d2ϕ=Eϕ⟺dx2d2ϕ=−ℏ22mEϕ(x)
A general solution to this is (it's a harmonic oscillator)
ϕ(x)=aeikx+be−ikx=Asin(kx)+Bcos(kx)
where
k≜2mE/ℏ2
Find B
Let's set the boundary conditions
ϕ(x)=0x≤0,x≥L
and
ϕ(0)=0⇒B=0
Find kn
ϕ(L)=0⇒sin(kL)=0⇒kL=nπn∈Z+
so
kn=Lnπ
Find A by normalizing
1=An22L⟹An=L2
Hence
ϕn(x)=L2sin(Lnπx)
This wave function means at at n energies there are n−1 nodes in the sin curve
When the potential is symmetric after recentering box around origin i.e.,
−V(−x)=V(x)
The Hamiltonian commutes with parity operator
P^ϕ(x)=ϕ(−x)
Then
[H^,P^]=0
Finding Energy
Recall that we defined k right above. Rearranging gives
En=2mℏ2kn2=2mL2n2π2ℏ2
Example
superposition of ground and first excited states
ψ(x,0)=21ϕ1(x)+21ϕ2(x)≡21(∣1⟩+∣2⟩)
Substitute
ϕn(x)=L2sin(Lnπx)
to get
ψ(x,0)=L1[sin(k1x)+sin(k2x)]
it evolves over time to pick up its own phase
ψ(x,t)=L1[e−iω1tsin(k1x)+e−iω2tsin(k2x)]
where
ωn=En/ℏ
Note the probability density is
∣ψ(x,t)∣2=L1[sin2(k1x)+sin2(k2x)+2cos[(ω1−ω2)t]sin(k1x)sin(k2x)]