Advanced Physics‹›⌂ 0:00 studied

Module 10 · 10 min read · Free chapter

Boundary-value problems in spherical coordinates: Legendre series, spheres in a uniform field

In short

With axial symmetry V = Σ(A_l r^l + B_l/r^(l+1))P_l(cos θ). A conducting sphere in E₀ gets σ = 3ε₀E₀ cos θ, and a dielectric sphere has a uniform field 3E₀/(ε_r + 2) inside.

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: when mirrors are not enough

Put a steel ball between the plates of a big capacitor. The straight field lines bend to hit the ball at right angles, and charge gathers on its two faces. No neat image charge reproduces this, because the applied field comes from far away.

Instead, we solve Laplace's equation directly in spherical coordinates. The answer is a series of Legendre polynomials, each with a simple power of r. Boundary conditions pick out which terms survive.

This chapter builds that series and applies it to spheres held at given potentials, metal and glass spheres in a uniform field, a cavity in a dielectric and a charged corner. These are among the most-asked 15 to 20-mark derivations in Paper I.

The same method also gives the potential of a sphere whose surface is painted with any pattern of charge or potential.

The general solution

Separation. For V depending only on r and θ, put V=R(r)Θ(θ)V = R(r)\Theta(\theta) in ∇2V=0\nabla^2V = 0. The radial equation gives R=Arl+Brl+1R = Ar^l + \dfrac{B}{r^{l+1}}. The angular equation is Legendre's equation, whose solutions finite at θ = 0 and π are Pl(cos⁡θ)P_l(\cos\theta) for whole numbers l.

General solution.

V(r,θ)=∑l=0∞(Alrl+Blrl+1)Pl(cos⁡θ)V(r, \theta) = \sum_{l=0}^{\infty}\left(A_lr^l + \frac{B_l}{r^{l+1}}\right)P_l(\cos\theta)

Orthogonality. The key tool is

∫0πPl(cos⁡θ)Pl′(cos⁡θ)sin⁡θ dθ=22l+1δll′\int_0^\pi P_l(\cos\theta)P_{l'}(\cos\theta)\sin\theta\,d\theta = \frac{2}{2l + 1}\delta_{ll'}

Inside and outside. Inside a sphere, Bl=0B_l = 0 so V stays finite at r = 0. Outside, Al=0A_l = 0 unless an applied field grows with r. Each region gets its own series, and the two are joined at the surface.

The first few. P0=1P_0 = 1, P1=cos⁡θP_1 = \cos\theta, P2=12(3cos⁡2θ−1)P_2 = \dfrac{1}{2}(3\cos^2\theta - 1), P3=12(5cos⁡3θ−3cos⁡θ)P_3 = \dfrac{1}{2}(5\cos^3\theta - 3\cos\theta). Their values at θ = 0 are all 1, a quick check on any expansion.

Physical meaning. Each l outside the sphere is one multipole of the multipole expansion: l = 0 a point charge, l = 1 a dipole, l = 2 a quadrupole. Inside, rlPlr^lP_l are the matching smooth fields, such as a uniform field for l = 1.

Sphere with a given surface potential (IFoS 2022)

Method. If V(R,θ)=V0(θ)V(R, \theta) = V_0(\theta) is given, then inside V=∑AlrlPlV = \sum A_lr^lP_l and

Al=2l+12Rl∫0πV0(θ)Pl(cos⁡θ)sin⁡θ dθA_l = \frac{2l + 1}{2R^l}\int_0^\pi V_0(\theta)P_l(\cos\theta)\sin\theta\,d\theta

Often it is faster to rewrite V0V_0 as a sum of PlP_l by algebra and read off the coefficients.

IFoS 2022 q6a. V0=kcos⁡3θ=k(4cos⁡3θ−3cos⁡θ)V_0 = k\cos3\theta = k(4\cos^3\theta - 3\cos\theta). Using cos⁡3θ=25P3+35P1\cos^3\theta = \dfrac{2}{5}P_3 + \dfrac{3}{5}P_1,

V0=k[85P3(cos⁡θ)−35P1(cos⁡θ)]V_0 = k\left[\frac{8}{5}P_3(\cos\theta) - \frac{3}{5}P_1(\cos\theta)\right]

So inside,

V(r,θ)=k[85(rR)3P3(cos⁡θ)−35rRP1(cos⁡θ)]V(r, \theta) = k\left[\frac{8}{5}\left(\frac{r}{R}\right)^3P_3(\cos\theta) - \frac{3}{5}\frac{r}{R}P_1(\cos\theta)\right]

Check. At θ = 0, r = R: 85−35=1\dfrac{8}{5} - \dfrac{3}{5} = 1, matching cos⁡0=1\cos0 = 1. Outside, each rlr^l becomes R2l+1rl+1\dfrac{R^{2l+1}}{r^{l+1}}.

Surface charge. The jump in ∂V∂r\dfrac{\partial V}{\partial r} across r = R gives σ=ε0∑(2l+1)AlRl−1Pl\sigma = \varepsilon_0\sum(2l + 1)A_lR^{l-1}P_l, the charge that produced V0V_0.

Using the integral. For a hemisphere-type potential, V0=+VV_0 = +V for θ < 90° and −V below, only odd l survive. The integral gives A1=3V2RA_1 = \dfrac{3V}{2R}, so the leading inside field is uniform, 3V2R\dfrac{3V}{2R}, along −z.

Conducting sphere in a uniform field (2025)

Conditions. Far away V → −E0rcos⁡θ-E_0r\cos\theta, the l = 1 term. On the uncharged sphere V = 0. So only l = 1 is needed outside: V=(−E0r+B1r2)cos⁡θV = \left(-E_0r + \dfrac{B_1}{r^2}\right)\cos\theta, and V(R) = 0 gives B1=E0R3B_1 = E_0R^3.

V=−E0(r−R3r2)cos⁡θ(r≥R)V = -E_0\left(r - \frac{R^3}{r^2}\right)\cos\theta \quad (r \ge R)

Field outside (2025 q7c). With sphere radius a,

Er=E0(1+2a3r3)cos⁡θ,Eθ=−E0(1−a3r3)sin⁡θE_r = E_0\left(1 + \frac{2a^3}{r^3}\right)\cos\theta, \qquad E_\theta = -E_0\left(1 - \frac{a^3}{r^3}\right)\sin\theta

At r = a, Eθ=0E_\theta = 0, so the field meets the sphere at right angles.

Surface charge and dipole. σ=ε0Er(a)=3ε0E0cos⁡θ\sigma = \varepsilon_0E_r(a) = 3\varepsilon_0E_0\cos\theta. The extra term is the field of a dipole p=4πε0a3E0p = 4\pi\varepsilon_0a^3E_0. The field at the poles is 3E03E_0, three times the applied field.

Charged sphere. If the sphere carries charge Q, add the l = 0 term Q4πε0r\dfrac{Q}{4\pi\varepsilon_0r} outside. The surface charge becomes Q4πR2+3ε0E0cos⁡θ\dfrac{Q}{4\pi R^2} + 3\varepsilon_0E_0\cos\theta, and the sphere is no longer at zero potential.

Numbers. A metal ball of radius 5 cm in a field of 2 kV m⁻¹ gets an induced dipole 4πε0(0.05)3×2000≈2.8×10−114\pi\varepsilon_0(0.05)^3 \times 2000 ≈ 2.8 \times 10^{-11} C m. Its poles see 6 kV m⁻¹, and the peak surface charge is 3ε0E0≈5.3×10−83\varepsilon_0E_0 ≈ 5.3 \times 10^{-8} C m⁻².

Dielectric sphere, cavity and polarised sphere

Dielectric sphere. Inside, Vin=A1rcos⁡θV_{in} = A_1r\cos\theta; outside, Vout=(−E0r+B1r2)cos⁡θV_{out} = \left(-E_0r + \dfrac{B_1}{r^2}\right)\cos\theta. At r = R, V is continuous and εr∂Vin∂r=∂Vout∂r\varepsilon_r\dfrac{\partial V_{in}}{\partial r} = \dfrac{\partial V_{out}}{\partial r}. Solving,

Ein=3E0εr+2,p=4πε0εr−1εr+2R3E0E_{in} = \frac{3E_0}{\varepsilon_r + 2}, \qquad p = 4\pi\varepsilon_0\frac{\varepsilon_r - 1}{\varepsilon_r + 2}R^3E_0

The inside field is uniform and weaker than E0E_0. As εr→∞\varepsilon_r \to \infty it goes to zero and the conductor result returns.

Cavity in a dielectric. Swap the roles: a spherical hole in a medium of εr\varepsilon_r has a uniform field Ecav=3εrE02εr+1E_{cav} = \dfrac{3\varepsilon_rE_0}{2\varepsilon_r + 1}, larger than E0E_0 in the medium.

Uniformly polarised sphere. Bound charge σb=Pcos⁡θ\sigma_b = P\cos\theta sits on the surface. Inside, E⃗=−P⃗3ε0\vec{E} = -\dfrac{\vec{P}}{3\varepsilon_0}, uniform. Outside, the field is exactly that of a dipole 43πR3P⃗\dfrac{4}{3}\pi R^3\vec{P} at the centre.

Link. The dielectric sphere is just the polarised sphere with P set by the total inside field, P=ε0(εr−1)EinP = \varepsilon_0(\varepsilon_r - 1)E_{in}.

Example. For water-like εr=80\varepsilon_r = 80, the inside field of a sphere is only 382E0≈0.037E0\dfrac{3}{82}E_0 ≈ 0.037E_0, while a bubble in water sees 240161E0≈1.49E0\dfrac{240}{161}E_0 ≈ 1.49E_0. Bubbles in transformer oil therefore carry stronger fields than the oil and are where breakdown often starts.

A charged right-angle corner (2019)

2019 q6a. Two conducting planes x = 0 and y = 0 meet at a right angle and are both held at ϕ0\phi_0. In the region x, y > 0 near the edge, try a two-dimensional solution of Laplace's equation that equals ϕ0\phi_0 on both planes.

Solution. V=ϕ0+CxyV = \phi_0 + Cxy works: it satisfies ∇2V=0\nabla^2V = 0 and equals ϕ0\phi_0 when x = 0 or y = 0. In polar form it is ϕ0+C2ρ2sin⁡2ϕ\phi_0 + \dfrac{C}{2}\rho^2\sin2\phi, the lowest term allowed in a 90° corner.

Fixing C. On the plane y = 0, σ=ε0Ey=−ε0Cx\sigma = \varepsilon_0E_y = -\varepsilon_0Cx. If a region of that plane of area α carries total charge Q, then Q=−ε0C∫x dA=−ε0CαxˉQ = -\varepsilon_0C\int x\,dA = -\varepsilon_0C\alpha\bar{x}, where xˉ\bar{x} is the distance of the region's centre from the edge. So C=−Qε0αxˉC = -\dfrac{Q}{\varepsilon_0\alpha\bar{x}}, and

V=ϕ0−Qε0αxˉxyV = \phi_0 - \frac{Q}{\varepsilon_0\alpha\bar{x}}xy

Physics. The field near an inside corner grows as ρ, so it is weak in the corner. Near an outside edge it would grow without limit, which is why sharp outer edges spark.

General wedge. For planes meeting at angle β, the allowed terms are ρnπβsin⁡nπϕβ\rho^{\frac{n\pi}{\beta}}\sin\dfrac{n\pi\phi}{\beta}. When β < π, as here, the field near the edge vanishes. When β > π, an outside edge, the power is below 1 and the field near the edge diverges.

Deep dive: from steel balls to planets

High-voltage design. An isolated terminal of radius R at potential V has surface field VR\dfrac{V}{R}. In air, which breaks down near 3 MV m⁻¹, a terminal of radius 0.5 m can hold about 1.5 MV. Any bump on it multiplies the local field, just as the poles of a sphere in a field see 3E03E_0, and lowers this limit.

Dielectric spheres in fields. The εr−1εr+2\dfrac{\varepsilon_r - 1}{\varepsilon_r + 2} factor is the Clausius–Mossotti factor of molecular polarisability. It also controls how strongly a laser beam traps a glass bead in optical tweezers.

Geophysics. Earth's magnetic and gravity fields are written as Legendre series fitted to measurements on the surface. The method is the same as for kcos⁡3θk\cos3\theta, now with many more terms.

Comparing spheres in a uniform field

Object Field inside Induced dipole Surface charge
Conducting sphere 0 4πε0R3E04\pi\varepsilon_0R^3E_0 3ε0E0cos⁡θ3\varepsilon_0E_0\cos\theta
Dielectric sphere 3E0εr+2\dfrac{3E_0}{\varepsilon_r + 2} 4πε0εr−1εr+2R3E04\pi\varepsilon_0\dfrac{\varepsilon_r - 1}{\varepsilon_r + 2}R^3E_0 bound, ∝cos⁡θ\propto\cos\theta
Cavity in dielectric 3εrE02εr+1\dfrac{3\varepsilon_rE_0}{2\varepsilon_r + 1} opposite sign bound, ∝cos⁡θ\propto\cos\theta
Polarised sphere (no E0E_0) −P3ε0-\dfrac{P}{3\varepsilon_0} 43πR3P\dfrac{4}{3}\pi R^3P Pcos⁡θP\cos\theta

Concept clarifications: commonly confused ideas

Writing a 20-mark answer

Question: "A conducting sphere is placed in a uniform electric field. Solve Laplace's equation for the potential outside and find the surface charge. How does the result change for a dielectric sphere?" (20 marks)

  1. General solution (5 marks). Separation; rlr^l, r−(l+1)r^{-(l+1)}, PlP_l.
  2. Conductor (6 marks). Conditions at infinity and on r = R; only l = 1; V, E and σ.
  3. Dielectric (6 marks). Two regions; continuity of V and ε∂V∂r\varepsilon\dfrac{\partial V}{\partial r}; uniform inside field.
  4. Sketch and limits (3 marks). Field lines; εr→∞\varepsilon_r \to \infty gives the conductor.

Examiner's tip. Write the two boundary conditions in a boxed line before solving. Say why each discarded coefficient is zero. Finish with one line on the limit εr→1\varepsilon_r \to 1, where the sphere disappears and Ein=E0E_{in} = E_0; this quick check is often what separates a good answer from a full-marks one.

Mains practice: questions to try

These are practice questions written by us, not past papers. The UPSC questions on this topic are shown in the previous year questions panel.

# Question Marks What it tests
1 A sphere has surface potential kcos⁡2θk\cos^2\theta. Find V inside and outside. 15 Legendre expansion
2 Find the surface charge that produces surface potential kcos⁡θk\cos\theta. 10 σ from V
3 A glass sphere (εr=4\varepsilon_r = 4) sits in 10 kV m⁻¹. Find the inside field and the dipole moment for R = 1 cm. 10 dielectric sphere
4 Derive the field inside a spherical cavity in a dielectric. 15 cavity
5 Show that a uniformly polarised sphere has a uniform inside field. 10 polarised sphere

Quick revision

  • V=∑(Alrl+Blrl+1)Pl(cos⁡θ)V = \sum\left(A_lr^l + \dfrac{B_l}{r^{l+1}}\right)P_l(\cos\theta); orthogonality 22l+1\dfrac{2}{2l + 1}.
  • kcos⁡3θk\cos3\theta on sphere: inside k[85(rR)3P3−35rRP1]k\left[\dfrac{8}{5}\left(\dfrac{r}{R}\right)^3P_3 - \dfrac{3}{5}\dfrac{r}{R}P_1\right].
  • Metal sphere in E0E_0: V=−E0(r−R3r2)cos⁡θV = -E_0\left(r - \dfrac{R^3}{r^2}\right)\cos\theta, σ = 3ε0E0cos⁡θ3\varepsilon_0E_0\cos\theta, pole field 3E03E_0.
  • Dielectric sphere 3E0εr+2\dfrac{3E_0}{\varepsilon_r + 2}; cavity 3εrE02εr+1\dfrac{3\varepsilon_rE_0}{2\varepsilon_r + 1}; polarised sphere −P3ε0-\dfrac{P}{3\varepsilon_0}.
  • Right-angle corner at ϕ0\phi_0: V=ϕ0+CxyV = \phi_0 + Cxy.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Solve Laplace's equation in spherical coordinates for azimuthally symmetric problems by separation of variables.

    Show answer points
    • V = R(r)Θ(θ)
    • radial: d/dr(r² dR/dr) = l(l + 1)R
    • R = A r^l + B/r^(l+1)
    • angular: Legendre equation, Θ = P_l(cos θ)
    • V = Σ(A_l r^l + B_l/r^(l+1))P_l(cos θ)
  2. The potential on a sphere of radius R is V₀ cos θ. Find V inside and outside.

    Show answer points
    • V₀ cos θ = V₀P₁
    • inside only A_l r^l: V = V₀ (r/R) cos θ
    • outside only B_l/r^(l+1): V = V₀ (R²/r²) cos θ
    • inside field uniform, E = −V₀/R along z
    • outside a pure dipole field
  3. The potential on a sphere of radius R is k cos 3θ. Find the potential inside.

    Show answer points
    • cos 3θ = 4cos³θ − 3cos θ
    • P₃ = (5x³ − 3x)/2, so x³ = (2P₃ + 3P₁)/5
    • cos 3θ = (8/5)P₃ − (3/5)P₁
    • inside: each P_l times (r/R)^l
    • V = k[(8/5)(r/R)³P₃ − (3/5)(r/R)P₁]
  4. An uncharged conducting sphere of radius R is placed in a uniform field E₀. Find the potential outside and the induced surface charge.

    Show answer points
    • far away V → −E₀ r cos θ
    • sphere equipotential, V = 0
    • V = −E₀(r − R³/r²) cos θ
    • σ = −ε₀ ∂V/∂r at R = 3ε₀E₀ cos θ
    • field at the poles is 3E₀
  5. A dielectric sphere of permittivity ε_r is placed in a uniform field E₀. Show that the field inside is uniform and equal to 3E₀/(ε_r + 2).

    Show answer points
    • inside V = A r cos θ; outside −E₀r cos θ + B cos θ/r²
    • V continuous at R
    • ε_r ∂V_in/∂r = ∂V_out/∂r at R
    • solve: A = −3E₀/(ε_r + 2)
    • E_in = 3E₀/(ε_r + 2), uniform, less than E₀
  6. Two grounded conducting planes meet at a right angle along the z-axis and are held at φ₀. Show that V = φ₀ + Cxy near the edge.

    Show answer points
    • Laplace in two dimensions
    • V = φ₀ on x = 0 and y = 0
    • try V − φ₀ = Cxy
    • ∇²(xy) = 0 and it vanishes on both planes
    • C set by the charge on the planes; field E = −C(y, x)
  7. Find the field inside and outside a uniformly polarised sphere of polarisation P.

    Show answer points
    • no ρ_b; σ_b = P cos θ
    • potential of σ ∝ cos θ: inside (P/3ε₀) r cos θ
    • E_in = −P/(3ε₀), uniform
    • outside: dipole of p = (4/3)πR³P
    • V_out = p cos θ/(4πε₀r²)
  8. Why are high-voltage terminals made as large smooth spheres?

    Show answer points
    • field at a conductor's surface concentrates at sharp points
    • a sphere in a field enhances it by 3 at its poles
    • large radius lowers surface field for given V
    • keeps field below air breakdown, about 3 MV m⁻¹
    • prevents corona discharge and leakage

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

What is the field inside a dielectric sphere in E₀?

3E₀/(ε_r + 2), uniform.

What charge appears on a conducting sphere in E₀?

σ = 3ε₀E₀ cos θ.

How is cos 3θ expanded?

(8/5)P₃ − (3/5)P₁.

What is the field in a uniformly polarised sphere?

−P/(3ε₀), uniform.

More in this module: Electricity and magnetism

Official sources

Facts in this chapter were checked against these official sources.

  1. IGNOU BPHCT-133 Electrostatics: boundary-value problems and images
  2. MIT OpenCourseWare 8.07 Electromagnetism II, notes on images and Laplace's equation
  3. OpenStax University Physics Volume 2, Chapter 7: Electric potential