Study Guide

General solutions via separation of variables

AP Calculus ABΒ· AP Calculus AB CED β€” Differential EquationsΒ· 14 min read

1. Identifying Separable First-Order Differential Equationsβ˜…β˜…β˜†β˜†β˜†β± 3 min

πŸ“˜ Definition

Separable Differential Equation

A first-order differential equation where the right-hand side can be factored completely into a product of a function that depends only on and a function that depends only on .

Before applying separation of variables, you must confirm your DE is separable. Many DEs appear non-separable at first, but can be rewritten using exponent rules (e.g. ) or factoring to reveal the required product form. AP Calculus AB will only ask you to solve separable DEs with this method.

πŸ“ Worked Example

Determine whether each of the following differential equations is separable: (a) (b)

  1. 1

    Start with the definition: the right-hand side must factor into a product of one function of only and one function of only.

  2. 2

    Simplify part (a) using exponent rules: . This is a sum of two products, not a single product matching the separable form, so (a) is not separable.

  3. 3

    Check part (b): is a sum that cannot be factored into the required product form. Any attempt to factor leaves cross terms with both variables, so (b) is also not separable.

  4. 4

    Conclusion: Neither equation is separable.

Exam tip:

If your DE is written as a sum of terms, check if you can factor out a common or term from the entire sum to get a product. If not, it is not separable for AP Calculus AB purposes.

2. Step-by-Step Separation of Variables Techniqueβ˜…β˜…β˜…β˜†β˜†β± 4 min

A general solution is the full family of functions that satisfy a first-order DE, containing one arbitrary constant to account for all possible solutions. Once you confirm a DE is separable, follow this consistent process:

  1. Start from the separable form

  2. Separate variables: move all terms (including ) to the left, and all terms (including ) to the right, resulting in (valid when )

  3. Integrate both sides: integrate the left with respect to , the right with respect to . Add only one arbitrary constant (the difference of two constants is still one constant)

  4. If possible, solve explicitly for to get the final general solution; leave it as an implicit solution if an explicit form is not possible

πŸ“ Worked Example

Find the general solution of , for

  1. 1

    Confirm separability: , which fits the required separable form with and .

  2. 2

    Separate variables: divide both sides by and multiply by :

  3. 3
    yβˆ’3dy=4x2dxy^{-3} dy = 4x^2 dx
  4. 4

    Integrate both sides:

  5. 5
    ∫yβˆ’3dy=∫4x2dx\int y^{-3} dy = \int 4x^2 dx
  6. 6

    Evaluate the integrals: left side is . Right side is .

  7. 7

    Solve for to get an explicit general solution. Multiply both sides by : . Rename the arbitrary constant , then rewrite to simplify:

  8. 8
    y2=3Cβ€²βˆ’8x3y^2 = \frac{3}{C' - 8x^3}
  9. 9

    where is still an arbitrary constant, which is the final general solution.

Exam tip:

You can rename your arbitrary constant at any point to simplify your final solutionβ€”AP exam graders accept any valid name for the constant, as long as it is clear it is arbitrary.

3. Simplifying General Solutions with Logarithmsβ˜…β˜…β˜…β˜†β˜†β± 3 min

A very common case of separable DEs (especially for exponential growth/decay and cooling problems) gives a logarithmic antiderivative on the side, which requires special simplification. For the common DE form , separating gives , and integrating gives .

To get an explicit solution, exponentiate both sides: . We then absorb the absolute value and the constant into a new arbitrary constant , giving . Allowing also captures the trivial solution from when we divided by earlier.

πŸ“ Worked Example

Find the general solution of , for

  1. 1

    Confirm separability: , which fits the separable form.

  2. 2

    Separate variables: divide by and multiply by :

  3. 3
    1ydy=2βˆ’t5dt\frac{1}{y} dy = \frac{2 - t}{5} dt
  4. 4

    Integrate both sides:

  5. 5
    ∫1ydy=∫2βˆ’t5dt\int \frac{1}{y} dy = \int \frac{2 - t}{5} dt
  6. 6

    Evaluate the integrals: left side is . Right side simplifies to .

  7. 7

    Since , we can drop the absolute value. Exponentiate both sides to solve for :

  8. 8

    . Rename , so the final general solution is:

  9. 9
    y=Ke4tβˆ’t210y = K e^{\frac{4t - t^2}{10}}

Exam tip:

When you have , remember that , not β€”this is one of the most common student mistakes on the AP exam.

4. Concept Checkβ˜…β˜…β˜†β˜†β˜†β± 4 min

βœ“ Quick check

Test your understanding with this AP-style multiple choice question:

  1. Which of the following is the general solution to the differential equation for ?

    • A)

    • B)

    • C)

    • D)

    Reveal answer
    D β€”

    To solve, separate variables to get . Integrate the left to get , integrate the right using integration by parts to get .

5. Common Pitfalls

Wrong move:

When solving , exponentiating to get .

Why:

Students misapply exponent rules, forgetting that the exponent distributes as a product, not a sum.

Correct move:

Always simplify as , so the constant becomes a multiplicative factor out front, not an additive term.

Wrong move:

Adding a constant of integration to both sides of the integrated equation and keeping two separate constants in the final general solution.

Why:

Students are taught to add a constant to every indefinite integral, so they add one to each side and do not combine them.

Correct move:

Combine the two constants into a single arbitrary constant, since the difference of two constants is still one constant.

Wrong move:

Integrating the left side (with terms) with respect to after separation.

Why:

Students mix up differentials after separation, forgetting which variable goes with which integral.

Correct move:

Always keep with terms, so the side with terms is integrated with respect to , and the side with terms is integrated with respect to .

Wrong move:

Trying to separate by writing .

Why:

Students confuse addition and multiplication, and incorrectly attempt to separate non-separable DEs.

Correct move:

Always confirm the right-hand side is a product of a function of and a function of before attempting separation; if it is a sum, it is not separable for AP Calculus AB.

Wrong move:

Forgetting the absolute value in , leading to only positive solutions.

Why:

Students memorize the antiderivative as and skip the absolute value.

Correct move:

Always write the absolute value, then absorb the sign into the arbitrary constant when exponentiating, so all solutions are captured.

6. Quick Reference Cheatsheet

Category

Formula

Notes

Separable DE Definition

RHS must be product of -only and -only functions

Separation Step

Valid for ; constant solution exists if

Integration Step

Only one arbitrary constant needed for first-order DE

Antiderivative of

Always include absolute value; sign absorbed into constant

Exponentiation for Log Solutions

is arbitrary; captures trivial solution

Implicit General Solution

Acceptable if cannot be solved explicitly

Explicit General Solution

Preferred by AP exam when solvable

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2023 Β· MCQ

    Identify separable differential equation

  • 2022 Β· FRQ

    Find general solution of separable DE

What's Next

Mastering separation of variables to find general solutions is the essential prerequisite for the next core topics in Unit 7 of AP Calculus AB. Without correctly finding the general solution first, you cannot solve for the constant of integration to get a particular solution that matches a given initial condition, which is required for all real-world differential equation problems on the exam. This topic also underpins all applied differential equation problems on the AP exam, including exponential growth and decay, Newton's law of cooling, and rate problems that require integrating to find a function from its rate of change. Next you will apply the skills you learned here to solve initial value problems and contextual application questions that commonly appear in both sections of the exam.