7.1 Modeling Situations w/ Differential Equations
What a DE Says
Differential equation (DE): equation w/ a derivative, e.g. dy/dt = ky. It gives a rate, not the function itself.
Solution: a function y(t) that makes the DE true for every t in an interval; a DE has a family of solutions.
Words → Equation
| Words | DE |
|---|---|
| rate ∝ amount | dy/dt = ky |
| rate ∝ amount left to M | dy/dt = k(M − y) |
| rate ∝ square root of y | dy/dt = k√y |
| rate ∝ y & t | dy/dt = kyt |
| rate ∝ 1/y² | dy/dt = k/y² |
Proportional: "rate of change of y is proportional to y" → dy/dt = ky; k > 0 growth, k < 0 decay.
Newton's cooling: rate of temp change ∝ difference from room temp → dT/dt = k(T − A), k < 0 (A = ambient temp).
Inversely proportional: "∝ 1/x" → dy/dx = k/x; always write k (constant of proportionality); find k from data.
Ex: "water drains at a rate ∝ √ of its depth h" → dh/dt = −k√h, k > 0 (− sign b/c the depth h is decreasing).
Ex: "P grows at a rate ∝ the product of P & (1000 − P)" → dP/dt = kP(1000 − P) (logistic form; BC solves it).
Units & Signs
Units: dy/dt has units of y per unit t (people/yr, °C/min); k's units make both sides match (dy/dt = ky → k in 1/yr).
Signs: read the context: draining tank → dV/dt < 0; cooling object hotter than room → dT/dt < 0 (temp falls).
Reading a DE: dy/dt = 0.3y → rate = 30% of current y per unit t; bigger y → faster change (exponential).
7.2 Verifying Solutions for Differential Equations
How to Verify
Steps: 1) differentiate the proposed y; 2) substitute y, y′ (and y″) into the DE; 3) both sides equal for all x?
Ex: is y = 3e2x a solution of y′ = 2y? y′ = 6e2x & 2y = 6e2x → equal → yes (so is y = Ce2x for any C).
Ex: y = x² + C for dy/dx = 2x: y′ = 2x for every C → a whole family of solutions (parallel curves: vertical shifts of y = x²).
2nd-order ex: y = sin 2x for y″ + 4y = 0: y″ = −4 sin 2x → −4 sin 2x + 4 sin 2x = 0 ✓; y = cos 2x works too.
Ex: does y = x³ solve x·dy/dx = 3y? x·3x² = 3x³ = 3y ✓; y = Cx³ works for every C too (a whole family).
Ex: y = 1/x for dy/dx = −y²: y′ = −1/x² & −y² = −1/x² ✓ (x ≠ 0).
Implicit solutions: x² + y² = 25 solves dy/dx = −x/y? implicit diff: 2x + 2y·y′ = 0 → y′ = −x/y ✓ (no need to solve for y).
Finding a Missing Constant
Ex: for which k does y = ekx solve y″ − 3y′ + 2y = 0? k² − 3k + 2 = 0 → k = 1 or 2 (so y = ex & y = e2x both work).
Ex: y = Ax + 2 solves dy/dx = y − x − 1? A = (A − 1)x + 1 for all x → A − 1 = 0 → A = 1, so y = x + 2 (check: y′ = 1 ✓).
| Check | Tells you |
|---|---|
| LHS = RHS for all x | is a solution |
| equal only at some x | not a solution |
| matches initial cond. | particular solution |
Initial Conditions
Particular solution: also passes through the given point, e.g. y(0) = 3 → plug x = 0, check y = 3 in the solution.
Ex: y = 3e2x satisfies y(0) = 3 ✓; y = 5e2x solves y′ = 2y but fails y(0) = 3 (gives 5), so it isn't the particular solution.
7.3 Sketching Slope Fields
Building a Slope Field
Slope field: at each point (x, y), draw a short segment w/ slope = dy/dx evaluated there (DE's picture w/o solving).
Steps: 1) pick grid points; 2) plug x & y into dy/dx; 3) draw a tiny tangent segment of that slope at each point.
| dy/dx = x − y at | Slope | Segment |
|---|---|---|
| (0, 0) | 0 | horizontal |
| (1, 0) | 1 | 45° up |
| (0, 1) | −1 | 45° down |
| (2, 1) | 1 | 45° up |
Patterns to Spot
dy/dx depends only on x → slopes same along each vertical column (ex: dy/dx = x²) → solution curves are vertical shifts.
dy/dx depends only on y → slopes same along each horizontal row (dy/dx = y − 2) → curves = horizontal shifts.
Isoclines: curves where dy/dx = const; dy/dx = 0 → horizontal segments (ex: x − y = 0 → line y = x).
Undefined slope: denominator = 0 → vertical segments (ex: dy/dx = x/y along y = 0, except the origin).
Steepness: |dy/dx| big → steep segments; |dy/dx| small → nearly flat; compare size, not just sign.
Sign by quadrant: dy/dx = xy → + in Q I & III, − in Q II & IV, 0 on both axes (horizontal segments there).
Matching a DE to a Field
Test 1: where are slopes 0? Test 2: sign in each quadrant. Test 3: are columns or rows constant?
Ex: horizontal along y = 2, steep far from it → dy/dx = y − 2 or (y − 2)²; signs below y = 2 decide: − for y − 2, + for (y − 2)².
7.4 Reasoning Using Slope Fields
Sketching a Solution Curve
Solution curve: start at the initial point; follow the segments' direction w/o crossing them; extend it both ways.
Rules: curve is tangent to every segment it passes; it never jumps between segments abruptly; it bends smoothly.
Uniqueness (AB context): 2 solution curves of the same DE generally don't cross, so they stack in layers.
Equilibrium Solutions
Equilibrium: constant solution y = c where dy/dx = 0 for every x (ex: y = 2 for dy/dx = y − 2); solve dy/dx = 0 for y.
| Near y = c | Type | Behavior |
|---|---|---|
| curves move toward | stable | y → c |
| curves move away | unstable | y leaves c |
| mixed | semi-stable | 1 side only |
Long-run: limx→∞ y(x) = stable equilibrium the curve approaches (ex: dy/dx = 3 − y → y → 3).
Ex: dy/dx = y(3 − y): equilibria y = 0 (unstable) & y = 3 (stable); y(0) = 1 → y ↑ toward 3 but never reaches it.
Ex: y(0) = 4 → dy/dx < 0 → y ↓ toward 3, staying above it.
Matching: equilibria in a slope field = rows of horizontal segments; check which way nearby segments point.
Phase line: mark the sign of dy/dx between equilibria on a y-axis → arrows show stable vs. unstable.
Increasing, Decreasing & Concavity
Inc/dec: dy/dx > 0 → y ↑; dy/dx < 0 → y ↓. Read the sign of the DE in that region (ex: dy/dx = y − 2 → y ↑ when y > 2).
Concavity: find d²y/dx² by differentiating the DE (chain rule on y), then substitute dy/dx (keep it in terms of x & y).
Ex: dy/dx = x + y → d²y/dx² = 1 + dy/dx = 1 + x + y; at (0, 1): 2 > 0 → concave up, so the curve bends upward there.
7.6 Separation of Variables: General Solutions
The Method
Separable: dy/dx = f(x)·g(y). Steps: 1) move all y (w/ dy) left, x (w/ dx) right; 2) integrate both; 3) + C.
Form: dy/g(y) = f(x) dx → ∫ (1/g(y)) dy = ∫ f(x) dx + C. Only 1 constant needed (C's from both sides combine).
| DE | Separated |
|---|---|
| dy/dx = xy | dy/y = x dx |
| dy/dx = x/y | y dy = x dx |
| dy/dx = ex−y | ey dy = ex dx |
| dy/dx = y² cos x | y−2 dy = cos x dx |
Worked Examples
Ex: dy/dx = xy → ln|y| = x²/2 + C → |y| = eCex²/2 → y = Aex²/2 (A = ±eC); y = 0 is also a solution, covered by A = 0.
Ex: dy/dx = x/y → y²/2 = x²/2 + C → y² = x² + 2C, i.e. y² − x² = K (a family of hyperbolas; K = 0 → lines y = ±x).
Ex: dy/dx = ex−y → ey = ex + C → y = ln(ex + C).
Ex: dy/dx = 3x²y, y(0) = 2 → ln|y| = x³ + C → y = 2ex³ (here A = y(0) b/c e0 = 1); check by differentiating ✓.
Ex: dy/dx = (1 + y²)/x → dy/(1 + y²) = dx/x → arctan y = ln|x| + C → y = tan(ln|x| + C) (+ C goes inside before tan).
Lost solutions: dividing by g(y) can drop solutions where g(y) = 0 (equilibria); check them separately.
Not Separable?
Sum test: dy/dx = x + y can't be split into f(x)·g(y) → AB won't ask you to solve it by separation.
Factor first: dy/dx = xy + 2x = x(y + 2) → separable: dy/(y + 2) = x dx → ln|y + 2| = x²/2 + C → y = Aex²/2 − 2.
7.7 Particular Solutions w/ Initial Conditions
Finding C
Particular solution: general solution + initial condition → find C → 1 specific function (1 curve from the family).
Order: separate → integrate (+ C) → plug in the point → solve for C → solve for y (explicitly, if asked: y = …).
Ex: dy/dx = 2xy, y(0) = 3 → ln|y| = x² + C → ln 3 = C → y = 3ex² (check: y′ = 6xex² = 2xy ✓ & y(0) = 3 ✓).
Ex: dy/dx = x/y², y(0) = 2 → y³/3 = x²/2 + C → 8/3 = C → y = (3x²/2 + 8)1/3, defined for all x (cube root: no ±).
Choosing the Sign & Domain
± roots: y² = x² + 4 w/ y(0) = −2 → choose y = −√(x² + 4) b/c the point has y < 0; the + root would miss the initial point.
Absolute values: ln|y| → |y| = Ae…; drop | | using the sign of y at the initial point (y(0) > 0 → |y| = y, keep A > 0).
Domain: the solution must be defined & differentiable on an interval containing the initial x; stop at breaks.
Ex: y = 1/(1 − x) w/ y(0) = 1 → domain x < 1 (stops at the vertical asymptote x = 1); it comes from dy/dx = y².
Ex: dy/dx = −x/y, y(3) = 4 → x² + y² = C → C = 25 → y = √(25 − x²) on −5 < x < 5 (+ root b/c y(3) > 0).
Ex: dy/dx = (y − 1)cos x, y(0) = 3 → ln|y − 1| = sin x + C → C = ln 2 → y = 1 + 2esin x (y > 1, so |y − 1| = y − 1).
FRQ Scoring
| Step | Point for |
|---|---|
| separation | correct dy & dx sides |
| antiderivatives | both sides right |
| + C & initial cond. | C used correctly |
| solve for y | final y = … |
7.8 Exponential Models w/ Differential Equations
Growth & Decay
Key fact: dy/dt = ky ⇔ y = y₀ekt, where y₀ = y(0). Only model w/ rate ∝ amount (AP's favorite DE).
Why: dy/y = k dt → ln|y| = kt + C → y = Aekt; t = 0 → A = y₀.
| k | Model | Example |
|---|---|---|
| k > 0 | growth | bacteria |
| k < 0 | decay | C-14, drug |
| |k| bigger | faster | steeper |
Finding k & Using It
Doubling: 2y₀ = y₀ekT → k = ln 2/T. Half-life: k = −ln 2/T (same size k, opposite sign); T in the same units as t.
Ex: 500 cells, 1,500 at 4 hr → e4k = 3 → k = ln 3/4 ≈ 0.27/hr.
Ex: half-life 10 yr → k ≈ −0.069; 30 yr = 3 half-lives → y₀/8.
Ex: drug A′ = −0.2A, A(0) = 50 mg → A = 50e−0.2t; A(5) = 50e−1 ≈ 18.4 mg (about 37% left after 5 hr).
Factor: y = y₀(ek)t → × ek per unit t (k = 0.1 → ×1.105/yr).
Newton's Law of Cooling
Model: dT/dt = k(T − A) → T = A + (T₀ − A)ekt, k < 0; T → A (room temp) as t → ∞, never reaching it.
Ex: 90 °C coffee, 20 °C room: T = 20 + 70ekt; if T(5) = 60 → 40/70 = e5k → k = ln(4/7)/5 ≈ −0.112 per min.
Rate vs. amount: dy/dt = ky → when y doubles, the rate doubles; relative rate (dy/dt)/y = k is constant.
Rate in context: dT/dt at T = 60 is k(40) < 0 → cooling at 40|k| °C/min at that moment (≈ 4.5 °C/min).
FRQ Moves & Unit 7 Connections
Tangent Line Approximations
From a DE: slope at (x₀, y₀) = dy/dx → y ≈ y₀ + m(x − x₀).
Ex: dy/dx = 2x − y, f(1) = 3 → m = 2 − 3 = −1 → f(1.2) ≈ 3 − 1(0.2) = 2.8; works best for x near 1, worse far away.
Over or under? sign of d²y/dx² at the point: concave up → tangent line underestimates; down → over.
Ex: same DE at (1, 3): d²y/dx² = 2 − dy/dx = 2 − (−1) = 3 > 0 → concave up → 2.8 underestimates.
Typical FRQ Parts
| Part asks | You do |
|---|---|
| sketch slope field | plot exact slopes |
| tangent line | use dy/dx at point |
| concavity | find d²y/dx², sign |
| particular solution | separate, + C, solve |
| limit as t → ∞ | equilibrium value |
Relative extrema: dy/dx = 0 at the point + sign of d²y/dx² → 2nd derivative test (Unit 5 link): + → min, − → max.
Ex: dy/dx = y(x − 1); at (1, 2): slope 0, d²y/dx² = y′(x − 1) + y = 2 > 0 → rel min at (1, 2) for that solution curve.
Units in context: dy/dt in an FRQ needs units (e.g. grams per hour) & a sentence on its meaning at that time.
Ex: "dy/dt = −0.5 g/hr at t = 3" → at 3 hr, the amount is decreasing at 0.5 grams per hour at that instant.
Long-run: dy/dt = 6 − 2y → set 0 → y = 3 (stable) → y → 3 as t → ∞ for any starting value (positive or negative).
BC-only (Not on AB)
Euler's method (7.5) & logistic models (7.9) are BC topics; AB students won't be tested on them.