Second Order Differential Equations (DP IB Applications & Interpretation (AI): HL): Revision Note

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Euler's method: second order

What is a second order differential equation?

  • A second order differential equation is a differential equation containing one or more second derivatives

  • In this course you consider second order differential equations of the form

    d2xdt2=f(x,dxdt,t)

  • Some examples include;

    • d2xdt2=xdxdt+2x2+3t+5

    • d2xdt2=2dxdt+3

How do I apply Euler’s method to second order differential equations?

  • The pair of equations then becomes the system

dxdt=ydydt=f(x, y, t)

  • You can then use Euler's method in the same way

  • Write down the recursion equations using the formulae from the exam formula booklet:

    • xn+1=xn+h×f1(xn, yn, tn)

    • yn+1=yn+h×f1(xn, yn, tn)

    • tn+1=tn+h 

      • h in those equations is the step size

      • The exam question will usually tell you the correct value of h to use

  • Use the recursion feature on your GDC to calculate the Euler’s method approximation over the correct number of steps

    • The values for x0, y0 and t0 will come from the boundary conditions given in the question

    • Frequently you will be given an initial condition

      • Look out for terms like ‘initially’ or ‘at the start’

      • In this case t0=0

Worked Example

Consider the second order differential equation d2xdt2+2dxdt+x=50cost.

a) Show that the equation above can be rewritten as a system of coupled first order differential equations.

Answer:

5-7-2-ib-ai-hl-eulers-method-second-order-a-we-solution

b) Initially x=2 and dxdt=1. By applying Euler’s method with a step size of 0.1, find approximations for the values of x and dxdt when t=0.5 .

Answer:

5-7-2-ib-ai-hl-eulers-method-second-order-b-we-solution

 

Exact solutions of second order differential equations

How can I find the exact solution for a second order differential equation?

  • You might be asked to find exact solutions to second order differential equations of the form

    d2xdt2+adxdt+bx=0

    •  where a and b are constants

  • Use the substitution  y=dxdt to turn it into a coupled differential equation

dxdt=ydydt=bxay

  • This can be written in the form x˙=Mx

    • x˙=(x˙y˙)

    • x=(xy)

    • M=(01ba)

  • You can then investigate the solutions of the coupled differential equations

  • If the eigenvalues λ1 and λ2 are real, distinct, non-zero

    • The exact solution is of the form x=Ceλ1t+Deλ2t

      • Where C and D are constants

    • You can find the value of the constants given initial or boundary conditions

      • Remember that y=dxdt

      • This helps if you are given the initial value of dxdt

Examiner Tips and Tricks

In your exam, the eigenvalues will always be real, distinct and non-zero for these questions. The formula x=Aeλ1tp1+Beλ2tp2 is given in the formula booklet.

  • For example, consider d2xdt24dxdt+3x=0

    • The eigenvalues of (0134) are 1 and 3

    • The general solution is x=Cet+De3t

Worked Example

Consider the second order differential equation d2xdt2+3dxdt4x=0. Initially x=3 and  dxdt=2.

a) Show that the equation above can be rewritten as a system of coupled first order differential equations.

Answer:

5-7-2-ib-ai-hl-exact-second-order-a-we-solution

b) Given that the matrix (0143) has eigenvalues of 1 and -4 with corresponding eigenvectors (11) and (14), find the exact solution to the second order differential equation.

Answer:

5-7-2-ib-ai-hl-exact-second-order-b-we-solution

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.