Skip to main content
United StatesCalculusSyllabus dot point

How does Euler's method use the slope at each step to approximate a solution curve numerically?

Topic 7.5 Approximating Solutions Using Euler's Method: approximate the solution of a differential equation at a point using Euler's method with a given step size and initial condition (BC).

A focused answer to AP Calculus BC Topic 7.5, approximating the solution of a differential equation numerically with Euler's method, using the slope and step size to step forward from an initial condition, with worked examples.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The update rule
  3. Why it is just repeated tangent lines
  4. A worked multi-step approximation
  5. Over- and under-estimation from concavity
  6. Step size and accuracy

What this topic is asking

The College Board (Topic 7.5, BC only) introduces Euler's method, a numerical way to approximate the solution of a differential equation when you cannot (or are not asked to) solve it exactly. Starting from a known point, you use the differential equation to read off the slope, then take a small straight-line step in that direction, repeating to march forward.

The update rule

Why it is just repeated tangent lines

Each Euler step is exactly the linear approximation (local linearization) from Unit 4: near (xn,yn)(x_n, y_n) the solution looks like its tangent line, whose slope is f(xn,yn)f(x_n, y_n). Moving Δx\Delta x along that tangent changes yy by slope times Δx\Delta x. The difference from a single linearization is that Euler re-reads the slope at each new point rather than using the original slope throughout, so the approximation bends to follow the slope field. This connection is worth stating on the exam: Euler's method is local linearization applied iteratively, with the slope field of Topics 7.3 and 7.4 giving the direction of each step.

A worked multi-step approximation

Over- and under-estimation from concavity

Whether Euler's method overshoots or undershoots the true solution depends on the concavity. Because each step follows a straight tangent line, when the actual solution curve is concave up the tangent lies below the curve, so Euler underestimates; when the solution is concave down, the tangent lies above, so Euler overestimates. You can judge concavity from the sign of d2ydx2\frac{d^2y}{dx^2}, found by differentiating the differential equation. This reasoning is a frequent free-response follow-up: after computing an Euler estimate, you may be asked whether it is greater or less than the true value, and the answer comes from the concavity of the solution, not from the size of the step.

Step size and accuracy

Euler's method is exact only in the limit of zero step size; with a finite Δx\Delta x it accumulates error at every step. Halving the step size roughly halves the error per step but doubles the number of steps, and overall the global error is proportional to Δx\Delta x. The exam will specify the step size and the number of steps, so you rarely choose them yourself, but you should understand that more, smaller steps give a better approximation. The trade-off is more arithmetic, which is why exam problems use two or three steps with friendly numbers. Reading the requested step size and target carefully, and not stopping early or taking one step too many, is where most marks are won or lost.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2022 (BC, style)1 marksSection I (multiple choice, no calculator). Let dydx=x+y\frac{dy}{dx} = x + y with y(0)=1y(0) = 1. Using Euler's method with one step of size Δx=0.5\Delta x = 0.5, the approximation of y(0.5)y(0.5) is (A) 1.01.0 (B) 1.51.5 (C) 2.02.0 (D) 0.50.5
Show worked answer →

The correct answer is (B), 1.51.5.

At (0,1)(0, 1) the slope is dydx=0+1=1\frac{dy}{dx} = 0 + 1 = 1. One Euler step: y(0.5)y(0)+(slope)(Δx)=1+(1)(0.5)=1.5y(0.5) \approx y(0) + (\text{slope})(\Delta x) = 1 + (1)(0.5) = 1.5.

AP 2024 (BC, style)4 marksSection II (free response, no calculator). Let dydx=xy\frac{dy}{dx} = x - y with y(1)=2y(1) = 2. Use Euler's method with two steps of size Δx=0.5\Delta x = 0.5 to approximate y(2)y(2), showing each step.
Show worked answer →

A 4-point two-step Euler approximation.

(2 points) Step 1 from (1,2)(1, 2): slope =12=1= 1 - 2 = -1, so y(1.5)2+(1)(0.5)=1.5y(1.5) \approx 2 + (-1)(0.5) = 1.5.
(2 points) Step 2 from (1.5,1.5)(1.5, 1.5): slope =1.51.5=0= 1.5 - 1.5 = 0, so y(2)1.5+(0)(0.5)=1.5y(2) \approx 1.5 + (0)(0.5) = 1.5. The approximation is y(2)1.5y(2) \approx 1.5.

Related dot points

Sources & how we know this