Spherical harmonics
In spherical polars, $$ \begin{align*} \hat L^2 ={}& -\frac{\hbar^2}{\sin^2 \theta} \left(\sin\theta \pdd{\theta}\left(\sin\theta \pdd{\theta}\right) + \pdd[2]{\phi}\right), \\ \hat L_1 ={}& i\hbar\left(\sin\phi \pdd{\theta} + \cos\phi \cot\theta \pdd{\phi}\right), \\ \hat L_2 ={}& i\hbar\left(-\cos\phi \pdd{\theta} + \sin\phi \cot\theta \pdd{\phi}\right), \\ \hat L_3 ={}& -i\hbar \pdd{\phi}. \end{align*} $$ (Derivation)
We look for a simultaneous eigenfunction of $\hat L^2$ and $\hat L_3$ of the form $\psi(\theta, \phi) = Y(\theta) Z(\phi)$. The solutions are $$ \begin{align*} Y_{l,m}(\theta, \phi) ={}& P_{l,m}(\cos\theta) \exp(im\phi), \\ ={}& \sin^{|m|}(\theta) \left(\dd[|m|]{(\cos\theta)} P_l(\cos\theta)\right) \exp(im\phi),& l,m\in \Z, \quad -l\leq m\leq l \end{align*} $$ where $P_{l,m}$ are the associated Legendre functions and $P_l$ is the Legendre polynomial, and the eigenvalues are $$ \begin{align*} \hat L^2 Y_{l,m} ={}& l(l+1) \hbar^2 Y_{l,m}, &&l=0,1,2,\ldots\\ \hat L_3 Y_{l,m} ={}& m\hbar Y_{l,m}, && m=-l,-l+1,\ldots,l. \end{align*} $$ $l$ is called the total angular momentum quantum number and $m$ is called the azimuthal quantum number. (Derivation)
https://www.desmos.com/3d/uoxewidmpz https://en.wikipedia.org/wiki/Sphericalharmonics#/media/File:SphericalHarmonics.png