The Superposition Principle
Most equations don't let you cheat like this. If you know two solutions of a typical nonlinear
equation, knowing their sum buys you nothing — you have to start the whole solving process over.
But for an enormous and important family of PDEs, there is a genuine shortcut: once you have found
any two solutions, you already know infinitely many more, for free, with zero
extra work.
This is the single most useful consequence of
linearity,
and it is the engine behind almost every technique for solving PDEs by hand — it's exactly why
Fourier series
turn out to be the right tool for solving the heat and wave equations, rather than just a curiosity
from a different branch of maths.
-
Let L be a linear differential operator and consider the
linear, homogeneous PDE L[u] = 0.
-
If u_1 and u_2 both solve
L[u] = 0, then every combination
u = c_1 u_1 + c_2 u_2 also solves it, for any constants
c_1, c_2.
-
The proof is one line, straight from the definition of linearity:
L[c_1 u_1 + c_2 u_2] = c_1 L[u_1] + c_2 L[u_2] = c_1 \cdot 0 + c_2 \cdot 0 = 0.
-
The solutions of a linear homogeneous PDE therefore form a vector space — you
can scale them and add them together and you can never accidentally leave the set of solutions.
Worked example: checking it on the heat equation
Let's not just trust the one-line proof — let's watch it happen on a real PDE. The
heat equation
is u_t = \alpha\,u_{xx}, which is linear and homogeneous (every term has
u or a derivative of u to the first power, and
there's no term free of u).
Suppose u_1(x,t) = \sin(x)\,e^{-\alpha t} and
u_2(x,t) = \sin(3x)\,e^{-9\alpha t}. A quick check shows each one alone
solves the heat equation: for u_1,
(u_1)_t = -\alpha\sin(x)e^{-\alpha t} and
(u_1)_{xx} = -\sin(x)e^{-\alpha t}, so
(u_1)_t = \alpha (u_1)_{xx}. ✓ The same pattern works for
u_2 (the exponent 9\alpha exactly matches the
second x-derivative of \sin(3x), which brings
down a factor of 9).
Now form u = u_1 + u_2 and plug it directly into the equation, using
nothing but the fact that derivatives are linear — the derivative of a sum is the
sum of the derivatives:
u_t = (u_1 + u_2)_t = (u_1)_t + (u_2)_t = \alpha(u_1)_{xx} + \alpha(u_2)_{xx} = \alpha\big((u_1)_{xx} + (u_2)_{xx}\big) = \alpha\,u_{xx}.
There it is — u = u_1 + u_2 satisfies the heat equation too, and we
never had to compute a single new derivative from scratch. We just reused the two pieces we already
had, because both differentiation and the heat equation are linear operations end to end.
Why this is the whole strategy
Superposition doesn't stop at two terms — it extends to infinite sums (with mild
convergence care), and that is exactly what makes the coming methods work. The plan is always the
same three steps: find a stockpile of simple "building-block" solutions — products like
e^{-\lambda t}\sin(kx), one for every allowed frequency
k — then add them together in just the right amounts to match whatever
starting shape or boundary condition you were actually given. The "right amounts" are the
Fourier coefficients,
and the technique for finding the building blocks in the first place is called
separation of variables —
the next big idea in this course.
This is far more than a piece of paperwork. A guitar string doesn't just wobble in one shape — its
motion is a superposition of a fundamental mode plus a whole ladder of overtones, each one on its
own a perfectly valid solution of the wave equation, all added together to make the actual sound
you hear. A skyscraper swaying in an earthquake is doing the same thing: engineers decompose the
building's response into a handful of simple normal modes of vibration, work out
how each one behaves on its own (easy), and then superpose them to predict the real, complicated
motion (otherwise nearly impossible). Wherever you see a complicated linear system described as a
"sum of simple modes," superposition is the reason that description is allowed to work at all.
None of that plan survives contact with a nonlinear PDE. You cannot add two solutions of Burgers'
equation u_t + u\,u_x = 0 and expect a third solution to fall out — the
u\,u_x term mixes u_1 and
u_2 together in a way that simply doesn't cancel. That single difference
is why nonlinear PDEs are so much harder to solve by hand, and why this course spends most of its
time in the linear world, where addition is always allowed.
Add two modes
Two building-block solutions on [0, \pi],
u_1 = \sin x and u_2 = \sin 3x (faint), and
their superposition c_1 u_1 + c_2 u_2 (bold). Dial the weights: every
combination is again a valid solution, and by choosing the weights you sculpt the shape. This is
a Fourier series in miniature.
No — and this is the single most important limit on the whole idea. Superposition only works when
the PDE is linear
(see order and linearity).
For a nonlinear PDE, adding two solutions together generally does not give
a third solution — there is no shortcut, and each new solution has to be fought for on its own
terms.
A concrete example: Burgers' equation u_t + u\,u_x = 0 is a famous
nonlinear PDE. If u_1 and u_2 both solve it,
plugging in u_1 + u_2 produces a cross term
u_1 (u_2)_x + u_2 (u_1)_x that has no reason to vanish. The neat
cancellation from the linear proof — L[u_1]+L[u_2]=0+0=0 — depends
entirely on L being linear. Break linearity, and superposition breaks
with it. This is exactly why turbulence, shock waves, and weather are so much harder to predict
than heat flow in a linear rod.
Superposition isn't just a PDE trick — it's the exact same principle running behind two pieces of
everyday technology. Noise-cancelling headphones record the ambient roar of a
plane cabin with a tiny microphone, then generate a second sound wave that is the mirror image of
it — flipped upside down. Add the two waves together (they superpose, since sound pressure obeys a
linear wave equation) and they very nearly cancel to silence, leaving your podcast untouched. That
is literally u_1 + u_2 \approx 0 engineered on purpose.
The same idea explains how dozens of radio stations share the same air without
turning into noise. Each station's electromagnetic wave obeys Maxwell's equations, which are
linear, so every signal simply superposes on top of every other one as it travels — your radio's
job is just to filter out all the frequencies you didn't tune to. If the equations governing
electromagnetic waves were nonlinear, tuning in one station would hopelessly scramble every other
one. Superposition is quietly what makes a shared radio spectrum possible at all.
It's a fitting coincidence that the same trick underlies the tool named after
Joseph Fourier. Fourier was studying heat flow
through a metal ring — a physical superposition problem — when he made the audacious claim that
any starting temperature shape, however jagged, could be built by superposing plain sine
waves. Other mathematicians of his day thought this was nonsense. It wasn't: it works precisely
because the heat equation is linear, so every one of those sine-wave pieces really can be added
together into the messy real shape you started with.