AP-CALCBC-7.1-7.2

U7.1 Modeling and Verifying Differential Equations

Learn to turn verbal rate-of-change statements into differential equations and verify solutions by substitution — AP Calculus BC Unit 7.1-7.2.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on U7.1 Modeling and Verifying Differential Equations, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

Every differential equation begins as a story about how something changes. A population grows, a cup of coffee cools, a savings account earns interest — each sentence hides a derivative. In this lesson you will learn two closely linked skills: translating a verbal description of a rate of change into a differential equation, and verifying that a proposed function actually solves a given differential equation.

These are foundational moves for all of Unit 7. Before you ever draw a slope field, run Euler's method, or separate variables, you must be able to read the English, spot the derivative, and write the equation. Verification then gives you a way to check any candidate solution — including ones you or the AP graders produce later.

Translating Words into Derivatives

A differential equation relates a function to its derivative. The phrase to watch for is rate of change: the rate of change of a quantity yy with respect to time is dydt\frac{dy}{dt}. Your job is to build an equation of the form dydt=(expression)\frac{dy}{dt} = (\text{expression}) from a sentence.

Work phrase by phrase. The subject of the sentence names the quantity (yy, PP, TT, etc.). The words after "rate of change" or "changes" become the left side. Everything describing what the rate equals becomes the right side.
English phraseSymbol
rate of change of yydydt\frac{dy}{dt}
proportional to yykyky
proportional to the square of yyky2ky^2
inversely proportional to yyky\frac{k}{y}
proportional to the product of yy and (Ly)(L-y)ky(Ly)ky(L-y)
difference between yy and a constant AA(yA)(y-A)
The word "proportional" always introduces an unknown constant kk. Do not drop it. "Directly proportional to" means multiply by kk; "inversely proportional to" means divide. Watch for compound descriptions such as "proportional to the product of the amount present and the amount remaining," which produces the logistic form ky(Ly)ky(L-y) you will study in U7.9.

Common Modeling Patterns

Certain phrasings recur so often on the exam that recognizing them saves time. "The rate of change is proportional to the amount present" gives dydt=ky\frac{dy}{dt} = ky, the exponential pattern. "The rate of change is proportional to the difference between the temperature and the surrounding temperature" gives Newton's cooling form dTdt=k(TTs)\frac{dT}{dt} = k(T - T_s).

Pay attention to signs. If a quantity is decreasing — a substance decays, an object cools toward a lower temperature — the constant of proportionality will be negative, or the difference will be written so the sign works out. For cooling, T>TsT > T_s means TTs>0T - T_s > 0, and since temperature is falling, kk must be negative so that dTdt<0\frac{dT}{dt} < 0.

A frequent misconception is confusing the quantity with its rate. "The population is 500" is an initial condition, P(0)=500P(0) = 500, not part of the differential equation. "The population grows at 3% per year" describes the rate: dPdt=0.03P\frac{dP}{dt} = 0.03P. Keep the equation (the relationship among derivatives) separate from the initial condition (a single value). AP problems often hand you both and expect you to label each correctly.

Verifying a Function Is a Solution

To verify that a function y=f(x)y = f(x) solves a differential equation, you substitute the function and its derivatives into the equation and check that both sides are identically equal — equal for all xx in the domain, not just at one point.

The procedure has three steps. First, differentiate the candidate function to get every derivative that appears in the equation. Second, substitute those expressions into the differential equation. Third, simplify both sides and confirm they match. If the equation also comes with an initial condition, plug in the given input to check that too.
StepAction
1Compute yy' (and yy'' if needed)
2Substitute yy and yy' into the DE
3Simplify; confirm LHS == RHS for all xx
A common error is checking only that the point satisfies the equation at a single value. Verification of a solution requires an identity. Another pitfall: when the equation is written in a form like dydx=xy\frac{dy}{dx} = xy, you must replace yy with the actual function everywhere it appears on the right side, then compare to the derivative you computed on the left.

How the AP Exam Tests This

On the multiple-choice section, expect prompts such as "Which of the following differential equations models the situation?" where you match a sentence to an equation, and "Which function is a solution to dydx=\frac{dy}{dx} = \dots?" where you must differentiate each option mentally or by quick work.

On free-response questions, modeling usually appears as the opening line of a longer problem: "The rate at which water leaks from a tank is proportional to the square root of the volume." You write dVdt=kV\frac{dV}{dt} = k\sqrt{V} and then proceed to later parts (slope fields, separation of variables, Euler's method). A correct equation here earns setup points and sets up every part that follows, so accuracy is high-value.

Graders reward showing the substitution explicitly when verifying. Write out yy', substitute, and state the conclusion in words: "Since both sides equal 2xex22xe^{x^2}, the function satisfies the equation." Do not skip to "yes." Also, remember that a differential equation generally has a family of solutions differing by a constant; verifying one particular member does not require finding the whole family — that comes in U7.6.

Key terms

Differential equation.
An equation relating a function to one or more of its derivatives, such as dydx=ky\frac{dy}{dx} = ky.
Rate of change.
The derivative of a quantity with respect to an independent variable, typically dydt\frac{dy}{dt} for change over time.
Proportional.
Related by multiplication by a constant kk; "y is proportional to x" means y=kxy = kx, introducing an unknown constant.
Constant of proportionality.
The unknown constant kk that appears whenever a rate is described as proportional to something.
Initial condition.
A given value of the function at a specific input, such as y(0)=5y(0) = 5, used to identify a particular solution.
Solution to a DE.
A function that, together with its derivatives, satisfies the differential equation as an identity over its domain.
Verification.
The process of substituting a candidate function and its derivatives into a differential equation to confirm both sides are equal.
Newton's Law of Cooling.
The model dTdt=k(TTs)\frac{dT}{dt} = k(T - T_s), where an object's temperature changes proportionally to its difference from the surroundings.

Worked example

A tank contains a chemical whose amount AA (in grams) changes over time tt (in hours). The rate of change of the amount is proportional to the difference between 200 grams and the current amount. Initially the tank holds 50 grams. (a) Write a differential equation modeling the situation. (b) Verify that A(t)=200150ektA(t) = 200 - 150e^{-kt} is a solution and satisfies the initial condition.
Part (a): The subject is the amount AA, so the left side is dAdt\frac{dA}{dt}. "Proportional to the difference between 200 and the current amount" becomes k(200A)k(200 - A). The model isdAdt=k(200A).\frac{dA}{dt} = k(200 - A).The initial condition is A(0)=50A(0) = 50.

Part (b): First differentiate the candidate A(t)=200150ektA(t) = 200 - 150e^{-kt}. Using the chain rule,dAdt=150(k)ekt=150kekt.\frac{dA}{dt} = -150 \cdot (-k)e^{-kt} = 150k e^{-kt}.Now compute the right side of the DE by substituting AA:k(200A)=k(200(200150ekt))=k(150ekt)=150kekt.k(200 - A) = k\big(200 - (200 - 150e^{-kt})\big) = k(150e^{-kt}) = 150k e^{-kt}.Both sides equal 150kekt150k e^{-kt}, so the function satisfies the differential equation for all tt.

Finally check the initial condition: A(0)=200150e0=200150=50A(0) = 200 - 150e^{0} = 200 - 150 = 50. This matches, so the function is a valid particular solution to the modeled problem.

Practice questions

The rate at which a rumor spreads through a school of 800 students is proportional to the product of the number of students who have heard it, NN, and the number who have not. Which differential equation models this situation?
  1. dNdt=kN\frac{dN}{dt} = kN
  2. dNdt=k(800N)\frac{dN}{dt} = k(800 - N)
  3. dNdt=kN(800N)\frac{dN}{dt} = kN(800 - N)
  4. dNdt=kN(800N)\frac{dN}{dt} = \frac{k}{N(800 - N)}

Answer: dNdt=kN(800N)\frac{dN}{dt} = kN(800 - N)

"Product of the number who have heard it and the number who have not" means multiply NN by (800N)(800 - N). "Proportional to" attaches the constant kk. The result dNdt=kN(800N)\frac{dN}{dt} = kN(800 - N) is the logistic pattern. The first choice ignores the unheard group, the second ignores NN itself, and the fourth wrongly uses inverse proportionality.
Show whether y=3ex2y = 3e^{x^2} is a solution to the differential equation dydx=2xy\frac{dy}{dx} = 2xy.

Answer: Yes, it is a solution.

Differentiate: dydx=32xex2=6xex2\frac{dy}{dx} = 3 \cdot 2x e^{x^2} = 6x e^{x^2}. Now substitute y=3ex2y = 3e^{x^2} into the right side: 2xy=2x(3ex2)=6xex22xy = 2x(3e^{x^2}) = 6x e^{x^2}. Both sides equal 6xex26x e^{x^2} for all xx, so the function satisfies the equation and is a solution. The key is checking the identity everywhere, not at a single point.
A cup of coffee at 90°C cools in a room kept at 20°C. Its temperature TT decreases at a rate proportional to the difference between its temperature and room temperature. Write a differential equation and an initial condition for T(t)T(t), and state the sign of the proportionality constant.

Answer: dTdt=k(T20)\frac{dT}{dt} = k(T - 20), with T(0)=90T(0) = 90 and k<0k < 0.

The rate is dTdt\frac{dT}{dt}, proportional to the difference (T20)(T - 20), giving dTdt=k(T20)\frac{dT}{dt} = k(T - 20). Since the coffee is hotter than the room, T20>0T - 20 > 0, but the temperature is falling so dTdt<0\frac{dT}{dt} < 0; therefore kk must be negative. The initial temperature gives T(0)=90T(0) = 90.

FAQ

What's the difference between a differential equation and an initial condition?
A differential equation describes the relationship between a function and its derivatives — how fast something changes. An initial condition is a single known value of the function, like y(0)=5y(0) = 5. The equation alone has a whole family of solutions; the initial condition pins down one specific member.
How do I know when to include the constant k?
Whenever a problem says a rate is "proportional to" something, you must introduce a constant of proportionality kk. "Directly proportional to xx" means multiply by kk (kxkx); "inversely proportional to xx" means divide (kx\frac{k}{x}). Never leave kk out — it is part of the model.
When verifying a solution, is it enough to check one point?
No. A function is a solution only if it satisfies the differential equation as an identity — true for every xx in the domain. You substitute the function and its derivative, simplify both sides, and confirm they are algebraically equal, not just equal at one input.
Do I need to solve the differential equation to verify a solution?
No, and that is the point. Verification only requires differentiating the given candidate function and substituting into the equation. Actually solving the equation (for example by separation of variables) is a separate skill covered later in the unit.

Learn this with a teacher, not a page

The Crimsora tutor teaches U7.1 Modeling and Verifying Differential Equations live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.