6m left·0%
Reading Time: 6 min
Last Updated: March 23, 2026
Main Ideas: 5
Reading Time: 6 min
Last Updated: March 23, 2026
Main Ideas: 5

Topic 7.6 Notes – Finding General Solutions Using Separation of Variables

Verified for 2027 AP® Calculus AB Exam
Read aloud
Up to now, you’ve looked at slope fields and verified solutions. Here, you go the other direction: given a differential equation, you find the entire family of functions that satisfy it using separation of variables and antidifferentiation.

What a General Solution to a Differential Equation Is

A differential equation is an equation that involves a function and its derivative, usually written as
dydx=(something) \frac{dy}{dx} = \text{(something)}

A solution is a function y=f(x) y = f(x) that makes the equation true when you plug it in.

A general solution:

  • Contains an arbitrary constant C C
  • Represents a whole family of functions
  • Comes from antidifferentiation, so it must include “+ C”
  • Does not use an initial condition (that’s the next topic)

For example, if
dydx=4x, \frac{dy}{dx} = 4x, then integrating gives
y=2x2+C. y = 2x^2 + C.

Every different value of C C gives a different curve.

Here’s what that family looks like visually:

Family of solutions y=2x2+C y = 2x^2 + C

All of those curves have derivative 4x 4x . That’s what makes them all solutions.

Separable Differential Equations

Some differential equations can be rewritten so that all the y y -stuff is on one side and all the x x -stuff is on the other.

A first-order equation is separable if it can be written as
dydx=g(x)h(y). \frac{dy}{dx} = g(x)h(y).

That product structure is the clue.

If you can rearrange it into
(function of y) dy=(function of x) dx, \text{(function of } y)\, dy = \text{(function of } x)\, dx, then it’s separable.

Example that is separable:
dydx=3xy2 \frac{dy}{dx} = 3x y^2

You can rewrite it as:
1y2dy=3x dx. \frac{1}{y^2} dy = 3x \, dx.

Example that is not separable:
dydx=y+x. \frac{dy}{dx} = y + x.

There’s no way to split that into pure x x times pure y y . On a quiz, recognizing when you can’t separate is just as important.

The Separation of Variables Process

Once it’s separable, the steps are mechanical but you need to be clean.

  1. Rewrite so it looks like dydx=g(x)h(y) \frac{dy}{dx} = g(x)h(y) .
  2. Separate variables
    Move all y y ’s with dy dy , all x x ’s with dx dx .
  3. Integrate both sides
    ∫(y-expression) dy=∫(x-expression) dx \int (\text{y-expression})\, dy = \int (\text{x-expression})\, dx
  4. Add one constant C C
    (You only need one. Combine constants.)
  5. Solve for y y if possible.

Let’s walk one through.

Solve:
dydx=xy \frac{dy}{dx} = x y

Separate:
1ydy=x dx \frac{1}{y} dy = x\, dx

Integrate:
∫1ydy=∫x dx \int \frac{1}{y} dy = \int x\, dx

ln⁡∣y∣=12x2+C \ln|y| = \frac{1}{2}x^2 + C

Exponentiate:

∣y∣=e12x2+C |y| = e^{\frac{1}{2}x^2 + C}

Rewrite eC e^C as a new constant:

y=Ce12x2 y = C e^{\frac{1}{2}x^2}

That’s the general solution.

Integration Patterns That Show Up a Lot

Power rule forms

If you see yn y^n or xn x^n , use the power rule.

Be careful when dividing by y y .
1y=y−1 \frac{1}{y} = y^{-1} , which gives a logarithm.

The 1y \frac{1}{y} situation

∫1ydy=ln⁡∣y∣ \int \frac{1}{y} dy = \ln|y|

Two things students lose points on:

  • Forgetting the absolute value
  • Forgetting to exponentiate to solve for y y

If you get:
ln⁡∣y∣=something, \ln|y| = \text{something}, you almost always end with:
y=Ce(something). y = C e^{(\text{something})}.

This structure shows up constantly on FRQs.

What This Looks Like on Tests

  • On free response, you must show the separation and both integrals clearly.
  • On multiple choice, they may give you four possible families and ask which satisfies the differential equation.
  • Sometimes they test recognition by giving something that looks separable but isn’t.

Also, if you stop at an implicit answer when it’s easy to solve for y y , you may lose a point. Always check whether you can cleanly isolate y y .

Key Takeaways

A general solution must include a constant C C because it comes from antidifferentiation.
Separable equations can be written in the form dydx=g(x)h(y) \frac{dy}{dx} = g(x)h(y) .
After separating, integrate both sides and use only one constant.
If you integrate 1y \frac{1}{y} , you must get ln⁡∣y∣ \ln|y| , not ln⁡y \ln y .
Expressions like eC e^C are rewritten as a new constant C C .
If variables cannot be cleanly separated into pure x x and pure y y sides, the equation is not separable in AP Calculus AB.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining