Goal
We have a Particle in an environment with constant Potential V(x)=k.
Solution
The associated Hamiltonian is given by H=2mP2+V(x)=2m−ℏ2∂x2∂2+k. The associated Time-independent Schrodinger equation is given by
E∣ψ⟩(E−k)∣ψ⟩=H∣ψ⟩=(2m−ℏ2∂x2∂2+k)∣ψ⟩=2m−ℏ2∂x2∂2∣ψ⟩+k∣ψ⟩⇕=2m−ℏ2∂x2∂2∣ψ⟩Expanding the Hamiltonian
This is a standard Differential Equation, whose solution can be written in the position basis as:
ψ(x)=⎩⎨⎧Aexp(ℏ2m(E−k)x)+Bexp(−ℏ2m(E−k)x),Ax+B,Acos(ℏ2m(E−k)x)+Bsin(ℏ2m(E−k)x),2m(E−k)−ℏ2≥0E=k2m(E−k)−ℏ2≥0
Simplifying the conditions by comparing the values of E and k directly, we get
ψ(x)=⎩⎨⎧Aexp(ℏ2m(k−E)x)+Bexp(−ℏ2m(k−E)x),Ax+B,Acos(ℏ2m(E−k)x)+Bsin(ℏ2m(E−k)x),E≤kE=kE≥k