Skip to content
  1. IB Question Bank
  2. Maths AI
  3. Calculus
Topic 5.17 · HL only

Euler method for Second order differential equations: notes and practice questions

Summary
  • Euler's Method: Numerical approximation for differential equations using step-by-step calculations.
  • Step Size (hh): Constant increment for the independent variable (tt).
  • Second Order Differential Equations: Must be transformed into a system of two coupled first order differential equations.
  • Substitution Rule:
  • Let y=dxdt y = \frac{dx}{dt}
  • Then dydt=d2xdt2 \frac{dy}{dt} = \frac{d^2x}{dt^2}
  • Euler's Method for Coupled Systems (for dxdt=f1(x,y,t)\frac{dx}{dt} = f_1(x, y, t) and dydt=f2(x,y,t)\frac{dy}{dt} = f_2(x, y, t)):
  • xn+1=xn+h×f1(xn,yn,tn) x_{n+1} = x_n + h \times f_1(x_n, y_n, t_n)
  • yn+1=yn+h×f2(xn,yn,tn) y_{n+1} = y_n + h \times f_2(x_n, y_n, t_n)
  • tn+1=tn+h t_{n+1} = t_n + h
  • Procedure:

1. Substitute y=dxdty = \frac{dx}{dt} and dydt=d2xdt2\frac{dy}{dt} = \frac{d^2x}{dt^2} into the second order DE.
2. Form the coupled system: dxdt=y\frac{dx}{dt} = y and dydt=rearranged equation\frac{dy}{dt} = \text{rearranged equation}.
3. Identify initial conditions (x0,y0,t0x_0, y_0, t_0), where y0y_0 is the initial value of dxdt\frac{dx}{dt}.
4. Set up recursion equations using Euler's formulas with f1,f2,hf_1, f_2, h.
5. Iterate using a GDC's recursion feature.

  • HL Only: Solving differential equations (first order, coupled, second order) and applying Euler's Method are HL topics.
  • Improving Accuracy: Decrease the step size (hh).
  • Contextual Interpretation: If xx is displacement, then y=dxdty = \frac{dx}{dt} represents velocity.
  • GDC Settings: Use radians mode for equations involving trigonometric functions.

How it is examined

The whole subtopic hinges on the rewrite: once the second order equation is expressed as a coupled first order system, it is worked exactly like AHL 5.16 (Euler's method) or AHL 5.17 (eigenvalues and phase portrait), so the method mark for "correctly writes the coupled system" tends to come before any marks for the numerical or exact solution itself. This is the last subtopic in the course, and it is deliberately a synthesis of three subtopics rather than new content of its own.

Key ideas
  • Solve d2xdt2=f(x,dxdt,t)\dfrac{d^2x}{dt^2} = f\left(x, \dfrac{dx}{dt}, t\right) by Euler's method, writing it as the coupled first order system dxdt=y\dfrac{dx}{dt} = y, dydt=f(x,y,t)\dfrac{dy}{dt} = f(x, y, t).
  • Solve d2xdt2+adxdt+bx=0\dfrac{d^2x}{dt^2} + a\dfrac{dx}{dt} + bx = 0 by finding exact solutions, using the phase portrait method of AHL 5.17.
Not assessed

In examinations the second order equation will be given, so a student is not expected to set one up from a physical context, only to solve it once stated.

Linking questions

  • TOK: how have notable individuals such as Euler shaped the development of mathematics as an area of knowledge?
  • Use of technology: spreadsheets to generate values.

Practice questions

4 questions · 3 medium · 1 hard
Showing 4 of 4

Question 1

MediumPaper 1 · calculator6 marks

If a vehicle is moving along a straight road, where its position yy in cmcm at time tt in seconds for t≥0t \geq 0 is given by the following differential equation:

3d2ydt2+8dydt+5y=12sin(2t)3\frac{d^{2}y}{dt^{2}} + 8\frac{dy}{dt} + 5y = 12sin(2t)

At t=0t = 0 take y=1y = 1 cm and dydt=0.2\frac{dy}{dt} = 0.2. Use Euler's method with a step size of 0.1 and estimate dydt\frac{dy}{dt} at t=0.4t = 0.4.

Question 2

HardPaper 2 · calculator16 marks
(a)

A chemical engineer is studying the concentration of an intermediate product, CC, in a reaction vessel. The change in concentration over time tt (in minutes) is modelled by the second order differential equation:

d2Cdt2+4dCdt+3C=0\frac{d^2C}{dt^2} + 4\frac{dC}{dt} + 3C = 0

where t≥0t \ge 0. It is known that when t=0t = 0, the initial concentration is C=0C = 0 and the rate of change of concentration is dCdt=2\frac{dC}{dt} = 2.

Show that the system of coupled first order equations:

dCdt=y\frac{dC}{dt} = y

dydt=−3C−4y\frac{dy}{dt} = -3C - 4y

can be written as the given second order differential equation.

[2]
(b)

Find the eigenvalues of the system of coupled first order equations given in part (a).

[3]
(c)

Hence find the exact solution of the second order differential equation, given the initial conditions C(0)=0C(0) = 0 and dCdt(0)=2\frac{dC}{dt}(0) = 2.

[5]
(d)

Sketch the graph of CC against tt for t≥0t \ge 0, labelling the maximum point of the graph with its coordinates.

[2]
(e)

If the concentration of the intermediate product CC exceeds 0.20.2 arbitrary units, the reaction needs to be monitored closely. Use the model to calculate the total amount of time (in minutes) during which the reaction needs to be monitored closely.

[3]
(f)

The chemical engineer decides to monitor the reaction for 15% longer than the time found from the model in part (e).

Write down one reason, with reference to the context, to support this decision.

[1]

Question 3

MediumPaper 1 · calculator6 marks

If a boat is moving in a straight line, where its position yy in mm at time tt in seconds for t≥0t \geq 0 is given by the following differential equation:

3d2ydt2+9dydt+6y=sin(4t)3\frac{d^{2}y}{dt^{2}} + 9\frac{dy}{dt} + 6y = sin(4t)

At t=0t = 0 take y=2y = 2 m and dydt=1\frac{dy}{dt} = 1. Use Euler's method with a step size of 0.05 and estimate dydt\frac{dy}{dt} at t=0.2t = 0.2.

Question 4

MediumPaper 2 · calculator20 marks
(a)

If a particle moves in a magnetic field and its motion is described by its displacement xx (in meters) from equilibrium position. If the magnetic force affects the motion xx of the particle and leads to the following second order differential equation:

x¨+6x˙+8x=0\ddot{x} + 6\dot{x} + 8x = 0

Where tt is time in seconds.

aa Take x˙=y\dot{x} = y and find an expression for y˙\dot{y} in terms of xx and yy.

[2]
(b)

bb Find AA such that (x˙y˙)=A(xy)\begin{pmatrix} \dot{x} \\ \dot{y} \end{pmatrix} = A\begin{pmatrix} x \\ y \end{pmatrix}, where AA is a 2×22 \times 2 matrix.

[1]
(c)

cc Find the eigenvalues and eigen vectors of matrix AA.

[6]
(d)

dd Determine whether the equilibrium point (0,0) is stable or unstable.

[2]
(e)

ee Find dydx\frac{dy}{dx} at the point (1,2) and (3,2).

[3]
(f)

If the equation is amended to the following:

x¨+6x˙+8x=5t+1\ddot{x} + 6\dot{x} + 8x = 5t + 1

ff At t=0t = 0 take x=0x = 0 cm and x˙=0\dot{x} = 0. Use Euler's method with a step length of 0.25 to find the value of xx at t=1t = 1.

[6]

Every Euler method for Second order differential equations question, marked for you

Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.

Where marks are lost

  • Using your own wrong value after failing a "show that." All follow through is withdrawn for the rest of that question.
Free. Every IB subject.
No card, no trial that runs out. Just a free account.
  • 50 marked answers a month
    Marked mark by mark, IB-style
  • Hints and mark schemes
    On every part of every question
  • 3,000+ questions
    All 6 subjects, SL and HL, mapped to the syllabus
  • Progress that adapts
    Your Study Profile picks what to practise next

Practise this topic as a session

Pick a difficulty and paper, and FourtyFive tracks your progress on this topic as you go.

or with email
FAQ

Questions,
answered.

Can't find what you're looking for? Email our student team.

What does Euler method for Second order differential equations cover in IB Maths AI?

Euler's Method: Numerical approximation for differential equations using step-by-step calculations. Step Size (h): Constant increment for the independent variable (t). Second Order Differential Equations: Must be transformed into a system of two coupled first order differential equations.

Is Euler method for Second order differential equations SL or HL?

Euler method for Second order differential equations is HL only. SL students are not examined on it.

How do I revise Euler method for Second order differential equations for IB Maths AI?

Start from the core idea: euler's Method: Numerical approximation for differential equations using step-by-step calculations. In the exam: the whole subtopic hinges on the rewrite: once the second order equation is expressed as a coupled first order system, it is worked exactly like AHL 5.16 (Euler's method) or AHL 5.17 (eigenvalues and phase portrait), so the method mark for "correctly writes the coupled system" tends to come before any marks for the numerical or exact solution itself. This is the last subtopic in the course, and it is deliberately a synthesis of three subtopics rather than new content of its own. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Euler method for Second order differential equations?

FourtyFive has 4 Euler method for Second order differential equations questions. Every answer you write is marked mark by mark, IB-style, and you see where each mark was won or lost. Every part has a hint, the AI tutor helps you through the step you are stuck on, and your Study Profile picks what to practise next.

Is FourtyFive free for Euler method for Second order differential equations practice?

Yes. A free account gives you 50 marked answers a month, and you do not need a card to sign up.

Can I handwrite Euler method for Second order differential equations answers on an iPad?

Yes. In the FourtyFive iPad app you write your working by hand with Apple Pencil, the way you would on paper, and it is marked the same way.

Start with the IB question
bank built for you.

Free to start, no card needed. Thousands of syllabus-mapped questions, AI Examiner marking, your weakest topics first.