AP® CALCULUS AB & BC · UNIT 7
Modeling Situations with Differential Equations
Turn verbal rate statements into mathematical models. Define variables, check signs and units, and distinguish a quantity from its rate of change.

1. Translate a rate relationship into an equation
A differential equation relates an unknown function to one or more of its derivatives. It describes how a quantity changes. Topic 7.1 asks you to translate verbal information into a differential equation; solving the equation is a separate task.
A common first-order form is
Here is the independent variable and is the changing quantity. An equation such as is also a differential equation even though the undifferentiated quantity does not appear on the right.
The derivative is an instantaneous rate; is an average rate over an interval. A quantity and its rate have different units.
2. Words, signs and common model families
| Words | Model | Interpretation |
|---|---|---|
| “Increases at a constant rate” | c>0; the rate does not depend on the current quantity. | |
| “Grows at a rate proportional to its amount” | For a positive amount, take . | |
| “Decays at a rate proportional to its amount” | Use in this sign convention. | |
| “Changes toward a target value” | For , the sign depends on the gap from . | |
| “Accumulation equals input minus output” | Both rates must measure the same quantity per unit time. |
“Proportional to” requires a constant multiplier. A single starting amount does not determine that constant. For proportional and target-gap models, has reciprocal-time units. For example, if time is in minutes, its units are .
Cooling and heating: choose one consistent sign convention
This is equivalent to on the right with the same positive constant. Above the ambient temperature , the object cools; below it, the model predicts warming. Writing instead is valid with . Do not use the same stated sign for both constants.
Common model families
The signed form permits for proportional growth and for proportional decay of a positive amount. Its familiar solution assumes ; solving it belongs later in Unit 7. The target-gap model , with , can describe approach toward a limiting value under appropriate assumptions.
BC preview · Preserve the logistic model
Logistic modeling is developed in Topic 7.9, a BC-only topic. One common form is
Here is the carrying-capacity equilibrium, and has reciprocal-time units. For , the rate is positive; at , it is zero; for , it is negative. Carrying capacity is not a hard upper bound on every possible initial value.
3. Functions, initial values and terminology
| Term | Meaning |
|---|---|
| Independent variable | The input, often time , including its units. |
| Dependent variable | The changing quantity, such as population , amount or temperature . |
| Solution | A differentiable function that satisfies the equation on an interval. |
| General solution | A family of solutions, often written with an arbitrary constant . |
| Particular solution | A specified member of the family; numerical constants may remain, but no arbitrary constant is left. |
| Initial condition | A value such as , stated at a particular input. |
| Initial value problem | A differential equation together with an initial condition. |
| Order | The highest derivative appearing in the equation. |
For example, is a family satisfying . With , the member satisfies both the equation and the initial value. Checking a function is developed in Topic 7.2; an initial condition supplies a value, rather than a rate.
Background on order: the equation is second order. More general notation can be written as
The main modeling work in this AP topic concerns first-order equations. Higher-order notation is background, not an added requirement to solve these equations here.
4. A five-step modeling process
- Define the variables. State the independent variable, the quantity being modeled, and their units.
- Identify the requested rate. Decide whether the story concerns an amount, a temperature, a position or a velocity. Choose the corresponding derivative.
- Translate the relationship. Distinguish a constant rate, proportionality, a target difference, and a net input-output balance.
- Determine signs and constants. Check a physically meaningful state. Use any measured rate to determine a coefficient; do not invent a measurement.
- Add the initial condition and assumptions. State any given starting amount, mixing assumption, fixed environment or valid time interval. Check that both sides have matching units.
A complete modeling answer can consist of a differential equation, its initial condition and an explanation. Only calculate a solution function when the question also asks for one.
5. Eight colorful worked examples
Example 1 · Translate proportional population growth
A bacteria population grows at a rate proportional to its current size and initially contains bacteria. Write the model, taking in hours.
1 · Define the population and its rate
Let be the population in bacteria. Its rate has units . “Proportional to its size” means that the rate is a constant times .
2 · Include the initial value and sign
Use , with units , while this growth assumption is appropriate. The starting population alone does not determine .
Example 2 · Model cooling with a consistent sign
Coffee initially at is placed in a room held at . Its temperature changes at a rate proportional to its difference from room temperature. Set up the model with in minutes.
1 · Use the temperature gap
Let be the coffee temperature in degrees Celsius. Above room temperature, the gap is positive but the rate must be negative.
2 · Write the equation and initial condition
The coefficient has units . A constant room temperature and a single effective coffee temperature are model assumptions. An equivalent signed-constant form is with .
Example 3 · Balance salt entering and leaving a well-mixed tank
A tank contains gallons of well-mixed brine and initially pounds of salt. Pure water enters at gallons per minute, and mixture leaves at the same volume rate. Model the salt amount , with in minutes.
1 · Check volume and concentration
Equal volume inflow and outflow keep the liquid volume at gallons. The salt concentration is pounds per gallon. Pure-water inflow contributes no salt.
2 · Compute the salt outflow rate
Concentration times volume flow gives pounds of salt per minute. The well-mixed assumption makes the outlet concentration equal to the tank concentration.
3 · Subtract output from input
For a positive salt amount, the rate is negative. At , the instantaneous rate is pounds per minute. The volume flow of gallons per minute is not itself a salt-mass rate.
Example 4 · Distinguish constant net inflow from proportional growth
A water tank initially contains liters. Water enters at liters per minute and leaves at liters per minute. Write a model for its volume .
1 · Balance rates of the same quantity
Each term has units . The net rate is constant; it does not depend on the volume already present.
2 · Add the starting volume and domain assumption
The model applies while the stated flows are maintained and the tank is neither empty nor full. The derivative is ; the initial volume is . These are different pieces of information.
Example 5 · Determine a proportionality constant from a measured rate
A population grows proportionally to its size. When bacteria, its instantaneous rate is bacteria per hour. Determine the model and the rate when .
1 · Use the measured rate to find the constant
The units of are . A measured amount and its simultaneous rate supply information that an initial amount alone does not.
2 · Write the model and evaluate a new state
The new rate is bacteria per hour. If the observed state is the starting time, append .
Compare · Constant addition is a different assumption
The model also has rate when , but it keeps that rate at . One shared observation does not make the two models equivalent.
Example 6 · Use a cooling measurement to calibrate the model
For the coffee in Example 2, the initial instantaneous rate is degrees Celsius per minute. Determine and predict the rate at .
1 · Substitute the initial temperature and its rate
The units are . The coefficient is positive; the cooling sign is already in the equation.
2 · Evaluate the rate at the specified temperature
At , the temperature is decreasing at degrees Celsius per minute. This is a rate prediction at a given state, not a calculation of when the coffee reaches that temperature.
Example 7 · Model a rate that changes with time
A tank initially holds liters. At time minutes, the inflow rate is liters per minute and the outflow is liters per minute. Model the volume .
1 · Subtract the time-dependent rates
The numerical expression uses in minutes. Dimensionally, the coefficient of has units , while the constant rate terms have units .
2 · Test the signs at useful times
At , the volume decreases at liters per minute. At , the net rate is zero. At , the net rate is liters per minute. Water can be flowing in even while the total amount is decreasing.
Use the model only for while the prescribed flows hold and the tank remains within its capacity.
Example 8 · Distinguish a model from a proposed solution · Topic 7.2 preview
The existing verification example asks whether satisfies . Check both sides without solving a new equation.
1 · Differentiate the proposed function
2 · Evaluate the right side using the same function
The expressions agree for every real , so this function is a solution. It also has , if that initial condition is specified.
The differential equation describes a rate relationship; the particular function supplies values as well. Verification continues in the next topic.
6. Read rate-versus-state graphs
These are rate-versus-state graphs. Their vertical coordinates are derivative values, not population or temperature values. The curves are plotted directly from the equations; no solution curve is being assumed.
Constant and proportional population rates
Temperature determines the signed rate
The axes use the labeled state and rate units with independent scales. Use the coordinates and units to interpret a slope or a rate; visual angle alone does not determine a physical rate.
7. Eight practice questions with complete solutions
Problem 1
Assume a positive population undergoes continuous proportional decay with an instantaneous relative rate of per year. Model with in years.
Show solution 1
Solution
The coefficient has units , and no initial population was supplied. This preserves the original percentage-decay example with an explicit continuous-rate assumption. A percentage loss reported only over one full year does not by itself specify an instantaneous differential-equation model.
Problem 2
An object initially at is placed in a freezer held at . Its temperature changes proportionally to the difference from the freezer temperature. Write the model.
Show solution 2
Solution
Specify time units when using a numerical coefficient. The alternate form uses , a different sign convention.
Problem 3
An account earns interest at a continuous annual rate of . Write a model for the balance , with in years.
Show solution 3
Solution
The rate of interest accumulation is proportional to the balance; the coefficient has units . No initial balance was given.
Problem 4
The rate of change of velocity is proportional to velocity. Let be seconds and be velocity in meters per second. Set up the equation.
Show solution 4
Solution
The derivative is acceleration, with units , and has units . The wording alone does not specify the sign of . If a model explicitly describes resistance opposing velocity, a positive resistance coefficient would instead appear with a minus sign.
Problem 5
A well-mixed tank has a constant volume of liters. Solution containing grams of salt per liter enters at liters per minute; mixture leaves at liters per minute. Initially there are grams of salt. Model .
Show solution 5
Solution
The salt input rate is grams per minute. The output rate is grams per minute.
The initial net rate is grams per minute. Well-mixed output and equal volume flows are necessary assumptions.
Problem 6
A population increases proportionally at an instantaneous relative rate of per year, while individuals per year are removed. Initially the population is . Write its model and initial net rate.
Show solution 6
Solution
The initial net rate is individuals per year. This is proportional growth combined with a fixed removal rate, not pure proportional growth. Apply it only where the population model remains physically meaningful.
Problem 7
A quantity moves toward a target of units at a rate proportional to the remaining gap. Initially , and the initial rate is units per hour. Determine its model.
Show solution 7
Solution
The coefficient has units . At , the predicted rate is zero.
Problem 8
An amount is measured in liters, and is in minutes. The rate is said to be proportional to the amount, with measured in . Is the correct model?
Show solution 8
Solution
No. Proportionality to the amount gives
Its right side has units . With the stated units of , the proposed quadratic right side would have units , which do not match the derivative. A model proportional to the square would be a different verbal assumption and require different coefficient units.
8. Common mistakes and AP-style explanations
- Differentiate the intended quantity. Amount, concentration, volume and temperature require different definitions. A flow of liquid is not automatically a flow of dissolved salt.
- Keep value and rate separate. The condition supplies a population, not a rate. A derivative needs amount-per-time units.
- Include the proportionality constant. Check whether the wording means proportional to the amount, its square, or a difference. One initial value alone does not calibrate a rate constant.
- State the sign convention. With a positive cooling coefficient, write the minus sign for a positive temperature gap. Test a state above and below the ambient temperature.
- Use a net balance. Input and output must refer to the same quantity and units before subtracting them.
- State assumptions and restrictions. Examples include well-mixed contents, constant surroundings, no overflow, nonnegative amounts and a time interval over which the stated relationship is reasonable.
- Write the given initial condition. Do not invent starting data. If verifying a proposed function, check the equation and any supplied initial condition separately.
- Answer the modeling question asked. A correct setup does not require a closed-form solution unless that is requested. A successful fit or a plausible curve alone does not prove that a real-world model will hold indefinitely.
A clear AP-style response defines the variables, gives the equation and initial condition, and explains the proportionality, sign or input-output relationship. Units and a test state make that explanation checkable.
9. Questions about differential-equation models
What is the difference between a differential equation and its solution?
The equation states a relationship involving derivatives. A solution is a function satisfying that relationship on an interval. A constant function can also be a solution when the equation permits zero rate.
Do I need to solve the equation in Topic 7.1?
This topic focuses on translating verbal information into a derivative model. Solving, verifying functions and interpreting slope fields are developed in later topics. Follow the particular task rather than solving automatically.
How do I choose a growth or decay sign?
Define the quantity and examine the stated relationship. For a positive amount, proportional growth has a positive rate and proportional decay a negative rate. A target-gap model can change sign depending on whether the amount is below or above the target.
Why can two cooling formulas use different signs for the constant?
The form uses . The form uses . They agree when ; using the same sign for both constants would change the prediction.
Does an initial value determine the rate constant?
Usually not by itself. A starting amount and a simultaneous measured rate can determine a proportionality coefficient, as shown in Examples 5 and 6. Otherwise leave an unspecified coefficient in the model.
Why does mixing matter in a tank model?
Well-mixed contents let the outlet concentration equal total solute amount divided by tank volume. Multiply concentration by the volume outflow rate to obtain the solute output rate. If the volume changes, use that changing volume in the concentration.
Is logistic growth required as core Topic 7.1 content?
Topic 7.1 is shared AB and BC modeling content. The preserved logistic model is labeled as a BC preview for Topic 7.9. Its carrying capacity is an equilibrium of the model, not a universal bound on every initial condition.
10. Continue through Unit 7
Continue to Topic 7.2: verifying solutions, then Topic 7.3: sketching slope fields. Topic 7.8: exponential models develops proportional growth and decay, while Topic 7.9: logistic models is BC only.