= Solution
Seek a <power series> $y(x)=\sum_{k\geq0}a_kx^k$ in the <Legendre differential equation>. Equating coefficients of $x^k$ gives
$$
(k+2)(k+1)a_{k+2}+\bigl(n(n+1)-k(k+1)\bigr)a_k=0,
$$
so
$$
\boxed{a_{k+2}=\frac{(k-n)(k+n+1)}{(k+2)(k+1)}a_k.}
$$
The even and odd coefficients form separate chains. Choose a nonzero seed of the same parity as $n$ and set the other seed to zero. In the chosen chain, none of the factors vanishes before $k=n$, and the factor $k-n$ vanishes at $k=n$. Therefore this chain terminates with a nonzero $a_n$: it gives a <polynomial> of degree exactly $n$.
To impose the normalization, its value at $x=1$ must be nonzero. Suppose a nonzero polynomial solution were $y=(x-1)^mq(x)$ with $m\geq1$ and $q(1)\ne0$. The lowest-order coefficient in $(1-x^2)y''-2xy'$ would be $-2m^2q(1)(x-1)^{m-1}$, whereas $n(n+1)y$ has order $m$. This cannot satisfy the equation. Thus divide by $y(1)$ to obtain the <Legendre polynomial> $P_n$ with $P_n(1)=1$. Substitution or the coefficient recurrence gives
$$
\boxed{P_0(x)=1,\qquad P_1(x)=x,\qquad P_2(x)=\frac12(3x^2-1).}
$$
For an axisymmetric solution of the <Laplace equation> regular at the two polar axes, the separated modes and their superposition in <spherical polar coordinates> are
$$
\phi_n(r,\theta)=\bigl(A_nr^n+B_nr^{-n-1}\bigr)P_n(\cos\theta),\qquad
\phi(r,\theta)=\sum_{n=0}^\infty\bigl(A_nr^n+B_nr^{-n-1}\bigr)P_n(\cos\theta).
$$
This is the usual <separation of variables> expansion; the singular angular solutions are excluded by regularity at the axes.
Here $\sin^2\theta=\frac23(P_0(\cos\theta)-P_2(\cos\theta))$, so only degrees $0$ and $2$ are required. The degree-zero radial function $A_0+B_0/r$ takes the same value $2/3$ at $r=a,b$; since $a<b$, this forces $B_0=0$, $A_0=2/3$. Write the degree-two coefficient as $-(2/3)T(r)$, where $T=Ar^2+Br^{-3}$ and $T(a)=T(b)=1$. Multiplying these boundary equations by $a^3,b^3$ and subtracting gives
$$
A=\frac{b^3-a^3}{b^5-a^5},\qquad B=\frac{a^3b^3(b^2-a^2)}{b^5-a^5}.
$$
Consequently
$$
\boxed{\phi(r,\theta)=\frac23\left[1-\frac{(b^3-a^3)r^2+a^3b^3(b^2-a^2)r^{-3}}{b^5-a^5}P_2(\cos\theta)\right].}
$$
Each term is <harmonic> in the shell, and the radial factor is $1$ at both boundaries, so this satisfies both <Dirichlet boundary conditions>. The <maximum principle for harmonic functions>, applied to the difference of two solutions, proves uniqueness among solutions continuous on the closed shell.
Back to article page