DP Math AI · HL · Calculus

AHL 5.18—Eulers method for 2nd order DEs

Get started
Notes

Introduction: Why Second-Order DEs Need a Special Approach

In AHL 5.17 you applied Euler's method to first-order differential equations of the form dtdx​=f(x,t). Many real physical systems , springs, pendulums, electrical circuits , are governed by second-order DEs, where the highest derivative is dt2d2x​.

Euler's method cannot be applied directly to a second-order DE, because the iterative formula only steps one derivative at a time. The strategy is to convert the second-order DE into a system of two coupled first-order DEs, and then apply Euler's method to both simultaneously.

Analogy

Think of it like tracking a moving car. Position x and velocity v=dtdx​ are two separate quantities that both change each time step , you update them together, each depending on the other. A second-order DE is just saying: "the acceleration depends on position and velocity."

Converting a Second-Order DE into a System

Consider a general second-order DE:

dt2d2x​=f(x,dtdx​,t)

The conversion procedure is always the same two-step process:

Step 1 , Introduce a new variable for the first derivative:
y=dtdx​

Step 2 , Rewrite as a system of two first-order DEs:

dtdx​=y
dtdy​=f(x,y,t)

Now instead of one equation involving dt2d2x​, we have two equations each involving only a first derivative. This is exactly the format Euler's method can handle.

Note

Initial conditions for a second-order DE always specify both x(t0​) and dtdx​(t0​). In the new system, these become x0​ and y0​ , the two starting values you need.

Warning

Never try to apply Euler's method directly to the second-order form. You must perform the substitution y=dtdx​ first , this is the key step that unlocks the whole method.

Free preview

10 more sections in this topic

← Previous topicAHL 5.17—Phase portrait
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.