AP Calculus BC Unit 7: Differential Equations (Slope Fields, Euler’s Method, Separable IVPs, Exponential and Logistic Models)
Understanding Differential Equations and Their Solutions
A differential equation is an equation that relates an unknown function (often written as
to one or more of its derivatives (like
). In regular algebra, you usually solve for a number. In differential equations, you are solving for a function—a whole rule that describes how a quantity changes.
Differential equations connect naturally to earlier calculus ideas like related rates: in related rates, we modeled how one changing quantity is related to another using derivatives. Differential equations do something similar, except the “unknown” is the entire function whose rate of change is described.
The big idea is this: many real processes are easiest to describe by how they change moment-to-moment rather than by a direct formula. For example, “population increases at a rate proportional to the population” is naturally written in terms of a derivative.
Key vocabulary: order, solutions, and initial conditions
The order of a differential equation is the highest derivative that appears. For example,
is first-order, while
is second-order (not a major focus in this unit’s solving techniques).
A solution to a differential equation is a function that makes the equation true wherever it is defined. If you propose a function, you can verify it by substituting it into the differential equation and checking that both sides match.
A general solution is a family of solutions containing an arbitrary constant (often
). Many first-order differential equations have infinitely many solutions because you can shift the solution curve up or down.
An initial value problem (IVP) is a differential equation plus an initial condition like
. The initial condition picks out one specific member of the family (a particular solution).
Why this matters: on the AP exam, a huge fraction of differential equation work is about interpreting what a differential equation is saying, approximating its solutions, and solving separable equations with an initial condition.
Notation you must recognize (they all mean “derivative”)
In AP Calculus BC, the same derivative may appear in different forms. You need to be fluent in switching between them.
| Meaning | Common notations |
|---|---|
| derivative of %%LATEX6%% with respect to %%LATEX7%% | %%LATEX8%%, %%LATEX9%% |
| differential equation written “separated” | %%LATEX10%% or %%LATEX11%% |
A common misconception is to treat
as a simple fraction all the time. In general, it represents a derivative. But in separable differential equations, rewriting in “fraction-like” form is a powerful, valid technique.
What it means to solve (or not solve) a differential equation
There are three main outcomes you’ll see in this unit:
- Solve exactly (usually via separation of variables): you find a formula for
(sometimes implicit).
- Describe qualitatively: you sketch behavior from a slope field without an explicit formula.
- Approximate numerically (Euler’s method): you compute approximate values of
at specified
-values.
Even when an exact solution exists, AP problems may still ask for numerical approximations or qualitative interpretations—because those skills mirror real applied work.
When “solving” is just antidifferentiating
If the differential equation gives the derivative of a function equal to a function of the independent variable alone, you can solve by integrating both sides. For example, if
then solving means finding an antiderivative:
which produces
This idea is part of the bigger theme: differential equation problems often involve “undoing a derivative.”
Exam Focus
- Typical question patterns:
- “Verify that a given function is a solution to the differential equation, then use an initial condition to find the constant.”
- “Given
determine whether a function is increasing/decreasing or concave up/down at a point.”
- “Interpret what the differential equation says about a real-world situation (units and meaning of terms).”
- Common mistakes:
- Forgetting that solutions are functions (not single numbers), so you must include a constant in general solutions.
- Plugging into the differential equation incorrectly (especially mixing up
and
).
- Treating an initial condition like
as if it changes the differential equation itself—it only selects one solution.
Slope Fields and Qualitative Solution Behavior
A slope field (also called a direction field) is a picture that tells you the slope of solution curves at many points in the plane. Since a first-order differential equation gives
as a function of
and
, it tells you the slope at every point
. A slope field visualizes that information.
Why this matters: many differential equations cannot be solved with elementary formulas, but you can still understand their behavior—where solutions rise, fall, level off, or approach equilibrium.
How to construct a slope field (mechanics)
To construct a slope field, you plug the point’s coordinates into the differential equation to get the slope at that point, then draw a small line segment with that slope. In other words: evaluate the right-hand side at the point and draw that as the slope.
For example, for the equation
the slope depends only on
. So at
the slope is
no matter what
is.


How to read a slope field
If you have a differential equation
then at each point
the slope of the solution curve is
.
To sketch solution curves:
- Pick a starting point (often an initial condition).
- Follow the little line segments, drawing a smooth curve that is always tangent to the segment directions.
When the AP exam asks for a solution curve from a slope field, the core skill is to “flow” with the slopes. Because this is by hand, it doesn’t have to be exact, but it should consistently track the tangent directions.

Two important clarifications:
- Solution curves cannot cross (in typical AP settings where
is well-behaved). If they crossed, you would have two different slopes at the same point, which contradicts the idea that the differential equation assigns a unique slope.
- A slope field gives local information (slope at a point), not a direct formula for the entire curve.
Isoclines: places where the slope is constant
An isocline is a curve where the slope
has a constant value
:
On a slope field, isoclines help you organize the picture: along that curve, all the direction segments have the same slope. You won’t always be asked to find isoclines, but the idea helps you reason about patterns.
Equilibrium solutions (constant solutions)
An equilibrium solution is a constant solution
such that the derivative is zero everywhere along that horizontal line. For equations of the form
equilibria occur when
These matter especially for autonomous differential equations (where the right side depends only on
). Equilibrium solutions often represent steady states like a stabilized population.
Stability intuition (qualitative)
If nearby solutions move toward an equilibrium as
increases, it’s stable. If nearby solutions move away, it’s unstable. You can often decide this by checking the sign of
above and below the equilibrium.
Worked example: sketching behavior from a differential equation
Suppose
This is an autonomous equation. Look for equilibria:
So equilibria are
and
Now analyze the sign of
:
- If
, then
and
, so
. Solutions increase.
- If
, then
, so
. Solutions decrease.
- If
, then
and
, so
. Solutions decrease further.
Conclusion: solutions between 0 and 1 rise toward 1; solutions above 1 fall toward 1. So
is stable, and
is unstable.
This kind of reasoning shows up often: you may not need an explicit solution to predict long-term behavior.
Exam Focus
- Typical question patterns:
- “Use the slope field to sketch the solution satisfying
.”
- “From the slope field, estimate
at a given
.”
- “Identify equilibrium solutions and determine stability from sign analysis or the slope field.”
- Common mistakes:
- Drawing solution curves that follow the small segments but aren’t smooth or that kink sharply—solutions should look like smooth curves.
- Forgetting that the slope at a point depends on both coordinates (students sometimes use only
or only
without checking the equation).
- Misidentifying equilibria by setting
incorrectly (especially when the right side is factored).
- Crossing abruptly or drawing a curve that does not follow the indicated slopes when sketching by hand.
Euler’s Method: Approximating Solutions Numerically
Even if you can’t solve a differential equation symbolically, you can still approximate its solution values. Euler’s method is the main numerical approximation technique in AP Calculus.
Conceptually, Euler’s method takes the differential equation’s message—“the slope at this point is
”—and uses that slope to step forward in small increments. It’s like repeatedly using the tangent line as a local approximation.
The core idea: tangent line stepping
Given an IVP
with an initial point
, choose a step size
. Euler’s method produces points
via
and
Why this formula makes sense: over a small step
, the change in
is approximately slope times run. The slope at the start of the interval is
, so
A common misunderstanding is to think Euler’s method uses the slope at the end of the interval. Standard Euler uses the slope at the beginning of each step.
How AP problems structure Euler’s method
You might be given:
- the differential equation,
- an initial condition,
- a step size (like
),
- and asked to find
at a certain
after a few steps.
Sometimes, AP will provide a table with values of
so that you can compute without repeatedly plugging into a formula.
Worked example: 3 Euler steps
Approximate the solution to
with
using step size
to estimate
.
Start:
Step 1 to
:
Step 2 to
:
Step 3 to
:
So Euler’s method gives
Error and step size (what you should understand)
Euler’s method is an approximation. The key control you have is the step size
.
- Smaller
typically improves accuracy because the tangent-line approximation is more valid over shorter intervals.
- Larger
can accumulate significant error.
There are two useful ideas about error that AP-level intuition often tests:
- Local truncation error: the error made in a single step.
- Global error: the accumulated error after many steps.
You are rarely asked to compute an exact error bound in this unit, but you should be able to explain qualitatively that decreasing
tends to reduce error.
Also, Euler’s method can under- or over-estimate depending on the solution’s concavity. If the true solution is concave up, tangent lines tend to lie below the curve, often making Euler an underestimate (and vice versa for concave down). This is a helpful heuristic, not a guarantee in every scenario.
Exam Focus
- Typical question patterns:
- “Use Euler’s method with step size
to approximate
after
steps.”
- “Given a table of slopes, use Euler’s method to approximate the solution.”
- “Compare two Euler approximations with different step sizes and comment on which is more accurate.”
- Common mistakes:
- Using the wrong point to evaluate slope, such as
instead of
.
- Mixing up step size with number of steps (for example, stepping from
to
with
requires 4 steps).
- Arithmetic drift: small arithmetic errors compound; writing a clean table of
,
, and slope helps.
Separable Differential Equations and Solving Initial Value Problems
A separable differential equation is a first-order differential equation that can be rearranged so that all
terms are on one side and all
terms are on the other. This is the main exact-solving technique emphasized in AP Calculus BC for differential equations.
A memory checklist: SIPPY
A useful memory trick is that many separable differential equation IVP problems follow the steps SIPPY:
- S: separate (get
and
on separate sides)
- I: integrate (remove the derivative)
- P: plus
(add your constant of integration)
- P: plug in your initial condition
- Y: solve so “
equals …” (make
explicit when appropriate)
What “separable” means
A common separable form is
The goal is to rewrite it as
Then you integrate both sides:
This works because (in this context) you can treat
and
as differentials that “travel” with their variables. A good way to stay grounded is to remember that you are applying a chain rule idea in reverse: if
depends on
, then integrating with respect to
on one side and
on the other can produce a relationship between them.
The constant of integration and where it goes
After integrating, you must include a constant. You might see constants on both sides; you can always combine them into a single constant.
For example,
becomes
A very common student error is forgetting
entirely, or putting separate constants and never combining them.
Implicit vs explicit solutions
Often you will end with an implicit solution (an equation involving both
and
). Sometimes you can solve for
explicitly; sometimes it’s messy or unnecessary.
AP will accept implicit solutions in many contexts, especially when the focus is on applying an initial condition or analyzing behavior.
Worked example 1: solve a separable DE (general solution)
Solve
Separate variables:
Integrate:
So
Exponentiate both sides:
Rewrite
as a new positive constant
:
To allow negative solutions too, fold the sign into a single nonzero constant
:
That is the general solution.
Worked example 2: initial value problem
Solve the IVP
From the general solution:
Apply the initial condition:
So
Therefore the particular solution is
Worked example 3 (SIPPY in action): an IVP with algebra at the end
Solve
with
Separate by multiplying both sides by
:
Integrate:
which gives
Plug in the initial condition:
So
Now substitute back:
Multiply both sides by 2:
Finally, solve for
:
Use
to choose the positive branch, so the particular solution is
Important pitfall to avoid: from
it is incorrect to conclude
That mistake comes from “taking the square root” incorrectly (you must isolate
first, then take the square root).
Handling algebra carefully (a common pitfall)
When separating variables, you must divide by expressions involving
or
. That can accidentally exclude solutions.
Example: if you divide by
, you assume
. But sometimes
is actually a solution (an equilibrium solution). In the earlier equation
, note that
does satisfy it, so it should be included as an additional solution.
A safe habit: after solving, quickly check whether any constant solutions (like
) were lost when dividing.
Using definite integrals to apply initial conditions cleanly
Sometimes it’s cleaner to integrate with limits immediately, especially in AP free-response.
If
, you can write
This automatically builds in the initial condition and avoids the “where do I put
?” issue.
Exam Focus
- Typical question patterns:
- “Solve the differential equation by separation of variables and use an initial condition to find the particular solution.”
- “Find the solution implicitly and then evaluate
at a given
.”
- “Show that the solution satisfies the differential equation (differentiate your solution and substitute).”
- Common mistakes:
- Separating incorrectly (for example, moving terms but forgetting parentheses or factors).
- Losing solutions by dividing by a variable expression (especially missing equilibrium solutions).
- Applying the initial condition to an implicit equation incorrectly (substitute
and
carefully, then solve for the constant).
- Forgetting
(“Plus C”) after integrating.
Exponential Growth and Decay Models from Differential Equations
Exponential models in calculus come from a simple but powerful assumption: the rate of change of a quantity is proportional to the amount present.
The proportionality differential equation
If a quantity
changes at a rate proportional to its current value, then
where
is a constant of proportionality.
- If
, you get exponential growth.
- If
, you get exponential decay.
This model appears in populations (unlimited resources), continuously compounded interest, certain chemical reactions, and radioactive decay.
Solving the model (and why the result is exponential)
Separate variables:
Integrate:
Exponentiate:
where
is a nonzero constant (and can be determined from an initial condition). If you know
, then
.
So the typical IVP solution is
A conceptual note: the fact that you get
is not arbitrary—
is the unique function whose derivative is proportional to itself.
Doubling time and half-life
For growth, the doubling time
satisfies
So
Take natural log:
Thus
For decay, the half-life
satisfies
So
Take natural log:
Thus
Since
for decay, this gives a positive half-life.
Worked example: determine from data
A bacteria culture grows according to
. If
and
, find
and the model.
General solution:
Use
:
Divide:
Take ln:
So
Model:
A common mistake here is to write
and forget to divide by 3.
Interpreting with units
If
is measured in days, then
has units of “per day.” This matters: it tells you how fast exponential growth/decay is happening relative to the time variable.
Exam Focus
- Typical question patterns:
- “Given ‘rate proportional to amount,’ write a differential equation and solve for
.”
- “Use two points on the curve to find
, then predict a future value.”
- “Find doubling time or half-life using the differential equation model.”
- Common mistakes:
- Using the wrong initial condition time (for example, treating
as if it were
without shifting appropriately).
- Confusing linear and exponential change (constant rate versus rate proportional to amount).
- Sign errors: forgetting that decay corresponds to
.
Logistic Differential Equations: Growth with a Carrying Capacity
Pure exponential growth is often unrealistic for long periods because it assumes unlimited resources. The logistic model modifies exponential growth by building in a limiting factor: as the population gets large, the growth rate slows.
The logistic differential equation
A standard logistic model for a population
is
where:
is the intrinsic growth rate (per unit time).
is the carrying capacity (the maximum sustainable population).
Interpretation of the factor:
- When
is small relative to
, the factor
is close to 1, and growth is approximately exponential:
- When
approaches
, the factor approaches 0, so growth slows.
- If
, the factor becomes negative, making
, so the population decreases back toward
.
This differential equation is a major AP topic because it combines modeling, equilibrium analysis, and separable solving.
Equilibria and long-term behavior
Set
:
Equilibria:
and
Stability reasoning (assuming
):
- If
, then
, so solutions increase.
- If
, then
, so solutions decrease.
So
is stable, and
is unstable (in the model).
Solving the logistic equation (separation of variables)
Start with
Rewrite the factor:
So
Separate variables:
To integrate the left side, you use partial fractions:
Integrate:
So
Compute integrals (note that
):
Multiply by
:
Exponentiate:
For the typical population setting with
, you can drop absolute values and write
Solve for
:
A common equivalent form is obtained by dividing numerator and denominator by
:
where
.
Worked example: use an initial condition
Suppose
and
, and
. Find
.
Use the form
Substitute
:
So
Thus
Therefore
This model clearly shows the long-term behavior: as
,
, and
.
The inflection point (where growth is fastest)
In the logistic model, the population grows fastest at half the carrying capacity:
That corresponds to the inflection point of the logistic curve (where it switches from concave up to concave down). You may be asked to interpret this: early on, growth accelerates; later, growth slows as resources become limiting.
Exam Focus
- Typical question patterns:
- “Write a logistic differential equation from a description involving carrying capacity.”
- “Find equilibrium solutions and determine stability.”
- “Solve the logistic differential equation (often with an initial condition) and interpret long-term behavior.”
- Common mistakes:
- Mixing up
and
:
sets the horizontal asymptote;
controls how quickly the curve approaches it.
- Algebra errors when solving for
after exponentiating (losing track of constants like
and
).
- Forgetting that
and
are solutions even if you proceed by dividing by
.
Building Differential Equations from Context and Interpreting Solutions
On AP free-response, you are often not handed a “nice” differential equation first. Instead, you’re given a situation, and you must model it with a differential equation, interpret what the model predicts, and sometimes approximate or solve.
Translating words into a differential equation
Here are common phrases and the differential equation structures they suggest:
1) “Rate is proportional to amount”
2) “Rate is proportional to the product of the amount and the remaining capacity” (logistic)
3) “Rate depends on both time and current amount”
In any modeling situation, take a moment to label:
- what the independent variable represents (often time),
- what the dependent variable represents (population, temperature, mass, etc.),
- and the units of the derivative.
Units as a consistency check
A powerful way to avoid mistakes is to track units.
- If
is measured in liters and
in minutes, then
is liters per minute.
- In
, the constant
must have units of “per minute,” because multiplying “per minute” by liters gives liters per minute.
If your units don’t match, your model (or algebra) is wrong.
Interpreting a derivative at a point
If you are given
and a point
on a solution curve, then
This tells you the instantaneous rate of change at that point. AP loves asking for interpretations like: “At time
, the population is increasing at
organisms per day.”
Using the second derivative to infer concavity (without solving)
Sometimes you’re asked whether a solution is concave up or down at a point, given only
.
You can differentiate implicitly:
If
depends on
, you must apply the chain rule. For example, if
then
because the derivative of
is
.
Then at a point
you can compute
first, then plug into
.
Worked example: concavity from a differential equation
Given
and a solution passing through
, determine whether it is concave up or down at
.
First compute the slope at the point:
Differentiate to find
:
Evaluate at
:
So at
the concavity test is inconclusive from this value alone:
means the curve is neither concave up nor concave down at that instant (it could be an inflection point, or just a flat change in concavity). Many students incorrectly conclude “concave up” when they see 0; the correct conclusion is that concavity is not up or down at that exact point.
When you should not try to solve
AP problems sometimes place you in a setting where separation is not feasible, such as
This is not separable in a useful way for elementary functions. In those cases, tasks usually shift to:
- evaluating
at a point,
- using Euler’s method,
- using a slope field,
- or analyzing sign and behavior.
Recognizing when to stop trying to separate is a real exam skill.
Exam Focus
- Typical question patterns:
- “Write a differential equation that models the situation; identify what each term means.”
- “Given
and
, find
and interpret it in context.”
- “Use the differential equation to determine where the solution is increasing/decreasing or concave up/down.”
- Common mistakes:
- Ignoring units and interpreting a rate with the wrong units (e.g., saying ‘people’ instead of ‘people per year’).
- Computing
and forgetting the chain rule term involving
.
- Trying to separate a non-separable equation and producing invalid algebra.
Differential Equations on AP Free-Response: Multi-Representation Tasks
Differential equations frequently appear in AP free-response questions that combine multiple representations: a differential equation, a table, a slope field, and/or a graph. The exam often wants you to connect these views rather than only “solve.”
Moving between an equation, a table, and an approximation
You might be given a table of values of
for a differential equation
. This is common when the function is complicated or when the exam wants to emphasize numerical reasoning.
If you have Euler’s method with step size
:
and a table provides
directly, you can compute successive values without algebraic substitution.
A key habit: always record the triple
,
, and slope
so you can see what you used at each step.
Estimating a solution value from a slope field
If asked to estimate
given
, you trace the solution curve across the slope field from
to
. Because this is approximate, your accuracy depends on careful tracing and reading the axes.
Two common pitfalls:
- drifting off the direction segments (your curve must stay tangent to them),
- forgetting that different solution curves correspond to different initial conditions.
Checking reasonableness: monotonicity and asymptotes
Even when you do compute or estimate a value, AP often expects a “reasonableness check.” For example:
- If slopes are positive along the path, your solution should be increasing.
- If the model is logistic with carrying capacity
, your values should not blow past
and keep increasing forever (unless the initial condition is above
, in which case it should decrease).
Being able to say “this answer makes sense because the slope field shows decreasing slopes” can earn explanation points.
Worked example: combining separation and interpretation
A tank contains a salt solution. Let
be the amount of salt (in grams). Suppose it follows
and
.
1) Solve for
.
This is exponential decay:
2) Interpret
.
First find
:
Then compute the derivative from the differential equation:
So
Interpretation: at
(units of time), the amount of salt is decreasing at a rate of
grams per unit time.
Notice the exam strategy: you do not need to differentiate
again; the differential equation already tells you
in terms of
.
Exam Focus
- Typical question patterns:
- “Use a table of values of
with Euler’s method to approximate
.”
- “Estimate
from a slope field given an initial condition.”
- “Solve a separable differential equation, then use the model to interpret a rate at a specific time.”
- Common mistakes:
- Treating slope-field estimates as exact (they are approximate, so answers should be written as estimates).
- Forgetting that you can often compute
directly from
without finding
.
- Losing track of what the dependent variable represents (amount of salt versus concentration, for example).