Lesson 3.1 · Differential Equations
Slope fields and separable equations review
A differential equation tells you how a quantity changes instead of telling you the quantity itself. Before this unit adds Euler's method and logistic growth, this lesson reviews the AB toolkit you will lean on constantly: reading slope fields, checking solutions, and solving separable equations with an initial condition.
Differential equations and their solutions
A differential equation is an equation that involves a derivative, such as or . A solution is a function that makes the equation true for every in an interval.
To check a proposed solution, differentiate it and substitute. For example, is a solution of ? The left side is . The right side is . The two sides match for every , so yes.
A differential equation usually has a whole family of solutions, called the general solution, that differ by a constant . An initial condition such as picks out one member of the family: the particular solution.
Slope fields
You can see the solutions of without solving anything. At each point , the equation gives the slope a solution curve must have if it passes through that point. Draw a short segment with that slope at each point of a grid, and you get a slope field.
Definition
Slope field
A slope field for is a grid of short line segments. The segment at has slope . Every solution curve is tangent to the segments it passes through.
Here is the slope field for , together with the particular solution (dashed). Notice how the dashed line runs along the segments instead of cutting across them.
To read or match a slope field, look for patterns rather than computing every segment:
- Where are the segments horizontal? Those points satisfy . For that is the line .
- Do the slopes depend on only, only, or both? If depends only on , every vertical column of segments is identical. If it depends only on (an autonomous equation), every horizontal row is identical.
- Where are slopes positive or negative? Check a few convenient points, such as points on the axes.
Separation of variables
When the right side factors into a function of times a function of , the equation is separable and you can solve it exactly.
Solving a separable equation
For :
- Separate: move every to the side with and every to the side with : .
- Integrate both sides, and add one constant .
- Use the initial condition to find right away.
- Solve for if possible, and choose the sign or branch that matches the initial condition.
On the AP exam, a separable-equation free-response part is scored step by step. Separating the variables correctly earns the first point, and you can't earn later points without it, so write the separated form clearly.
Worked example: A square-root solution
Find the particular solution of with .
Solution. Separate: . Integrate:
Substitute , : . So . Taking square roots gives . Because is positive, choose the positive root:
Worked example: An exponential of a trig function
Solve with .
Solution. Separate: . Integrate: . At : , so . Then
Since , drop the absolute value: . Check: .
Common mistake
Add the constant when you integrate, not after you solve for . Writing and then tacking on "" at the end as gives the wrong family. The constant becomes a multiplier after you exponentiate, because .
Exponential growth and decay
The most important separable equation is : the rate of change is proportional to the amount present. Separating gives , so
where . If you get exponential growth; if , exponential decay.
Worked example: Finding k from a half-life
A radioactive substance decays at a rate proportional to the amount present. Its half-life is 6 years. What fraction of the original sample remains after 15 years?
Solution. The amount is . After 6 years, half remains: , so . After 15 years,
About of the sample remains.
Tip
Always check a particular solution twice: plug in the initial condition, and differentiate to make sure the equation holds. Both checks take under a minute and catch most sign errors.
Practice
Which differential equation could have the slope field shown?
For , find the slope of the slope-field segment at the point .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which function is a solution of ?
Find the particular solution of with .
Enter an expression, e.g. 3x^2 - 2x + 1
Find the particular solution of with .
Enter an expression, e.g. 3x^2 - 2x + 1
Find the particular solution of with .
Enter an expression, e.g. 3x^2 - 2x + 1
A bacteria population grows at a rate proportional to its size. It starts at 200 and doubles every 5 hours. To the nearest whole number, what is the population after 12 hours?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.