Differential Equations, Slope Fields, and Euler's Method
Model and verify differential equations, reason from slope fields, and approximate a particular solution step by step with Euler's Method.
5 topics · 5 worked examples
You should know derivatives, tangent-line approximation, tables, and interpreting rates with units.
Euler updates use the slope at the current point. Keep step size, coordinates, and the differential-equation value synchronized in a table.
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
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.
Takeaway: 'Proportional to' turns into ',' but only after the rate is set up by naming the dependent and independent variables.
[Figure: BC 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.]
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
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 .
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.
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
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 .
Takeaway: Under order of operations but . Squaring a substituted negative coordinate is exactly where the parentheses earn their keep.
[Figure: BC Topic 7.3: A slope field records the differential equation's local slopes at a grid of points without selecting any one particular solution.]
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
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 .
Takeaway: A stable equilibrium ahead of the initial value attracts the solution. Starting below , this solution increases toward and levels off there.
[Figure: BC Topic 7.4: Solution curves follow the local directions in the same slope field; different initial conditions select different nonintersecting members of the family.]
Approximating Solutions Using Euler's Method
A differential equation gives you the slope of a solution at every point — but it does not hand you the solution itself. For many equations there is no tidy formula to solve for, and on the AP exam you are often forbidden to use one. So how do you find out where the solution goes?
Skills inside this topic
Core results and conditions
- 7.5.a · One Euler step from an initial conditionGiven with a known point , one Euler step of size produces the approximate next point : In words: new equals old plus slope times step. The slope is evaluated at the starting point only.
- 7.5.b · Multiple Euler steps (building the table)Given and a starting point , repeat for : Each step is the same one-step rule — new = old + slope step — but the slope is recomputed from the current point every time. The output of one step is the input of the next.
- 7.5.c · Step size and whether Euler over- or under-estimatesFor Euler's method stepping forward (increasing ) along a solution whose concavity has a single sign on the interval: (concave up) tangents lie below Euler under-estimates. (concave down) tangents lie above Euler over-estimates. Mantra: concave up, Euler is under; concave down, Euler is over. The verdict is about the curve's concavity, not about whether the solution is increasing or decreasing.
Worked example · source skill 7.5.a
Let solve with . Use one Euler step to approximate .
Takeaway: When the target lies left of the start, is negative and the slope-times-step term flips sign. Keeping the sign of is the whole game for a backward step.
[Figure: BC Topic 7.5: Euler's Method follows successive tangent-line steps through the slope field to approximate the particular solution.]