AP Calculus AB · Study guide

Differential Equations, Slope Fields, and Models

AP Calculus AB · Comprehensive Guide 14

Differential Equations, Slope Fields, and Models

Model rates with differential equations, verify solutions, read slope fields, separate variables, and solve exponential initial-value problems.

7 topics · 7 worked examples

Prerequisite check

You should know derivatives, antiderivatives, logarithms, exponentials, and interpreting parameters with units.

AP reasoning lens

A separated solution is incomplete until constants and domain restrictions are handled; use the initial condition to determine the particular solution.

Topic 7.1

Modeling Situations with Differential Equations

Modeling starts with a translation. Over and over, a real-world process is described by the same English template:

Skills inside this topic

7.1.aTranslating 'rate is proportional to' into dy/dt = ky
7.1.bNewton's law of cooling form: dy/dt = k(y - T)
7.1.cIdentifying dependent and independent variables

Core results and conditions

  • 7.1.a · Translating 'rate is proportional to' into dy/dt = kyThe phrase 'the rate of change of ' is shorthand for the derivative with respect to time. It is not the quantity itself. So the left side of one of these equations is always a derivative — never the bare letter for the amount. Here is the dependent variable (the thing changing) and is the independent variable (usually time).
  • 7.1.b · Newton's law of cooling form: dy/dt = k(y - T)If the rate of change of is proportional to the difference between and a fixed ambient value , then Here is the dependent state variable, is the independent variable, (a constant) is the surrounding or ambient value, and is the constant of proportionality. The value makes the right side zero, so it is the equilibrium the state drifts toward.
  • 7.1.c · Identifying dependent and independent variablesIn a verbal scenario, the dependent variable is the one described as following from another; the independent variable is the one named after the connecting word. Cue phrases: ' depends on ' — is dependent, is independent.; ' is a function of ' — same roles.; ' changes with respect to ' — same roles.; ' responds to changes in ' — same roles.

Worked example · source skill 7.1.c

'A population grows over time at a rate proportional to its current size.' Name the variables and write the differential equation this sentence describes.

'Grows over time' → is independent, is dependent. The rate is .
'Rate proportional to its current size' means equals a constant times .
Introduce a proportionality constant : .
The whole equation rested on first naming as dependent on — that fixed which letters appear in the rate.
Result and interpretation
Takeaway: 'Proportional to' turns into ',' but only after the rate is set up by naming the dependent and independent variables.

[Figure: AB Topic 7.1: A differential equation models how a quantity's local rate depends on its current state and input; a solution curve remains tangent to those rates.]

A differential equation models how a quantity's local rate depends on its current state and input; a solution curve remains tangent to those rates.
Topic 7.2

Verifying Solutions for Differential Equations

A differential equation is an equation that relates an unknown function to one or more of its derivatives. For example, reads: the rate of change of is negative one-half of itself. This is exactly how radioactive decay, cooling, and unrestricted growth are modeled.

Skills inside this topic

7.2.aVerifying solutions by direct substitution
7.2.bVerifying an initial condition

Core results and conditions

  • 7.2.a · Verifying solutions by direct substitutionTo verify that a candidate function is a solution of a differential equation: 1. Differentiate the candidate as many times as the equation needs. 2. Substitute the candidate and its derivatives into the equation. 3. Simplify and check that the two sides are equal as an identity. If the left side equals the right side for every value of the independent variable, the candidate is a solution. If they differ — even by a single coefficient — it is not.
  • 7.2.b · Verifying an initial conditionAn initial condition is written which means: when the input is , the solution's output is . It is the single point on the solution curve. The first coordinate is the base point (the input). The second coordinate is the required output.

Worked example · source skill 7.2.a

Verify that solves , and check the initial condition .

Differentiate with the power rule: (the constant differentiates to ).
Compare with the right side : the two are equal as functions of . Verified.
Check the initial condition: , which matches. So this candidate is the particular solution with .
Result and interpretation
Takeaway: Here the right side depends on alone, not on , so substitution just compares with a given function of . Verifying a differential equation and verifying an initial condition are two separate, both-required checks.
Topic 7.3

Sketching Slope Fields

A differential equation written as is a rule for slopes. It does not hand you a curve; it hands you a recipe. At every point in the plane, the rule produces one number, and that number is the slope of the solution curve passing through that point.

Skills inside this topic

7.3.aComputing slope at lattice points
7.3.bDrawing short segments with correct slope
7.3.cRecognizing slope-field signatures

Core results and conditions

  • 7.3.a · Computing slope at lattice pointsIf , then the slope of the solution curve at the lattice point is the number obtained by substitution: There is exactly one move: replace every with , replace every with , then simplify. The result is a plain number — the steepness of the tiny tangent segment you will later draw at that point.
  • 7.3.b · Drawing short segments with correct slopeTo draw the tick at a lattice point for : 1. Evaluate — one number (or 'undefined'). 2. Draw a short segment through of slope . The segment's tilt angle from horizontal is : the tick rises units for every unit it runs to the right.
  • 7.3.c · Recognizing slope-field signaturesTo classify a field, scan one full vertical column and one full horizontal row: What stays uniform | What it means | Family; Up every column (moving in ) | slope ignores | ; Across every row (moving in ) | slope ignores | ; Both directions | slope ignores both | constant; Neither direction | slope needs both | mixed

Worked example · source skill 7.3.a

For , find the slope at .

Substitute with parentheses: .
Square first — and the parentheses are not optional: , not .
Add: .
Slope at is .
Result and interpretation
Takeaway: Under order of operations but . Squaring a substituted negative coordinate is exactly where the parentheses earn their keep.

[Figure: AB Topic 7.3: A slope field records the differential equation's local slopes at a grid of points without selecting any one particular solution.]

A slope field records the differential equation's local slopes at a grid of points without selecting any one particular solution.
Topic 7.4

Reasoning Using Slope Fields

A slope field for a differential equation draws a tiny line segment at each grid point . The tilt of that segment is the slope the equation assigns there. Every segment has the same length; only its tilt carries information.

Skills inside this topic

7.4.aMatching slope field to ODE
7.4.bSketching a particular solution through a point
7.4.cLong-term behavior from slope fields

Core results and conditions

  • 7.4.a · Matching slope field to ODEAn isocline is a set of points where the slope is constant. Two isocline patterns reveal what can depend on: Constant-on-verticals. If the segments are identical all the way up each vertical line, the slope does not change with , so depends on only: . Constant-on-horizontals. If the segments are identical all the way across each horizontal line, the slope does not change with , so depends on only: .
  • 7.4.b · Sketching a particular solution through a pointTo sketch the particular solution of through : Plot the initial point .; Read the slope of the segment at that location and draw a short curve there that is tangent to it.; Step a little along your curve to a new point. Read the segment there — it may have a different slope — and extend the curve tangent to it.; Repeat, tracing in both directions (increasing and decreasing ).
  • 7.4.c · Long-term behavior from slope fieldsAn equilibrium solution is a constant function that satisfies the differential equation. Its graph is the horizontal line , and because it never changes, its slope is everywhere along that line. In the slope field an equilibrium shows up as a complete flat row of horizontal segments. For an autonomous equation (the slope depends on only), the equilibria are exactly the solutions of A field can have zero, one, two, or more equilibria — so finish scanning the whole field.

Worked example · source skill 7.4.c

For , classify the equilibrium and find for the solution with .

Equilibria: (one flat row).
Stability: below , (up, in); above , (down, in). Both point in, so is stable.
Start sits below . There , so the solution increases and is trapped under the line .
It rises monotonically and presses against the stable line: , approached from below.
Result and interpretation
Takeaway: A stable equilibrium ahead of the initial value attracts the solution. Starting below , this solution increases toward and levels off there.

[Figure: AB Topic 7.4: Solution curves follow the local directions in the same slope field; different initial conditions select different nonintersecting members of the family.]

Solution curves follow the local directions in the same slope field; different initial conditions select different nonintersecting members of the family.
Topic 7.6

Finding General Solutions Using Separation of Variables

A differential equation describes a function by telling you its rate of change. Solving one means finding the original function whose derivative matches the equation. The general solution is the whole family of such functions (it carries an arbitrary constant); a particular solution is the one member that also passes through a given point.

Skills inside this topic

7.6.aSeparating variables
7.6.bIntegrating both sides after separating
7.6.cSolving for y explicitly

Core results and conditions

  • 7.6.a · Separating variablesTo solve by separation of variables: 1. Separate: — every (and ) left, every (and ) right. 2. Integrate both sides: . 3. Solve for (and apply any initial condition).
  • 7.6.b · Integrating both sides after separatingGiven a separated equation , integrate both sides: If is an antiderivative of and is an antiderivative of , the implicit general solution is
  • 7.6.c · Solving for y explicitlyStarting from , solve for in four moves: Move | Result; 1. Exponentiate both sides (undo ) | ; 2. Split with | ; 3. Strip the absolute value (insert ) | ; 4. Fold into one constant |

Worked example · source skill 7.6.c

Solve explicitly for .

Exponentiate: .
Split: .
Sign-strip: .
Consolidate: .
Result and interpretation
Takeaway: The coefficient rides inside the exponent of ; it does not come out front as a separate multiplier. Compare to Example 1 — only the exponent changed.

[Figure: AB Topic 7.6: A separated exponential growth equation produces a family of curves whose rate remains proportional to the current amount.]

A separated exponential growth equation produces a family of curves whose rate remains proportional to the current amount.
Topic 7.7

Finding Particular Solutions Using Initial Conditions and Separation of Variables

When you solve a differential equation by antidifferentiation or separation of variables, the answer always arrives with a leftover constant of integration: a (or ). Each value of that constant gives a different function, and every one of them satisfies the equation. Together they form the general solution — a whole family of curves.

Skills inside this topic

7.7.aDetermining C from the initial condition
7.7.bDomain of the particular solution

Core results and conditions

  • 7.7.a · Determining C from the initial conditionAn initial condition is a known value of the solution, written . Read it aloud as: 'at , the value of is .' Given a general solution , the particular solution is found in four moves: (1) substitute and into the general solution, (2) simplify, (3) solve for , (4) write explicitly.
  • 7.7.b · Domain of the particular solutionLet be the particular solution of an initial value problem with initial condition at . Its interval of validity (its domain) is the largest open interval such that and is differentiable at every point of Equivalently: list every singularity of ; these cut the -axis into open pieces; the domain is the single piece that contains .

Worked example · source skill 7.7.a

Solve with the initial condition . Write the particular solution and state its domain.

Separate: . Integrate: .
Solve for : , so with (the general solution).
Apply the IC: , so .
Particular solution: , valid for all real ; domain .
Result and interpretation
Takeaway: When the exponential does not collapse to : you must divide by . Combining gives the tidiest form.
Topic 7.8

Exponential Models with Differential Equations

Some quantities grow or shrink at a rate that depends on how much is already there. A bacteria culture with twice as many cells divides twice as fast; a radioactive sample with twice the mass emits twice as many particles per second. In words, the rate of change is proportional to the amount present.

Skills inside this topic

7.8.aSolving dy/dt = ky
7.8.bGrowth vs. decay from sign of k
7.8.cDoubling time and half-life
7.8.dSetting up exponential models from word problems

Core results and conditions

  • 7.8.a · Solving dy/dt = kyIf a quantity satisfies then its unique solution is To use the template, read off just two numbers from the problem: — the constant multiplying on the right of the ODE;; — the value of at , from the initial condition.
  • 7.8.b · Growth vs. decay from sign of kFor : If : exponential growth. As increases, increases without bound, so . If : exponential decay. As increases, , so . If : , so for all — the function is constant.
  • 7.8.c · Doubling time and half-lifeTreat the equation as a separable differential equation and integrate each side: Step | Work; Separate | ; Integrate | ; Exponentiate | ; Apply | , so
  • 7.8.d · Setting up exponential models from word problemsThe initial-value problem has the unique solution It is multiplicative: each unit of time scales by the fixed factor . It is NOT additive — is a different (linear) model and almost always the wrong one for these problems.

Worked example · source skill 7.8.a

A quantity satisfies with and . Find in exact form.

Template: . The given means , so .
Notice because .
Substitute the known ratio: , so .
(Direct route: , then .)
Result and interpretation
Takeaway: When the target time is a whole-number multiple of a known time, raise the known ratio to that power — you can reach the answer without ever isolating .

[Figure: AB Topic 7.8: A separated exponential growth equation produces a family of curves whose rate remains proportional to the current amount.]

A separated exponential growth equation produces a family of curves whose rate remains proportional to the current amount.

Last-pass checklist

7.1 · Modeling Situations with Differential Equations7.1.a, 7.1.b, 7.1.c
7.2 · Verifying Solutions for Differential Equations7.2.a, 7.2.b
7.3 · Sketching Slope Fields7.3.a, 7.3.b, 7.3.c
7.4 · Reasoning Using Slope Fields7.4.a, 7.4.b, 7.4.c
7.6 · Finding General Solutions Using Separation of Variables7.6.a, 7.6.b, 7.6.c
7.7 · Finding Particular Solutions Using Initial Conditions and Separation of Variables7.7.a, 7.7.b
7.8 · Exponential Models with Differential Equations7.8.a, 7.8.b, 7.8.c, 7.8.d