Module 22 · 7 min read · Free chapter
Partial differential equations: Laplace, wave and heat equations, separation of variables in Cartesian, cylindrical and spherical coordinates, boundary-value problems
Start from zero: fields that depend on more than one variable
The temperature in a room depends on position and time; the displacement of a guitar string depends on where along it you look and when. When a quantity depends on several variables, the laws that govern it are partial differential equations (PDEs).
Three equations cover a huge range of physics. Laplace's equation gives steady fields: electrostatics, gravity, steady heat flow. The wave equation describes strings, sound, light and seismic waves, and the heat (diffusion) equation describes heat flow, diffusion of ink and spreading of pollutants.
Classification and separation of variables
A second-order linear PDE in two variables is classified by its discriminant:
| Type | Condition | Example | Character |
|---|---|---|---|
| elliptic | Laplace, Poisson | steady state, boundary-value problem | |
| parabolic | heat, diffusion, Schrödinger | smoothing in time | |
| hyperbolic | wave equation | signals travel at finite speed |
Boundary conditions. Dirichlet (the value is given on the boundary), Neumann (the normal derivative is given) or mixed. A uniqueness theorem says that Laplace's equation with Dirichlet data has exactly one solution, which is why the method of images works in electrostatics.
Separation of variables. Try . Substituting in the wave equation and dividing by XT:
The left side depends only on x and the right only on t, so both equal a constant. This gives two ODEs: and . Boundary conditions then pick out allowed values of k (an eigenvalue problem), and the general solution is a sum over all allowed modes. Because the equations are linear, any sum of solutions is again a solution (superposition).
The wave equation
String fixed at both ends (length L, u(0, t) = u(L, t) = 0). The spatial ODE with these conditions gives , so and frequencies with (tension over mass per length). The general solution is
The initial shape and velocity fix the coefficients by Fourier sine series (Fourier series):
Worked example. A string plucked at its midpoint to height h (triangular shape, released from rest) has and . Only odd harmonics appear, falling as . Plucking at a node of a harmonic never excites it; this is why the pluck point changes the tone of a guitar.
d'Alembert's solution. For an infinite string, change to and . The wave equation becomes , so
Any shape moving right plus any shape moving left. With initial displacement and zero velocity, : the pulse splits into two halves travelling apart.
Other cases. A rectangular membrane gives modes ; a circular one gives Bessel modes (special functions). In three dimensions, spherical waves describe sound from a point source and seismic P waves spreading from a focus.
Heat equation and Laplace's equation
Heat equation. Combining Fourier's law with energy conservation gives
Rod with ends at 0 °C, initial profile f(x). Separation gives
with the sine coefficients of f. Higher modes decay as faster, so after a short time only the n = 1 mode is left and sharp features vanish. Unlike waves, heat does not oscillate; it only spreads and fades.
Point release. Heat released at x = 0 spreads as a Gaussian , whose width grows as . This law governs diffusion of dopants into silicon, of pollutants, and of heat into the ground.
Worked example (geophysics). A surface temperature varying as penetrates the ground as with skin depth . For soil, D ≈ 5 × 10⁻⁷ m² s⁻¹. The daily cycle (ω = 7.3 × 10⁻⁵ s⁻¹) gives d ≈ 12 cm; the yearly cycle gives d ≈ 2.2 m. So cellars and deep wells stay at nearly constant temperature, and the yearly peak arrives months late at depth.
Laplace's equation in 2D. For a rectangular plate , with three edges at 0 and the top edge at , separation gives terms:
Spherical coordinates, axial symmetry. Separation gives Legendre's equation for Θ and :
Worked example: conducting sphere in a uniform field . Far away , and V = 0 on the sphere r = a. Only l = 1 survives:
The second term is the field of an induced dipole . The surface charge is , and the field at the poles is 3E₀. In cylindrical coordinates the same method gives Bessel functions in r. Spherical harmonics in full (with φ) model the Earth's gravity and main magnetic field, where the l = 1 term is the geocentric dipole.
Mains lens: how UPSC asks this
The wave equation underlies the CSE and IFoS questions on strings, sound and EM waves; Laplace's equation underlies boundary-value electrostatics. Geo-Scientist Geophysics asks for solutions of Laplace's equation in Cartesian, cylindrical and spherical coordinates directly (A3), and NET Part A asks for separation of variables.
Expect:
- Solve the wave equation for a plucked string and find the amplitudes of harmonics (15 marks).
- Derive d'Alembert's solution.
- Solve the one-dimensional heat equation for a rod with given end temperatures.
- Find the potential of a conducting or dielectric sphere in a uniform field.
- Classify a given PDE as elliptic, parabolic or hyperbolic.
Model answer plan: "A string of length L fixed at both ends is plucked at its midpoint to height h and released. Find the displacement at later times." (15 marks).
- Wave equation, boundary conditions; separation of variables.
- Modes (released from rest).
- Fourier coefficients of the triangle: .
- Final series; only odd harmonics, amplitude ∝ .
- Physical comment: pluck point at a node suppresses that harmonic.
Quick revision
- Elliptic (Laplace), parabolic (heat), hyperbolic (wave); Dirichlet and Neumann conditions; uniqueness.
- Separation: product solution, separation constant, eigenvalues from boundaries, superposition.
- String: ; midpoint pluck: odd harmonics ∝ ; d'Alembert .
- Heat: modes decay as ; spread ∝ ; skin depth (12 cm daily, 2 m yearly).
- Spherical Laplace: ; sphere in field: induced dipole .