AP® CALCULUS AB & BC · UNIT 7
Finding General Solutions Using Separation of Variables
Separate the variables, integrate both sides and describe a family of solutions. Keep constant solutions, signs and valid intervals in every answer.

1. The separation method and AP scope
Separation of variables finds exact solutions of certain first-order differential equations by rearranging the equation into a function of the dependent variable on one side and a function of the independent variable on the other, then integrating.
On an interval where , separate and integrate:
Before dividing, test any constants for which . A constant is a solution only where it is allowed by the original equation and makes the original right side zero throughout the interval.
A general solution usually describes a family with an arbitrary constant. State the valid intervals and include any extra constant solutions lost during division. An implicit relation may need a branch choice before it describes a single solution function.
2. Recognize a separable equation
| Equation | Factorization or reason | Decision |
|---|---|---|
| Separable | ||
| , with constant | Separable | |
| ; require | Separable | |
| Separable | ||
| Separable after factoring | ||
| Separable after rewriting | ||
| The two-variable sum does not factor into one-variable factors on an open rectangle. | Not separable in the given variables |
A sum is not automatically nonseparable: factoring may reveal a product. In particular, is separable. The equation requires another method in these variables.
3. Separate, integrate and preserve the solutions
| Stage | Check |
|---|---|
| Factor | Write the right side as , simplifying only while preserving the original restrictions. |
| Check constants | Test the zeros of in the original equation before dividing by it. |
| Separate | Use on branches where the divisor is nonzero. |
| Integrate | Antidifferentiate each side with respect to its own variable. Retain absolute values in logarithms. |
| Combine constants | Two antiderivative constants reduce to one arbitrary difference . One written constant is sufficient. |
| Describe the family | Solve for when practical; choose a valid branch, state its interval and restore excluded constant solutions. |
| Verify | Differentiate and substitute into the original differential equation. If an initial condition is supplied, check it too. |
Why one integration constant is enough
Writing constants on both sides is valid. Combining them gives a cleaner equivalent relation. Do not treat their initial appearance on both sides as a mathematical error.
Differentiate to justify the rearrangement
If , differentiating uses the chain rule and recovers . This explains the separated integral notation on a nonzero branch; differentials are not independent ordinary fractions that can be rearranged without checking the equation.
4. Eight colorful worked examples
Example 1 · Exponential growth and decay families
Solve , where is a real constant.
1 · Check the constant solution first
The function satisfies the original equation. For a nonzero branch, divide by the dependent variable.
2 · Integrate and keep the absolute value
3 · Rename the constant with the right range
For the nonzero branches, , so . Adding the previously checked zero solution allows any real . The family is defined on all real inputs.
When , this becomes the family of all constant functions, as required.
Example 2 · Preserved initial-condition example
Solve , with . This illustrates how the general family leads into Topic 7.7.
1 · Separate on a nonzero branch
The supplied nonzero initial value selects a nonzero member of the family.
2 · Integrate and express the general family
The family also includes , after checking the zero solution separately.
3 · Use and verify the initial condition
Differentiation gives . The initial value is , and the solution is defined for every real input.
Example 3 · An implicit relation with two branch choices
Solve .
1 · Keep the original denominator restriction
The equation requires . Multiplying by the dependent variable gives
2 · Integrate and rename the additive constant
Here is an arbitrary real constant.
3 · Select a nonzero branch on an interval
Require , and choose one sign on a connected interval. The strict inequality excludes zero heights, even if the implicit relation contains such points.
Implicit differentiation gives , hence the original equation where . The constant zero function is not a solution.
Example 4 · Preserved partial-fractions example · BC extension
Solve . The partial-fractions integration technique is a BC extension; it is not a prerequisite for the AB core examples.
1 · Preserve the domain and equilibrium members
The input must satisfy . The constant functions and are both solutions on either side of zero. For nonconstant branches, separate with .
2 · Decompose the dependent-variable factor
The logarithmic terms combine to an implicit relation after integrating the other side as a negative reciprocal.
3 · State the nonconstant relation and the missing constants
This relation applies where and , on a chosen solution interval. Include and separately. These equilibria were lost when dividing by the quadratic factor.
Example 5 · Factor a sum before deciding
Solve .
1 · Find the hidden product and constant solution
This equation is separable. The constant makes the original rate zero.
2 · Separate and integrate nonconstant branches
3 · Give the complete family
Allow any real , including for the checked equilibrium. Every member is defined on all real inputs.
Example 6 · A rate depending only on the input
Solve .
1 · Treat the missing dependent-variable factor as one
2 · Antidifferentiate
Every real value of gives a solution on all real inputs. Differentiation recovers the given rate.
Example 7 · An inverse-trigonometric antiderivative
Solve . Use radians.
1 · Separate without losing a real constant solution
The factor is positive for every real height, so there are no real equilibrium solutions to restore.
2 · Integrate, then choose a branch interval
For a fixed real , a representative maximal interval is
Translated tangent intervals give the other branches. Do not include a tangent pole or join across one. Differentiation gives on each branch.
Example 8 · Restore a solution lost by division
Solve .
1 · Record the zero solution before dividing
The constant solves the equation. For a nonzero branch,
2 · Integrate and solve
3 · State the interval and complete the answer
Choose an interval contained in or . The denominator cannot vanish. Together with , these give all solution branches of this equation.
The zero function cannot be obtained by any finite value of in the reciprocal family.
5. Six verified views of solution families
These exact solution curves are generated from verified formulas. Colors are supplemented by solid, dashed and dash-dot styles. Ordinary function plots use independent axis scales, so their visual angles are not measurements of slope. Abstract coordinates have no specified physical units.
A family includes its zero member
Factoring reveals a shifted family
An implicit relation needs a branch
Restore zero and split at both poles
A simplified formula retains its domain
The logarithm argument must stay positive
Open markers represent excluded finite boundary points. Filled dots identify stated points on selected members. Curves continuing to the edges of the plotted window have been clipped for display; those edges are not additional domain boundaries. No path is drawn across an excluded input or pole.
6. Common forms, constants and domains
| Type | Equation | Family or relation | Restriction |
|---|---|---|---|
| Exponential | Any real ; all real inputs. | ||
| Product | Any real , including zero. | ||
| Quotient | Choose a fixed sign with ; no zero solution. | ||
| Input only | Use an antiderivative with on the interval. | ||
| Height only | Nonzero-factor branches; also check zeros of . |
General versus particular solutions
A general family contains an arbitrary constant, such as . The initial condition selects the particular member . A single formula may omit exceptional equilibrium solutions, so always check what was divided out.
Logarithms, signs and renamed constants
The absolute value permits both positive and negative nonzero branches. From , exponentiation gives . The new coefficient can be any nonzero real number; zero must be justified separately.
Other antiderivatives and course boundaries
A positive constant gives the familiar inverse-trigonometric form
For , factoring leads to partial fractions, as in the preserved BC extension. A substitution may also be needed on either side. Keep the core AB method separate from integration techniques that are BC extensions.
Domain and branch checks
Keep original denominator exclusions before canceling factors. Logarithms require positive arguments; square-root solution branches may require a strict positive radicand when zero would make the original equation undefined. A solution function is defined on a connected interval where it is differentiable and satisfies the equation at every point.
7. Eight practice questions with complete solutions
1. Select an exponential member
Solve , .
Show complete solution
1 · Separate and integrate
2 · Apply the initial value and verify
The derivative is , and the initial value is . The solution is defined for all real inputs.
2. Do not lose the zero solution
Solve .
Show complete solution
1 · Separate a nonzero branch
Record first. On a nonzero branch,
2 · Write equivalent families with renamed constants
Here . Choose a connected interval where the denominator is nonzero, and include the separate constant solution .
3. Keep an excluded input after simplifying
Solve , .
Show complete solution
1 · Preserve the input restriction and integrate
The original equation requires . For nonzero branches,
On a connected interval with a fixed sign of the input, the family can be written . It also includes the checked zero solution when .
2 · Select the member and its interval
The initial point selects the positive-input interval. The simplified line does not allow the original equation to be evaluated at zero.
4. Separate an exponential difference
Solve .
Show complete solution
1 · Rewrite, separate and integrate
2 · Enforce the logarithm domain
Require . If , the domain is all real inputs. If , the maximal domain is . The original rate is always positive, so there are no real constant solutions.
5. Factor a sum and retain the equilibrium
Find the general solution of .
Show complete solution
1 · Record the constant and separate
The equilibrium is . For other branches,
2 · Include every coefficient
Every real is allowed, including zero for the equilibrium. All members are defined on the real line.
6. Recognize a nonseparable equation
Can be separated into one function of the input times one function of the height, on an open rectangle?
Show complete solution
1 · Test the proposed product form
The two-variable sum does not factor into separate one-variable functions. For example, comparing heights and would require the following ratio to be independent of the input wherever its denominator is nonzero.
2 · Justify the classification
This derivative is positive where defined, so that ratio is not constant. The same comparison can be made with two distinct heights in any open rectangle. The equation is not separable in the given variables; another differential-equation method is needed.
7. Choose the right square-root branch
Solve with .
Show complete solution
1 · Use the implicit family and initial value
2 · Choose the negative branch
This branch stays negative and is defined for all real inputs, so the original denominator is never zero. Its derivative is , which equals the original right side.
8. Integrate an input-only rate
Find the general solution of . Use radians.
Show complete solution
1 · Use substitution on the input side
2 · Return to the original variable
Differentiating with the chain rule gives . Every real gives a solution on all real inputs.
8. Common mistakes and clear written work
- Classifying a sum too quickly. Factor first: is separable.
- Dividing out a valid solution. Check original constant solutions before dividing by a height-dependent factor.
- Dropping absolute values. The reciprocal antiderivative is on nonzero branches.
- Changing the allowed range of a constant. An exponential coefficient from is positive until signs and separately checked zero members are included.
- Calling two constants invalid. Constants on both sides are legitimate; combine their difference into one arbitrary constant.
- Forgetting a sign or power during integration. Differentiate antiderivatives such as to check them.
- Mixing the integration variables. Put each differential beside the expression in its own variable.
- Treating both square-root signs as one function. Select one branch on a valid interval.
- Ignoring original exclusions. A simplified formula does not define the original equation at a forbidden input or height.
- Leaving an initial condition unused when one is supplied. Substitute it after finding the family, then verify the selected member.
Make the written solution checkable
Show separation, antiderivatives, an arbitrary constant, any required algebra and the final family with its restrictions. If a problem asks for an explicit solution, solve for the dependent variable and select the valid branch. If an initial condition is given, find the particular member as requested. Check the original equation by differentiation. Points on a particular AP question depend on its own scoring guidelines.
9. Frequently asked questions
Is this topic shared by AP Calculus AB and BC?
Yes. Topic 7.6 covers general solutions by separation and antidifferentiation in both courses. The preserved example using linear partial fractions is labeled as a BC integration extension.
Can a differential equation containing a sum be separable?
Yes. Factoring may reveal a product: . A different sum, such as , is not separable in the given variables.
Why must I check constant solutions before dividing?
Dividing by a factor that can be zero excludes those heights during the calculation. Test each candidate in the original equation; a valid equilibrium may need to be restored separately.
Is it wrong to put constants on both sides?
No. The two constants combine into one arbitrary difference. Writing one constant after integration is simply more economical.
Why is there an absolute value in the logarithm?
The derivative of is on either nonzero sign interval. Using only would discard negative branches unless positivity had already been established.
Can I always leave an implicit answer?
Follow the instruction. An implicit relation can describe a family, but an explicit solution request requires solving for the dependent variable where possible and choosing a valid branch. Always keep the original restrictions.
How do I verify the general solution?
Differentiate, substitute into the original equation, and check the allowed interval and any excluded constants. If an initial condition is supplied, verify that point as well.
10. Continue through Unit 7
General solutions connect antiderivatives with differential equations. Next, use initial conditions to select a particular solution and its valid interval.
AB students can come directly from Topic 7.4: reasoning using slope fields. Euler’s method is a BC-only numerical topic; separation gives exact families for equations that can be separated.