Module 1: Mathematical physics · Lesson 1.7 · about 65 min
Partial differential equations and separation of variables
Classifying second-order PDEs as elliptic, parabolic or hyperbolic, separation of variables for the heat, wave and Laplace equations with Fourier sine and cosine series, steady states and transients, decay times and normal modes, d'Alembert's solution and characteristics, Laplace's equation in polar, cylindrical and spherical coordinates, and uniqueness.
Module 1 · about 65 minutes. By the end you will be able to classify a second-order PDE, solve the heat, wave and Laplace equations by separation of variables in Cartesian, polar and spherical coordinates, find Fourier coefficients from initial or boundary data, split a problem into a steady state plus transients, read off decay times and mode frequencies, and use d’Alembert’s solution and the domain of dependence. Fourier series themselves are in the JAM lesson on Fourier series, and the wave equation on a string in waves.
1. Three kinds of equation
For , the discriminant decides the type:
| type | model | behaviour | |
|---|---|---|---|
| negative | elliptic | Laplace | equilibrium; data on a closed boundary; smooth inside |
| zero | parabolic | heat | diffusion; smooths; infinite signal speed |
| positive | hyperbolic | wave | propagation at finite speed along characteristics |
Lower-order terms never change the type: the telegraph equation is still hyperbolic. With variable coefficients the type can change from region to region (for , elliptic for , hyperbolic for ).
2. The heat equation on a rod
on with . Try :
Each side depends on a different variable, so both equal a constant. A zero or positive constant gives only with two zero ends, so it must be negative. Then with , i.e. , and :
Mode decays with time constant . The means fine detail disappears first; after a while only the half-sine is left.
Worked example. A rod at a uniform 100 °C has its ends put into ice. : for odd , zero for even. When , the midpoint is at °C; the term adds only °C.
Other end conditions. Insulated ends () give cosines, including : a constant that never decays, so the rod ends up at its initial mean temperature. Ends held at different temperatures , : first subtract the steady state (it solves with the right end values); the remainder has zero ends and decays as above.
3. The wave equation: modes and d’Alembert
On a string with fixed ends the same separation gives , but now , so each mode oscillates with :
A string plucked at its midpoint has no even harmonics (each has a node there). Released from rest means cosines in time; struck from a straight position means sines, with amplitude = initial velocity coefficient divided by .
On an infinite line, d’Alembert’s form is often faster:
for , . A bump released from rest splits into two half-height copies. The value at depends only on data in , between the two characteristics const: nothing travels faster than .
The figure runs both equations on the same initial profile, mode by mode.
- Separation constant
- the common value of two expressions in different variables; boundary conditions decide its sign and allowed values
- Mode
- one separated solution, a shape that keeps its form in time (decaying or oscillating)
- Steady state
- the time-independent solution carrying the non-zero boundary values; the rest is transient
- Characteristic
- a line along which a hyperbolic equation carries information
- Physical meaning
- Diffusion forgets detail at a rate set by length squared over diffusivity; waves keep every mode forever (without damping) and only rearrange their phases.
4. Laplace’s equation in a rectangle
in , , with on three sides and . The direction with two zero conditions oscillates; the other gets hyperbolic functions:
where are the sine coefficients of (, not , because at ). With several non-zero sides, solve one side at a time and add. Symmetry shortcut: in a square with one side at and three at 0, the centre is at exactly , because the four rotated problems add up to everywhere.
A harmonic function equals its average over any circle inside its domain, so it has no interior maximum or minimum. The Dirichlet problem has exactly one solution; the Neumann problem has one up to a constant, and only if the total outward flux is zero.
5. Polar, cylindrical and spherical coordinates
Polar (2D). gives (integer for a single-valued answer) and (or for ). Inside a disc of radius with , each harmonic simply picks up . Worked example: gives , so .
Cylindrical. With the radial equation is Bessel’s equation of order in : solutions (regular on the axis) and . The Helmholtz equation and a drumhead give the same radial functions with the zeros of setting the allowed (lesson 1.6).
Spherical, axial symmetry. . Inside a sphere keep , outside keep , and match the surface data term by term in Legendre polynomials.
Worked example. A sphere of radius has surface potential . Inside, (a uniform field); outside, (a dipole). At on the axis, .
For the Helmholtz equation in spherical coordinates the radial functions become spherical Bessel functions , with . A hot ball with its surface held at 0 cools through with , four times faster than a slab of thickness .
“The solution of the heat equation is the first Fourier term, so its amplitude is the initial temperature.” The first coefficient of a uniform profile is , larger than itself: the sine series has to overshoot in the middle to fit a flat profile that drops to zero at the ends. Always compute from the integral, and subtract the steady state first when the ends are not at zero.
- : negative elliptic, zero parabolic, positive hyperbolic; lower-order terms do not matter.
- Heat on a rod: , ; insulated ends give cosines and a conserved mean; subtract the linear steady state for non-zero ends.
- Waves: , coefficients from and ; d’Alembert splits pulses; the domain of dependence is .
- Laplace in a rectangle: sines along the two-zero direction, across, . Max and min on the boundary.
- Polar: . Cylindrical: . Spherical: inside, outside, times .
Practise: exam questions on this lesson
From warm-up to top-rank level, with full solutions. More on the partial differential equations practice page.
fibub’s Heat conduction solver and Standing waves calculator let you try other rods and strings. Before this: lesson 1.6, series solutions and special functions. Next: lesson 1.8, the Dirac delta and Green’s functions, which solve the same equations with sources. Back to the GATE Physics course home.
Going on to CSIR NET? Numerical methods solves the same equations by finite differences when separation of variables fails.
Check yourself
Sources
- M. L. Boas, Mathematical Methods in the Physical Sciences, 3rd ed. (2006), chapter 13
- G. B. Arfken, H. J. Weber and F. E. Harris, Mathematical Methods for Physicists, 7th ed. (2013), chapter 9
- W. A. Strauss, Partial Differential Equations: An Introduction, 2nd ed. (2008), chapters 1 to 6
- D. J. Griffiths, Introduction to Electrodynamics, 4th ed. (2017), section 3.3 (separation of variables)
- GATE Physics (PH) syllabus, Mathematical Physics 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.