The superposition principle states that for a homogeneous linear ODE, any linear combination of solutions is itself a solution. If are all solutions of
then for any constants ,
is also a solution. The solution space is closed under linear combinations — it’s a vector space.
This is the foundation of how we solve linear ODEs: find a few specific solutions, then build the general solution as their linear combination.
Why it works
Linearity. Every term in the ODE is linear in and its derivatives. So if you plug in :
Each term distributes over the linear combination. Sum every term in the ODE:
Each individual sum is zero because and are solutions. So also makes the equation equal zero.
Where the principle fails
Superposition holds only for homogeneous linear ODEs. It fails:
- For nonhomogeneous linear ODEs. If both satisfy , then satisfies , not the original. To handle nonhomogeneous equations, you decompose the solution as — see Particular solution and complementary solution.
- For nonlinear ODEs. If both satisfy , then usually doesn’t. Linear combinations of solutions are not solutions.
So superposition is uniquely a property of homogeneous linear equations — but those happen to be a major class with deep theory.
Practical use
In second-order homogeneous linear ODEs (like ), you find two linearly independent solutions via the Characteristic equation, then write:
This is the general solution. The two arbitrary constants are pinned down by initial conditions. Without superposition, you’d have to find one specific solution per initial condition pair — exhausting and unsystematic.
For systems of linear ODEs, superposition extends naturally — see Linear independence of vector functions and System of first-order linear ODEs.
For the linear-independence requirement that ensures you have enough solutions to span the solution space, see Wronskian and Representation theorem.
Superposition in circuits (the EE form)
This note covers the ODE form, but the term “superposition” in EE is more often used about circuits with multiple sources: in any linear circuit, the response to several independent sources equals the sum of the responses to each source acting alone (with all other sources “deactivated” — voltage sources replaced by shorts, current sources replaced by opens). It’s the same underlying linearity principle, but applied to the linear network’s input-output map rather than to an ODE’s solution space. EE textbooks call this “the superposition theorem” or “circuit superposition,” and it’s the more common usage in undergraduate electrical engineering.
Superposition for LTI systems
In signals-and-systems, superposition is the operational consequence of linearity and time-invariance combined (LTI): an input can be decomposed into simple pieces (impulses, sinusoids, etc.), the system’s response to each piece is computed independently, and the responses are summed to give the response to the whole input.
This is what justifies the entire convolution-integral machinery: an arbitrary input is decomposed as a continuous sum of weighted impulses, each impulse produces an impulse response, and superposition sums them into the output. It also justifies Fourier series and Fourier-transform analysis: decompose the input into sinusoids, apply to each, sum.
Without superposition (i.e. without linearity), none of these decompose-respond-sum techniques work. That’s why so much of signal processing is restricted to linear systems and why nonlinear problems usually require linearization around an operating point.