Put in Laplace's equation, multiply by , and separate the two variables:
With , the angular equation becomes . Requiring a smooth axisymmetric harmonic function at both poles selects and the Legendre polynomial , for nonnegative integers . The radial Cauchy-Euler equation has solutions and . Superposition over the angular eigenfunctions therefore gives
This expansion assumes regularity on each whole angular sphere; without it, singular angular solutions would also be possible. The boundary data in the shell involve only the modes. Define the spherical-shell harmonic interpolation weights
Each equals one at the inner boundary and zero at the outer one, and does the reverse. Hence the steady temperature is
Each term is a harmonic function, and substitution verifies both prescribed boundary values. Uniqueness follows from the maximum principle for harmonic functions.
For a separated axisymmetric harmonic function , multiplying the Laplace equation by gives
The two sides depend on different variables, hence both equal a constant. Put in the angular equation. Since , it becomes the Legendre differential equation
Regularity on both parts of the polar axis restricts , with , and selects the Legendre polynomial . The other angular solution is singular at an endpoint.
The radial Euler differential equation is
Trying gives , so or . Superposition of these separated harmonic functions gives
The Legendre polynomials form the angular expansion for regular data with rotational symmetry about the polar axis; the radial domain and the boundary conditions determine which coefficients survive and where the expansion converges.
For an axisymmetric harmonic function, put in the Laplacian in spherical coordinates and multiply by . Separation of variables gives
With , the angular equation becomes the Legendre differential equation. Regularity at both poles selects the Legendre polynomials with integer ; the singular second solutions are excluded. The radial Euler-Cauchy equation has solutions and . Superposition therefore gives
with coefficients chosen to ensure convergence and the required boundary regularity. The axisymmetric harmonic extension from a sphere gives these coefficients directly from boundary data.