Skip to main content

7.5 Approximating Solutions Using Euler’s Method

add to ChatGPT
Verified for the 2027 examUpdated September 2026Fiveable Content Team
Fiveable

♾️AP Calculus AB/BC Unit 7 Review

QR code for AP Calculus AB/BC practice questions

7.5 Approximating Solutions Using Euler’s Method

Euler's method is a step-by-step way to approximate values of a solution to a differential equation when you only know the slope formula dydx=f(x,y)\frac{dy}{dx} = f(x, y) and a starting point. You use the slope at your current point to take a small straight-line step, then repeat. For AP Calculus BC, organize each step in a table so the current point, slope, and new estimate stay clear.

Euler's method is the numerical version of the slope field reasoning in Topics 7.3 and 7.4: instead of reading solution behavior from a picture, you walk along short tangent segments.

Tangent-Line Steps From a Start Point and Step Size

  • Euler's method approximates a solution to a differential equation or a point on a solution curve using repeated tangent-line steps.
  • You need three things to start: a differential equation dydx=f(x,y)\frac{dy}{dx} = f(x, y), an initial point (x0,y0)(x_0, y_0), and a step size hh.
  • The update rule is yn+1=yn+h⋅f(xn,yn)y_{n+1} = y_n + h \cdot f(x_n, y_n), and each new xx is xn+1=xn+hx_{n+1} = x_n + h.
  • The slope used in each step comes from plugging your current point into the differential equation.
  • Smaller step sizes generally give more accurate approximations, but require more steps.
  • This is a BC-only topic, so AB students will not be tested on it.

How Euler's Method Works

Euler's method approximates a solution curve as a chain of short straight-line segments. You start at a known point, use the differential equation to find the slope there, take a small step, and land on a new point. Then you repeat.

The core update rule is:

yn+1=yn+h⋅f(xn,yn)y_{n+1} = y_n + h \cdot f(x_n, y_n)

where:

  • (xn,yn)(x_n, y_n) is your current point
  • hh is the step size (the constant change in xx)
  • f(xn,yn)f(x_n, y_n) is the slope dydx\frac{dy}{dx} at the current point
  • h⋅f(xn,yn)h \cdot f(x_n, y_n) is the change in yy for that step

Each new xx-value is found by adding the step size: xn+1=xn+hx_{n+1} = x_n + h.

Step-by-Step Process

  1. Start at your initial point (x0,y0)(x_0, y_0).
  2. Plug (x0,y0)(x_0, y_0) into dydx=f(x,y)\frac{dy}{dx} = f(x, y) to get the slope at that point.
  3. Multiply the slope by the step size hh to get the change in yy.
  4. Add that change to y0y_0 to get the next yy-value, and add hh to x0x_0 to get the next xx-value.
  5. Repeat with the new point until you reach the target xx-value.

A table is the cleanest way to organize this. Make columns for xnx_n, yny_n, the slope dydx\frac{dy}{dx} at that point, and the change in yy (which is h⋅dydxh \cdot \frac{dy}{dx}). Each row uses the slope from the current point to compute the next point's yy-value.

Setting Up and Checking an Euler's Method Table

Problem Solving:

  • Read the differential equation, the initial condition, and the step size carefully before you start.
  • Build a table so each step is visible. This makes arithmetic errors easier to catch and keeps your work readable.
  • Always compute the slope by plugging your current point into dydx=f(x,y)\frac{dy}{dx} = f(x, y). Do not reuse an old slope.
  • Track both xx and yy at every step. A common slip is updating yy but forgetting to update xx.
  • If a problem asks how the approximation compares to the exact value, you may need to solve the differential equation directly (often with separation of variables) and subtract to find the error.

Common Trap: If the number of steps is large or the step size is small, work patiently row by row. Rushing through the table is the main way points are lost here, since one wrong slope carries the error into every step after it.

Common Misconceptions

  • Misconception: Euler's method is exact.
    Actually: It is not. It gives an approximation, and the result drifts from the true solution as you take more steps. Smaller step sizes reduce that drift but never fully remove it.
  • Misconception: The slope stays the same across steps.
    Actually: The slope changes at every point. You must recompute f(xn,yn)f(x_n, y_n) at each new point.
  • Misconception: A bigger step size is fine because it is faster.
    Actually: A larger hh usually means a less accurate approximation. There is a tradeoff between speed and accuracy.
  • Misconception: You only update yy.
    Actually: Both xx and yy change each step. Forgetting to advance xx throws off the next slope calculation.
  • Misconception: Euler's method replaces solving the equation.
    Actually: It is for approximating when an exact solution is hard or unnecessary. When you can separate variables and solve exactly, that exact solution is more accurate.
  • Misconception: This is on the AB exam.
    Actually: Euler's method is a BC-only topic and is not assessed on the AB exam.

Practice Questions for 7.5

1 of 10

The slope field for a differential equation is shown above.

Let y=f(x)y = f(x) be the particular solution to the differential equation with initial condition f(0)=2f(0) = 2. Which of the following expressions demonstrates the correct procedure to approximate f(1)f(1) using Euler's method with two steps of equal size?

A.

2+0.5(−2)+0.5(0)2 + 0.5(-2) + 0.5(0)

B.

2+0.5(−2)+0.5(−0.5)2 + 0.5(-2) + 0.5(-0.5)

C.

2+1(−2)+1(−0.5)2 + 1(-2) + 1(-0.5)

D.

2+0.5(−2)+0.5(−1.5)2 + 0.5(-2) + 0.5(-1.5)

Vocabulary

The following words are mentioned explicitly in the AP® course framework for this topic.

Term

Definition

differential equation

An equation that relates a function to its derivatives, describing how a quantity changes in relation to one or more variables.

Euler's method

A numerical procedure for approximating solutions to differential equations by using tangent line segments to estimate values at successive points along a solution curve.

solution curve

A graph representing the solution to a differential equation, showing how the dependent variable changes with respect to the independent variable.

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google