5.18 Second order differential equationsIB Maths: Applications and Interpretation HL: Revision notes
Section 1
Second-order equations in physical contexts
A second-order differential equation contains , the acceleration when is a displacement. They arise from Newton's second law. A mass on a spring with stiffness gives , so . Adding a damping (friction) force proportional to velocity gives . A pendulum gives . You are not asked to derive these equations: in examinations the equation is given. You need to know how to solve it numerically and how to analyse it with a phase portrait.
Spring equations have the form : the force always pulls back towards .
Section 2
Turning it into a coupled first-order system
Euler's method needs first-order equations, so introduce a second variable for the velocity. For let . Then This is a coupled system in and . Example: becomes and . The initial conditions become and .
Forgetting that the first equation is simply . It is not the original right-hand side.
Section 3
Euler's method for the pair
Apply Euler's method to both equations, using the old values on the right: Example: , , , . Step 1 (using ): and . Step 2 (using ): and . So at , and . Use a spreadsheet for more steps, and a GDC in radian mode if the equation contains . Euler's method slowly drifts: for , each step multiplies by , although the true value is constant.
Using instead of in the update for . Both updates use the values from the start of the step.
Section 4
Linear second-order equations and phase portraits
For , the coupled system is and , with matrix . Its eigenvalues satisfy Then use the phase portrait method from 5.17, with (position) and (velocity) as the axes. Example: has .
The characteristic equation can be written straight from the coefficients: , then , then .
Section 5
Interpreting the eigenvalues
- , : imaginary eigenvalues , so closed ellipses: an undamped oscillation of constant amplitude.
- Complex eigenvalues with negative real part: a spiral towards the origin, a damped oscillation whose amplitude decays.
- Two distinct negative real eigenvalues: a stable node, so returns to without oscillating (heavy damping).
- : the eigenvalues are real with opposite signs, a saddle point, so runs away (an unstable situation). The origin is the rest position: the mass is at the centre with no velocity.
Describing the spiral without saying what it means. Say that the oscillation decays and the object settles at rest.
Section 6
Choosing between numerical and qualitative methods
Euler's method gives numbers: the 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: whether solutions grow, decay or cycle, without calculating each value. For a non-linear equation such as , replacing by for small angles gives a linear equation that you can analyse with a phase portrait. In a question, check which is asked: 'estimate when ' needs Euler's method, while 'describe the long-term behaviour' needs the eigenvalues.
Always write the coupled system first. It is usually worth a mark, and both methods start from it.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on 5.18 Second order differential equations
- The displacement metres of a mass on a spring, seconds after release, satisfies , with and when . Euler's method with step length seconds is used, with .Find the approximation to when .2 marks
- The displacement cm of a damped oscillator, seconds after it starts, satisfies . Let .Describe the motion of the oscillator, giving a reason.2 marks
- A mass on a spring has displacement metres at time seconds, where , with and when . Let . Euler's method with step length seconds is used.Write the second-order equation as a pair of coupled first-order equations, and write down the values of and when .3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).