AP Calculus AB · Topic 7.1 · Reading guide, about 5 min

Writing equations that describe rates

Turn verbal rate statements into differential equations: proportional growth, Newton cooling, and what k means.

In one minute

A differential equation is an equation that contains a derivative. It describes how a quantity changes instead of stating the quantity itself. Most real change is described this way: you often know what controls the rate long before you know a formula for the amount.

This topic is translation. You read a sentence about a rate and write it as an equation with dydt\frac{dy}{dt} on the left. Later topics solve these equations, but nothing can be solved until it is written correctly.

Key terms

Differential equation
An equation involving an unknown function and one or more of its derivatives, such as dydx=2y\frac{dy}{dx}=2y.
Rate of change
The derivative dydt\frac{dy}{dt}, measured in units of y per unit of t.
Proportional
Two quantities are proportional when one is a constant multiple of the other: a=kba = kb for a fixed number k.
Constant of proportionality
The fixed number k in an equation such as dydt=ky\frac{dy}{dt}=ky. Its sign and size carry the meaning of the model.
Exponential model
A situation where the rate of change of y is proportional to y itself, written dydt=ky\frac{dy}{dt}=ky.
Newton's law of cooling
The rate of change of an object's temperature is proportional to the difference between its temperature and the surroundings: dTdt=k(T−A)\frac{dT}{dt}=k(T-A).
Ambient value
The fixed temperature A of the surroundings. It is where the object levels off.
Order
The highest derivative in the equation. Everything in this topic is first order, with only dydt\frac{dy}{dt} or dydx\frac{dy}{dx}.

Turning words into symbols

Start with the quantity being measured and its variable. Then find the phrase "rate of change of" or "how fast ... is changing": that becomes dydt\frac{dy}{dt} (or dydx\frac{dy}{dx} if the input is x). The words after "is" or "equals" describe the right side.

The word proportional is the key. "The rate of change of y is proportional to y" means dydt=ky\frac{dy}{dt}=ky. "Proportional to the square of y" means dydt=ky2\frac{dy}{dt}=ky^2. "Proportional to the difference between y and 10" means dydt=k(y−10)\frac{dy}{dt}=k(y-10). The constant k appears exactly once and multiplies the quantity described.

Take care with order inside a difference. "Proportional to the difference between the temperature and the room temperature" can be written k(T−A)k(T-A) or k(A−T)k(A-T). Both are correct as long as you interpret k to match, because the two versions have constants of opposite sign.

Common sentences and the equations they produce
StatementEquationComment
The rate of change of y is proportional to ydydt=ky\frac{dy}{dt}=kyGrowth if k > 0, decay if k < 0
A population's growth rate is 3 percent of its current size per yeardPdt=0.03P\frac{dP}{dt}=0.03Pk = 0.03 per year
Temperature changes at a rate proportional to its distance from room temperature AdTdt=k(T−A)\frac{dT}{dt}=k(T-A)k < 0 when T moves toward A
The slope at (x, y) equals the x-coordinate divided by the y-coordinatedydx=xy\frac{dy}{dx}=\frac{x}{y}No constant of proportionality needed
Water leaks out at a rate proportional to the square root of the volume VdVdt=−kV\frac{dV}{dt}=-k\sqrt{V}Minus sign shows loss; k > 0

What the constant k tells you

In dydt=ky\frac{dy}{dt}=ky, the sign of k decides growth or decay. If k>0k>0 and y>0y>0, then dydt>0\frac{dy}{dt}>0 and y increases. If k<0k< 0 and y>0y>0, then y decreases. The size of k sets how quickly. Its units are 1 over the time unit: k=0.03k=0.03 per year means that at every instant the quantity is changing at a rate of 3 percent of its current size per year. (That is slightly different from growing by exactly 3 percent over a full year, which would need k=ln⁡1.03≈0.0296k=\ln1.03\approx0.0296.)

In Newton's law dTdt=k(T−A)\frac{dT}{dt}=k(T-A), a hot object has T>AT>A, so T−A>0T-A>0. The object must cool, so dTdt<0\frac{dT}{dt}< 0, which forces k<0k< 0. A cold object has T<AT< A, so T−A<0T-A< 0 and the object warms, so dTdt>0\frac{dT}{dt}>0. That again forces k<0k< 0. So with the form k(T−A)k(T-A), k is negative whether the object is heating or cooling. If you write k(A−T)k(A-T) instead, k is positive.

Worked example: finding k and using the equation

A cup of coffee at 9090 degrees Celsius sits in a room at 2020 degrees Celsius. Its cooling follows Newton's law, and at this moment the temperature is falling at 2.82.8 degrees Celsius per minute. Find the equation and the cooling rate when the coffee reaches 5050 degrees.

Step 1. Write the model: dTdt=k(T−20)\frac{dT}{dt}=k(T-20), with T in degrees Celsius and t in minutes.

Step 2. Substitute the known moment. The temperature is falling, so dTdt=−2.8\frac{dT}{dt}=-2.8 when T=90T=90. Then −2.8=k(90−20)=70k-2.8=k(90-20)=70k.

Step 3. Solve: k=−2.870=−0.04k=\frac{-2.8}{70}=-0.04 per minute. The sign is negative, matching the cooling idea above.

Step 4. The equation is dTdt=−0.04(T−20)\frac{dT}{dt}=-0.04(T-20). At T=50T=50, dTdt=−0.04(30)=−1.2\frac{dT}{dt}=-0.04(30)=-1.2 degrees Celsius per minute.

Check: the coffee cools more slowly at 50 than at 90 (1.2 versus 2.8). That fits the model, since the difference from the room shrank from 70 to 30.

How it connects

  • Back to 6.8: antiderivatives are how you will eventually undo the derivative in these equations.
  • Forward to 7.2: once an equation is written, you can test whether a proposed function satisfies it.
  • Forward to 7.6: the equation dydt=ky\frac{dy}{dt}=ky is the first one you will solve by separating variables.
  • Forward to 7.8: the equations from this topic become exponential growth, decay and cooling models.

Common mistakes

  • Writing the amount instead of the rate. "The population is growing at a rate of 3 percent of its current size per year" is dPdt=0.03P\frac{dP}{dt}=0.03P, not P=0.03P=0.03. The derivative must appear.
  • Putting k in the wrong place. The constant multiplies the whole described quantity: k(T−A)k(T-A), not kT−AkT-A.
  • Ignoring sign. A leak or cooling needs a negative rate. Check that the sign of your equation matches whether y should rise or fall.
  • Dropping the units. dydt\frac{dy}{dt} has units of y per time unit. In dydt=ky\frac{dy}{dt}=ky or dTdt=k(T−A)\frac{dT}{dt}=k(T-A), k has units of 1 over time; in other forms, such as ky2ky^2, give k whatever units make both sides match.

How it shows up on the exam

  • A verbal setting (population, temperature, a tank, money) asks you to choose or write the differential equation that models it.
  • A statement gives the rate at one moment, and you use it to find the proportionality constant.
  • A free-response part asks you to interpret the sign or meaning of the equation in context, with units.

Check yourself

  1. Write an equation for this statement: the growth rate of a substance equals a constant times the cube of the amount present.
  2. If an iced drink is at 22 degrees Celsius in a 2525 degree room, what sign must dTdt\frac{dT}{dt} have, and what does that say about k in k(T−25)k(T-25)?
  3. In dydt=ky\frac{dy}{dt}=ky, what units does k carry when y is in grams and t is in hours?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.