AP® Calculus BC · Unit 7

How Does Euler's Method Approximate a Differential Equation?

Euler's method approximates a solution to dydx=f(x,y)\dfrac{dy}{dx}=f(x,y) by taking small steps: at each point, it uses the slope f(x,y)f(x,y) there to step forward by Δx\Delta x and update yy. It never gives the exact answer, only an estimate built from straight-line steps — but a smaller step size and more steps generally brings the estimate closer to the true solution.

Euler's method, one step

yn+1=yn+f(xn,yn)⋅Δx,xn+1=xn+Δxy_{n+1} = y_n + f(x_n, y_n)\cdot \Delta x, \qquad x_{n+1} = x_n + \Delta x

Step-by-Step Method

  1. Identify the starting point (x0,y0)(x_0, y_0) and the step size Δx\Delta x.
  2. At the current point, compute the slope f(xn,yn)f(x_n, y_n) using the differential equation.
  3. Step forward: yn+1=yn+f(xn,yn)⋅Δxy_{n+1} = y_n + f(x_n,y_n)\cdot \Delta x, and xn+1=xn+Δxx_{n+1} = x_n + \Delta x.
  4. Repeat using the NEW point (xn+1,yn+1)(x_{n+1}, y_{n+1}) to compute the next slope — never reuse the old slope for more than one step.
  5. If asked whether the approximation over- or underestimates the true value, find the sign of the second derivative (using the differential equation) to determine concavity: concave up means Euler’s method underestimates, concave down means it overestimates.

Worked Examples

Foundational — two Euler steps, checked against the exact solutionGiven dydx=x+y\dfrac{dy}{dx} = x+y and y(0)=1y(0)=1, use Euler’s method with Δx=0.5\Delta x = 0.5 to approximate y(1)y(1).
  1. Step 1: at (0,1)(0,1), slope =0+1=1=0+1=1. y1=1+1(0.5)=1.5y_1 = 1 + 1(0.5) = 1.5 at x1=0.5x_1=0.5.
  2. Step 2: at (0.5,1.5)(0.5, 1.5), slope =0.5+1.5=2=0.5+1.5=2. y2=1.5+2(0.5)=2.5y_2 = 1.5+2(0.5) = 2.5 at x2=1x_2=1.
  3. Euler’s estimate: y(1)≈2.5y(1) \approx 2.5.
  4. Check: this equation happens to be exactly solvable, with true solution y=2ex−x−1y=2e^x-x-1 through (0,1)(0,1), giving exact y(1)=2e−2≈3.437y(1) = 2e-2 \approx 3.437. Refining to 4 steps (Δx=0.25\Delta x=0.25) gives a better estimate of about 2.8832.883 — closer to the true value, confirming the method was applied correctly even though 2 large steps left noticeable error.
Harder — over/underestimate from concavity, confirmed exactlyGiven dydx=x2−y\dfrac{dy}{dx} = x^2-y and y(0)=2y(0)=2, use Euler’s method with Δx=0.5\Delta x=0.5 to approximate y(1)y(1), then determine whether this approximation over- or underestimates the true value.
  1. Step 1: at (0,2)(0,2), slope =0−2=−2=0-2=-2. y1=2+(−2)(0.5)=1y_1=2+(-2)(0.5)=1 at x1=0.5x_1=0.5.
  2. Step 2: at (0.5,1)(0.5,1), slope =0.25−1=−0.75=0.25-1=-0.75. y2=1+(−0.75)(0.5)=0.625y_2=1+(-0.75)(0.5)=0.625 at x2=1x_2=1.
  3. Euler’s estimate: y(1)≈0.625y(1)\approx 0.625. To check the direction of the error, find concavity: y′′=2x−y′=2x−(x2−y)y''=2x-y'=2x-(x^2-y); at the start, x=0,y=2,y′=−2x=0,y=2,y'=-2, so y′′(0)=0−(−2)=2>0y''(0)=0-(-2)=2>0, meaning concave up — so Euler’s method should underestimate.
  4. This equation is also exactly solvable: the true solution is y=x2−2x+2y=x^2-2x+2, giving exact y(1)=1y(1)=1. Since 0.625<10.625 < 1, the estimate does underestimate, exactly confirming the concavity-based prediction.

Common Mistakes on the AP Exam

How This Appears on the AP Exam

Try a timed AP-style question on this topic — free.

Start Free

Frequently Asked Questions

What is Euler's method used for?

It approximates the solution of a differential equation at a specific point, when the exact solution isn't known or needed — it takes small steps, using the slope at each point to estimate where the solution goes next.

What is the formula for one step of Euler's method?

yn+1=yn+f(xn,yn)⋅Δxy_{n+1} = y_n + f(x_n,y_n)\cdot \Delta x, where f(xn,yn)f(x_n,y_n) is the slope the differential equation gives at the current point, and Δx\Delta x is the step size.

Does Euler's method give the exact answer?

No — it's always an approximation built from straight-line steps instead of the curve's actual path. A smaller step size, and therefore more steps, generally makes the approximation more accurate.

How do you know if an Euler's method approximation is an overestimate or underestimate?

Check the concavity of the solution curve, using the differential equation to find the sign of the second derivative. If the curve is concave up, Euler’s method underestimates; if concave down, it overestimates.

Is Euler's method tested on the AP Calculus AB exam?

No. Euler's method is part of Unit 7 content tested only on the BC exam.

Related Topics

Keep going with timed tests & full mocks, study materials for every unit, DME Nova — your AI tutorthat won't make up an answer, and FRQ feedback scored against an exam-style rubric.

Start Free

Written by the DME AP Calculus team — 20+ years of AP & STEM teaching.

Last updated: 2026-10-08

AP® is a registered trademark of the College Board, which is not affiliated with, and does not endorse, this site.