5.18 Second order differential equations
Studying this course? Keep your progress in one place.
Key facts
- A second-order equation contains ; springs, damping and pendulums come from Newton's second law.
- Let to turn it into a coupled first-order system: and .
- Euler's method steps both equations together, using the old values.
- For the eigenvalues satisfy .
- Imaginary eigenvalues: undamped; complex with negative real part: damped oscillation.
Physical contexts
Newton's second law turns forces on springs and pendulums into equations for .
A second-order differential equation contains , the acceleration when is a displacement. They arise from Newton's second law.
A mass on a spring of stiffness gives . Adding damping proportional to velocity gives . A pendulum gives .
In examinations the equation is given; you solve it numerically or analyse it with a phase portrait.
Spring
- Force pulls back to
Damped spring
- Friction proportional to velocity
Pendulum
- Non-linear
What law gives these equations?
A coupled first-order system
Introduce , so one second-order equation becomes two first-order equations.
Euler's method needs first-order equations, so introduce a variable for velocity. For let . Then
Example: becomes and . The initial conditions become and .
- 1
Let
the velocity
- 2
First equation
- 3
Second equation
Worked example
Write as a coupled first-order system.
- 1
Let .
- 2
Then .
- 3
Substitute into the equation: .
with . What is ?
Euler's method for the pair
Update and together, both using the values from the start of the step.
Apply Euler to both equations, using the old values on the right.
Example: , , , . Step 1 (): and . Step 2 (): and .
Use a spreadsheet for more steps, and radian mode if the equation contains . Euler slowly drifts: for each step multiplies by , though the true value is constant.
In step 1 above, what is ?
Linear equations and phase portraits
Write the matrix of the coupled system; its eigenvalues satisfy .
For the coupled system is , , with matrix . Its eigenvalues satisfy
Then use the phase-portrait method from 5.17, with position and velocity as the axes.
Example: has .
. What is the characteristic equation?
Interpreting the eigenvalues
The eigenvalues tell you whether the motion is undamped, damped, heavily damped or unstable.
The origin , is the rest position: the mass at the centre with no velocity.
Describe each case in context, not just in terms of shapes: say that a decaying spiral means the oscillation dies away and the object settles at rest.
| Complex, real part negative | Two negative real | |||
|---|---|---|---|---|
| Portrait | Imaginary: closed ellipses | Spiral towards the origin | Stable node | Saddle point |
| Motion | Undamped oscillation | Damped oscillation | Returns to 0 without oscillating | runs away |
- Portrait:
- Imaginary: closed ellipses
- Motion:
- Undamped oscillation
Complex, real part negative
- Portrait:
- Spiral towards the origin
- Motion:
- Damped oscillation
Two negative real
- Portrait:
- Stable node
- Motion:
- Returns to 0 without oscillating
- Portrait:
- Saddle point
- Motion:
- runs away
Imaginary eigenvalues mean...
Numerical or qualitative?
Euler's method gives numbers for any equation; the phase portrait gives the behaviour of linear equations.
Euler's method gives numbers: position and velocity at particular times, for any given equation, including non-linear ones like the pendulum. The phase portrait gives the qualitative behaviour of linear equations: grow, decay or cycle, without calculating values.
For a non-linear equation such as , replacing by for small angles gives a linear equation to analyse.
Check which is asked: "estimate when " needs Euler; "describe the long-term behaviour" needs the eigenvalues.
| Euler's method | Phase portrait | |
|---|---|---|
| Gives | Numbers at given times | Long-term behaviour |
| Works for | Any equation | Linear equations |
Euler's method
- Gives:
- Numbers at given times
- Works for:
- Any equation
Phase portrait
- Gives:
- Long-term behaviour
- Works for:
- Linear equations
"Describe the long-term behaviour" of a linear system needs...
Try an exam question
A mass satisfies . Write this as a coupled first-order system, find the eigenvalues, and describe the motion.
[4 marks]
- [1]Let : and .
- [1].
- [1].
- [1]Complex with negative real part: a damped oscillation whose amplitude decays, so the mass settles at rest.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Using , which pair of first-order equations is equivalent to ?
1 mark, marked against the mark scheme
Using , which pair of first-order equations is equivalent to ?
1 mark, marked against the mark scheme