Determine the spherical harmonics and the eigenvalues of L^2 by solving the eigenvalue equation L^2∣λ,m⟩=λℏ2∣λ,m⟩ in position space,
−ℏ2[sinθ1∂θ∂(sinθ∂θ∂)+sin2θ1∂ϕ2∂2]Θλ,m(θ)eimϕ=λℏ2Θλ,m(θ)eimϕ
Note that we have inserted the known ϕ dependence. To illustrate the procedure, restrict your attention to the m=0 case. Rewrite the equation in terms of u=cosθ and show that it becomes
(1−u2)du2d2Θλ,0−2ududΘλ,0+λΘλ,0=0
which you may recognize as Legendre's equation. Try a power series solution
Θλ,0=k=0∑∞akuk
Show that the series diverges for ∣u∣→1 (θ→0 or θ→π) unless λ=l(l+1) with l=0,1,2,…, in which case the series terminates. The solutions Θl,0(u)=Pl(u) are just the Legendre polynomials. Compare the first few solutions with the spherical harmonics listed in equations (9.151), (9.152b), and (9.153c).