7.1 Modeling With Differential Equations
Words to Equations
Differential equation (DE): an equation with a derivative, like dy/dt = 0.3y; its solution is a function, not a number.
| Phrase | Equation |
|---|---|
| rate proportional to y | dy/dt = ky |
| proportional to y and to (M − y) | dy/dt = ky(M − y) |
| proportional to difference from Ts | dT/dt = k(T − Ts) |
| inversely proportional to y | dy/dt = k/y |
| proportional to √y | dy/dt = k√y |
| rate proportional to t | dy/dt = kt |
"Rate of change of P" always means dP/dt; "proportional to" means multiply by a constant k you may need to find.
Sign of k: growth (population, interest) → k > 0; decay (cooling, radioactive, drug in blood) → k < 0.
Newton's Law of Cooling: dT/dt = k(T − Ts), k < 0; the object approaches the surrounding temperature Ts.
Reading a DE Without Solving
Where y is increasing: wherever dy/dt > 0; e.g., for dy/dt = y(5 − y), y rises when 0 < y < 5, falls when y > 5.
Equilibrium solutions: constant y where dy/dt = 0 for all t; for dy/dt = y(5 − y), these are y = 0 and y = 5 (flat lines).
Units: dy/dt has units of y per unit of t (e.g., people per year); k has whatever units make both sides of the equation match.
Initial condition: a starting value like P(0) = 50 is part of the model; it picks one solution out of the whole family.
Second derivative: differentiate the DE implicitly, e.g., dy/dx = xy → d²y/dx² = y + x(dy/dx) = y + x²y.
7.2 Verifying Solutions
How to Verify
Plug in: compute y′ (and y″ if needed) from the proposed solution, substitute into both sides of the DE.
Both sides must match for every x in the domain; if they do, the function is a solution; if not, it fails.
Worked: is y = 3e²ˣ a solution of y′ = 2y? y′ = 6e²ˣ and 2y = 6e²ˣ → both sides match, so yes, it is a solution.
Worked: is y = x² a solution of xy′ = 2y? xy′ = x(2x) = 2x² and 2y = 2x² → both sides match, so yes, it is a solution.
Not a solution: y = sin x for y″ + y = 1: y″ + y = −sin x + sin x = 0 ≠ 1 → the sides do not match, so it is not a solution.
General vs. Particular
| Type | Looks like | Comes from |
|---|---|---|
| General | y = Ce²ˣ | no initial value |
| Particular | y = 3e²ˣ | y(0) = 3 given |
| Equilibrium | y = 0 | dy/dt = 0 |
| Implicit | y² = x² + 3 | solution not solved for y |
Family of curves: the general solution is many curves (one for each C); an initial condition picks one.
Find k or C by substituting the given point(s) into the solution, then solving the resulting equation for the unknown.
Check the domain: a solution may only work on an interval (e.g., only where a denominator is not zero).
Constant solutions: to test y = c, check that dy/dx = 0 when y = c; for y′ = y² − 4, both y = 2 and y = −2 work.
Worked: find k so y = eᵏˣ solves y″ − 5y′ + 6y = 0: k² − 5k + 6 = 0 → k = 2 or k = 3; both values work.
Multiple choice trick: test each answer choice by differentiating; the one that satisfies the DE wins; then check that it also passes through the given point.
7.3–7.4 Slope Fields
Sketching
Slope field: at each point (x, y), draw a short segment with slope dy/dx given by the DE at that exact point.
Worked: dy/dx = x − y at (1, 0): slope 1; at (0, 1): slope −1; at (2, 2): slope 0, so draw a horizontal segment there.
Shortcuts: if dy/dx depends only on x, slopes match in each column; only on y, they match in each row.
| DE | Pattern in the field |
|---|---|
| dy/dx = f(x) | same slopes in vertical columns |
| dy/dx = g(y) | same slopes in horizontal rows |
| dy/dx = 0 when y = c | horizontal segments along y = c |
| dy/dx = x + y | slope 0 along y = −x |
Reasoning With Slope Fields
Matching: test a few easy points (axes, where slopes are 0 or undefined) to match a DE to its slope field quickly.
Sign check: in a quadrant where x and y are both positive, dy/dx = xy gives positive (uphill) slopes everywhere.
Isoclines: all points where dy/dx equals the same number c; for dy/dx = x − y, they are the lines y = x − c.
Solution curve: start at the initial point and follow the segments; never cross other segments.
Equilibrium shows as a row of horizontal segments; nearby curves move toward it (stable) or away from it (unstable) as x increases, which tells you the long-run behavior.
Long-run behavior: lim y(t) as t → ∞ often equals a stable equilibrium value, read from the field.
Concavity of solutions comes from d²y/dx²; positive → concave up curves through that region.
Undefined slopes: where the DE divides by zero (e.g., dy/dx = x/y on y = 0), draw no segment or a vertical one.
7.5 Euler's Method (BC)
The Method
Euler's method steps along tangent lines: ynew = yold + (dy/dx at the old point) · Δx, one small step at a time.
Each step: find the slope at the current point, move Δx right, update y, then repeat at the new point.
| Step | x | y | dy/dx = x + y | Δy = slope · Δx |
|---|---|---|---|---|
| 0 | 0 | 1 | 1 | 0.5 |
| 1 | 0.5 | 1.5 | 2 | 1 |
| 2 | 1 | 2.5 |
Worked above: dy/dx = x + y, y(0) = 1, Δx = 0.5, two steps → y(1) ≈ 2.5 (the true value is 2e − 2 ≈ 3.44).
Accuracy
Over or under: if solution curves are concave up, Euler underestimates; concave down → overestimates.
Justify with d²y/dx²: find its sign along the path, then state concave up/down and over/under in a full sentence.
Smaller steps (smaller Δx, such as 0.1 instead of 0.5, so more steps over the same interval) give better approximations but take more calculations and more time on the exam.
Error grows with each step because every new slope is taken at an approximate point, not on the true curve.
Rate tables: if dy/dx values come from a table, use the table value at each step instead of a formula.
One step = tangent line: Euler with one step is the Unit 4 linearization at the starting point, with the same formula.
Going left: use a negative Δx when the problem asks for a value at an earlier x, such as y(−1) from a start at x = 0.
Calculator use: Euler is usually on no-calculator FRQs, so keep Δx simple (0.5 or 0.1) and work with fractions.
7.6 Separation of Variables
Steps
1. Separate: get all y's with dy and all x's with dx, e.g., dy/dx = xy² → (1/y²) dy = x dx, dividing both sides by y² and multiplying both sides by dx, before you integrate.
2. Integrate both sides: −1/y = x²/2 + C. Put the + C on one side only (combine the two constants into one).
3. Solve for y when you can: y = −1/(x²/2 + C) = −2/(x² + 2C), then use the initial condition to find C.
| DE | Separate to | Integrate |
|---|---|---|
| dy/dx = ky | dy/y = k dx | ln|y| = kx + C |
| dy/dx = x/y | y dy = x dx | y²/2 = x²/2 + C |
| dy/dx = eʸ cos x | e⁻ʸ dy = cos x dx | −e⁻ʸ = sin x + C |
| dy/dx = y/x | dy/y = dx/x | ln|y| = ln|x| + C |
Watch Out For
Absolute values: ln|y| = kx + C → |y| = eᶜ eᵏˣ → y = Aeᵏˣ, where the initial condition decides the sign.
Can't separate dy/dx = x + y; it's not a product of an x-part and a y-part (use a slope field or Euler).
Separable test: dy/dx must factor as f(x)·g(y); dy/dx = x²y + y = y(x² + 1) works after factoring out y.
Dividing by y can lose the equilibrium solution y = 0; check whether y = 0 also satisfies the DE separately.
Worked: dy/dx = cos x / eʸ → eʸ dy = cos x dx → eʸ = sin x + C → y = ln(sin x + C) for sin x + C > 0.
Exponent rules: eᵏˣ⁺ᶜ = eᶜ · eᵏˣ, and eᶜ is just a new positive constant, often renamed A or C₁ in the final answer.
Implicit answers are fine when y cannot be isolated, but the AP exam usually asks for y explicitly; solve if possible.
Domain check: after solving, make sure your y is defined at the initial x; logs need positive inputs.
7.7 Particular Solutions
Using the Initial Condition
Plug in right after integrating (before solving for y) to find C; the algebra is usually simpler there than after solving for y, especially with logs or square roots involved.
Worked: dy/dx = 2xy, y(0) = 3 → ∫ dy/y = ∫ 2x dx → ln|y| = x² + C → ln 3 = C → |y| = 3eˣ² → y = 3eˣ² since y(0) > 0.
Worked: dy/dx = x/y, y(1) = 2 → y²/2 = x²/2 + C → 2 = 1/2 + C → C = 3/2 → y² = x² + 3 → y = √(x² + 3).
Choose the sign: y = ±√(x² + 3) → the initial y = 2 is positive, so keep the + root and drop the − root.
Domain of the Solution
Domain: the largest open interval containing the initial x where the solution is defined and differentiable.
Example: y = 1/(1 − x) with y(0) = 1 is defined for x < 1, so the domain is (−∞, 1), the side of the asymptote x = 1 that contains the initial value x = 0 given in the problem.
| FRQ step | Points earned for |
|---|---|
| separate variables | 1 point |
| antiderivatives | 1 point each side |
| + C & use of initial condition | 1 point |
| solve for y | 1 point |
| state domain | when asked |
No + C, no credit: missing the constant usually caps the separation-of-variables part at 2 points.
Check: plug the initial point into your final answer; it must give the given y-value, or something went wrong.
Worked: dy/dx = y², y(0) = 1 → −1/y = x + C → C = −1 → y = 1/(1 − x), valid on (−∞, 1) only, since x = 1 makes it blow up.
Worked: dy/dx = e⁻ʸ, y(0) = 0 → eʸ dy = dx → eʸ = x + 1 → y = ln(x + 1), with domain x > −1 (log needs x + 1 > 0).
7.8–7.9 Exponential & Logistic Models
Exponential (7.8)
dy/dt = ky → y = y₀eᵏᵗ. Growth if k > 0, decay if k < 0; the rate is proportional to the amount present.
Half-life: y₀/2 = y₀eᵏᵗ → t1/2 = ln 2 / |k|. Doubling time = ln 2 / k for growth with k > 0; neither depends on y₀.
Worked: P(0) = 100, P(3) = 200 → 200 = 100e³ᵏ → 2 = e³ᵏ → k = (ln 2)/3 ≈ 0.231 per year, so P = 100e⁰·²³¹ᵗ and P doubles every 3 years, as the data shows from t = 0 to t = 3.
Newton cooling solved: T = Ts + (T₀ − Ts)eᵏᵗ; T approaches Ts as t → ∞ because eᵏᵗ → 0 when k < 0.
Worked: half-life 5 years → k = −(ln 2)/5 ≈ −0.139; 80 g left after 10 years from 320 g (two half-lives).
Spot the model: dy/dt = ky → exponential; dy/dt = ky(L − y) → logistic; dy/dt = k(y − Ts) → cooling.
Logistic (7.9, BC)
dP/dt = kP(1 − P/L) (or kP(L − P)): growth slows as P nears the carrying capacity L, the long-run limit.
| Feature | Logistic fact |
|---|---|
| limit as t → ∞ | P → L (if P₀ > 0) |
| fastest growth | when P = L/2 |
| dP/dt = 0 | P = 0 or P = L |
| P₀ > L | P decreases to L |
Worked: dP/dt = 0.2P(1 − P/500): L = 500; P grows fastest at P = 250; lim P = 500 as t → ∞ for any P₀ > 0.
Inflection point of the logistic curve is at P = L/2 (d²P/dt² changes sign there), where dP/dt is largest.
Read k and L from any equivalent form: dP/dt = 0.002P(500 − P) also has L = 500 (factor to compare).
Exam Moves for Unit 7
AP Calculus BC Exam (May 2027)
| Part | Format | Weight |
|---|---|---|
| MC | 42 Qs (29 no-calc, 13 calc) | 50% |
| FRQ | 6 Qs (2 calc, 4 no-calc) | 50% |
| Unit 7 | of BC exam | 6–9% |
| Typical DE FRQ | 9 points | no calculator |
A DE FRQ appears most years, usually no-calculator: slope field, tangent line, d²y/dx², then separation.
Typical FRQ Sequence
(a) Slope field: draw segments at the given points; pay attention to zero and negative slopes.
(b) Tangent line: y − y₀ = (dy/dx at the point)(x − x₀); use it to approximate y at a nearby x-value like x₀ + 0.1.
(c) Concavity: find d²y/dx² implicitly (substitute dy/dx), then decide over- or underestimate with a reason.
(d) Separation: separate, integrate, + C, use the initial condition, solve for y; show every line of work, since each of these steps earns its own separate point.
BC extras: Euler's method steps and logistic carrying capacity can replace one of these parts.
Calculator questions: if a DE is given with a rate table, use the calculator only for evaluating values.
Justify increasing: "y is increasing at the point because dy/dx = 3 > 0 there"; cite the value and its sign.
Units and context: interpret dy/dt in a sentence with units, as in Unit 4, naming the quantity, the time and the units.
Show substitution: when finding d²y/dx², replace dy/dx with the given expression before plugging in the point.
Equilibrium language: "y = 5 is a solution because dy/dt = 0 when y = 5"; say why it stays constant over time.