Second-order differential equations
In a minute
A gives an acceleration, , such as for a spring or a bouncing diving board. Put and it becomes two . Then you can use , find an exact solution from , or read the motion from a .
You'll be able to
- Rewrite a second-order equation as coupled first-order equations with , and use both .
- Estimate and with Euler's method, by hand and on a GDC.
- Find the exact solution of when the eigenvalues are real and distinct.
- Use the eigenvalues and a phase portrait of displacement against velocity to describe the motion in context.
Before you start3 quick questions on what this builds on
Revise first: 1.15 Eigenvalues and eigenvectors, 2.6 Fitting and testing models, 5.10 Second derivative and concavity, 5.14 Setting up and separating differential equations, 5.16 Euler's method and 5.17 Phase portraits for coupled equations
Writing it as two first-order equations
So far your held only a first derivative. Many laws of motion are about acceleration, the of displacement: .
For example, a spring pulls a mass back to its rest position and friction opposes its velocity: . In the exam the equation is always given. You solve it and interpret it.
The key step is to give the velocity its own letter. Let . Then , so the one second-order equation becomes two first-order ones:
These are , as in 5.16. Here is the displacement and is the velocity.
When the equation is with constants and , rearrange it to . In matrix form:
A solution needs two : the starting displacement and the starting velocity . "Released from rest" or "let go from rest" means at the start.
Try it first, then reveal one step at a time.
- Let . Differentiate both sides: .
- Substitute both into the equation: .
- Make the subject: .
- So the system is and . The term means it doesn't fit the matrix form below, but Euler's method still works on it.
Try it first, then reveal one step at a time.
- (a) and , so .
- (b) Moving down means the velocity is negative: and .
- .
- Interpret: is the acceleration, downwards. It points the same way as the motion, so the tip is speeding up as it heads back towards its rest position.
Euler's method for second-order equations
Many second-order equations have no exact solution you can find, for example when the velocity is squared. Euler's method still works on the coupled form. You step and forward together, as in 5.16.
This is in the booklet, with step length . Here , so the first line becomes . For , use the right-hand side of the given equation.
Try it first, then reveal one step at a time.
- Let , her speed. Then and , with and at .
- Formulas: and .
- Row 1 (): and . The first step uses her starting speed, , so doesn't change yet.
- Row 2 (): and .
- Interpret: after second she has fallen about m and is falling at about . Two steps give only a rough estimate: a smaller usually gives a better one.
Try it first, then reveal one step at a time.
- Coupled form: and , with , and .
- Write down what you enter: , and . This line earns the method mark.
- Check the first row by hand: and .
- Set the GDC to radians, because is a time, not an angle in degrees. Run steps to : and .
- Interpret: after second the buoy is about m above its rest level and moving down at about .
Exact solutions from eigenvalues
When the equation is linear, , you can solve it exactly as in 5.17. Use the matrix of the coupled form.
In the exam, still write before the quadratic. That line earns the method mark.
When the eigenvalues and are real and distinct, the exact solution is the booklet formula:
Here . With and , the top row is the displacement and the bottom row is its velocity:
This is the . Find the constants and by putting : the starting displacement is , and the starting velocity is .
Try it first, then reveal one step at a time.
- Characteristic equation: , so and or .
- These are real and distinct, so and .
- At : gives . Starting from rest gives , so .
- Then , so and .
- Describe: both eigenvalues are negative, so . Also for all , so stays positive: the door closes smoothly and never swings past the closed position.
Try it first, then reveal one step at a time.
- , so and or .
- and .
- At : and . So , then , giving and .
- (a) .
- (b) Graph for , with for , and find the maximum: at .
- Interpret: the arm swings out about mm in the first quarter of a second. Then it returns towards without oscillating, because both eigenvalues are real and negative.
Phase portraits of displacement against velocity
For the coupled form, a has the displacement across and the velocity up. Each shows how position and velocity change together.
Where a trajectory crosses the -axis, : the object is momentarily at rest, at the end of a swing. Where it crosses the -axis, : the object is passing through its rest position. The origin is the , at rest in the rest position.
The eigenvalues, from , tell you the motion of . These are the rules from 5.17, read in context:
1. Real, distinct and both negative: trajectories go into the origin. The object returns to rest without oscillating: it passes through the rest position at most once.
2. Complex with negative real part: trajectories spiral in. The object oscillates, and its swings get smaller.
3. Imaginary ( and ): trajectories are closed ellipses. The object oscillates for ever with the same size of swing.
4. A positive eigenvalue, or complex eigenvalues with positive real part: almost every trajectory moves away from the origin, so the displacement, or the size of each swing, grows.
Try it first, then reveal one step at a time.
- , so .
- Complex with negative real part: the trajectory spirals into the origin.
- It starts at . There , so it moves down: the spiral is clockwise, as always when .
- Interpret: the tip bounces up and down past its rest position, each swing smaller than the last, and settles at rest. The spiral crosses the -axis at the top and bottom of each bounce.
Try it first, then reveal one step at a time.
- Here and : , so . These are imaginary.
- So the trajectory through is a closed ellipse centred on the origin, traced clockwise.
- Motion: the glider swings between and , where the ellipse crosses the -axis, and repeats this for ever.
- Comment: a real glider has some friction, so its swings slowly shrink. Adding a small term with makes the eigenvalues complex with negative real part, so the trajectory spirals in instead.
- Imaginary eigenvalues give a closed clockwise ellipse: the glider oscillates between and for ever. Real friction makes the swings shrink.
Common mistakes
- Using the new to work out in Euler's method. Both new values come from the old row .
- Forgetting the starting velocity. A second-order equation needs and at the start; "from rest" means .
- Sign slips in the matrix. Rearranging gives the bottom row , .
- Rounding Euler values partway down the table. Keep full calculator values and round only the final answer, usually to 3 s.f.
- Finding and from at alone. Differentiate the general solution and use at for the second equation.
- Stopping at the eigenvalues when the question asks about the motion. Say what the object does: settles without oscillating, oscillates with shrinking swings, or oscillates for ever.
Exam tips
- "Use the substitution ": write , then both equations of the coupled system. Each line can earn a mark.
- "Use Euler's method": write both iteration formulas with the numbers in, and show at least the first row of the table. That earns the method marks even if a later value is wrong.
- "Hence write down the general solution": or the vector form both earn the mark. Any non-zero multiple of an eigenvector is accepted.
- "Sketch against ": start at the given with the starting gradient , show any maximum or minimum, and show tending to when both eigenvalues are negative.
Key takeaways
Practise this
20 past-paper questions on Coupled differential equations in the AI HL bank, each with a mark scheme and a worked explanation.