IB Mathematics: Applications and Interpretation · Topic 5 · Calculus
5.18 Second-order differential equations
Rewrite a second-order equation as a coupled system, apply Euler’s method to it, and interpret the resulting phase portrait in context.
1/5A second-order equation involves the second derivative
- A second-order equation involves the second derivative
- A new variable turns one equation into two
- Euler’s method steps both variables forward together
- The eigenvalues show whether motion oscillates, decays or grows
- Phase portraits show how a model behaves in context
- Check your recall
- Practice: 10 questions
Part 1 of 5: A second-order equation involves the second derivative
A mass on a spring speeds up more when it is pulled further from rest. So its acceleration depends on its position. Acceleration is the rate of change of velocity.
A model such as is a second-order differential equation. Its highest derivative is the second derivative of with respect to .
Here is the displacement from rest in metres, and is the time in seconds. The constant 4 has units . The equation says the acceleration always points back towards the rest position.
Key terms · tap one for its definition
second-order differential equation
A second-order differential equation is a differential equation whose highest derivative is a second derivative.
second derivative
The second derivative is the derivative of the first derivative.
Part 2 of 5: A new variable turns one equation into two
The methods for pairs of equations cannot yet handle this model. A change of variable fixes that. Let be the velocity, so .
Then . For the spring model this gives and . The two equations share and , so they form a coupled system.
The plane is the phase plane, with displacement on one axis and velocity on the other.
Worked example
Writing a damped equation as a system
- Let , so the first equation is .
- Then .
- Rearrange the original equation: .
- Replace by : .
Answer: The system is and .
Key terms · tap one for its definition
coupled system
A coupled system is a set of differential equations in which the rate of each variable depends on the other variables.
phase plane
The phase plane is the plane whose axes are the two dependent variables and of a system, with time as a hidden parameter.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 3 of 5: Euler’s method steps both variables forward together
A coupled system can be approximated numerically, one small step at a time. Euler’s method uses the rates at the start of each step to move forward. The step size is the fixed increase in for each step.
- , with evaluated at
Smaller steps usually give a more accurate approximation. They also need more steps to reach the same value of .
Worked example
Three Euler steps for a spring model
- Write the system: and .
- Step 1: and .
- Step 2: and .
- Step 3: and .
Answer: At , and .
Key terms · tap one for its definition
Euler’s method
Euler’s method is a numerical method that approximates a solution by repeated steps of fixed size , using rates at the start of each step.
step size
The step size is the fixed increase in the independent variable between successive Euler approximations.
Part 4 of 5: The eigenvalues show whether motion oscillates, decays or grows
The coupled system is linear, so the eigenvalue idea applies again. For and , each eigenvalue solves . The real part of sets growth or decay. The imaginary part sets oscillation.
Many spring models include damping, such as friction, which removes energy. Damping acts against the velocity, so it adds a negative multiple of to . Stronger damping changes the pattern from a spiral to a direct approach.
Four spring models and their motion
- Model
- Eigenvalues
- Name
- Centre
- Motion
- Oscillates with constant amplitude
- Model
- Eigenvalues
- Name
- Stable spiral
- Motion
- Oscillates with shrinking amplitude
- Model
- Eigenvalues
- -1 and -2
- Name
- Stable node
- Motion
- Returns to rest without oscillating
- Model
- Eigenvalues
- 2 and -2
- Name
- Saddle
- Motion
- Runs away unless it starts on one special line
For , the coefficients are , , and . This gives the shortcut . It saves forming the system when only the eigenvalues are needed.
Key terms · tap one for its definition
eigenvalue
An eigenvalue is a root of the equation built from the coefficients of a linear system.
damping
Damping is a resistive effect, such as friction, that removes energy from an oscillating system and acts against its velocity.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 5 of 5: Phase portraits show how a model behaves in context
Now the pieces combine into a story about a real system. Plot displacement horizontally and velocity vertically.
For the trajectory is a closed loop around the origin. The mass oscillates for ever with constant amplitude. When the point moves right, and when it moves left. So the loop is traced clockwise.
Damping changes the picture. A damped model that oscillates gives a spiral shrinking towards . That point means rest at the equilibrium position. Heavy damping gives a direct approach with no oscillation.
Check your recall[16 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Write down[2 marks]
Write down the coupled system equivalent to , using .
Show mark schemeHide mark scheme
Model answer
and .
- 1 mark for writing
- 1 mark for writing
- 2.Calculate[4 marks]
Calculate approximate values of and at for and , with , and , using Euler’s method.
Show mark schemeHide mark scheme
Model answer
Step 1: and . Step 2: and . So and .
- 1 mark for using and
- 1 mark for obtaining and
- 1 mark for obtaining
- 1 mark for obtaining
- 3.Determine[3 marks]
Determine the eigenvalues for , and hence describe the motion.
Show mark schemeHide mark scheme
Model answer
The eigenvalues solve , so and . Both are real and negative, so the origin is a stable node. The mass returns to rest without oscillating.
- 1 mark for forming
- 1 mark for obtaining and
- 1 mark for stating that the motion returns to rest without oscillating
- 4.Explain[2 marks]
Explain why the trajectory of in the phase plane is a closed loop.
Show mark schemeHide mark scheme
Model answer
The eigenvalues are , which are purely imaginary. So the motion repeats with constant amplitude and the trajectory returns to its starting point.
- 1 mark for stating that the eigenvalues are purely imaginary
- 1 mark for linking this to repeated oscillation with constant amplitude, so the trajectory returns to its start
- 5.Suggest[2 marks]
Suggest why an Euler approximation of an undamped oscillator can show growing amplitude.
Show mark schemeHide mark scheme
Model answer
Each step uses rates from the start of the step, so the new point lands slightly outside the true loop. These small errors build up and push the points outward.
- 1 mark for stating that each step uses rates from the start of the step, so the point lands outside the loop
- 1 mark for stating that the errors accumulate and push the points outward
- 6.Distinguish[3 marks]
Distinguish between motion with eigenvalues and motion with eigenvalues -1 and -2.
Show mark schemeHide mark scheme
Model answer
A complex pair with negative real part gives oscillation with shrinking amplitude, which is a stable spiral. Two negative real eigenvalues give a return to rest without oscillating, which is a stable node. Both settle at the equilibrium.
- 1 mark for identifying complex eigenvalues as oscillation with shrinking amplitude
- 1 mark for identifying negative real eigenvalues as a return to rest without oscillating
- 1 mark for stating that both settle at the equilibrium

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: D · Worked explanation
MediumPredict[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation