All AP Courses AP Calculus BCAP Calc BC

Unit 7 · Topic 7.5 · about 30 minutes · 7 parts · 12 scored checks, 3 of them multiple choice, plus 1 from earlier lessons

AP Calculus BC 7.5: Approximating Solutions Using Euler’s Method

Unit 7: 5 to 10% of the multiple-choice section

What you'll be able to do

  • Estimate a value of a particular solution of a differential equation with Euler's method: take tangent-line steps of a set size from a known point, finding a new slope at each point you reach.

Key vocabulary

TermWhat it meansThe exam trap
Euler's methodA procedure for approximating a solution to a differential equation, or a point on a solution curve, by taking short steps along tangent lines from a known point.Show the slope and the new y for every step, so a reader can follow each one; a final number on its own shows no method.
Step sizeThe change in the independent variable, written Δx or Δt, from one Euler point to the next.Read the number of steps or the step size from the question before you start; the steps have to end exactly at the target.
Solution curveThe graph of a solution of a differential equation; a particular solution's curve passes through the point its initial condition gives.Without an initial condition the equation describes a whole family of curves, so there is no one curve to approximate.
Initial conditionA known value such as f(1)=2, which picks out one particular solution and gives Euler's method its starting point.Read f(1)=2 as the point (1,2), with x first, before you put it into the equation.
The slope field of dy/dx = x + y for x from 0 to 1.5, with the true solution through (0, 1) drawn as a blue curve. A red broken line of three Euler steps of size 0.5 passes through (0, 1), (0.5, 1.5), (1, 2.5) and (1.5, 4.25), using the slopes 1, 2 and 3.5. At x = 1.5 the Euler value is 4.25 and the curve is at about 6.46, and every Euler point lies below the curve.Tap to open the picture full size

Part 1 Think first Two forecasts for one pond

Pick an answer before you read on. A guess you have committed to, right or wrong, makes the lesson stick.

Predict first

A pond holds 1000 fish, and the population P changes at the rate dPdt=−0.2P fish per year, so right now it is falling by 200 fish per year. Maya estimates the population 2 years from now by using today's rate for both years: 1000−200(2)=600. Leo uses today's rate for one year, which gives 800 fish, then the rate at 800 fish, −160 per year, for the second year: 800−160=640. If the rate rule holds exactly, which estimate is closer to the true population after 2 years?

In short. Euler's method approximates a solution of a differential equation by stepping along tangent lines: from a known point, use the slope the equation gives there to move one step, then repeat from the point you reached.

  • One step is ynew=y+dydx⋅Δx, with dydx evaluated at the point the step starts from.
  • The step size is Δx=xtarget−x0n for n equal steps, so it keeps the sign of the direction you travel.
  • Every value after the initial condition is an estimate, and the concavity of the solution curves, where the steps and the true solution go, decides whether it runs high or low.

Part 2 Learn it Euler's method in four pieces

5a. One step along a tangent line

You already know this move. From a point (x0,y0) on a particular solution, the differential equation gives the slope there, and the tangent line estimates the solution a little farther on. Euler's method calls that move one step.

Pick a step size Δx. Call the slope at the starting point m0: it is dydx evaluated at (x0,y0). Over the step, y changes by about slope times run, Δy=m0⋅Δx, so the step ends at x1=x0+Δx with

y1=y0+m0⋅Δx.

The new point (x1,y1) is on the tangent line, not on the curve, so y1 is an approximation of f(x1). Write it with ≈.

In the picture at the top, dydx=x+y and f(0)=1. The slope at (0,1) is 0+1=1. With Δx=0.5, Δy=1(0.5)=0.5, so f(0.5)≈1+0.5=1.5. That is the first red point, (0.5,1.5), and the blue curve is already a little above it.

Quick check · Calculate

No calculator. Let y=f(x) be the particular solution of dydx=3x−y2 with f(1)=2. Use Euler's method with one step of size 0.2 to approximate f(1.2).

5b. Repeat from the point you reached

One tangent line drifts away from a curve that bends. So Euler's method keeps each step short, and after each one it asks the differential equation for a fresh slope at the point it just reached. Then it steps again.

Keep the work in a table. Here are three steps of 0.5 for dydx=x+y from (0,1), the red line in the picture.

Euler's method for dy/dx = x + y with f(0) = 1 and step size 0.5
xydydx=x+yΔy=dydx(0.5)
0110.5
0.51.521
12.53.51.75
1.54.25

Read it down. Each y is the y above it plus the Δy above it. Each slope comes from its own row's x and y. So f(1.5)≈4.25.

The slope at (0.5,1.5) uses y=1.5, the Euler value, because the true f(0.5) is not known. That is also why every value after the first row is an approximation: each one is built on the one before it.

Quick check · Fill the statement

No calculator. Let y=f(x) be the particular solution of dydx=y−x2 with f(0)=1. Use Euler's method with two steps of size 0.5 to approximate f(1). Tap a blank, then tap an answer.

At (0,1) the slope is , so f(0.5)≈ . At the point the first step reached, the slope is , so f(1)≈ .

5c. Which way to step, and how far

Before the first step, read two things from the question: where you start and where you want to end. The start is the initial condition. The step size is the distance to the target divided by the number of steps:

Δx=xtarget−x0n.

Three steps from x=0 to x=1.5 make Δx=0.5, as in the table above.

If the target is to the left of the start, Δx is negative, and the same formula does the rest. Take dydx=y+1 with f(0)=3, and approximate f(−1) with two steps, so Δx=−1−02=−0.5. The slope at (0,3) is 4, so f(−0.5)≈3+4(−0.5)=1. The slope at (−0.5,1) is 2, so f(−1)≈1+2(−0.5)=0.

A positive slope made y go down there. That is right: walking left along a line that rises to the right takes you downhill.

Quick check · Multiple choice

No calculator. Let y=f(x) be the particular solution of dydx=y−x with f(2)=4. What is the approximation of f(1) found with Euler's method, starting at x=2, using two steps of equal size?

5d. Too high or too low?

Every Euler step lands on a tangent line, and you know how a curve sits beside its tangent lines: concave up, it lies above them; concave down, it lies below them.

So look at the concavity of the solution curves. In the picture, dydx=x+y, and differentiating with respect to x gives

d2ydx2=1+dydx=1+x+y,

which is positive everywhere the steps go. The first step lands below the curve. The second starts from that low point and lands below the solution through its own start, which is itself below the true curve, since solution curves of this equation do not cross (through each point passes only one solution, an idea this unit makes precise later; take it as given here). The gap never closes: at x=1.5 the estimate is 4.25 and the true value is about 6.46.

That gives a rule you can justify. If every solution curve is concave up in a region that holds the steps and the true solution, Euler's method gives an underestimate. If they are all concave down there, it gives an overestimate.

The sign of dydx does not decide this. A falling solution that is concave up is underestimated too.

Quick check · Decide and justify

No calculator. Let y=f(x) be the particular solution of dydx=1y with f(0)=2. Euler's method with two steps of size 1 gives f(2)≈2.9, and the steps stay where y>0. Is 2.9 an overestimate or an underestimate of f(2)?

Which reason supports your answer?

Part 3 Watch it done Two steps from a known point

Watch each step, then take the last one yourself.

Let y=f(x) be the particular solution of dydx=xy with f(1)=2. Use Euler's method, starting at x=1 with two steps of equal size, to approximate f(2).

  1. Step 1 · Find the step size

    Δx=2−12=0.5. The first step starts at (1,2).

  2. Step 2 · Take the first step

    At (1,2), dydx=(1)(2)=2. So f(1.5)≈2+2(0.5)=3.

  3. Step 3 · Find the slope at the new point

    At (1.5,3), dydx=(1.5)(3)=4.5.

  4. Why this step?

    Why use y=3 in that slope, when 3 is only an estimate of f(1.5)?

    The equation needs a point to give a slope, and (1.5,3) is the best point there is: the true f(1.5) is unknown. Using the old y=2 would pair the new x with a height the solution has already left.

  5. Your step · Calculate

    No calculator. Finish it. For the particular solution of dydx=xy with f(1)=2, the first Euler step of size 0.5 reached (1.5,3), where dydx=4.5. What is the Euler approximation of f(2)?

Part 4 Try it A parachute, then a classmate's work

Try it · Calculate

No calculator. After a skydiver's parachute opens, her downward speed v, in meters per second, t seconds later satisfies dvdt=−0.5(v−6), with v(0)=50. Use Euler's method, starting at t=0 with two steps of equal size, to approximate v(1), in meters per second.

Try it · Spot the error

No calculator. A student approximates f(2) for the particular solution of dydx=x2+y with f(1)=0, using Euler's method with two steps of size 0.5. Tap the first line with a mistake.

Part 5 Explain it Answer it the way the exam asks

Free response on the exam is handwritten, so work this on paper first. Nothing you type here leaves the page. Then open the model answer and score yourself on each point.

Free response is 50% of the exam score. This one is shaped like Question 6, from free-response Part B (calculator not permitted).

Free-response practice · Question 6 style

No calculator. A patient receives a medicine through an IV drip. The amount of the medicine in the patient's bloodstream is A(t) milligrams, t hours after the drip starts, where A satisfies the differential equation dAdt=12−0.2A, with A(0)=20.

(a) Find the value of dAdt at t=0. Using correct units, interpret this value in the context of the problem.

(b) Use Euler's method, starting at t=0 with two steps of equal size, to approximate A(4). Show the computations that lead to your answer.

(c) Find d2Adt2 in terms of A. It is known that A(t)<60 for 0≤t≤4. Is the approximation in part (b) an overestimate or an underestimate of A(4)? Justify your answer.

Model answer

(a) dAdt=12−0.2(20)=8. When the drip starts, the amount of medicine in the bloodstream is increasing at 8 milligrams per hour.

(b) Δt=2. A(2)≈20+8(2)=36. At A=36, dAdt=12−0.2(36)=4.8, so A(4)≈36+4.8(2)=45.6 milligrams.

(c) d2Adt2=−0.2dAdt=−0.2(12−0.2A)=−2.4+0.04A. For A<60 this is negative, so the graph of A is concave down on 0≤t≤4. The Euler values 36 and 45.6 are below 60 too, so each step follows a tangent line of a concave down solution and lands above it. The approximation 45.6 is an overestimate of A(4).

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself Read an Euler table

The first two questions use this table. Answer them from it.

Let y=f(x) be the particular solution of dydx=2y−x2 with f(0)=1. A student uses Euler's method with steps of size 0.5 and has filled in the first rows of a table. The slope in the last row is not yet found.

Euler's method for dy/dx = 2y - x^2 with step size 0.5
xydydx
012
0.523.75
13.875?

Case question 1 · Calculate

No calculator. Continue the student's work for one more step of size 0.5. What is the Euler approximation of f(1.5)?

Case question 2 · Multiple choice

No calculator. What does the entry 3.875 in the row x=1 represent?

The rest stand on their own and do not use the case.

Check yourself · Sort it

No calculator. Each card gives a differential equation and an initial condition for a particular solution y=f(x). Each is approximated at x=1 by Euler's method, starting at x=0 with two steps of size 0.5. Sort each Euler approximation by whether it is too high or too low. Tap a card, then tap a bin.

Overestimate

Underestimate

Check yourself · Match

No calculator. Each task asks for an Euler approximation with steps of equal size, starting at the given value. Tap a task, then the step size it needs.

Part 7 Keep it Bring back earlier ideas

Euler's method stands on two earlier ideas: reading slopes from a differential equation, and approximating with a tangent line. Pull them back up now.

Bring it back · Multiple choice

No calculator. In the slope field for dydx=x(y−3), where are all of the segments horizontal?

From 4.6 Approximating Values of a Function Using Local Linearity and Linearization · Calculate

No calculator. A function y=f(x) has f(1)=4, and at every point of its graph the slope is dydx=3x−2y. Use the line tangent to the graph of f at x=1 to approximate f(1.1). Give an exact decimal.

In three lines

  • Euler's method approximates a solution by stepping from a known point along tangent lines: ynew=y+dydx⋅Δx.
  • Each step uses a new slope, found from the equation at the point the last step reached, and a step to the left has a negative Δx.
  • When the solution curves are concave up where the steps and the true solution go the estimate is too low, and when they are concave down there it is too high.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

Show every Euler step on paper: the step size, then for each step the point, the slope the equation gives there, and the new value written with ≈. Then anyone checking the work, you included, can find a slip in one line instead of redoing the whole chain.

Questions students ask

Is Euler's method the same as a tangent line approximation?

One step of it is. With one step, Euler's method uses the tangent line at the starting point, exactly as a tangent line approximation does. With more steps it switches to a new tangent line, of the solution through the new point, at every step.

Do smaller steps give a better approximation?

For the equations in this lesson, yes. For dydx=x+y with f(0)=1, three steps of 0.5 give 4.25 for f(1.5), six steps of 0.25 give about 5.13, and the true value is about 6.46. More steps also mean more arithmetic, which is why a question done by hand asks for only a few.

Why can't I use the true value of f to find each new slope?

Because the true solution is the thing you do not know. Euler's method only ever has the point it just reached, so it puts that point's x and y into the equation.

Is the Euler approximation always too low?

No. It is too low when the solution curves are concave up everywhere the steps and the true solution go, and too high when they are concave down there. Whether the solution is rising or falling does not decide it. This leans on a fact the unit states later: solution curves of one of these equations do not cross.

Do I need a formula for the solution to use Euler's method?

No. All it needs is the differential equation and one known point. That is what makes it useful: it estimates values of solutions you cannot write down.

Course alignment, for teachers

AP Calculus BC topic 7.5, Unit 7: Differential Equations.

  • Skill 1.E: Apply appropriate mathematical rules or procedures, with and without technology.

This lesson maps the one essential knowledge statement of the topic to the part that teaches each one: 1 is checked by a scored question. The map is in the lesson file.