Skip to content

Unit 8 of 8

Differential Equations

9% of the exam219 reviewed questions11 key terms16 min read

Differential Equations is worth about 9% of the AP Calculus AB exam. Our bank tests it with 219 reviewed questions across 11 distinct ideas — 22 easier, 130 medium and 67 harder.

On this page · 12 sections

A differential equation tells you how fast something changes instead of telling you what it is. The equation $\frac{dy}{dx} = 2y$ says the slope of the graph at any point is twice the height there. Your job in this unit is to work backward from that rule to the function itself, or to describe the function without ever finding it. Questions ask whether a function obeys the rule, what the rule looks like as a picture, how a word problem becomes the rule, what the rule says about concavity, and which exact function obeys it and passes through a given point.

The pieces connect in a fixed order. Verifying a solution uses only differentiation from earlier units, so it comes first. Slope fields turn the equation into a grid of tiny tangent segments, which lets you sketch solutions you cannot yet write down. Separation of variables then gives you the formula, and an initial condition picks one curve out of an infinite family. Finally, modeling turns English sentences like "the rate of growth is proportional to the population" into equations, which gives you exponential growth, exponential decay and Newton's Law of Cooling.

In our question bank, exponential growth and decay is the single most-tested idea in the unit, followed by separation of variables and slope-field reasoning. College Board lists this unit at 6–12% of the AP Calculus AB exam. It shows up far more heavily on the free-response section, where one full question is often built around a differential equation.

The unit in a minute

One line per topic. Tap any line for the full notes.

  1. Verifying solutionsDifferentiate, substitute into both sides, and simplify; a solution must match for every x, not just one point.
  2. Slope fields: drawing and reading themEvaluate the slope at chosen points, then use columns, rows, zero-slope lines and signs to match a field to its equation.
  3. Separation of variablesSeparate, integrate with one +C, plug in the initial condition, then solve for y; a constant inside an exponent becomes a multiplier.
  4. General solutions, particular solutions and their domainsThe domain of a particular solution is the largest open interval around the initial x-value where nothing breaks.
  5. Exponential growth and decaydy/dt = ky always gives y = y₀e^(kt): starting value in front, rate constant in the exponent, k found from a second data point.
  6. Newton's Law of Cooling and other modelsTranslate the words into the equation first; for cooling, the rate depends on the gap T − A, so T approaches A over time.
  7. Second-derivative analysis from the differential equationDifferentiate dy/dx implicitly, substitute dy/dx back in, and use the sign of d²y/dx² to judge concavity and over- or underestimates.
Grind Differential Equations questionsAlready know this? Skip the notes and prove it.

The big ideas

The equation is a slope rule, not a function

An equation like $\frac{dy}{dx} = x + y$ gives you a slope at every point $(x, y)$ in the plane. Plug in a point and you get the slope of the solution curve passing through it. That single idea powers slope fields, tangent line approximations and concavity questions. You never need to solve the equation to answer "is the solution increasing at $(1, 2)$?" because you just evaluate the right side there.

A solution is checked by substitution

A function solves a differential equation if you can plug it and its derivatives into both sides and get an identity that holds for every $x$. Matching at one point is not enough. This is why you should differentiate the candidate, substitute, and simplify both sides until they visibly agree or visibly differ. Many multiple-choice items can be solved this way faster than by solving the equation.

One equation, a whole family of solutions

Solving a differential equation produces a constant of integration, so you get a family of curves called the general solution. An initial condition such as $y(0) = 3$ selects exactly one member, the particular solution. In a slope field, the family is every curve you could trace by following the segments, and the initial condition tells you where to start your pencil.

"Proportional to" means multiply by a constant

Modeling questions describe rates in words. "The rate of change of $A$ is proportional to $A$" translates to $\frac{dA}{dt} = kA$, and its solution is always $A = A_0e^{kt}$. "Proportional to the difference between $T$ and 20" translates to $\frac{dT}{dt} = -k(T - 20)$ with $k > 0$, so the gap shrinks over time. Get the translation right and the calculus that follows is routine.

Study notes

7 topics. Each one opens with its key idea, then the detail you need to use it.

1. Verifying solutions

Key idea: Differentiate, substitute into both sides, and simplify; a solution must match for every x, not just one point.

To verify that a function solves a differential equation, compute every derivative the equation needs. Then substitute the function into the left side and the right side separately and compare. Take $y = 4e^{-3x}$ and the equation $\frac{dy}{dx} = -3y$. The left side is $-12e^{-3x}$. The right side is $-3(4e^{-3x}) = -12e^{-3x}$. They match for every $x$, so it is a solution.

Now test $y = x^3$ in $\frac{dy}{dx} = xy$. The left side is $3x^2$, but the right side is $x \cdot x^3 = x^4$. These are different functions, so $x^3$ fails, even though both sides happen to equal 0 at $x = 0$.

The same method works for second-order equations and implicit relations. For $y'' = -9y$, the function $y = \cos(3x)$ gives $y'' = -9\cos(3x)$, which matches. For a relation like $x^2 - y^2 = 7$, differentiate implicitly to get $2x - 2y\frac{dy}{dx} = 0$, so $\frac{dy}{dx} = \frac{x}{y}$. That tells you which equation the relation solves.

Watch the chain rule. The derivative of $e^{x^2}$ is $2xe^{x^2}$, not $e^{x^2}$. Most wrong answers in this topic come from a skipped chain rule or from checking only the shape of a formula instead of substituting it.

2. Slope fields: drawing and reading them

Key idea: Evaluate the slope at chosen points, then use columns, rows, zero-slope lines and signs to match a field to its equation.

A slope field is a grid of short segments. Each segment has the slope that the differential equation gives at that point. To draw one, evaluate $\frac{dy}{dx}$ at each grid point and draw a segment with that slope. A slope of 0 is flat, a slope of 1 rises at 45 degrees on equally scaled axes, and a slope of $-2$ falls steeply.

Reading a slope field means working the other way. Use these checks to match a field to its equation. If the slope depends only on $x$, as in $\frac{dy}{dx} = x^2 - 1$, every segment in the same vertical column is identical. If the slope depends only on $y$, as in $\frac{dy}{dx} = y - 2$, every segment in the same horizontal row is identical. Rows of flat segments then mark equilibrium solutions, here the line $y = 2$.

Next, find where the slope is zero by setting the right side equal to 0. For $\frac{dy}{dx} = x - y$, the flat segments lie along the line $y = x$. Then check signs. Above that line the slope is negative, and below it the slope is positive.

Finally, test points on the axes. On the $y$-axis $x = 0$, and on the $x$-axis $y = 0$. Plugging those in usually eliminates two or three answer choices at once. To sketch a particular solution, start at the given point and follow the segments smoothly. Never cut across them.

3. Separation of variables

Key idea: Separate, integrate with one +C, plug in the initial condition, then solve for y; a constant inside an exponent becomes a multiplier.

Separation of variables works when you can write $\frac{dy}{dx}$ as a function of $x$ times a function of $y$. Move every $y$ term, including $dy$, to one side and every $x$ term to the other. Then integrate both sides. Here is the full routine for $\frac{dy}{dx} = xy^2$ with $y(0) = \frac{1}{2}$.

Step 1, separate: $\frac{dy}{y^2} = x\,dx$. Step 2, integrate both sides: $-\frac{1}{y} = \frac{x^2}{2} + C$. One constant on one side is enough, because two constants combine into one. Step 3, use the initial condition now: $-2 = 0 + C$, so $C = -2$. Step 4, solve for $y$: $-\frac{1}{y} = \frac{x^2}{2} - 2$, which gives $y = \frac{2}{4 - x^2}$.

Never substitute the initial condition before you integrate, because the equation still contains derivatives at that stage. Substituting right after integrating, as in Step 3, is safest because the algebra is easiest there.

When you integrate $\frac{1}{y}$, you get $\ln|y|$. For $\frac{dy}{dx} = ky$, that gives $\ln|y| = kx + C$, so $|y| = e^{C}e^{kx}$. The positive constant $e^C$, together with the plus-or-minus sign from the absolute value, becomes a single constant $A$. That is why the constant multiplies the exponential: $y = Ae^{kx}$, not $e^{kx} + C$. Check your answer by plugging it back into the original equation.

4. General solutions, particular solutions and their domains

Key idea: The domain of a particular solution is the largest open interval around the initial x-value where nothing breaks.

The general solution contains the arbitrary constant, like $y = Ce^{-x} + 2$ for $\frac{dy}{dx} = 2 - y$. Every value of $C$ gives a valid curve. Notice where the $+2$ comes from. Setting $\frac{dy}{dx} = 0$ gives $y = 2$, the equilibrium, and every solution approaches that line. A family with $-2$ in place of $+2$ fails verification, because its curves would level off at the wrong height.

A particular solution has a specific constant, fixed by the initial condition. It also needs a domain. The rule is that the domain is the largest open interval that contains the initial $x$-value and on which the solution and the differential equation are both defined.

Go back to $y = \frac{2}{4 - x^2}$ with $y(0) = \frac{1}{2}$. The formula breaks at $x = 2$ and $x = -2$. The initial point sits at $x = 0$, so the domain is $-2 < x < 2$. The pieces beyond $\pm 2$ do not count, because a solution curve cannot jump across a vertical asymptote.

A second trap comes from the equation itself. For $\frac{dy}{dx} = -\frac{x}{y}$ with $y(0) = 5$, the solution is $y = \sqrt{25 - x^2}$. At $x = \pm 5$, $y = 0$ and the slope $-\frac{x}{y}$ is undefined. So the domain is the open interval $-5 < x < 5$, not the closed one.

5. Exponential growth and decay

Key idea: dy/dt = ky always gives y = y₀e^(kt): starting value in front, rate constant in the exponent, k found from a second data point.

The equation $\frac{dy}{dt} = ky$ says the rate of change is proportional to the current amount. Its solution is $y = y_0e^{kt}$, where $y_0$ is the amount at $t = 0$. If $k > 0$ the quantity grows, and if $k < 0$ it decays. Keep the roles straight. The starting amount is the coefficient in front, and the rate constant sits in the exponent. So $\frac{dy}{dt} = 0.4y$ with $y(0) = 7$ gives $y = 7e^{0.4t}$, never $0.4e^{7t}$.

The relative growth rate $\frac{1}{y}\frac{dy}{dt}$ equals $k$, a constant. That is the signature of exponential change. A quantity growing by a constant amount each year is linear, but one growing by a constant percentage is exponential.

Half-life and doubling time let you find $k$. Suppose 80 grams of an isotope has a half-life of 5 years. Set $40 = 80e^{5k}$, so $e^{5k} = \frac{1}{2}$ and $k = -\frac{\ln 2}{5}$. The model is $y = 80e^{-(\ln 2/5)t}$, which equals $80\left(\frac{1}{2}\right)^{t/5}$. After 15 years, three half-lives have passed, so 10 grams remain.

In context, a question might give $y(0)$ and a second data point, like $y(3) = 50$. Use both: the first fixes $y_0$, and the second gives $k$ through a natural log. Units matter here. If $t$ is in years, $k$ is per year.

6. Newton's Law of Cooling and other models

Key idea: Translate the words into the equation first; for cooling, the rate depends on the gap T − A, so T approaches A over time.

Newton's Law of Cooling says an object's temperature changes at a rate proportional to the difference between its temperature and the room's. Written out, $\frac{dT}{dt} = -k(T - A)$, where $A$ is the ambient temperature and $k > 0$. When the object is hotter than the room, $T - A$ is positive, so $\frac{dT}{dt}$ is negative and it cools. Separating variables gives $T = A + (T_0 - A)e^{-kt}$.

Try it with coffee at 90°C in a 20°C room. The model is $T = 20 + 70e^{-kt}$. If the coffee is 60°C after 5 minutes, then $40 = 70e^{-5k}$, so $k = \frac{1}{5}\ln\frac{7}{4}$. As $t$ grows, $T$ approaches 20 but never reaches it. The coffee cools fastest at the start, because that is when the temperature gap is largest.

Modeling questions test the translation step. "The rate of change of $V$ is proportional to the square root of $V$" becomes $\frac{dV}{dt} = k\sqrt{V}$. "A population grows at a rate jointly proportional to its size and to $1000 - P$" becomes $\frac{dP}{dt} = kP(1000 - P)$.

That last form is logistic growth. It is a BC-only topic, and the AB exam does not test logistic growth as such. An AB item could still give you an equation of this form and ask something routine, like the sign of $\frac{dP}{dt}$ or where $\frac{dP}{dt}$ equals zero. As optional enrichment, the population levels off at the carrying capacity, 1000 here. Its growth rate is greatest at half the carrying capacity, 500, because that is where the product $P(1000 - P)$ is largest.

7. Second-derivative analysis from the differential equation

Key idea: Differentiate dy/dx implicitly, substitute dy/dx back in, and use the sign of d²y/dx² to judge concavity and over- or underestimates.

You can find concavity without solving the equation. Differentiate $\frac{dy}{dx}$ with respect to $x$, remembering that $y$ is a function of $x$. Every time you differentiate a $y$, a factor of $\frac{dy}{dx}$ appears, so you then substitute the original equation for it.

Take $\frac{dy}{dx} = x + y$. Then $\frac{d^2y}{dx^2} = 1 + \frac{dy}{dx} = 1 + x + y$. At the point $(0, 1)$, the slope is 1 and the second derivative is 2, so the solution is increasing and concave up there.

For a product, use the product rule. If $\frac{dy}{dx} = xy$, then $\frac{d^2y}{dx^2} = y + x\frac{dy}{dx} = y + x^2y$. The most common error is treating $y$ as a constant and writing $\frac{d^2y}{dx^2} = y$ from the $x$ term alone.

This analysis pairs with tangent line approximations on free-response questions. Using $\frac{dy}{dx} = x + y$ through $(0, 1)$, the tangent line is $y = 1 + x$, so $y(0.1) \approx 1.1$. The solution is concave up near that point. The curve therefore bends above its tangent line, which makes 1.1 an underestimate. AP exam readers (the people who score free responses) want that reason stated with the sign of the second derivative.

Second derivatives also classify critical points. If $\frac{dy}{dx} = 0$ at a point and $\frac{d^2y}{dx^2} > 0$ there, the solution has a relative minimum.

Common mistakes

Drawn from the wrong answers students actually pick on these questions.

Writing the general solution of $\frac{dy}{dx} = 2y$ as $y = e^{2x} + C$, or choosing something like $y = e^{-2x} + 5$ as a solution of $\frac{dy}{dx} = -2y$.

After integrating you have $\ln|y| = 2x + C$, and exponentiating turns that constant into a multiplier: $y = Ae^{2x}$. A constant added outside the exponential changes $y$ without changing $\frac{dy}{dx}$, so the equation no longer balances. Substitute the candidate back in to see it fail.

Treating $\frac{dy}{dx} = 2y$ as if it said $\frac{dy}{dx} = 2$ and picking a linear answer like $y = 3 + 2x$.

A $y$ on the right side means the slope depends on the current value. Bigger $y$ means faster growth, which is exponential, not linear. A straight line has a constant slope, so it solves an equation only if the right side equals that same constant at every point on the line. For $\frac{dy}{dx} = 2y$ the right side changes as $y$ changes, so no non-horizontal line works; only the equilibrium $y = 0$ does. Substitute to check.

Swapping the starting value and the rate constant, as in writing $2e^{3x}$ when $\frac{dy}{dx} = 2y$ and $y(0) = 3$, or getting the sign of the exponent wrong.

The rate constant from the equation goes in the exponent, with its sign. The initial value goes in front, because $e^0 = 1$ makes $y(0)$ equal the coefficient. Check both quickly: plug in $x = 0$ for the initial value, and differentiate for the rate.

Reading a slope field with the wrong coordinate, such as claiming every slope on the $y$-axis is 1 for $\frac{dy}{dx} = x$, or calling it undefined.

On the $y$-axis, $x = 0$, so the slope is $0$ there and every segment is flat. A slope of 1 happens only along the vertical line $x = 1$. A slope is undefined only where the formula divides by zero, and $\frac{dy}{dx} = x$ never does.

Accepting a candidate like $y = e^{2x}$ for $\frac{dy}{dx} = 2xy$ because it "looks exponential," or missing the chain rule on $y = e^{x^2}$.

Always compute both sides. For $y = e^{2x}$, the left side is $2e^{2x}$ but the right side is $2xe^{2x}$, so it fails. For $y = e^{x^2}$, the chain rule gives $2xe^{x^2} = 2xy$, which matches.

Putting the vertical shift on the wrong side, such as $y = Ce^{-x} - 2$ for $\frac{dy}{dx} = 2 - y$.

Find the equilibrium by setting $\frac{dy}{dx} = 0$, which gives $y = 2$. Every solution levels off at that value, so the family must be $y = Ce^{-x} + 2$. Verifying by substitution catches the sign error in a few seconds.

How this unit shows up on the exam

On multiple choice, expect short, direct stems. Common ones ask which function is a solution of an equation, which equation matches a pictured slope field, or what the particular solution is for an equation like $\frac{dy}{dt} = ky$ with a starting value. Context items give a half-life, a doubling time or two temperature readings and ask for an amount at a later time. Verification questions reward speed. Differentiate each choice and substitute instead of solving from scratch. For slope-field matching, check the axes and the zero-slope lines first, since that usually leaves one answer.

On free response, a differential equation question has usually appeared on the no-calculator part. A standard version gives an equation such as $\frac{dy}{dx} = \frac{x^2}{y}$ and runs through four tasks. You sketch slope segments at listed points, write a tangent line and use it to approximate a value, find $\frac{d^2y}{dx^2}$ to decide concavity or classify a critical point, and solve by separation of variables with an initial condition.

The separation part carries the most points, and readers score it step by step. You earn credit for separating correctly, for each antiderivative, for including the constant and using the initial condition, and for solving for $y$. If you skip separation entirely, you get nothing for that part. If you drop the constant of integration, you lose the later points even if your algebra is perfect.

For slope sketches, readers check that each segment has the right sign and relative steepness, and that zero slopes are drawn flat. For concavity and over- or underestimate claims, they want a reason tied to the sign of $\frac{d^2y}{dx^2}$, not just the conclusion. When a domain is asked for, give an open interval that contains the initial $x$-value.

How the exam actually asks it

Real items from the AP Calculus AB bank, easier first. The answer is marked, and every wrong choice is explained — because knowing why a distractor is tempting is most of the work.

Worked example 1Easier
In the slope field for , all segments along the -axis have slope:
  1. ACorrect
  2. B
  3. C
  4. Dundefined

Why A is right

Along the -axis, . Since , the slope at every point on the -axis is 0 (horizontal segments). Separating variables and applying the initial condition determine the solution. The constants of integration and boundary condition are what make the solution specific.
Why the other 3 choices miss
B
The slope equals , not 1. It's only 1 along the vertical line . This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
C
The slope is only along . On the -axis, . This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
D
The slope field is defined everywhere. has no restrictions. This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
Worked example 2Easier
Which of the following functions is a solution of ?
  1. A
  2. BCorrect
  3. C
  4. D

Why B is right

For , . Both sides match. Separating variables and applying the initial condition determine the solution. The constants of integration and boundary condition are what make the solution specific.
Why the other 3 choices miss
A
Here , which gives , not . This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
C
, but . Not equal. This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
D
, but . Not equal. This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
Worked example 3Easier
Which function satisfies ?
  1. ACorrect
  2. B
  3. C
  4. D

Why A is right

For , . The leading constant is along for the ride. Separating variables and applying the initial condition determine the solution. The constants of integration and boundary condition are what make the solution specific.
Why the other 3 choices miss
B
— the sign of the exponent is wrong; this solves . This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
C
, but . Not equal. This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
D
, but . The breaks it. This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
Worked example 4Easier
Which function is a solution of for ?
  1. A
  2. B
  3. C
  4. DCorrect

Why D is right

For , and . Match. (Any line through the origin works.). Separating variables and applying the initial condition determine the solution. The constants of integration and boundary condition are what make the solution specific.
Why the other 3 choices miss
A
, but . This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
B
, but . Not equal. This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.
C
, but . Not equal. This distractor usually comes from separating variables incorrectly or applying the initial condition too early. The correct solution appears after the differential equation is solved in the right order.

Can you do all of these?

Tick what you can do without looking. Anything left unticked is where to go back to.

0 of 9 ticked

Ready to test yourself?

Open practice pulls from the 38 free questions in this unit. The other 181 come with the one-time AP purchase, which unlocks every AP course.

Official topic list

The official course framework breaks this unit into 7 numbered topics.

  1. 7.1Modeling Situations with Differential Equations
  2. 7.2Verifying Solutions for Differential Equations
  3. 7.3Sketching Slope Fields
  4. 7.4Reasoning Using Slope Fields
  5. 7.6Finding General Solutions Using Separation of Variables
  6. 7.7Finding Particular Solutions Using Initial Conditions and Separation of Variables
  7. 7.8Exponential Models with Differential Equations

Key terms in Differential Equations

Ordered by how often our reviewed questions test them. Open any term to see the questions that use it.

The rest of AP Calculus AB

Every unit with its share of the exam. You are on Unit 8.

  1. 1Pre-AP Foundations9% of exam
  2. 2Limits and Continuity7% of exam
  3. 3Definition of the Derivative15% of exam
  4. 4Differentiation Rules14% of exam
  5. 5Applications of Derivatives18% of exam
  6. 6The Integral20% of exam
  7. 7Applications of Integration8% of exam
  8. 8Differential Equations9% of exam