7.1 Writing Differential Equations
What a DE Is
Differential equation (DE): an equation with a derivative in it, like dy/dt = 0.3y.
Its answer is a function, not a number; you find y as a formula in x or t that makes it true.
| Words | Equation |
|---|---|
| grows in proportion to y | dy/dt = ky |
| proportional to y and (M − y) | dy/dt = ky(M − y) |
| proportional to its difference from 70 | dT/dt = k(T − 70) |
| inversely proportional to y | dy/dt = k/y |
"Proportional to" means multiply by a constant k that you may need to find later.
Growth uses k > 0; decay or cooling uses k < 0, so the amount goes down over time.
Reading It Without Solving
Increasing where dy/dt > 0; for dy/dt = y(5 − y), y rises when y is between 0 and 5.
Constant solutions: values of y that make dy/dt = 0, such as y = 0 and y = 5 above.
Units: dy/dt is measured in units of y per unit of t, like people per year or grams per hour, and k has units that make both sides match.
Second derivative: take d/dx of the DE, then swap in dy/dx wherever it shows up again.
7.2 Checking a Solution
How to Check
Step 1: take the derivative of the given function (and the second one, if needed).
Step 2: plug y and y′ into both sides of the DE; if both sides match, it works as a solution.
Example: y = 3e²ˣ and y′ = 2y: y′ = 6e²ˣ and 2y = 6e²ˣ, so both sides match. Yes.
Example: y = x² and y′ = y: y′ = 2x but y = x², and those are not equal, so it fails. No.
Second derivative check: y = sin x solves y″ = −y, since y″ = −sin x, which equals −y.
General vs. Particular
| Kind | Example | Why |
|---|---|---|
| General | y = Ce²ˣ | any C works |
| Particular | y = 3e²ˣ | uses y(0) = 3 |
| Constant | y = 0 | dy/dt = 0 |
| Implicit | y² = x² + 3 | not solved for y |
General solution: a whole family of curves, one for each value of the constant C you choose.
Particular solution: the one curve that passes through the given starting point.
Find C: plug the starting point into the general solution and then solve that for C.
Multiple choice tip: take the derivative of each answer choice and test it in the DE.
7.3–7.4 Slope Fields
Drawing One
Slope field: at each point, draw a short line with slope equal to dy/dx at that point.
Example: dy/dx = x − y at (1, 0) gives slope 1; at (2, 2) it is 0, so draw that segment flat.
| If dy/dx uses | Then the slopes |
|---|---|
| only x | match in each column |
| only y | match in each row |
| neither (0) | are flat everywhere |
| x and y | change across the field |
Flat segments show where dy/dx = 0; steep segments show big positive or negative slopes.
Concavity: the sign of d²y/dx² tells you if solution curves bend up or bend down.
Using One
Matching: test easy points, like on the axes, to match a DE to the right slope field, then check one or two more points just to be sure.
Solution curve: start at the given point and follow the little lines like a current in water.
Constant solution: a full row of flat segments, like the line y = 2 for dy/dx = y − 2.
Long run: curves often level off at a flat row, which gives you the limit as x → ∞ quickly.
Never cross: two different solution curves in a slope field never cross each other.
7.5 Euler's Method (BC)
Step by Step
Idea: walk along short tangent lines instead of the real curve, one small step at a time, using the slope from the DE at each new point.
Formula: new y = old y + (slope at the old point) × Δx, then repeat from the new point.
| x | y | slope x + y | change |
|---|---|---|---|
| 0 | 1 | 1 | 0.5 |
| 0.5 | 1.5 | 2 | 1 |
| 1 | 2.5 |
Example above: dy/dx = x + y, y(0) = 1, Δx = 0.5, two steps give y(1) ≈ 2.5 (true value ≈ 3.44).
Too Big or Too Small?
Concave up curves: Euler's answer is too small (an underestimate) because lines sit below.
Concave down curves: Euler's answer is too big (an overestimate) because lines sit above.
Show the reason: say the sign of d²y/dx² along the path, then say over or under in words.
Smaller steps (a smaller Δx) give a closer answer but take more steps and time to finish, so the exam keeps Δx simple, like 0.5 or 0.1.
One step of Euler is just the tangent line approximation from Unit 4 (linearization).
Going backward: use a negative Δx, like −0.5, to estimate y to the left of the start.
7.6 Separation of Variables
Four Steps
1. Separate: y's and dy on one side, x's and dx on the other: dy/dx = xy → dy/y = x dx.
2. Integrate both sides: ln|y| = x²/2 + C. Write + C on one side only, not on both sides.
3. Use the starting point to find C right away, before doing any more algebra.
4. Solve for y: undo the log with e, so y = Aex²/2 where A comes from the starting value.
| DE | Separated | Integrated |
|---|---|---|
| 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 = y² | dy/y² = dx | −1/y = x + C |
| dy/dx = y/x | dy/y = dx/x | ln|y| = ln|x| + C |
Watch Out
Not separable: dy/dx = x + y can't be split into an x part times a y part, so it is not separable.
Example: dy/dx = y² gives −1/y = x + C; with y(0) = 1, C = −1, and so y = 1/(1 − x) here.
Absolute values: |y| = Aeˣ; the starting value tells you if y is positive or if it is negative.
Dividing by y can hide the constant solution y = 0, so check y = 0 on its own at the end.
Exponent rule: eˣ⁺ᶜ = eᶜ · eˣ, and eᶜ is just a new positive number that we call A.
7.7 Particular Solutions
Using the Starting Point
Example: dy/dx = 2xy, y(0) = 3: ln|y| = x² + C, so C = ln 3 and y = 3eˣ² since y starts positive.
Example: dy/dx = x/y, y(1) = 2: y²/2 = x²/2 + C, so C = 3/2 and then y = √(x² + 3).
Pick the sign: y(1) = 2 is positive, so take the + square root, not the negative one.
Check: plug the starting x into your answer; you should get the starting y-value back; if not, look back for an algebra slip in your steps.
Example: dy/dx = e⁻ʸ, y(0) = 0: eʸ = x + C, C = 1, so y = ln(x + 1) for all x > −1 only.
How It's Scored
| Step | Points |
|---|---|
| separate | 1 |
| integrate both sides | 2 |
| + C and use start point | 1 |
| solve for y | 1 |
Forgot + C? You usually lose the last points of the problem, even with good algebra.
Domain: the answer only counts on the interval around the starting x where it's defined.
Find C early: plug in the start right after integrating, when the algebra is simplest.
Example: y = 1/(1 − x) with y(0) = 1 works only for x < 1, since x = 1 makes it undefined.
7.8–7.9 Growth Models
Exponential (7.8)
dy/dt = ky means y = y₀eᵏᵗ; the rate is proportional to the amount that is there right now.
Half-life = ln 2 ÷ |k|; doubling time = ln 2 ÷ k. Neither one depends on the start.
Example: P(0) = 100 and P(3) = 200 give k = (ln 2)/3 ≈ 0.231 per year, so P doubles every 3 years, no matter what size P is at the start.
Cooling: dT/dt = k(T − Ts); the temperature heads toward the room temperature Ts over time.
Example: a half-life of 5 years means 320 g becomes 80 g after 10 years (two half-lives).
Logistic (7.9, BC)
dP/dt = kP(1 − P/L): growth slows down as P gets close to the carrying capacity L.
| Question | Answer |
|---|---|
| long-run limit | L |
| fastest growth at | P = L/2 |
| dP/dt = 0 when | P = 0 or L |
| start above L | P falls to L |
| start below L | P rises to L |
Example: dP/dt = 0.2P(1 − P/500): L = 500 and growth is fastest when P = 250.
Inflection point: the curve switches from concave up to concave down at P = L/2.
Exam Moves for Unit 7
AP Calculus BC Exam (May 2027)
| Part | Format | Weight |
|---|---|---|
| MC | 42 Qs | 50% |
| FRQ | 6 Qs | 50% |
| Unit 7 | of BC exam | 6–9% |
| DE FRQ | 9 points | no calculator |
A DE FRQ shows up most years, usually in the no-calculator part of the exam (Part B).
Typical FRQ Parts
(a) Slope field: draw short segments at the points they list; get the flat ones right, and make positive and negative slopes clearly different.
(b) Tangent line: y − y₀ = slope(x − x₀); use it to estimate y at an x that is close by.
(c) Concavity: find d²y/dx², then say if the estimate is too big or too small.
(d) Solve: separate, integrate, + C, use the starting point, then solve for y at the end.
BC extras: Euler's method steps or logistic facts can replace one of these parts.
Increasing? Say "y is increasing because dy/dx > 0 there," and give the actual value.
Context: explain dy/dt in a sentence with units, like "5 grams per hour at time t = 2."
Constant solution: say "y = 5 works because dy/dt = 0 when y = 5" in words.