How do I turn a statement about a changing quantity into a differential equation?
Turn a sentence about a rate into a differential equation, find the constant from one known rate, and read the rate at any amount without solving.
A differential equation is an equation with a function and its derivative, such as .
“The rate of change of with respect to ” is : the quantity on top, the variable on the bottom.
Proportional to means ; inversely proportional to means . Whatever comes after “proportional to” goes in, whole.
In minus out: rate (rate in) (rate out). With , “decreasing” puts a minus in front; flipping a gap such as to flips the sign of .
No solving needed: put one known amount and its rate in to find , then put the new amount in. The rate is read from the amount right then.
Inversely: the amount goes in the bottom
Common mistake Decreasing at a rate inversely proportional to : .
Correction Inversely puts it in the bottom: , .
Which way the gap points
Common mistake A pie cools toward : with .
Correction Cooling while needs a negative rate: , or , .
The sign word carries the sign
Common mistake : “the amount is decreasing at mg per hour.”
Correction “The amount is decreasing at mg per hour.” Decreasing already says minus.
A rule for the slope
Here's the room: seventy-five degrees Fahrenheit, the dashed line. The soda starts at thirty-five degrees Fahrenheit, right out of the fridge. At first it warms fast: look how steep the curve starts. Later, it warms more slowly. And near seventy-five, it's barely creeping up, and the curve is almost flat.
So it's fast at first, and slow near seventy-five degrees. Why? Because fast or slow depends on one thing: the gap between the soda and the room. Here are the numbers in our model.
At the start, the gap is forty degrees, and the soda warms at four degrees per minute. That's the slope of the tangent line. Later, at fifty-five degrees, the gap is twenty, and it warms at two degrees per minute. Again, that's the slope of the tangent line. See the pattern? Cut the gap in half, and the warming rate gets cut in half too.
Half the gap, half as fast. So our model says: the rate is zero point one times the gap. Four is zero point one times forty, two is zero point one times twenty, and the model assumes it holds at every temperature. In calculus, the rate is d T d t, with t in minutes. It's zero point one times the gap, and the gap from T up to seventy-five is seventy-five minus T.
Let's test the rule at one more temperature: sixty-five degrees. The gap to seventy-five is ten. So zero point one times ten gives one degree per minute. The tangent line is much flatter now. Wait, where's the t?
Notice there's no clock and no formula for T, only the temperature right now. Read a thermometer, plug in T, and the rule gives you the slope right where you are. An equation with a derivative in it, a rule that gives the slope from right where you are, has a name: a differential equation.
Words to an equation
In AP language, a rule like ours comes down to one phrase. The rate is proportional to the gap. Proportional to means k times, just like y equals k x in algebra. For our soda, k is zero point one. What if bigger means slower?
Think of ice on a pond, L centimeters thick. At two centimeters, it grows two centimeters a day. At four, only one a day. Thicker ice grows slower, because the ice itself keeps the cold out. Rate times thickness: two times two is four, one times four is four.
Our model keeps that product at four: the rate, times L, is always four. So d L d t equals four over L, with t in days. In AP language, that's inversely proportional to L: the L sits on the bottom. So here's the dictionary. Proportional to Q means k times Q.
Inversely proportional to Q means k divided by that same Q. We write it with k on top and Q on the bottom. And the rate of change of y with respect to x is d y d x. The variable after with respect to goes on the bottom.
The sign
Back to our warming soda for a second, because there's one more thing to check: the sign. Same soda, but a friend writes k times the quantity T minus seventy-five. Is k still zero point one? It feels like it should be. Look at the picture. At fifty-five degrees, T minus seventy-five is negative twenty.
But the soda is warming, so the slope is plus two. So k times negative twenty is two, and k is negative zero point one.
Flip the gap, and k flips its sign. Same soda, same rule. On the AP exam, you'll read sentences like this: y is decreasing at a rate proportional to y, and k is a positive constant. Then the minus sign goes in front: d y d t equals negative k y. y stands for an amount, so it's positive.
Decreasing means a negative slope, and k is positive, so the minus has to be written. An AP question about a changing amount can start with one sentence: the rate is proportional to something. Your job is to write the equation. Translate the words, then check the sign.
Example 1: a drug drip
Example one, A. P. style. A drug enters a patient's body through an IV at a constant rate of four milligrams per hour. At the same time, the body removes the drug at a rate proportional to A, the amount in the body, in milligrams. Part a: write a differential equation for d A d t. Part b: when A is twenty, A is increasing at two milligrams per hour.
Find the constant, the constant of proportionality.
Part c: find d A d t when A is fifty, and explain what it means. Here are axes for the two rates. The plan: rate in, minus rate out. Then find k. Then plug in A.
Part a starts with what comes in: four, a plain number, because the drip is constant. Out goes k times A, because it's proportional to A, the amount. Those are rates, not amounts, so d A d t equals four, minus k A, because going out gets a minus, with k a positive constant. That's part a, with t in hours, and there's nothing to solve.
Part b says that when A is twenty, A is increasing at two, so d A d t is two. Four milligrams an hour come in, and A goes up by two. Common sense tells us that two must be going out. What goes out is k times A: k times twenty. So twenty k is two, and k is one tenth.
That k is the constant of proportionality. So the equation is d A d t equals four, minus A over ten. Right. Before I do part c, put fifty into that equation yourself, and work out what the answer means. Part c has us plug in fifty for A, then say what the number means. Fifty over ten is five.
So the body now removes five milligrams an hour, more than the four coming in. Out beats in. So four minus five is negative one. So what does it mean? Say it as a sentence: when there are fifty milligrams in the body, the amount of drug is decreasing.
How fast? One milligram per hour. When, which way, how fast: that's what a question like this wants to hear. And it's decreasing at one, not at negative one: the word decreasing already carries the minus. Try another in-minus-out problem in your workbook, and set up the equation on paper before you compute anything.
Common mistake: which variable goes in
So which variable goes in? This is where people lose points. Read this sentence: V is decreasing at a rate proportional to the square root of V. Out of habit, this answer plugs in t, the time, instead of V. Or it forgets k.
Look right after proportional to: the square root of V. So d V d t equals negative k, times the square root of V, with k positive, and the minus is for decreasing. Whatever follows proportional to goes in, times k.
Example 2: k from one point
Example two, multiple choice. The rate of change of y with respect to x is proportional to the product of x and y. A solution curve passes through the point one, two, where its slope is six. A solution curve is just a curve that follows the rule; there's nothing to solve. For the same equation, what is d y d x at the point two, three?
It's the same rhythm: words to an equation, then k from the first point, then the new point. The rate of change of y with respect to x is d y d x. Proportional to the product of x and y means k x y. At one, two, the slope is six, and slope is d y d x. Six equals k times one times two, so k is three.
Now plug in two, three: three times two times three is eighteen. Not six: that's the trap in A. k stays three, but the slope is worked out again from the new point's x and y. So the answer is D, eighteen. There's one more in your workbook: k from the first point, then use it at the next.
Worked examples
Example 1
A drug enters a patient's body through an IV at a constant rate of mg per hour. The body removes the drug at a rate proportional to , the amount of the drug in the body, in mg. (a) Write a differential equation for . (b) When , is increasing at mg per hour. Find the constant of proportionality. (c) Find when . What does it mean?
Hint
Rate in minus rate out. Find before you use .
Answer and solution
: when mg, the amount is decreasing at mg per hour
(c) When A = 50 mg, the amount of the drug is decreasing at 1 mg per hour.
Example 2
The rate of change of with respect to is . A solution curve passes through , where its slope is . For the same equation, what is at the point ?
Hint
Find from the first point, then use it at the next.
In a town of people, a rumor spreads. The rate at which , the number of people who have heard it, increases is proportional to the number of people who have not heard it. If is a positive constant, which differential equation models ?
Hint
Who has not heard yet? Write that amount first.
Answer and solution
Answer B.
Answer B.
Common mistake Using N (the people who heard) instead of 1000 - N.
The amount of a chemical is decreasing at a rate inversely proportional to the square of . If is a positive constant, which differential equation describes ?
Hint
Inversely puts in the bottom. Decreasing puts a minus in front.
Answer and solution
Answer B.
Answer B.
Common mistake Putting Q^2 on top for 'inversely', or dropping the minus for 'decreasing'.
A baked potato is placed in a room at degrees Fahrenheit. Ana models its temperature with , and Ben with . When , the potato is cooling at degrees per minute. Which is true?
Hint
Cooling at degrees per minute means . Put into each model.
Answer and solution
Answer B.
Answer B. Flipping the gap flips the sign of the constant.
Common mistake Giving both constants the same sign: flipping the gap flips the sign of k.