---
title: "Differential Equations, Slope Fields, and Euler's Method | FiveStudy"
description: "Model and verify differential equations, reason from slope fields, and approximate a particular solution step by step with Euler's Method."
url: https://fivestudy.com/guides/ap-calculus-bc-differential-equations-slope-fields-euler
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Differential Equations, Slope Fields, and Euler's Method

[Figure: FiveStudy logo]

FiveStudy

AP Calculus BC · Unit 7

AP Calculus BC · Comprehensive Guide 15

# Differential Equations, Slope Fields, and Euler's *Method*

Model and verify differential equations, reason from slope fields, and approximate a particular solution step by step with Euler's Method.

5 topics · 5 worked examples

Prerequisite check

You should know derivatives, tangent-line approximation, tables, and interpreting rates with units.

AP reasoning lens

Euler updates use the slope at the current point. Keep step size, coordinates, and the differential-equation value synchronized in a table.

## In this guide

1. 7.1 · Modeling Situations with Differential Equations
2. 7.2 · Verifying Solutions for Differential Equations
3. 7.3 · Sketching Slope Fields
4. 7.4 · Reasoning Using Slope Fields
5. 7.5 · Approximating Solutions Using Euler's Method

Topic 7.1

## Modeling Situations with Differential Equations

Modeling starts with a translation. Over and over, a real-world process is described by the same English template:

### Skills inside this topic

**7.1.a**Translating 'rate is proportional to' into dy/dt = ky

**7.1.b**Newton's law of cooling form: dy/dt = k(y - T)

**7.1.c**Identifying dependent and independent variables

### Core results and conditions

- **7.1.a · Translating 'rate is proportional to' into dy/dt = ky**The phrase 'the rate of change of y' is shorthand for the derivative dtdy with respect to time. It is not the quantity y itself. So the left side of one of these equations is always a derivative — never the bare letter for the amount. Here y is the dependent variable (the thing changing) and t is the independent variable (usually time).
- **7.1.b · Newton's law of cooling form: dy/dt = k(y - T)**If the rate of change of y is proportional to the difference between y and a fixed ambient value Ts, then dtdy=k(y−Ts). Here y=y(t) is the dependent state variable, t is the independent variable, Ts (a constant) is the surrounding or ambient value, and k is the constant of proportionality. The value y=Ts makes the right side zero, so it is the equilibrium the state drifts toward.
- **7.1.c · Identifying dependent and independent variables**In a verbal scenario, the dependent variable is the one described as following from another; the independent variable is the one named after the connecting word. Cue phrases: 'y depends on x' — y is dependent, x is independent.; 'y is a function of x' — same roles.; 'y changes with respect to x' — same roles.; 'y responds to changes in x' — same roles.

### Worked example · source skill 7.1.c

'A population P grows over time t at a rate proportional to its current size.' Name the variables and write the differential equation this sentence describes.

'Grows over time' → t is independent, P is dependent. The rate is dtdP.

'Rate proportional to its current size' means dtdP equals a constant times P.

Introduce a proportionality constant k: dtdP=kP.

The whole equation rested on first naming P as dependent on t — that fixed which letters appear in the rate.

**Result and interpretation**
Takeaway: 'Proportional to' turns into '=k(something),' but only after the rate dtdP is set up by naming the dependent and independent variables.

[Figure: BC Topic 7.1: A differential equation models how a quantity's local rate depends on its current state and input; a solution curve remains tangent to those rates.]

A differential equation models how a quantity's local rate depends on its current state and input; a solution curve remains tangent to those rates.

**Common mistake**

Mistake: "The rate of change of P is proportional to P, so P=kP."

**Correction:** Correct approach: Always turn 'rate of change of P' into dtdP. The correct translation is dtdP=kP.

**Check your understanding**

'A tank is draining: the volume V of water decreases over time t, and the problem states the water drains at a rate proportional to the current volume.' (a) Which variable is dependent and which is independent? (b) Write the rate of change of V with respect to t. (c) Translate the full sentence into a differential equation.

**Show answer**

(a) V is dependent; t is independent ('decreases over time' names t as the stepped variable). (b) Dependent on top, independent on the bottom: dtdV. (c) 'Rate proportional to the current volume' means dtdV=kV. Because the volume is decreasing, the constant k is negative — but identifying the variables is what let us write the equation at all.

Topic 7.2

## Verifying Solutions for Differential Equations

A differential equation is an equation that relates an unknown function y to one or more of its derivatives. For example, dtdy=−21y reads: the rate of change of y is negative one-half of y itself. This is exactly how radioactive decay, cooling, and unrestricted growth are modeled.

### Skills inside this topic

**7.2.a**Verifying solutions by direct substitution

**7.2.b**Verifying an initial condition

### Core results and conditions

- **7.2.a · Verifying solutions by direct substitution**To verify that a candidate function y is a solution of a differential equation: 1. Differentiate the candidate as many times as the equation needs. 2. Substitute the candidate and its derivatives into the equation. 3. Simplify and check that the two sides are equal as an identity. If the left side equals the right side for every value of the independent variable, the candidate is a solution. If they differ — even by a single coefficient — it is not.
- **7.2.b · Verifying an initial condition**An initial condition is written y(t0)=y0, which means: when the input is t0, the solution's output is y0. It is the single point (t0,y0) on the solution curve. The first coordinate t0 is the base point (the input). The second coordinate y0 is the required output.

### Worked example · source skill 7.2.a

Verify that y=t3−4 solves dtdy=3t2, and check the initial condition y(0)=−4.

Differentiate with the power rule: y′=3t2 (the constant −4 differentiates to 0).

Compare with the right side 3t2: the two are equal as functions of t. Verified.

Check the initial condition: y(0)=03−4=−4, which matches. So this candidate is the particular solution with y(0)=−4.

**Result and interpretation**
Takeaway: Here the right side depends on t alone, not on y, so substitution just compares y′ with a given function of t. Verifying a differential equation and verifying an initial condition are two separate, both-required checks.

**Common mistake**

Mistake: "To verify y=e3t solves y′=3y, I plugged in t=0, t=1, and t=2; both sides agreed each time, so it is verified."

**Correction:** Correct approach: Argue symbolically: y′=3e3t and 3y=3e3t are the same function of t, so they agree at every t at once. That single identity is the verification.

**Check your understanding**

A student claims y(t)=e2t satisfies the IC y(0)=5, reasoning: 'It solves the ODE y′=2y, so it is a solution; therefore the IC is automatic.' Is the reasoning valid, and what is the correct verdict?

**Show answer**

The reasoning is invalid; the IC fails. Solving an ODE only puts the candidate in the solution family — it says nothing about which point the curve passes through. You must still substitute the base point. Here y(0)=e0=1, and comparing with y0=5 gives 1=5, so the IC fails. (Different members of the family Ce2t satisfy different ICs; only C=5 would pass through (0,5).)

Topic 7.3

## Sketching Slope Fields

A differential equation written as dxdy=f(x,y) is a rule for slopes. It does not hand you a curve; it hands you a recipe. At every point (x0,y0) in the plane, the rule produces one number, and that number is the slope of the solution curve passing through that point.

### Skills inside this topic

**7.3.a**Computing slope at lattice points

**7.3.b**Drawing short segments with correct slope

**7.3.c**Recognizing slope-field signatures

### Core results and conditions

- **7.3.a · Computing slope at lattice points**If dxdy=f(x,y), then the slope of the solution curve at the lattice point (x0,y0) is the number obtained by substitution: slope at (x0,y0)=f(x0,y0). There is exactly one move: replace every x with x0, replace every y with y0, then simplify. The result is a plain number — the steepness of the tiny tangent segment you will later draw at that point.
- **7.3.b · Drawing short segments with correct slope**To draw the tick at a lattice point (a,b) for dxdy=f(x,y): 1. Evaluate m=f(a,b) — one number (or 'undefined'). 2. Draw a short segment through (a,b) of slope m. The segment's tilt angle from horizontal is arctan(m): the tick rises m units for every 1 unit it runs to the right.
- **7.3.c · Recognizing slope-field signatures**To classify a field, scan one full vertical column and one full horizontal row: What stays uniform | What it means | Family; Up every column (moving in y) | slope ignores y | dy/dx=f(x); Across every row (moving in x) | slope ignores x | dy/dx=f(y); Both directions | slope ignores both | constant; Neither direction | slope needs both | mixed f(x,y)

### Worked example · source skill 7.3.a

For dxdy=x2+y, find the slope at (−3,4).

Substitute with parentheses: (−3)2+(4).

Square first — and the parentheses are not optional: (−3)2=9, not −9.

Add: 9+4=13.

Slope at (−3,4) is 13.

**Result and interpretation**
Takeaway: Under order of operations −32=−9 but (−3)2=9. Squaring a substituted negative coordinate is exactly where the parentheses earn their keep.

[Figure: BC Topic 7.3: A slope field records the differential equation's local slopes at a grid of points without selecting any one particular solution.]

A slope field records the differential equation's local slopes at a grid of points without selecting any one particular solution.

**Common mistake**

Mistake: For dxdy=x−y at (2,5): "The slope is 5−2=3."

**Correction:** Correct approach: f(2,5)=(2)−(5)=−3. The correct slope is −3, not +3.

**Check your understanding**

In a slope field, as you walk straight UP a vertical column the tick slopes never change, but as you walk RIGHT along a row the slopes DO change. (a) Which family is dy/dx? (b) The ticks are flat exactly on the line x=−1; give the simplest matching ODE that is also negative for x<−1.

**Show answer**

(a) x-only, dy/dx=f(x). Walking up a column changes y but not the slope, so y is absent; walking right changes x and the slope reacts, so x is present. (b) Flats at x=−1 force f(−1)=0, and we need f(x)<0 for x<−1; the simplest match is dy/dx=x+1 (it is 0 at x=−1, negative to the left, positive to the right).

Topic 7.4

## Reasoning Using Slope Fields

A slope field for a differential equation dxdy=F(x,y) draws a tiny line segment at each grid point (x,y). The tilt of that segment is the slope F(x,y) the equation assigns there. Every segment has the same length; only its tilt carries information.

### Skills inside this topic

**7.4.a**Matching slope field to ODE

**7.4.b**Sketching a particular solution through a point

**7.4.c**Long-term behavior from slope fields

### Core results and conditions

- **7.4.a · Matching slope field to ODE**An isocline is a set of points where the slope F(x,y) is constant. Two isocline patterns reveal what F can depend on: Constant-on-verticals. If the segments are identical all the way up each vertical line, the slope does not change with y, so F depends on x only: dxdy=F(x). Constant-on-horizontals. If the segments are identical all the way across each horizontal line, the slope does not change with x, so F depends on y only: dxdy=F(y).
- **7.4.b · Sketching a particular solution through a point**To sketch the particular solution of dxdy=F(x,y) through (x0,y0): Plot the initial point (x0,y0).; Read the slope of the segment at that location and draw a short curve there that is tangent to it.; Step a little along your curve to a new point. Read the segment there — it may have a different slope — and extend the curve tangent to it.; Repeat, tracing in both directions (increasing and decreasing x).
- **7.4.c · Long-term behavior from slope fields**An equilibrium solution is a constant function y(x)=c that satisfies the differential equation. Its graph is the horizontal line y=c, and because it never changes, its slope is 0 everywhere along that line. In the slope field an equilibrium shows up as a complete flat row of horizontal segments. For an autonomous equation dxdy=f(y) (the slope depends on y only), the equilibria are exactly the solutions of f(y)=0. A field can have zero, one, two, or more equilibria — so finish scanning the whole field.

### Worked example · source skill 7.4.c

For dxdy=2−y, classify the equilibrium and find limx→∞y(x) for the solution with y(0)=0.5.

Equilibria: f(y)=2−y=0⇒y=2 (one flat row).

Stability: below 2, f=2−y>0 (up, in); above 2, f<0 (down, in). Both point in, so y=2 is stable.

Start y(0)=0.5 sits below 2. There f(0.5)=1.5>0, so the solution increases and is trapped under the line y=2.

It rises monotonically and presses against the stable line: limx→∞y(x)=2, approached from below.

**Result and interpretation**
Takeaway: A stable equilibrium ahead of the initial value attracts the solution. Starting below y=2, this solution increases toward y=2 and levels off there.

[Figure: BC Topic 7.4: Solution curves follow the local directions in the same slope field; different initial conditions select different nonintersecting members of the family.]

Solution curves follow the local directions in the same slope field; different initial conditions select different nonintersecting members of the family.

**Common mistake**

Mistake: "The horizontal segments lie along y=x, so I can pick either dxdy=x−y or dxdy=y−x — they share the zero-set."

**Correction:** Correct approach: After narrowing to two sign-twin candidates, always check ONE grid point off the zero-set. The tilt direction there eliminates the wrong sign.

**Check your understanding**

An autonomous equation dxdy=f(y) has equilibria at y=−1 and y=4. A sign analysis gives: f>0 for y>4; f<0 for −1<y<4; f>0 for y<−1. (a) Classify each equilibrium. (b) Find limx→∞y(x) for the solution with y(0)=2.

**Show answer**

(a) At y=4: below it f<0 (down, away) and above it f>0 (up, away) — arrows out on both sides, so y=4 is unstable. At y=−1: below it f>0 (up, in) and above it f<0 (down, in) — arrows in on both sides, so y=−1 is stable. (b) The start y(0)=2 lies in −1<y<4, where f<0; the solution decreases, trapped above y=−1, and presses against that stable line. limx→∞y(x)=−1, approached from above.

Topic 7.5

## Approximating Solutions Using Euler's Method

A differential equation gives you the slope dxdy=f(x,y) of a solution at every point — but it does not hand you the solution y(x) itself. For many equations there is no tidy formula to solve for, and on the AP exam you are often forbidden to use one. So how do you find out where the solution goes?

### Skills inside this topic

**7.5.a**One Euler step from an initial condition

**7.5.b**Multiple Euler steps (building the table)

**7.5.c**Step size and whether Euler over- or under-estimates

### Core results and conditions

- **7.5.a · One Euler step from an initial condition**Given dxdy=f(x,y) with a known point (x0,y0), one Euler step of size Δx produces the approximate next point (x1,y1): x1=x0+Δx,y1=y0+slope at startf(x0,y0)⋅Δx. In words: new y equals old y plus slope times step. The slope f(x0,y0) is evaluated at the starting point only.
- **7.5.b · Multiple Euler steps (building the table)**Given dxdy=f(x,y) and a starting point (x0,y0), repeat for k=0,1,2,…: xk+1=xk+Δx,yk+1=yk+slope at the current pointf(xk,yk)⋅Δx. Each step is the same one-step rule — new y = old y + slope × step — but the slope is recomputed from the current point (xk,yk) every time. The output (xk+1,yk+1) of one step is the input of the next.
- **7.5.c · Step size and whether Euler over- or under-estimates**For Euler's method stepping forward (increasing x) along a solution whose concavity has a single sign on the interval: y′′>0 (concave up) ⇒ tangents lie below ⇒ Euler under-estimates. y′′<0 (concave down) ⇒ tangents lie above ⇒ Euler over-estimates. Mantra: concave up, Euler is under; concave down, Euler is over. The verdict is about the curve's concavity, not about whether the solution is increasing or decreasing.

### Worked example · source skill 7.5.a

Let y=f(x) solve dxdy=1−y with f(1.5)=−1. Use one Euler step to approximate f(1).

The target x=1 is to the left of the start x=1.5, so the step is backward: Δx=1−1.5=−0.5.

Evaluate the slope at the start point (1.5,−1): f(x0,y0)=1−(−1)=2.

Update with the signed step: y1=−1+(2)(−0.5)=−1−1=−2.

So f(1)≈−2.

**Result and interpretation**
Takeaway: When the target lies left of the start, Δx is negative and the slope-times-step term flips sign. Keeping the sign of Δx is the whole game for a backward step.

[Figure: BC Topic 7.5: Euler's Method follows successive tangent-line steps through the slope field to approximate the particular solution.]

Euler's Method follows successive tangent-line steps through the slope field to approximate the particular solution.

**Common mistake**

Mistake: "For dxdy=x+y, f(0)=1, Δx=0.5: the answer is just the starting y, f(0.5)≈1 — or I'll use the slope as the new y, f(0.5)≈1 again."

**Correction:** Correct approach: Always carry out new y = old y + slope × step: y1=1+1(0.5)=1.5. Update x to x1=x0+Δx and y to y0+f(x0,y0)Δx; never leave either one frozen.

**Check your understanding**

Let y=f(x) solve dxdy=x−y with f(0)=3. (a) Differentiate the DE to find y′′, and determine its sign at the start. (b) A forward Euler step approximates f(0.4): is it an over- or under-estimate, with a reason? (c) If you instead used twice as many steps to reach x=0.4, would the estimate be more or less accurate, and would it switch sides?

**Show answer**

(a) Differentiate y′=x−y: y′′=1−y′=1−(x−y)=1−x+y. At (0,3), y′′=1−0+3=4>0, so the solution is concave up at the start. (b) Concave up means the curve lies above its tangents, so the forward Euler step lands below the curve: an under-estimate. (c) More steps means a smaller step size, so the estimate is more accurate; because y′′ stays positive it remains an under-estimate — it does not switch sides, just gets closer.

## Last-pass checklist

**7.1 · Modeling Situations with Differential Equations**7.1.a, 7.1.b, 7.1.c

**7.2 · Verifying Solutions for Differential Equations**7.2.a, 7.2.b

**7.3 · Sketching Slope Fields**7.3.a, 7.3.b, 7.3.c

**7.4 · Reasoning Using Slope Fields**7.4.a, 7.4.b, 7.4.c

**7.5 · Approximating Solutions Using Euler's Method**7.5.a, 7.5.b, 7.5.c

FiveStudy · AP Calculus BC · Unit 7

Guide 15 of 23
