AP Calculus BC only · Unit 7 · Topic 7.5

    7.5 Approximating Solutions Using Euler's Method

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    Euler's method approximates a solution of dydx=f(x,y)\frac{dy}{dx} = f(x, y) by taking small straight steps along tangent lines. From a known point, each step uses ynew=yold+Δx⋅f(xold,yold)y_{\text{new}} = y_{\text{old}} + \Delta x \cdot f(x_{\text{old}}, y_{\text{old}}). Smaller steps give better approximations, and the concavity of the solution tells you whether the result is too high or too low.

    What you need to know

    • Carry out Euler's method for a given step size and number of steps.
    • Organise Euler's method in a table.
    • Relate one Euler step to a tangent line approximation.
    • Decide whether an Euler approximation is an overestimate or underestimate from concavity.

    Following the slope

    A differential equation tells you the slope of the solution at every point, but not always a formula for the solution. Euler's method uses that slope to walk forward. Start at the initial point, move a small horizontal step Δx\Delta x along the tangent line, then recompute the slope at the new point and repeat.

    xn+1=xn+Δxyn+1=yn+Δx⋅dydx∣(xn, yn)\begin{gathered} x_{n+1} = x_n + \Delta x \\ y_{n+1} = y_n + \Delta x \cdot \frac{dy}{dx}\Big|_{(x_n,\, y_n)} \end{gathered}

    One step of Euler's method is exactly the local linear approximation from topic 4.6: the tangent line at a point, used to estimate a nearby value. Euler's method simply chains several of these together, correcting the slope at each new point.

    A worked example

    Let dydx=x+y\frac{dy}{dx} = x + y with y(0)=1y(0) = 1. Approximate y(1)y(1) using two steps of size Δx=0.5\Delta x = 0.5.

    Euler's method for dy/dx = x + y, y(0) = 1, Δx = 0.5
    xySlope x + yΔy = 0.5 × slope
    0110.5
    0.51.521
    12.5

    So y(1)≈2.5y(1) \approx 2.5. This equation can actually be solved: y=2ex−x−1y = 2e^x - x - 1, which gives y(1)=2e−2≈3.437y(1) = 2e - 2 \approx 3.437. The approximation is well below the true value. With ten steps of 0.1 it would be much closer, because each tangent line is followed for a shorter distance before the slope is corrected.

    Overestimate or underestimate?

    Tangent lines lie below a curve that is concave up and above a curve that is concave down. So if the solution is concave up over the interval, Euler's method gives an underestimate; if concave down, an overestimate. To find the concavity, differentiate the differential equation implicitly.

    In the example, d2ydx2=1+dydx=1+x+y\frac{d^2y}{dx^2} = 1 + \frac{dy}{dx} = 1 + x + y. Along the solution from (0,1)(0, 1), xx and yy are positive, so d2ydx2>0\frac{d^2y}{dx^2} > 0. The solution is concave up, which explains why 2.5 is an underestimate.

    On the exam

    Euler's method appears on BC free-response questions most years, often in the same question as a slope field or a separable equation. A typical part reads: use Euler's method, starting at x=1x = 1 with two steps of equal size, to approximate f(2)f(2). Show every step, since a final number with no working usually earns little credit.

    Watch the direction and size of the step. If the question asks for two steps from x=1x = 1 to x=2x = 2, then Δx=0.5\Delta x = 0.5. If it asks you to go backwards to a smaller xx, Δx\Delta x is negative, and the change in yy is the slope multiplied by that negative step. Leave answers as exact decimals or fractions on the no-calculator section; the arithmetic is designed to be manageable by hand.

    Key terms

    Euler's method
    A step-by-step numerical method that follows tangent lines to approximate a solution of a differential equation.
    Step size
    Δx\Delta x, the horizontal distance moved in each step.
    Tangent line approximation
    Estimating a nearby value of a function using its tangent line, one step of Euler's method.
    Concavity check
    Using the sign of d²y/dx² to decide if an Euler estimate is too high or too low.

    Common mistakes

    • Using the slope at the new point for the step just taken.

      Each step uses the slope at the point you are leaving.

    • Calling a concave-up approximation an overestimate.

      Tangent lines lie below a concave-up curve, so the estimate is too low.

    • Forgetting dy/dx when differentiating y terms implicitly.

      Apply the chain rule, then substitute the differential equation.

    How this topic is tested

    • Set up a table with x, y, slope and Δy before computing.
    • Check the step size from the number of steps and the interval.
    • Justify over or under with the sign of d²y/dx² and the word 'concave'.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Implementing Mathematical Processes

      dydx=2x−y\frac{dy}{dx} = 2x - y and y(1)=3y(1) = 3. One Euler step with Δx=0.1\Delta x = 0.1 approximates y(1.1)y(1.1) as

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      dydx=y\frac{dy}{dx} = y, y(0)=1y(0) = 1. Two Euler steps of size 0.5 approximate y(1)y(1) as

    3. Question 3 · MP 3 · Justification

      A solution curve is concave up on the whole interval. An Euler approximation on that interval is

    4. Question 4 · MP 1 · Implementing Mathematical Processes

      dydx=xy\frac{dy}{dx} = xy, y(0)=2y(0) = 2. Two steps of size 0.5 approximate y(1)y(1) as

    5. Question 5 · MP 4 · Communication and Notation

      Which expression gives one step of Euler's method?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    Let y=f(x)y = f(x) be the solution to dydx=y−x\frac{dy}{dx} = y - x with f(0)=2f(0) = 2.

    1. (a) Use Euler's method with two steps of equal size, starting at x=0x = 0, to approximate f(1)f(1). Show the work.
    2. (b) Find d2ydx2\frac{d^2y}{dx^2} in terms of xx and yy.
    3. (c) The solution is f(x)=x+1+exf(x) = x + 1 + e^x. Is the approximation in (a) an overestimate or an underestimate? Explain.

    Connected topics

    Frequently asked questions

    Is Euler's method on the AB exam?

    No. It is a BC-only topic (7.5).

    Can I use a calculator program?

    On calculator sections you may, but you must still show the steps on the page.

    Why not always use tiny steps?

    By hand, each step costs time; the exam uses two or three steps so the arithmetic is reasonable.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the BC exam is laid out.

    Free Unit 7 cheat sheet

    Every topic in Unit 7: Differential Equations on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus BC practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus BC practice examsUnit 7 is one of 10 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Related lessons in other AP courses

    All topics in Unit 7: Differential Equations

    1. 7.5 Approximating Solutions Using Euler's Method
    2. 7.9 Logistic Models with Differential Equations

    Other units in AP Calculus BC

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.