Lesson 7.1 · Differential Equations
Modeling with differential equations
Many real situations are easier to describe by how fast something changes than by a formula for the thing itself. A population grows faster when there are more organisms; hot coffee cools faster when it is much hotter than the room. A differential equation captures a rule like that in symbols, and learning to write and read one is the first step toward solving it.
What a differential equation is
Definition
Differential equation
A differential equation is an equation that involves an unknown function and one or more of its derivatives. For example,
The order of a differential equation is the highest derivative that appears. The first two above are first order; the third is second order.
Notice what is different from the equations you solved in algebra. In , the unknown is a number. In , the unknown is a whole function , and the equation tells you how that function's rate of change relates to its current value.
In AP Calculus AB, almost every differential equation you meet is first order and written in the form
Translating words into a differential equation
Word problems describe rates in sentences. The key vocabulary is the word proportional.
- " is proportional to " means for some constant .
- " is inversely proportional to " means .
- "The rate of change of with respect to " means .
Put those together and you can translate almost any statement.
| Statement | Differential equation |
|---|---|
| The rate of change of with respect to is proportional to . | |
| The rate of change of is proportional to the square root of . | |
| The rate of change of is inversely proportional to . | |
| The rate of change of is proportional to the difference between and 70. | |
| The rate of change of is proportional to the product of and . |
The constant is called the constant of proportionality. Its sign carries meaning: if the quantity is growing, the rate is positive; if it is shrinking, the rate is negative. Many textbooks write a decreasing model with an explicit minus sign, like with , so the sign is visible at a glance.
Reading a model
A differential equation is a rule that gives the rate of change of at every moment from the current values of and .
- Plug in the current values to get the instantaneous rate, with units of (-units) per (-unit).
- means is increasing at that moment; means it is decreasing.
Worked example: Translating a statement
A town's population grows at a rate proportional to the population. When people, the population is growing by 600 people per year. Write a differential equation for , including the value of the constant.
Solution. "Rate proportional to the population" gives . Use the given moment to find :
So , with in years. The model says the town grows by 3% of its current size per year, at every instant.
Newton's law of cooling
A classic model says that an object cools (or warms) at a rate proportional to the difference between its temperature and the temperature of its surroundings. If is the object's temperature and is the constant ambient (room) temperature, then
Check that the signs make sense. If the object is hotter than the room, , so and it cools. If the object is colder than the room, , so and it warms up. And the bigger the gap, the faster the change.
Worked example: Evaluating a rate
A cup of tea is poured at F in a room kept at F. Its temperature , in degrees Fahrenheit, satisfies , where is in minutes.
(a) How fast is the tea cooling when it is poured?
(b) What is the temperature of the tea at the moment it is cooling at F per minute?
Solution. (a) At :
The tea is cooling at F per minute (the rate of change is degrees per minute).
(b) "Cooling at 3 degrees per minute" means :
Using the equation to describe behavior
You can learn a lot from a differential equation before solving it. Since the right side tells you the sign of the derivative, it tells you when the quantity rises and falls.
Worked example: Where is the solution increasing?
A fish population (in hundreds) is modeled by for . For which population values is the population increasing? What happens when ?
Solution. For , the factor is positive, so the sign of matches the sign of .
- If , then , so and the population is increasing.
- If , then and the population is decreasing.
- If , then : the population is not changing at all. A population of 800 fish stays at 800.
A value of that makes for all , like above, gives a constant solution called an equilibrium solution. You will see these again when you study slope fields.
Common mistake
Don't confuse the quantity with its rate. In , the number 70 is a temperature, and plugging in gives a rate ( degrees per minute), not a temperature. Always ask whether the question wants or , and give units that match.
Tip
To check a translation, test the sign. If the story says the quantity is shrinking, make sure your equation produces a negative for realistic values of .
Practice
The rate of change of a quantity with respect to time is inversely proportional to the square of . Which differential equation models this situation, where is a constant?
A population satisfies , where is in years. At what rate, in organisms per year, is the population growing when ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A metal rod heated to C is placed in a room kept at C. The rod's temperature changes at a rate proportional to the difference between and the room temperature. Which equation models , where is a positive constant?
The temperature of a bowl of soup, in degrees Celsius, satisfies , where is in minutes. Find when .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A quantity satisfies . For which values of is increasing?
Water drains from a tank so that the volume , in liters, satisfies , where is in minutes. What is the volume at the moment the water is draining at 10 liters per minute?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A quantity changes at a rate proportional to . When , . Find when .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.