Q2(b). Particle in a box from -L/2 to +L/2
Obtain an expression of wave function for the ground state and first excited state for a particle confined in a one-dimensional box of length L with infinitely hard walls between x=-L/2 to x=+L/2.
Answer in brief
Inside the box ψ=A sin kx+B cos kx; the walls allow either cosines with kL=π,3π,… or sines with kL=2π,4π,…. Ground state: ψ₁=√(2/L) cos(π x/L), E₁=h²/8mL²; first excited state: ψ₂=√(2/L) sin(2π x/L), E₂=4h²/8mL².
Key points
- Outside, V=∞ and ψ=0. Inside, -(ħ²)/(2m)(d²ψ)/(d x²)=Eψ, i.e. ψ”+k²ψ=0 with k²=2mE/ħ². General solution: ψ=A sin kx+B cos kx.
- Continuity at the walls: ψ(+L/2)=A/2+B/2=0 and ψ(-L/2)=-A/2+B/2=0.
- Adding: B/2=0; subtracting: A/2=0. Two families: (a) A=0, /2=0: kL=π,3π,… (even, cosine states); (b) B=0, /2=0: kL=2π,4π,… (odd, sine states). Together k=nπ/L, Eₙ=(n²h²)/(8mL²), n=1,2,3…
- Normalisation: ∫(-L/2)^(L/2)B² cos²(π x)/(L) d x=B² L2=1, so B=√(2/L) (the same for A).
The full model answer
Written out in full, as it should go in the answer booklet. The handwritten-style answer page follows it.
Inside: ; Walls: ; Energies:

Outside, and . Inside, , i.e. with . General solution: .
Continuity at the walls: and .
Adding: ; subtracting: . Two families: (a) , : (even, cosine states); (b) , : (odd, sine states). Together , ,
Normalisation: , so (the same for ).
Reading the answer: shifting the box from – to – changes only the form of ( with ), not the energies. With the centre at the origin the states alternate even–odd about , the parity used in selection rules; has no node inside, one, at the centre.
Application. The model estimates the absorption of conjugated dyes and carotenoids (the box is the chain) and the colours of quantum dots used in solar cells.
All eight questions of 2020 are answered free on this site, every part on its own page.
Practising this answer? Write it in a Mains test and get it checked by VKC.

All parts of Question 2
- 2(a) Mean free path and collision time in intergalactic space15 marks
- 2(b) Particle in a box from -L/2 to +L/215 marks
- 2(c) Electrokinetic phenomena10 marks