AP Calculus AB and BC
Differential Equations Cheat Sheet for AP Calculus
AP Calculus differential equations come down to five skills: read a slope field, approximate with Euler's method (BC), solve by separating variables, use y = Ce^(kt) for exponential change, and for the logistic model (BC) read the carrying capacity and the fastest growth at half of it straight from the equation.
Writing and checking differential equations
| Wording | Differential equation |
|---|---|
| The rate of change of is proportional to | |
| The rate of change of is proportional to the difference between and a constant | |
| The rate of change of is inversely proportional to | |
| The rate of change of is proportional to the product of and | |
| A quantity enters at one rate and leaves at another |
- A general solution contains an arbitrary constant and describes a family of curves. A particular solution uses an initial condition to fix .
- To verify a proposed solution (Topic 7.2), compute its derivative and substitute into both sides of the differential equation. The two sides must agree for every in the domain. Then check the initial condition if there is one.
Slope fields
A slope field draws a short segment with slope at each grid point. A solution curve is tangent to the segments it passes through (Topics 7.3 and 7.4).
| Feature of the equation | What the slope field shows |
|---|---|
| depends only on | Segments are identical along each vertical line. Solution curves are vertical shifts of one another. |
| depends only on | Segments are identical along each horizontal line. |
| at a point | A horizontal segment at that point. |
| at every point of a line | is a constant (equilibrium) solution. |
| in a region | Segments rise from left to right there, so solutions increase. |
| is undefined, as when a denominator is | No slope is defined at those points. |
- To match an equation to a slope field, find where the slopes are zero, then test the sign of the slope in each quadrant, then check a point with a large slope.
- Concavity of a solution comes from the second derivative, found by differentiating the equation implicitly. For : .
Sketching practice is in slope fields and Euler's method.
Euler's method (BC)
Euler's method (Topic 7.5) approximates a solution of through by following tangent lines in steps of size :
| Column | How to fill it |
|---|---|
| Start at and add each row. | |
| Start at . Each new value is the previous plus the previous row's change. | |
| Slope | Substitute the current row's and into the differential equation. |
| Change in | Slope times . |
- The slope in each step uses the current approximate point, not the exact solution.
- is negative when stepping to the left.
- A single step follows a tangent line. With , it underestimates when the solution curve is concave up between the two -values and overestimates when it is concave down.
- Smaller steps generally give a better approximation.
Separation of variables
- Rewrite with every on one side and every on the other: .
- Integrate both sides. Write on one side at this step.
- If there is an initial condition, substitute it now to find .
- Solve for if the problem asks for as a function of . Choose the sign or branch that matches the initial condition.
| Differential equation | Separated form | General solution |
|---|---|---|
| , and also |
- The constant belongs at the integration step. Adding after solving for gives a wrong family: does not solve .
- . The initial condition decides whether is positive or negative on the solution.
- Dividing by assumes . Constant solutions where must be checked separately.
- A particular solution is defined on the largest interval containing the initial -value on which the solution is differentiable and satisfies the equation.
Worked solutions are in separable differential equations.
Exponential and logistic models
| Exponential model (Topic 7.8) | Formula |
|---|---|
| Differential equation | |
| Solution with | |
| Growth or decay | Growth when , decay when |
| Doubling time () | |
| Half-life () |
| Logistic model, BC (Topic 7.9) | Formula or fact |
|---|---|
| Differential equation | with and |
| Carrying capacity | for any |
| Constant solutions | and |
| Direction | increases when and decreases when |
| Fastest growth | At , where the rate is |
| Inflection point | The graph of has an inflection point where , when |
| Solution with | with |
| Alternate form | is the same model with |
Most logistic questions can be answered from the differential equation without solving it. Put the equation in the form above and read off . See exponential growth and decay and logistic growth.
Worked examples
Worked example
A particular solution by separation
Solve with .
- Separate: .
- Integrate both sides: .
- Apply the initial condition , : , so .
- Solve for : , so .
- Check: and , which agree. Also .
, valid for , the interval around where the solution is defined.
Worked example
Euler's method with two steps
Let be the solution of with . Use Euler's method with two steps of equal size to approximate .
- Step size: . Start at .
- First step: the slope at is . New -value: . The new point is .
- Second step: the slope at is . New -value: . The new point is .
- Compare: the exact solution is , so . The approximation is below the exact value.
Worked example
Reading a logistic equation
A population satisfies with . Find , the population at which it grows fastest, the growth rate at that moment, and the time when that happens.
- Match the form : and .
- Carrying capacity: since , .
- Fastest growth occurs at . The rate there is .
- Solution: , so .
- Set : , so and .
The limit is . Growth is fastest when , at a rate of per unit time, which occurs at .
Frequently asked questions
Where does the constant of integration go when separating variables?
Add it immediately after integrating, on one side of the equation, before solving for . If you wait until after exponentiating or taking a root, the constant ends up in the wrong place. For , integrating gives , which becomes with a new constant as a multiplier.
How do I find the carrying capacity of a logistic differential equation?
Set and solve. A logistic equation has two constant solutions, and . The positive one, , is the carrying capacity. For the carrying capacity is , and the population grows fastest at half of that, .
Is Euler's method part of AP Calculus AB?
Euler's method is Topic 7.5, which is a BC only topic, as is the logistic model in Topic 7.9. Slope fields, separation of variables, and exponential models are on both AB and BC.