| Study Guides
AP · Modeling situations with differential equations · 14 min read · Updated 2026-05-10

Modeling situations with differential equations — AP Calculus BC Study Guide

For: AP Calculus BC candidates sitting AP Calculus BC.

Covers: Translating verbal contextual descriptions to differential equations, modeling exponential growth/decay, Newton’s Law of Cooling/Heating, logistic population growth, mixing problems, and motion scenarios for AP exam questions.

You should already know: Derivative as a rate of change, basic algebra for equation setup, chain rule for composite functions.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus BC style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Modeling situations with differential equations?

A differential equation (DE) is any equation that contains one or more derivatives of an unknown function. Modeling with DEs means translating real-world or abstract scenarios about changing quantities into this mathematical form, and it is the mandatory first step before solving or analyzing any DE problem. According to the AP Calculus BC Course and Exam Description (CED), this topic is a foundational skill for 6-12% of the entire differential equations unit, so it appears in both multiple-choice (MCQ) and free-response (FRQ) sections, almost always as the opening step of a longer problem. Unlike solving DEs, this topic tests your ability to interpret rate information rather than compute integrals or draw slope fields. Many students rush through this setup step, which leads to losing points on entire FRQs even if their later solving steps are correct. Synonyms for this process include "setting up a differential equation from context" or "translating rate descriptions to DE form." It is the gateway to all subsequent work with differential equations on the AP exam.

2. Translating Verbal Rate Descriptions to Differential Equations

The core idea of this skill is that any statement about how a quantity changes can be written as (or whatever variable pair you are using) equal to the net rate of change of the quantity. The key rule of thumb: if a problem says "the rate of change of is proportional to ", this directly translates to , where is the constant of proportionality. If it says "the rate of change of is proportional to the difference between and a fixed value ", this becomes . You must always check the sign of to match the context: if is decreasing towards , will be negative. For more complex descriptions with multiple rates, you simply add all increasing rates and subtract all decreasing rates to get the net rate on the right-hand side. The step-by-step process for any translation is: 1) name all unknown functions and their independent variables, 2) write the derivative of the unknown function of interest, 3) translate all proportionality relationships by adding constants, 4) combine all inflow/outflow rates to get the final DE.

Worked Example

Problem: The number of customers at a coffee shop increases at a rate proportional to the difference between the current number of customers and the shop's maximum capacity of 120 customers. Write the differential equation that models .

Solution:

  1. Identify variables: = number of customers at time , maximum capacity = 120, so the difference described is .
  2. The rate of change of is , which is proportional to .
  3. Since the number of customers is increasing toward capacity, is positive when , so the constant of proportionality .
  4. Final DE: for some positive constant .

Exam tip: Always explicitly name the constant of proportionality in your DE for FRQs; AP exam graders require you to include the constant, even if you do not calculate its value, to earn full setup points.

3. Standard Contextual Models

The AP exam frequently tests a set of standard contextual models that you should recognize immediately, though you should always be able to derive them from the problem description instead of relying solely on memorization. The most common standard models are:

  1. Exponential growth/decay: If a quantity changes at a rate proportional to the size of the quantity, , with for growth (population, continuous compounding) and for decay (radioactive decay).
  2. Newton's Law of Cooling/Heating: The rate of change of an object's temperature is proportional to the difference between the object's temperature and the constant ambient temperature , so , with for a cooling object.
  3. Logistic population growth: For a population with carrying capacity , the growth rate is proportional to both the population size and the remaining capacity, giving with .
  4. Rectilinear motion: Acceleration is the rate of change of velocity, so if acceleration is proportional to position or velocity, you get a DE relating these quantities. BC also tests second-order DEs for simple harmonic motion here.

Worked Example

Problem: A population of deer in a forest has a carrying capacity of 800 deer, and the initial growth rate constant is 0.3 per year. Write the differential equation for the deer population at time years.

Solution:

  1. We use the logistic growth model, which matches the description of a population with a fixed carrying capacity.
  2. The standard logistic DE is , where is the growth rate constant and is carrying capacity.
  3. Substitute and :
  4. Confirm the sign: when , is positive, which matches the expected growth of the population, so this is correct.

Exam tip: Always confirm that the sign of matches your expectation for the context: for logistic growth, must be positive when the population is between 0 and the carrying capacity.

4. Net Rate Models for Inflow/Outflow Systems

Many AP problems model mixing problems, bank accounts, or pollution systems where a quantity is both added and removed at different rates. The core rule for these problems is: where is the amount of the quantity at time . For mixing problems (the most common inflow/outflow problem), the inflow rate of solute (e.g. salt, plastic) is equal to the concentration of solute in the inflow multiplied by the flow rate of the inflow. The outflow rate of solute is equal to the concentration of solute in the well-mixed system at time multiplied by the outflow rate. The concentration at time is , where is the total volume of liquid in the system at time . If inflow and outflow rates are equal, is constant; if not, , where is the initial volume.

Worked Example

Problem: A 50-liter tank initially contains 10 liters of water with 2 kg of sugar dissolved in it. Water containing 0.5 kg of sugar per liter flows into the tank at 2 liters per minute, and well-mixed sugar water flows out at 1 liter per minute. Write the differential equation for the mass of sugar in kg at time minutes.

Solution:

  1. Calculate the volume at time : initial volume L, net inflow = L/min, so .
  2. Calculate inflow rate of sugar: kg/min.
  3. Calculate outflow rate of sugar: concentration = kg/L, so outflow rate = kg/min.
  4. Net rate gives the DE:

Exam tip: Always calculate first in mixing problems; do not assume the volume is equal to the maximum tank capacity unless the problem says the tank is always full.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: Writing with for a cooling object and claiming the DE is wrong. Why: Students memorize a specific sign convention for Newton's Law and mark any other form incorrect, or get confused about what sign they need. Correct move: Check that is negative when (cooling) and positive when (heating); any DE that satisfies this sign condition is acceptable.
  • Wrong move: Omitting the constant of proportionality when the problem says "proportional", e.g. writing instead of . Why: Students think the "proportional" description is just context and forget that proportional means multiplied by an unknown constant. Correct move: Every time you see the word "proportional" in a problem, add a constant of proportionality to your DE before moving on.
  • Wrong move: In mixing problems with different inflow/outflow rates, using the maximum tank volume instead of the current volume to calculate concentration. Why: Students assume the tank starts full, even when the problem says otherwise. Correct move: Always calculate explicitly before setting up the outflow rate.
  • Wrong move: Writing the logistic DE as with for a growing population. Why: Students swap the order of the terms, leading to a negative growth rate when . Correct move: Always confirm that is positive for ; if it is negative, flip the order of the terms or change the sign of .
  • Wrong move: Writing acceleration as when the problem describes the rate of change of velocity. Why: Students confuse position, velocity, and acceleration derivatives. Correct move: Remember that velocity is and acceleration is , so match the left-hand side of your DE to what is changing.

6. Practice Questions (AP Calculus BC Style)

Question 1 (Multiple Choice)

The amount of a radioactive substance decays at a rate proportional to the amount of substance remaining at time . Which of the following differential equations correctly models this situation? A) , B) , C) , D) ,

Worked Solution: The problem states the rate of change of is proportional to , so the DE has the form . Since the substance is decaying, the amount is decreasing over time, so must be negative for positive . If we write this as with , the derivative is negative, which matches the decay context. Option A has positive , leading to growth, so it is incorrect. Option C has , which means no change, so it is incorrect. Option D models rate proportional to the difference between and , which is not the description given. The correct answer is B.


Question 2 (Free Response)

A coffee shop opens at with no customers inside. Customers enter at a constant rate of 5 customers per minute, and customers leave at a rate proportional to the number of customers currently inside. Let be the number of customers inside at time minutes. (a) Write the differential equation that models . (b) If the constant of proportionality for customers leaving is 0.2, write the differential equation for this case. (c) What is the equilibrium number of customers for the DE from part (b), and what does this mean in context?

Worked Solution: (a) The rate of change of customers equals entry rate minus exit rate. Entry rate is a constant 5 customers per minute. Exit rate is proportional to , so exit rate is for . The differential equation is: (b) Substitute : . (c) Equilibrium occurs when , so set , solving gives . In context, this means the number of customers in the coffee shop will approach 25 over time, and will stabilize at that number once enough time has passed.


Question 3 (Application / Real-World Style)

A 500 million liter reservoir initially has no nitrogen pollution. Agricultural runoff carries water containing 0.2 mg of nitrogen per liter into the reservoir at a rate of 10 million liters per year. A outflow river carries well-mixed water out of the reservoir at the same 10 million liters per year rate. Write the differential equation for the total mass of nitrogen in mg at time years, and find the equilibrium mass of nitrogen that approaches as .

Worked Solution: Inflow and outflow rates are equal, so the volume of the reservoir is constant at liters. Rate of nitrogen entering is mg/year. Rate of nitrogen leaving is mg/year. The differential equation is: At equilibrium, , so , solving gives mg. In context, this means the total mass of nitrogen in the reservoir will approach 100 grams (100 million milligrams) over the long term.

7. Quick Reference Cheatsheet

Category Formula Notes
General Net Rate Applies to all problems with inflows/outflows of a quantity.
Proportional Rate Rate of change of is proportional to ; = growth, = decay.
Proportional to Difference is a constant; sign of must match direction of change.
Newton's Law of Cooling = constant ambient temperature; for a cooling object.
Logistic Population Growth = carrying capacity, = growth rate; for .
Mixing Problem , = mass of solute, = concentration.
Rectilinear Motion Acceleration is the rate of change of velocity; match derivative to the changing quantity.
Constant Growth/Decay Rate of change is constant; slope of is fixed.

8. What's Next

Modeling with differential equations is the non-negotiable prerequisite for every subsequent topic in Unit 7: Differential Equations. Next, you will learn to draw slope fields to visualize DE solutions, use separation of variables to solve first-order DEs, and find particular solutions to initial value problems. Without correctly setting up the differential equation from context, you will not be able to get the correct final solution on any modeling FRQ, which makes up the majority of the differential equations FRQ on the AP exam. Beyond this unit, these modeling skills are foundational for solving parametric motion problems and second-order differential equation problems exclusive to BC. The ability to translate verbal context to mathematical equations is also useful for all applied problems across the AP exam.

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →