Introduction
A differential equation links a function with its derivatives. Solving it means finding the function. This Further Maths topic covers first order linear equations by integrating factors, second order linear equations with constant coefficients (the auxiliary equation, complementary function and particular integral), and their use in modelling oscillations: simple harmonic motion and damped motion.
Why it matters
Almost every law of physics is a differential equation. Newton's second law for a spring gives . A circuit, a car's suspension, a swinging pendulum and a cooling cup of tea are all modelled this way. Solving the equation predicts the future from the present.
Intuitive explanation
For , multiply by . Then the left-hand side becomes exactly , and you can integrate both sides directly.
Differentiating just multiplies by . So substituting into gives : a quadratic in , the auxiliary equation.
Formal definitions
. Integrating factor , and then .
. Auxiliary equation .
, where the complementary function (CF) solves the equation with , and the particular integral (PI) is any one solution of the full equation.
Notation
- , .
- , are arbitrary constants, fixed by initial or boundary conditions.
Complementary functions
| Roots of the auxiliary equation | Complementary function |
|---|---|
| real, distinct | |
| repeated | |
| complex |
Key results
- : try . polynomial of degree : try a general polynomial of degree .
- : try (try if is in the CF).
- or : try .
has solution , period .
Why the integrating factor works
. With , , so .
∎With roots , the solutions combine (by choosing complex constants) into the real forms and .
∎Write . Then , where , are the roots of the auxiliary equation (the factors commute because the coefficients are constant). The key identity is
If , then , which is zero exactly when , i.e. . So the solutions are precisely . The same identity explains the "multiply the trial by " rule (Q41, Q33, Q58): substituting removes the resonant exponential.
∎If and both solve , then solves , so and . If they agree at one point, . So the integrating factor method doesn't just find a solution: it finds all of them, and the initial condition picks out exactly one.
∎Methods
- Solve the auxiliary equation; write the CF.
- Choose a trial PI, substitute, compare coefficients.
- General solution CF PI.
- Use the conditions to find and (apply them to the general solution, not the CF alone).
For : overdamped if (real distinct roots), critically damped if , underdamped if (decaying oscillations).
Examples
: ; .
See the Worked examples tab.
Common mistakes
In , include the constant before dividing by .
Initial conditions apply to the full solution CF PI.
If the trial function already appears in the CF, multiply it by .
Applications
- Engineering: suspension systems are designed to be critically damped.
- Electronics: RLC circuits obey second order equations.
- Biology and medicine: drug concentrations, population models.
Connections
- Integration: separable equations at A level.
- Complex numbers: complex roots of the auxiliary equation.
- Kinematics and forces: SHM from Newton's second law.
Summary
- First order linear: , .
- Second order: auxiliary equation CF; trial PI; general CF PI.
- SHM ; damping determined by the discriminant.
Worked examples
Try each one yourself first, then open the solution.
Solve , , given when .
Show the solution
- 1Integrating factor
.
- 2Multiply
.
- 3Integrate
.
- 4Condition
, so .
Find the general solution of .
Show the solution
- 1CF
: .
- 2Trial PI
: .
- 3Compare
; .
- 4General solution
.
Solve with , .
Show the solution
- 1Auxiliary equation
.
- 2CF
.
- 3Conditions
. .
A particle moves with . At , and . Find and the period.
Show the solution
- 1General solution
.
- 2Conditions
; .
- 3Solution and period
; period .
, period
University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.
Do solutions exist, and are they unique? (university)
For a linear equation we can write the solutions down. For a general first order equation , , we usually can't, yet it is still possible to prove that a solution exists and is unique.
Picard iteration. Integrating, the problem is equivalent to the integral equation
Start with the constant guess and repeatedly substitute: . For , , this gives
the Maclaurin series of , built one term at a time.
The theorem (Picard–Lindelöf). Suppose is continuous and Lipschitz in : near . Then for small enough the iterates converge to a solution, and the solution is unique. The proof shows , so the differences are dominated by an exponential series. (Equivalently, the map is a contraction, and the Banach fixed point theorem applies.)
When the hypotheses fail.
- Non-uniqueness. , : both and are solutions (and so is until any time , then ). Here is not Lipschitz at : its slope is infinite. Physically: a ball balanced on top of a dome shaped like can sit still forever, or roll off at any moment, without breaking Newton's laws ("Norton's dome").
- Blow-up. , has solution , which escapes to infinity at . The theorem only promises a solution for a short while; Q56 is another example. For linear equations with continuous coefficients, Grönwall's inequality rules out blow-up, so solutions exist on the whole interval.
Uniqueness has consequences. Two different solution curves of can never cross, and for an autonomous system two trajectories never cross in the phase plane. In two dimensions this is so restrictive that bounded trajectories must settle down to a point or a closed loop (the Poincaré–Bendixson theorem); chaos needs at least three dimensions, like the Lorenz system.
Linear systems, eigenvalues and the phase plane (university)
Q39 and Q55 were systems of equations. In general a linear system is with a constant matrix, and any second order equation can be written this way: becomes
whose characteristic polynomial is : the auxiliary equation is the characteristic equation of this matrix.
Eigenvectors are straight-line solutions. If , then solves the system. With two independent eigenvectors, the general solution is . In Q39, has eigenvalues , with eigenvectors and , and indeed . In general , using the matrix exponential from the Matrices deep section.
The phase plane. Plot as a curve. The picture near the origin depends only on the eigenvalues, which are determined by and (they solve ):
| Eigenvalues | Picture | Condition |
|---|---|---|
| real, opposite signs | saddle (unstable) | |
| real, same sign | node (stable if negative) | |
| complex, real part | spiral (stable if ) | , |
| purely imaginary | centre (closed orbits) | , |
For the damped oscillator (, ) the three damping cases are exactly the stable node (overdamped), the borderline (critical) and the stable spiral (underdamped); SHM is a centre.
Linearisation. A nonlinear system behaves, near an equilibrium , like the linear system with the matrix of partial derivatives (the Jacobian) at . For the pendulum (Q54):
- at , , giving : a centre (small swings);
- at (balanced upside down), , giving , eigenvalues : a saddle (unstable).
The Hartman–Grobman theorem says this is reliable for saddles, nodes and spirals; centres are delicate, since a tiny nonlinear term can turn closed orbits into slow spirals. For the pendulum the energy (Q54 part (a)) is conserved, which keeps the orbits closed: the phase portrait is a row of "eyes" (oscillations) separated by separatrices from wavy lines (the pendulum going over the top).
From vibrating springs to vibrating strings: partial differential equations (university)
Q55 had two masses and two normal modes. Joining masses with springs gives modes; letting gives a continuous string, and the equations of motion become a partial differential equation, for a displacement depending on position and time.
The wave equation. For a string fixed at and :
Separation of variables: look for . Then ; the left side depends only on and the right only on , so both equal a constant, . Now with is a boundary value problem like Q37: it has non-zero solutions only when is a whole number , with . These are the normal modes of the string, with frequencies : a fundamental and its harmonics, which is why a plucked string sounds a musical note rather than noise.
Superposition and Fourier series. The general motion is
and matching the initial shape requires . Multiplying by and integrating, using for (the modes are orthogonal, like the eigenvectors in Q55), gives
Fourier's bold claim (1807) that essentially any function can be expanded this way drove a century of work on what "function", "convergence" and "integral" mean.
The heat equation. separates the same way, but now , so each mode decays like : high-frequency wiggles in the initial temperature are smoothed out almost immediately, and after a while only the slowest mode remains. This is first order decay (as in Newton's law of cooling, Q19) running independently in every mode.
The big picture. The constant coefficient method (, auxiliary equation), normal modes (eigenvectors) and Fourier series (eigenfunctions) are one idea at three scales: find the special solutions on which the equation acts by simple multiplication, and build everything else by adding them up. In quantum mechanics the same idea, applied to the Schrödinger equation, produces the discrete energy levels of atoms.
Why does this work?
The equation is linear: if and both solve , their difference solves the equation with . So every solution is one particular solution plus a solution of the homogeneous equation, and those form a two-dimensional space (two arbitrary constants) spanned by the two exponential solutions.
Beyond the syllabus
Mathematical curiosities
For the usual trial fails (it is in the CF), and the particular integral is , which grows without bound. Forcing a system at its natural frequency can destroy it, as soldiers marching in step on bridges have discovered.
Further exploration
Reading pathway: Nonlinear Dynamics and Chaos (Strogatz).