Module 3: Electromagnetic theory · Lesson 3.1 · about 60 min
Boundary value problems and Laplace's equation
Uniqueness with Dirichlet, Neumann and mixed data, separation of variables in Cartesian, spherical and cylindrical coordinates, Legendre expansions on spheres and shells, spheres and cylinders in uniform fields, fields at corners and edges, and the symmetry tricks that solve a problem in one line.
Module 3 · about 60 minutes. This lesson turns Laplace’s equation from a formula into a working tool. You will learn exactly which boundary data fix a solution, how to build solutions by separating variables in the three coordinate systems GATE uses, how to read off charges, dipole moments and fields from the coefficients, and the handful of symmetry tricks that save whole pages of algebra. Conductors, the basic uniqueness theorem and the simple slot problem are in the IIT JAM lesson on conductors, Laplace’s equation and images; look there first if they are new.
1. What data fix the answer
Poisson’s equation holds inside a region; on its closed boundary we may give:
- Dirichlet data: itself on (a conductor held at a known potential);
- Neumann data: the normal derivative on (a known surface charge just inside a conductor, or a known flux);
- mixed data: on part of and on the rest.
Why any of these is enough. Let and both solve the problem and put . Then inside, and Green’s first identity with gives
On each patch of either (Dirichlet) or (Neumann), so the right side vanishes. A sum of squares that integrates to zero is zero everywhere: , so the two fields are identical. With pure Neumann data can still be a constant; with any Dirichlet patch it is zero.
Two consequences matter in exams:
- Too much data is fatal. Giving both and on all of (Cauchy data) over-determines the problem: in general no solution exists.
- The second uniqueness theorem. For a set of conductors, giving the total charge on each one (plus between them) also fixes the field. The same identity, applied with each conductor an equipotential carrying zero net difference charge, does the job. How the charge spreads over each surface comes out of the solution.
Neumann data must also be consistent with Gauss’s law: .
- Harmonic function
- a solution of ∇²V = 0; it has no local maxima or minima, and its value at any point is the average over any sphere around it
- Dirichlet / Neumann
- the boundary gives the potential itself / the normal field
- Uniqueness
- one solution only, so a correct guess is the answer, however it was found
- Separation of variables
- try V as a product of functions of one coordinate each; Laplace's equation then splits into ordinary equations linked by separation constants
- Physical meaning
- The boundary is a set of instructions; the potential inside is the smoothest function that follows them. There is never a choice left over.
2. Separation in Cartesian coordinates
Try in two dimensions. Dividing by :
Each ratio depends on a different variable, so each is a constant, and the two constants are equal and opposite. One direction oscillates, the other grows or decays. The boundary decides which: the direction with two grounded walls gets the sines, because only vanishes at both and .
Worked example: one Fourier mode. A rectangle , is grounded on three sides and held at on the side . The sines must go along ; along we need a function that vanishes at , so :
It is harmonic, it fits all four sides, so by uniqueness it is the answer. For a square, at the centre: . The potential sags far below the “straight line” guess of : harmonic functions are dominated by their largest boundary values only nearby.
Any boundary function. If the edge is held at a general , expand it in a Fourier sine series, with , and give each term its own . For a constant , for odd and zero for even . Higher modes die faster, as , so a few terms usually suffice away from the edge.
Two equal walls. If the walls are both at (and grounded), the solution must be even in : use . Using there is the commonest slip.
Three dimensions. In a box, with , forces . Two directions oscillate and the third decays faster than in 2D: for the face mode the decay constant is , and in a cube the centre value is only .
3. Spherical coordinates: Legendre polynomials
With azimuthal symmetry, try . The angular equation is Legendre’s equation, whose solutions finite at both poles are the Legendre polynomials : , , , . The radial equation is solved by and . So
Inside a sphere (origin included) only survives; outside (potential going to zero) only . The coefficients come from orthogonality, .
Rule of thumb: each Legendre mode on the surface travels on its own. If the surface holds , the inside is and the outside . The jump in at the surface gives the charge on it:
where is the surface value of mode . Read it either way: given the potential, find the charge; given a shell’s charge , find its potential. For this gives the famous uniform field inside.
Worked example. A surface is held at . First rewrite: . Then
The centre is at , the surface carries total charge (from the term), and the far field is that of this charge plus a quadrupole. Forgetting that contains an piece is the classic error.
Worked example: two hemispheres. Northern hemisphere at , southern at . The boundary function is odd, so only odd appear: , giving , . Far away, the dipole term means .
A sphere in a uniform field
The most-asked separation problem: a sphere (conductor or linear dielectric) in a uniform field . Far away , so only can appear anywhere.
Guess the form. Outside: V = −E₀ r cos θ + B cos θ / r² (the uniform field plus an induced dipole). Inside: V = −A r cos θ (a uniform field, finite at the centre).
Match V at r = R. −E₀R + B/R² = −AR.
Match the normal D. For a dielectric, εr∂Vin/∂r = ∂Vout/∂r at r = R: −εrA = −E₀ − 2B/R³.
Solve. A = 3E₀/(εr + 2) and B = E₀R³(εr − 1)/(εr + 2). For a conductor (εr → ∞, or simply V = 0 on the sphere) A = 0 and B = E₀R³: a dipole p = 4πε₀R³E₀ and σ = 3ε₀E₀ cos θ.
Try the switch in the figure: as rises the field inside weakens and the lines bend towards the sphere, until the metal swallows them completely, meeting its surface at right angles. The dipole part alone shows the term that decorates the uniform field. The polarisation side of the same problem, with bound charge, is in fields in matter.
4. Cylindrical problems in two dimensions
For long objects with no dependence, separation in polar coordinates gives
The pair is a constant and the line-charge potential ; requiring single-valuedness makes an integer.
Worked example: a metal cylinder across a field. Far away ; on the cylinder . Only with is needed:
The induced charge integrates to zero, the outside picture is a 2D line dipole of strength per length, and the surface field peaks at (against for a sphere). A surface held at gives inside.
Corners and edges
Two conducting planes at the same potential meet along an edge, enclosing a charge-free wedge of angle . With on and , the separated solutions are . Near the edge the term dominates:
Inside a right-angled corner () the field vanishes linearly; outside a right-angled metal corner () it diverges as ; at the edge of a thin sheet () as . This is the quantitative reason charge piles up on sharp edges and lightning rods work, and why the 2D electrostatics solver needs a fine grid near corners.
“A sphere held at has at its centre, because the average of is one half.” One half is the average over the angle . The centre value is the average over solid angle, and the in gives the equator, where is small, more weight. The right answer is . In Legendre language, only the coefficient reaches the centre.
5. One-line tricks
Separation is the honest method; these shortcuts are what make GATE questions quick.
- Mean value. The potential at the centre of any charge-free sphere is the average over its surface.
- Superposition by symmetry. A cube with one face at and five grounded: add the six rotated versions to get a cube entirely at , so the centre is at . A long square pipe with one wall at : centre . This even sums awkward Fourier series exactly.
- The axis trick. For an azimuthally symmetric problem, find on the axis (often easy), expand in powers of , and replace by (or by ). A ring of radius gives for .
- Green reciprocity. The charge induced on grounded conductors by a point charge equals that induced by any distribution with the same symmetry-averaged position: smear the point into a shell or a sheet. A charge between grounded concentric spheres induces on the inner one.
- Fields of harmonic functions. Each component of is harmonic too, but is subharmonic: the field strength is largest on the boundary.
Worked example. Two grounded concentric spheres of radii 1 cm and 3 cm have a charge at cm. The inner sphere gets and the outer . No images, no series.
- Dirichlet, Neumann or mixed data each fix the solution (Neumann up to a constant); Cauchy data over-determine it. Total charges on conductors also fix the field.
- Cartesian: one direction oscillates, the other goes as //exponentials. Fourier coefficients ; a constant gives for odd . In 3D the decay constant is .
- Spherical, azimuthal symmetry: . Each surface mode travels alone; .
- Sphere in : inside ; conductor , . Cylinder across : .
- 2D polar: . Wedge of angle : .
- Tricks: mean value, symmetric superposition (, ), the axis trick, Green reciprocity.
Practise: exam questions on this lesson
These start at warm-up level and climb to top-rank questions. Check each answer, then read the full solution. More on the GATE Physics practice page.
Next: the method of images builds solutions for spheres, cylinders and planes from fictitious charges instead of series. Then multipole expansion reads the Legendre coefficients as charge, dipole and quadrupole moments. For the BSc foundations, see potential and electrostatic energy and Fourier series.
Check yourself
Sources
- J. D. Jackson, Classical Electrodynamics, 3rd ed. (1999), chapters 1 to 3
- D. J. Griffiths, Introduction to Electrodynamics, 4th ed. (2017), chapter 3
- W. R. Smythe, Static and Dynamic Electricity, 3rd ed. (1968), chapters 4 and 5
- G. B. Arfken, H. J. Weber and F. E. Harris, Mathematical Methods for Physicists, 7th ed. (2013), chapters 9 and 15
- GATE Physics (PH) syllabus, Electromagnetic theory section, published by the organising institute each year
Your ticks stay in this browser. Save them as a file on the course home.
Updated 2026-11-22. Not affiliated with the IITs, IISc or the GATE organising institute. The general aptitude part of GATE is not covered here. Check the official GATE website for the current pattern. All questions are original.