Educerie · AP · Calculus
AP Calculus AB and BC 7.1
Modeling Situations with Differential Equations
If you know how fast a quantity changes, how do you find the quantity itself?
What you will learn
- Understand that a differential equation links a function to its derivative and has functions as its answers
- Know how to turn words such as proportional, inversely proportional and jointly proportional into a derivative equation
- Understand how the sign of the constant follows from whether the quantity grows or shrinks
- Know that the equation gives the slope or rate at a point, so a slope can be found without solving
You must be able to
- Write a differential equation from a sentence about a rate of change
- Choose the sign of the constant of proportionality and say why
- Calculate the slope at a point from the equation and write the tangent line
- Describe in words what a given equation means, with units
- Decide whether a quantity is rising or falling from the sign of its rate
- Use letters other than x, y and t correctly in a modeled situation
In the exam. Section I multiple choice: pick the differential equation that matches a sentence, or read a short equation and say what it tells you about the quantity. Section II question 3 (shared by AB and BC) often opens with a differential equation set in a real situation. The first parts use the equation directly: find a slope at a point, or say whether a quantity is increasing. A common slip is writing a variable equal to a number, such as where was meant, and leaving out units.
1What a differential equation looks like
An ordinary equation such as has numbers as its answers. A differential equation has functions as its answers.
This equation says: the slope of at any point equals twice the -value there. The functions , and all fit. Topic 7.2 shows how to check that, and Topic 7.4 shows why there are so many.
The right-hand side may use , , both, or neither.
- depends on only.
- depends on only.
- depends on both.
The names change with the situation. A tank volume changing with time gives . A depth gives . Read the letters like any others: the symbol on top is the quantity, the symbol underneath is what it changes with respect to.
2Turning words into an equation
Every model uses the same three steps.
- Name the quantity and the variable it changes with. "The amount of dye in a tank at time " gives .
- Write the rate on the left. "The rate of change of " is .
- Write what it equals on the right. Use the words in the next table.
| The sentence says | It means |
|---|---|
| "is proportional to " | , where is a constant |
| "is inversely proportional to " | |
| "is proportional to the square of " | |
| "is proportional to the square root of " | |
| "is jointly proportional to and " | |
| "is twice the value of less 6" | |
| "the slope at each point equals the sum of its coordinates" |
Why "proportional to " means . Two quantities are proportional when their ratio never changes. If the rate is proportional to , then divided by is always the same number, which we call . Rearranging gives . In words: when there is twice as much, it changes twice as fast. That is the picture behind bacteria that breed in proportion to their number, or a drug that leaves the blood in proportion to how much is there. "Inversely proportional" means the product of the two never changes, so .
The constant is the constant of proportionality. A sentence like "proportional to" gives you without a number. A sentence like "is 3% of" gives you the number: .
The sign of . Decide it from the situation, and say so.
- If the quantity grows, . With , a positive in fits.
- If the quantity shrinks, . Either write with , or write with . Both are correct if you state which.
- Words such as "decreasing at a rate proportional to" put a minus sign in the equation or a negative . The exam accepts either if you are clear.
Worked example 1 (invented). The number of bacteria in a dish grows at a rate proportional to the number present. Write a differential equation for with time in hours.
The units of are "per hour". is in bacteria per hour and is in bacteria, so must be per hour.
Worked example 2 (invented). Water drains from a tank. The depth of the water, in centimeters, falls at a rate proportional to the square root of the depth. Write the equation, with in minutes.
The depth falls, so the rate is negative. Using for the constant:
Worked example 3 (invented). A curve passes through points in the first quadrant. At each point the slope of the tangent line equals divided by . Write the differential equation.
"The slope of the tangent line" is . So:
3Reading an equation back into words
You will also go the other way. An exam may give an equation and ask what it says.
Worked example 4 (invented). The amount of a medicine in a patient's blood, in milligrams, changes with time in hours according to
Read each term.
- : the medicine leaves at a rate of 40% of the amount present each hour.
- : new medicine enters at a constant 20 milligrams per hour.
- The whole right-hand side is the net rate in milligrams per hour.
Now use it. The sign of tells you whether is rising or falling, without solving.
- When : . The amount is increasing.
- When : . The amount is decreasing.
- When : . The amount is not changing at that moment.
Every statement above comes from the equation alone. That is the key skill in this topic.
4Using the equation as a slope
If a differential equation has alone on one side, putting in a point gives the slope of the solution there.
Worked example 5. A function satisfies , and its graph passes through . Find the slope there, and write the tangent line.
The tangent line at is:
Use the tangent line to estimate : .
Look at how the slope was written. It carries the point: . Writing alone is the "variable equals a number" mistake. The slope is at and not everywhere.
Notice also that you never needed . The equation held everything you needed.
5Common situations
Three kinds of sentence appear again and again in this unit.
- "Proportional to the amount present." This gives . It is the exponential model, solved in Topic 7.8. Population growth, decay of a substance and interest compounded continuously all take this form.
- "Proportional to the difference from a target." For example, a tank filling toward a capacity of liters at a rate proportional to the room left: . This is a separable equation, solved in Topic 7.7.
- "Jointly proportional to and to ." This gives , the logistic model. It is on the BC exam only and is the subject of Topic 7.9.
You need to recognize the form from the words. You are not asked to derive these models from first principles.
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.