Educerie · AP · Calculus
AP Calculus AB and BC 7.6
Finding General Solutions Using Separation of Variables
How do you go from an equation about the slope to the function itself?
What you will learn
- Understand that an equation of the form dy ÷ dx = g(x)h(y) can be separated and integrated on both sides
- Know that the single constant of integration goes on the x side before solving for y
- Understand that a fraction does not always give a logarithm, so each antiderivative needs choosing
- Know that the general solution is a family of curves, one for each constant
You must be able to
- Write the separated form of a differential equation
- Integrate both sides and add one constant of integration
- Solve for y in the general solution when possible
- Choose between a logarithm, a power and an exponential antiderivative
- Check a general solution by differentiating it
- Describe a general solution as a family of functions
In the exam. Section I multiple choice: separate and integrate a short equation, pick the right general solution from four, or pick the correct separated form. In Section II, separation of variables is the heart of question 3 (shared by AB and BC), usually with an initial condition (Topic 7.7). Failing to separate the variables, or leaving out the constant of integration, limits the points you can earn. Chief reader reports record equations separated incorrectly, and the initial condition not used before solving.
1The simplest case: only on the right
If , the solution is an antiderivative.
The constant is part of the answer. Each value of gives a different curve, and they are all vertical shifts of one another. Together they make the general solution.
2Separation of variables, step by step
An equation is separable if it can be written as
Follow these steps.
- Separate. Divide by and multiply by : . The left side now has only , the right side only .
- Integrate both sides. .
- Add one constant. Write on one side only, the side.
- Solve for if the question asks and if it is possible.
Why separating is allowed. Treat as a function of . Dividing by gives . Now integrate both sides with respect to . On the left, the chain rule run backwards (substitution with ) turns into . So moving and to opposite sides is a shorthand for a legitimate substitution, and the result is an equation that links and with no derivative left in it.
Why one constant is enough: if you wrote a constant on each side, say on the left and on the right, you could move them together into one constant . So write once, and do it before any further steps.
Writing the separated form is itself marked. It is the step that earns credit for "separates the variables".
Worked example 1. Find the general solution of , for .
Separate:
Integrate both sides:
Solve for , by raising to both sides:
The number is a positive constant, so rename it :
Check it with Topic 7.2. . It matches.
For , gives , so may be negative too. Writing with the absolute value keeps both cases. Dividing by also lost the solution , which satisfies the equation (both sides are zero). With an initial condition, is fixed and these points do not matter.
3Choosing the right antiderivative
The course description warns that students assume that every equation with a fraction has a logarithm in its solution. Some do. Many do not. Check each integral.
- . This is the only common case with to the first power.
- . A power, not a logarithm.
- .
Worked example 2. Find the general solution of , for .
Solve for :
Here became again, since the constant is any number. You may write or and both are correct.
Worked example 3. Find the general solution of .
Multiply both sides by :
The is again any constant, so write it as . The same letter is reused when the new constant is still arbitrary. Cube roots have one real value, so there is no .
Worked example 4. Find the general solution of .
Rewrite the right side as a product: . Separate:
The constant stays inside the logarithm. It is wrong to write .
Worked example 5 (substitution). Find the general solution of , for .
The right integral uses with . Raise to both sides:
Worked example 6 (a shifted variable). Find the general solution of , for and .
The right side has on top and below, so it separates with as the part:
Raise to both sides: , so:
Check by Topic 7.2. , and . They match. The family is a set of straight lines through the point , one for each slope . Notice that the antiderivative of is , not . The whole denominator is the argument of the logarithm.
4A family of curves
The general solution is the family of all solutions. Look at from Topic 7.2.
Rename as . The solutions are : circles about the origin, one for each .
Figure 1 shows the slope field of the equation with two of these circles. Each circle is tangent to the segments it passes through. You can see why: at the point , the radius has slope , and the tangent to a circle is perpendicular to the radius, so its slope is .
A solution that is a function of must pass the vertical line test, so each solution is half of a circle: or . Which half depends on the starting point (Topic 7.7).
5When separation does not apply
Not every equation can be separated. cannot be written as a product of an part and a part, so this method does not work on it. The equations in this unit are ones you can separate, or ones in the exponential and logistic forms of Topics 7.8 and 7.9. If you cannot see how to separate, try factoring the right side or rewriting a power of .
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.