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

Topic 7.6 Notes – Finding General Solutions Using Separation of Variables

Verified for 2027 AP® Calculus BC Exam
Read aloud
You’ll take a first-order differential equation, rewrite it so the variables can be separated, and then use antidifferentiation to find a whole family of solutions. This is one of the main algebra-based solving techniques you’re expected to know in BC.

What a General Solution to a Differential Equation Is

A differential equation connects a function y y and its derivative dydx \frac{dy}{dx} .

A solution is any differentiable function that makes the equation true when you plug it in.

A general solution is a family of solutions. It includes an arbitrary constant C C .

Why is there a constant?

  • When you differentiate, constants disappear.
  • When you antidifferentiate, you must add them back.

Example idea:

If dydx=4x \frac{dy}{dx} = 4x

then integrating gives y=2x2+C y = 2x^2 + C

That C C represents infinitely many possible curves, all with slope 4x 4x .

On quizzes and the AP exam, “find the general solution” means:

  • Separate (if possible)
  • Integrate
  • Include +C +C

Initial conditions come later. Right now, you’re just finding the whole family.

What Makes a Differential Equation Separable

A first-order differential equation is separable if it can be written as

dydx=g(x)h(y) \frac{dy}{dx} = g(x)h(y)

That means:

  • The right side is a product of something involving only x x
  • And something involving only y y

If you can rewrite it so all the y y ’s go with dy dy and all the x x ’s go with dx dx , you’re good.

Examples That Are Separable

  • dydx=xey \frac{dy}{dx} = x e^y
  • dydx=3x2y \frac{dy}{dx} = \frac{3x^2}{y}
  • dydx=y(5−x) \frac{dy}{dx} = y(5 - x)

Each can be rearranged into a pure x x -side and pure y y -side.

Example That Is Not Separable

  • dydx+xy=y2 \frac{dy}{dx} + xy = y^2

You cannot rewrite that as a clean product g(x)h(y) g(x)h(y) . If you can’t isolate into “all x’s times all y’s,” separation won’t work.

A quick mental check: can I physically move every y y next to dy dy and every x x next to dx dx ? If yes, it’s separable.

How to Solve by Separation of Variables

Let’s walk through a full example:

dydx=x3y \frac{dy}{dx} = x^3 y

Step 1. Separate

Divide both sides by y y :

1ydy=x3dx \frac{1}{y} dy = x^3 dx

Now the variables are separated.

Step 2. Integrate Both Sides

∫1ydy=∫x3dx \int \frac{1}{y} dy = \int x^3 dx

Left side: ln⁡∣y∣ \ln |y|

Right side: x44 \frac{x^4}{4}

So:

ln⁡∣y∣=x44+C \ln |y| = \frac{x^4}{4} + C

Step 3. Solve for y y

Exponentiate both sides:

∣y∣=ex44+C |y| = e^{\frac{x^4}{4} + C}

Use exponent rules:

∣y∣=eCex44 |y| = e^C e^{\frac{x^4}{4}}

Since eC e^C is just another constant, rewrite:

y=Cex44 y = C e^{\frac{x^4}{4}}

That’s the general solution.

What General Solutions Usually Look Like

After separation and integration, solutions tend to fall into patterns:

  • Logarithmic form
    Comes from ∫1ydy \int \frac{1}{y} dy
    You’ll see ln⁡∣y∣=something \ln |y| = \text{something}
  • Exponential form
    Happens after exponentiating
    y=Ceg(x) y = Ce^{g(x)}
  • Power form
    From integrals like ∫y dy \int y \, dy
    You might get something like
    y2=x3+C y^2 = x^3 + C

If the derivative is proportional to y y , expect an exponential answer.

Common Mistakes and Exam Traps

These cost points every year:

  • Forgetting to move all y’s with dy dy
  • Leaving two constants instead of combining into one C C
  • Dropping the absolute value in ln⁡∣y∣ \ln |y|
  • Forgetting to include +C +C
  • Not solving for y y when it’s reasonable to do so

Also, if both sides produce constants after integration, combine them immediately. The grader expects a single arbitrary constant.

On free response, clean algebra matters. If you exponentiate, simplify eC e^C into C C . Don’t leave it messy.

Key Takeaways

A general solution includes an arbitrary constant because antidifferentiation introduces +C +C .
A differential equation is separable if it can be rewritten as dydx=g(x)h(y) \frac{dy}{dx} = g(x)h(y) .
Separation means rewriting it so all y y -terms are with dy dy and all x x -terms are with dx dx .
If you integrate 1y \frac{1}{y} , you must write ln⁡∣y∣ \ln|y| , not ln⁡y \ln y .
After exponentiating ln⁡∣y∣=g(x)+C \ln|y| = g(x) + C , rewrite eC e^C as a single constant C C .
Always give one clean constant and, when possible, solve explicitly for y y .

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