← AP Calculus

Differential Equations

An interactive AP Calculus lab for Unit 7, Topics 7.1–7.9. Verify solutions, drag an initial condition through a slope field, step along with Euler’s method, solve by separating variables, and compare exponential and logistic growth.

Topic map

Each topic from the AP Calculus Course and Exam Description links to the part of the lab that covers it. Dark tags mark BC-only topics.

Modeling and verifying solutions

Topic 7.17.2

A solution of a differential equation is a function that makes both sides equal for every x. To check one, differentiate it and substitute y and y′ into the equation.

Differential equation

Proposed solution

WordsDifferential equation
The rate of change of y is proportional to y.dy/dt = ky
…proportional to the square root of y.dy/dt = k√y
…proportional to the difference between T and 70.dT/dt = k(T − 70)
…jointly proportional to P and to (1000 − P).dP/dt = kP(1000 − P)

Slope fields

Topic 7.37.4

At every point, draw a short segment with slope dy/dx. A solution curve follows the segments. Drag the point to change the initial condition. Horizontal lines of zero slope are equilibrium solutions.

dy/dx =

Drag the black point. Green lines are equilibrium solutions.

Euler’s method

Topic 7.5 BC

Start at (x₀, y₀). Step forward by h along the tangent line: ynew = yold + h · (dy/dx at the old point). Smaller steps follow the true solution more closely.

Initial value problem

exact solutionEuler steps

Separation of variables

Topic 7.67.7

Get every y with dy and every x with dx, integrate both sides, add + C right away, use the initial condition to find C, then solve for y. Change y(0) and watch C and the solution update.

dy/dx =

Exponential and logistic models

Topic 7.87.9 BC

Exponential: dy/dt = ky gives y = y₀ekt, growing (k > 0) or decaying (k < 0) without limit. Logistic: dP/dt = kP(1 − P/L) levels off at the carrying capacity L and grows fastest when P = L/2.

Model

The solution over time

Rate vs. amount