Write a second-order differential equation as a coupled first-order system, solve it numerically with Euler's method, find exact solutions of ẍ + aẋ + bx = 0 with eigenvalues, and interpret damping and long-term behaviour.
Each is in the Maths AI glossary, with every other term in the subject.
For the differential equation , the quadratic equation
With a free account, Augment remembers where you stopped and what you have practiced.
A resistance to motion, modelled by a term proportional to the velocity in an equation of motion, that removes energy from an oscillating system so that its motion dies away.
Describes a damped system whose auxiliary equation has two distinct negative real roots (), so that it returns to equilibrium without oscillating.
Rewriting a second-order differential equation as the coupled first-order equations , , by introducing the velocity as a second variable, so that .
A differential equation in which the highest derivative of the unknown function is the second derivative, such as .
Motion in which the acceleration is proportional to the displacement from equilibrium and directed towards it, with ; it is a periodic oscillation with period .
Describes a system with and no damping term, whose auxiliary equation has purely imaginary roots , so that it oscillates for ever with constant amplitude.
Describes a damped system whose auxiliary equation has complex roots with negative real part (), so that it oscillates about equilibrium with decreasing amplitude.
Explain why the equations of motion of springs, dampers, circuits and falling bodies are second-order differential equations, and why they need two initial conditions.
Show that a second-order differential equation can be written as the coupled system , , and reverse the process.
Write down the matrix of the system for
Use Euler's method with a given step length to estimate the displacement and velocity of a second-order system, with technology.
Find the exact solution
Determine whether motion is overdamped, underdamped or undamped from the eigenvalues, and sketch the matching phase portrait in the plane.
State and interpret the long-term displacement and velocity of a system in context.
Newton's second law says that force equals mass times acceleration, and acceleration is the second derivative of displacement. Whenever the forces on an object depend on where it is and how fast it is moving, the result is an equation containing , and together: a second-order differential equation. Car suspensions, vibrating bridges, swinging pendulums, falling skydivers and electric circuits are all described this way.
Such an equation looks harder than anything in subtopics 5.14–5.17, but one substitution turns it into a pair of first-order equations, the coupled systems already met. Euler's method from subtopic 5.16 then gives numerical solutions of any second-order equation, and the eigenvalue method of subtopic 5.17 gives exact solutions of the linear ones, together with a clear picture of how the motion dies away.
The order of a differential equation is the highest derivative it contains. Every equation in subtopics 5.14–5.17 was first order. When a model is built from forces, the acceleration
The dot notation of subtopic 5.13 is standard for second-order equations: is the velocity and
A car's suspension, a door closer and the needle of a measuring instrument all contain the same three parts: a mass, a spring that pulls it back towards equilibrium, and a damper that resists its motion. The mass–spring–damper diagram shows the model with displacement measured from the equilibrium position.

Two forces act on the mass.
The spring pulls back towards equilibrium with a force proportional to the stretch (Hooke's law): , where is the stiffness. The minus sign means the force points opposite to the displacement.
The damper is a piston moving through fluid. The fluid resists with a force proportional to the velocity: , where
Newton's second law, mass × acceleration = total force, gives
This has the form with
A car's shock absorber is a damper of exactly this kind. Most are dashpots, devices that resist motion through viscous friction as a piston forces oil through small holes; the kinetic energy of a bump is turned into heat in the fluid and carried away. Without damping, the car's springs would keep the body bouncing long after every bump.
Source: Wikipedia, "Shock absorber", accessed 2026.
The same mathematics appears far from cars. The table lists common second-order models and where each term comes from; each is in the form .
Situation | Equation | Meaning of the terms |
|---|---|---|
mass on a spring, no friction | restoring force only | |
pendulum, small swings |
The first three are linear with constant coefficients: , and appear only to the first power, multiplied by constants, with zero on the right. These are the equations that the eigenvalue method of subtopic 5.17 analyses. The falling body is non-linear (because of
A first-order equation needs one starting value. A second-order equation needs two, because knowing where an object is does not fix its future: a swing released from rest at a height behaves differently from one pushed from the same height. The two conditions are usually the initial displacement and the initial velocity . "Released from rest" means
A proposed solution can always be checked by differentiating twice and substituting, as in subtopic 5.14.
The key idea is to treat the velocity as a second unknown. Define . Differentiating once more gives . So the single equation
The first equation is just the definition of . The second is the original equation with written as and
Nothing is lost in the rewriting: a solution of the second-order equation gives a solution of the system, and a solution of the system gives a solution
For the linear equation , solving for
The first row is always , because . The second row holds the coefficients with their signs changed, in the order then
The substitution works for any equation that can be solved for , linear or not. Only the second equation changes.
Second-order equation | Coupled system |
|---|---|
Forced and non-linear systems cannot be written as , so the eigenvalue method does not apply to them; Euler's method does.
The reverse process also matters: a coupled system with can be turned back into one second-order equation by differentiating the first equation and substituting the second.
The sign of each coefficient also needs care, because the terms of the equation change sides when it is solved for .
Euler's method for a coupled system (subtopic 5.16) steps both variables forward together, using the values at the start of each step. With step length :
For a second-order equation reduced with , , so the scheme becomes
In words: the new displacement is the old displacement plus velocity × time step, and the new velocity is the old velocity plus acceleration × time step. Both updates use the old values , ,
The value 7 m s⁻¹ is far below a real skydiver's terminal speed, because the drag constant 0.2 is invented to keep the numbers simple. A real skydiver falling face down has a terminal speed of about 55 m s⁻¹, which corresponds to a much smaller constant (). The model still shows the mechanism correctly. Drag grows with speed until it balances the weight, so the velocity approaches the terminal velocity without ever passing it. Subtopic 5.13 describes a record-breaking real jump in which the speed rose and then fell as the air thickened.
Source: Wikipedia, "Terminal velocity", accessed 2026.
Euler values are generated with technology, not by hand. Three set-ups are common.
Spreadsheet: columns for , and ; the first row holds 0, and
The number of steps is : from 0 to 1 with is 10 steps. For the write-up, record the recurrences with the actual numbers in them, the step length, and the final values; a full table is not needed.
When a forcing term pushes the system, it does not settle at rest, but it may settle into a steady pattern that Euler's method shows clearly.
The long-term velocity can be understood without the exact solution. The forcing term grows steadily. Once the transient motion has died away, the particle moves so that keeps pace with , which means grows like and the velocity is 1.
The system for has matrix
This quadratic can be written straight from the differential equation: replace by , by
For an eigenvalue , the first row of is , so an eigenvector
which makes sense: along this direction the velocity is times the displacement , exactly as for , whose derivative is
With real distinct eigenvalues and , the general solution of subtopic 5.17 is
and its first component is the displacement:
The constants come from the two initial conditions: and
The algebra in this method is short, and the GDC is used at two points: solving the auxiliary equation and analysing the final .
Solve with the polynomial root finder (on a TI-84 Plus CE: APPS → PlySmlt2 → POLYNOMIAL ROOT FINDER; on a Casio fx-CG50: MENU → Equation → POLY). Complex roots show at once that the motion is underdamped.
Solve the two equations for and
Write down the auxiliary equation, its roots, the two equations for the constants and the equation solved for a time; a bare decimal with no equation behind it shows no method.
YouTubeThe shock-absorber equation is a simple model of a damped car suspension. Suppose a bump compresses the spring so that the body is displaced 6 cm from equilibrium, and the motion starts from rest:
The auxiliary equation is , which factorises as
The initial conditions give two equations for the constants:
From the second equation , so , giving and
Both exponentials decay, so the body returns to equilibrium without ever overshooting: stays positive for all . The fast term matters only in the first second, where it makes the motion start gently from rest; after that the slow term
Euler's method with gives a check on the exact solution. The Euler estimates lie close to the exact curve: at , Euler gives cm against the exact 4.307 cm, an error of about 0.7%. Halving the step to
The coefficients of the model, the initial displacement and the 0.5 cm threshold are hypothetical.
The roots of depend on the sign of the discriminant . For a mass on a spring with damping (
When the damping is strong (), the eigenvalues are real, distinct and both negative, because their sum is and their product is . The displacement is a sum of two decaying exponentials, so the mass returns to equilibrium without oscillating.
When the damping is weaker (), the eigenvalues are complex, , with real part
For ,
With no damping at all (), the eigenvalues are purely imaginary and nothing removes energy, so the oscillation never dies away.
The boundary case , called critical damping, gives a repeated eigenvalue and the fastest return to equilibrium without overshoot. A repeated eigenvalue needs a different form of solution, outside the method for distinct eigenvalues.
Because the system variables are and , the phase plane of a second-order equation has displacement on the horizontal axis and velocity on the vertical axis. The three damping cases give three of the portraits of subtopic 5.17.

Two features are true of every phase portrait.
Motion is to the right in the upper half-plane and to the left in the lower half-plane, because : positive velocity means increasing displacement. Trajectories therefore cross the -axis vertically.
Spirals and centres turn clockwise when . On the positive
For the overdamped shock absorber, the eigenvector lines are and . Trajectories enter the origin along
The undamped equation is important enough to have its own name. Writing :
The matrix has trace 0 and determinant
A mass on a frictionless spring has , and a pendulum of length swinging through small angles has
For the unforced equation the long-term behaviour follows from the eigenvalues alone.
Eigenvalues | Long term |
|---|---|
both negative, or complex with negative real part | and : the system comes to rest at equilibrium |
purely imaginary | oscillation for ever, no limit |
at least one positive, or complex with positive real part | the motion grows without limit (or, for opposite signs, depends on the starting values) |
So when both eigenvalues are negative, the long-term velocity is 0, with no solving needed. With a forcing term or a non-linear equation, set (constant velocity) or read the limit from a long Euler run. For
YouTubeSecond-order equations are examined on HL Paper 1 (4–6 marks, usually rewriting as a system and a short Euler calculation) and Paper 2 (10–17 marks, usually a context such as a shock absorber, a pollutant or a particle, combining the eigenvalue method with interpretation). The equation is always given. Typical command terms are show that (the system or the equation), write down (the matrix), find (eigenvalues, the exact solution, an Euler estimate), sketch ( against , with a maximum labelled), state (the long-term velocity) and write down a reason in context.
What to write: the explicit link ; the matrix; the characteristic equation and eigenvalues; the general solution with
The state in part (e) means no working is expected: two negative eigenvalues mean the system comes to rest, so the velocity tends to 0. Solving the system again earns nothing and wastes time. Part (g) can also be answered by continuing the Euler table, which settles at .
Eigenvalue errors are costly here as in subtopic 1.15: a wrong eigenvalue makes the later parts impossible to follow through. Check the eigenvalues against the auxiliary equation by sum and product (,
Write as a coupled first-order system and write down its matrix. [3]
Show that
,
A second-order differential equation contains ; models built from forces (springs, dampers, drag, circuits) give such equations, and each needs two initial conditions, and .
The substitution
I can explain where each term of comes from.
I can check that a given function solves a second-order equation by differentiating twice.
I can write
27 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
The vertical displacement, cm, of a car body from its rest position seconds after it goes over a bump is modelled by the differential equation
When , and
By letting , show that the equation can be written as
This question uses a second-order differential equation to explore how the damping setting of an automatic door closer affects the way a door shuts.
A heavy fire door in a hospital corridor is fitted with a hydraulic closer. The door is pushed open and then released from rest. Let be the angle, in radians, between the door and its closed position seconds after it is released. The motion of the door is modelled by
A mass attached to a spring moves along a horizontal line. Its displacement from its equilibrium position, metres, at time seconds satisfies
The entries of the mathematics: applications and interpretation formula booklet that 5.18 uses. Each opens in the explained booklet.
gravity pulls back towards the vertical |
electric circuit (resistor, inductor, capacitor) | resistance plays the role of damping |
falling body with air resistance | weight down, drag growing with speed squared |
particle pushed by a force that grows with time | a forcing term |
Differentiate twice:
Substitute and collect the terms in each exponential:
so the equation is satisfied for every . At : and
(a) Given that , show that . [2]
(b) Write down the matrix such that . [1]
(a) , so . Substituting and into the equation:
(b) and
, |
, |
(pendulum, any swing) | , |
Differentiate the first equation with respect to : .
Substitute the second equation, then :
so , as required. The final line must be written out to complete a "show that".
(a) Write the equation as a system of coupled first-order differential equations. [2]
(b) Use Euler's method with step length 0.1 to estimate her displacement and velocity when . [4]
(c) Find the terminal velocity predicted by the model. [2]
(a) Let , so :
(b) The recurrences, with , ,
For example, the step from to is
At : displacement m and velocity
(c) At terminal velocity the velocity no longer changes, so :
The terminal velocity is . Continuing the Euler table to gives to 3 significant figures, which agrees.
GDC sequence mode: define for and for recursively, each in terms of , and , and read the values from a table.
GDC program or repeated entry: store , and in memories and evaluate the three updates in one line, pressing ENTER repeatedly.
(a) Write down the coupled system obtained with . [2]
(b) Use Euler's method with step length 0.1 to estimate the displacement when . [4]
(c) By continuing the Euler steps, find the long-term velocity of the particle. [1]
(a) , .
(b) ,
0 | 0.1 | 0.2 | 0.3 | 0.5 | 0.8 | 1.0 | |
|---|---|---|---|---|---|---|---|
0 | 0 | 0.06 | 0.152 | 0.37504 | 0.72451 | 0.94934 | |
After 10 steps, m.
(c) Continuing to (200 steps), settles at 1.00, so the long-term velocity is .
The exact solution, which can be checked by substitution, is . It gives
PlySmlt2EquationSIMULGraph for and use the graph tools for a maximum or for the time when reaches a given value (on a TI-84 Plus CE: 2nd TRACE (CALC) → maximum or intersect; on a Casio fx-CG50: SHIFT F5 (G-SOLVE) → MAX or INTSECT).
(a) Find the eigenvalues of the matrix of the associated coupled system. [3]
(b) Hence find the exact solution for . [4]
(c) Find the maximum concentration and when it occurs. [2]
(d) The station issues a warning while . Find the length of time for which the warning is in force. [3]
(a) The matrix is ; , so and , .
(b) and
At : and . With
(c) Using the GDC to find the maximum of the graph (or solving , which gives
(d) Solve on the GDC: and
(a) Find the eigenvalues of the associated matrix and state the type of motion. [3]
(b) Write down the period of the motion. [1]
(c) Describe the phase portrait trajectory of this motion. [2]
(a) The matrix is ; , so . The eigenvalues are purely imaginary: undamped simple harmonic motion with .
(b) Period s.
(c) The trajectory is a closed ellipse round the origin in the plane, through and , reaching
When , and the particle is at rest.
(a) Use the substitution to show that the equation can be written as . [2]
(b) Find the eigenvalues of the matrix. [3]
(c) Hence find an expression for in terms of . [5]
(d) Find the time at which the particle is 1 m from O. [2]
(e) State the long-term velocity of the particle. [1]
The motion is changed so that , and the particle now starts at rest at O.
(f) Use Euler's method with step length 0.1 to estimate the displacement of the particle when . [4]
(g) Find the long-term displacement of the particle. [2]
(a) A1
, so and M1
If is used instead of
(b)
(A1)
, A1
(c) (or eigenvectors
, M1
, A1
A1
(d) (M1)
s A1
(e) A1
Award only if both eigenvalues in (b) are negative.
(f) recognition that in any recurrence (M1)
(A1)
m A1
(g) in the long term and , so
m A1
Total [19]
For each equation, find the roots of the auxiliary equation and state whether the motion is overdamped, underdamped or undamped: (a) ; (b) ; (c) . [6]
Find the exact solution of with , , and find . [5]
A ball falls from rest with . (a) Use Euler's method with step length 0.2 to estimate its displacement and velocity when . [4] (b) Find its terminal velocity. [2]
Given with , , use Euler's method with step length 0.1 to estimate and when . [4]
The system , is given. (a) Show that it can be written as a second-order differential equation. [2] (b) Determine the type of motion and state the long-term velocity. [3]
A spring system obeys with . Find the values of for which the motion is (a) underdamped; (b) overdamped. [3]
, ; . , .
(a) : overdamped. (b) : underdamped. (c) : undamped (simple harmonic motion, period ).
, : , ; ; .
(a) , : : 0, 0.8, 1.472, 1.839; : 0, 0, 0.16, 0.454. At , , . (b) , terminal velocity 2.
: : , , . So (1.001), .
(a) , so . (b) , : underdamped (stable spiral); long-term velocity 0.
Auxiliary equation , discriminant . (a) . (b) .
Euler's method then gives , , , computed with technology.
For the matrix is and the eigenvalues solve the auxiliary equation .
With real distinct eigenvalues, , with and .
Two negative real eigenvalues: overdamped (stable node); complex with negative real part: underdamped (stable spiral); purely imaginary: undamped simple harmonic motion (centre).
In the plane, motion is rightwards above the axis and leftwards below it; spirals and centres turn clockwise.
Long-term behaviour comes from the eigenvalues (both negative: , ) or, for forced and non-linear equations, from setting or a long Euler run.
I can turn a system with back into a second-order equation.
I can write down the matrix with the correct signs.
I can set up the Euler recurrences for a second-order equation and run them on a spreadsheet or GDC.
I can find a terminal or long-term velocity by setting or by continuing Euler steps.
I can write the auxiliary equation straight from the differential equation.
I can find and from and and give as a function of .
I can use the GDC to find when reaches a value or where it is greatest.
I can decide whether motion is overdamped, underdamped or undamped from the eigenvalues or from .
I can sketch the phase portrait of each damping case in the plane with the correct direction.
I can find the period of simple harmonic motion .
I can state the long-term velocity from the eigenvalues without further working.
where is a matrix to be written down.
2 marks
, M1
A1
[2 marks]
Find the eigenvalues of .
3 marks
M1
A1
, A1
[3 marks]
Find an eigenvector for each eigenvalue.
2 marks
: A1
:
[2 marks]
Hence find an expression for in terms of .
4 marks
(M1)
, M1
, A1
A1
Note: The final mark requires alone, not the vector form.
[4 marks]
Find the time taken for the displacement to fall to 1 cm.
2 marks
(M1)
(s) A1
[2 marks]
With reference to the eigenvalues, describe the motion of the car body in the long term.
2 marks
both eigenvalues are real and negative R1
so without oscillating: the car body returns to its rest position (a stable node) A1
Note: Do not award the accuracy mark without the reasoning mark.
[2 marks]
where is a positive constant called the damping setting of the closer. When , and .
By letting , write the differential equation as a system of first-order equations in the form , where is a matrix in terms of .
2 marks
The closer is first set with .
Show that the eigenvalues of are and .
2 marks
Find an eigenvector for each eigenvalue.
2 marks
Hence show that .
4 marks
The door is considered shut once .
Find the time taken for the door to be shut.
2 marks
Show that, with this setting, the door never swings past its closed position.
2 marks
Sketch the phase portrait for this system, with on the horizontal axis and on the vertical axis. Your sketch should show the eigenvector lines and the trajectory that starts at .
3 marks
After some years the closer wears and the damping setting falls to .
Find the eigenvalues of for this setting.
2 marks
Hence describe the motion of the door with this setting.
2 marks
Use Euler's method with a step length of 0.1 seconds to estimate the value of when for the worn closer.
4 marks
A computer solution of the differential equation gives when .
Calculate the percentage error in your answer to part (h).
2 marks
Find the set of values of for which has two distinct real eigenvalues.
2 marks
Explain why the manufacturer would not choose a very large value of .
1 mark
The mass is released from rest when .
By letting , write the differential equation as a system of two first-order differential equations.
2 marks
Use Euler's method with a step length of 0.1 to estimate the displacement of the mass when .
4 marks
0 | 0 | 0 | 0 |
1 | 0.1 | 0 | 0.98 |
2 | 0.2 | 0.098 | 1.940792 |
3 | 0.3 | 0.292079 | 2.845459 |
4 | 0.4 | 0.576625 | 3.663526 |
5 | 0.5 | 0.942978 | 4.375097 |
0 |
0.6 |
0.92 |
1.08 |
1.17216 |
1.13418 |
1.09528 |