Fiveable

♾️AP Calculus AB/BC Unit 7 Review

QR code for AP Calculus AB/BC practice questions

7.6 Finding General Solutions Using Separation of Variables

7.6 Finding General Solutions Using Separation of Variables

Written by the Fiveable Content Team • Last updated June 2026
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated June 2026
♾️AP Calculus AB/BC
Unit & Topic Study Guides

AP Cram Sessions 2021

Pep mascot

Separation of variables is a method for solving certain differential equations by moving all the yy terms to one side and all the xx terms to the other, then integrating both sides. This gives you a general solution: a family of functions that differ only by a constant of integration CC. For AP Calculus, include the constant of integration before using any initial condition.

Why This Matters for the AP Calculus Exam

Differential equations make up a noticeable share of the AP Calculus exam (about 6 to 12 percent on AB and 6 to 9 percent on BC), and separation of variables is the core algebraic method for actually solving them. You can see these problems in both multiple-choice and free-response sections. This topic is the bridge between recognizing a differential equation and writing the function that satisfies it, so it sets up later work with initial conditions, exponential models, and (on BC) logistic models.

Key Takeaways

  • A separable differential equation can be written as dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y), where one factor depends only on xx and the other only on yy.
  • Solve by separating variables, integrating both sides, and adding a single constant of integration.
  • Always include +C+C. Leaving it out limits how many points you can earn.
  • The general solution is a family of functions, not a single curve, because CC can take infinitely many values.
  • Not every differential equation separates. If xx and yy terms cannot be split apart, this method does not apply.
  • Check a solution by differentiating it and substituting back into the original equation.

Solving Differential Equations

A solution to a differential equation is a continuous function that satisfies the equation. There can be infinitely many solutions, and together they form a family of curves. If you want to review how to confirm a function is a solution, see Verifying Solutions to Differential Equations.

Going the other direction, from an equation to a solution, is harder. Some differential equations like 2xy+y=3x22xy' + y = 3x^2 are difficult to solve and are beyond this course. But one important type, separable differential equations, is well within reach.

Separable Differential Equations

Separable differential equations are first-order equations whose variables can be split so that each side involves only one variable. They are usually written as

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

where g(x)g(x) depends only on xx and h(y)h(y) depends only on yy.

The strategy is to integrate both sides to eliminate the derivative:

  1. Separate variables: Rearrange so all yy terms (including dydy) are on one side and all xx terms (including dxdx) are on the other.
  2. Integrate both sides: Antidifferentiate each side with respect to its own variable. Add the constant of integration.
  3. Solve for yy: If possible, write yy explicitly. Sometimes the answer stays in implicit form.

Finding the constant CC from an initial condition is the next step, covered in Finding Particular Solutions Using Initial Conditions.

Worked Practice Problems

Practice Problem #1

dydx=2xy\frac{dy}{dx} = \frac{2x}{y}

Separate the variables:

ydy=2xdxy \, dy = 2x \, dx

Integrate both sides:

ydy=2xdx\int y \, dy = \int 2x \, dx

This gives, with CC as the constant of integration:

12y2=x2+C\frac{1}{2}y^2 = x^2 + C

Solve for yy explicitly:

y2=2x2+2Cy^2 = 2x^2 + 2C y=±2x2+2Cy = \pm \sqrt{2x^2 + 2C}

So the general solution is

y=±2x2+2Cy = \pm \sqrt{2x^2 + 2C}

The constant CC gets pinned down later if an initial condition is given.

Practice Problem #2

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

Move xyxy to the right side:

dydx=y2xy\frac{dy}{dx} = y^2 - xy

This one cannot be separated. There is no way to split the right side into a product of a function of xx times a function of yy, so separation of variables does not apply. Recognizing this quickly saves you time on the exam.

Practice Problem #3

dydx=x2y\frac{dy}{dx} = x^2y

Separate the variables:

dyy=x2dx\frac{dy}{y} = x^2 \,dx

Integrate both sides:

1ydy=x2dx\int \frac{1}{y} \,dy = \int x^2 \,dx

This gives:

lny=13x3+C\ln|y| = \frac{1}{3}x^3 + C

Solve for yy:

y=e13x3+C=eCe13x3|y| = e^{\frac{1}{3}x^3 + C} = e^{C}\cdot e^{\frac{1}{3}x^3}

Since eCe^C is just another positive constant, rename it CC:

y=Ce13x3|y| = Ce^{\frac{1}{3}x^3}

Accounting for the absolute value gives two cases, which combine into:

y=±Ce13x3y = \pm \,Ce^{\frac{1}{3}x^3}

This is the general solution. Notice it is an exponential function, recognizable because the rate of change depends on the dependent variable yy, the same behavior that makes exe^x its own derivative.

How to Use This on the AP Calculus Exam

Problem Solving

  • Confirm the equation is separable before starting. If you cannot write it as g(x)h(y)g(x)h(y), switch strategies.
  • Keep your separation clean: every yy and dydy on one side, every xx and dxdx on the other.
  • Antidifferentiate carefully. A fraction like 1y\frac{1}{y} integrates to lny\ln|y|, but not every fraction gives a logarithm.
  • Write +C+C the moment you integrate. It is easy to forget and hard to recover later.

Free Response

  • Show the separation step and the integration step clearly. Skipping work makes it hard for readers to follow your method.
  • When solving for yy, keep track of ±\pm and absolute values so your general solution is complete.
  • If the problem later gives an initial condition, you will use it to solve for CC (see Topic 7.7).

Common Trap

  • Assuming every differential equation with a fraction has a logarithmic solution. Some do, many do not. Match the antiderivative to the actual function.

Common Misconceptions

  • Every differential equation is separable. Many are not. If you cannot split the variables into a product form, this method will not work, and that is a valid thing to state.
  • The constant of integration is optional. Dropping CC changes a whole family of solutions into a single curve and costs points. Always include it.
  • All fractions integrate to a logarithm. Only 1y\frac{1}{y}-type forms give lny\ln|y|. Use the power rule or other antiderivatives when the function calls for it.
  • A general solution is one function. It is an entire family of functions parameterized by CC. A single function comes only after applying an initial condition.
  • You can combine two constants into something complicated. When you have a constant on each side after integrating, merge them into one CC. Tracking two separate constants is unnecessary.

Vocabulary

The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.

Term

Definition

antidifferentiation

The process of finding a function whose derivative is a given function; the reverse operation of differentiation, also known as integration.

differential equation

An equation that relates a function to its derivatives, describing how a quantity changes in relation to one or more variables.

general solution

The complete family of solutions to a differential equation, containing arbitrary constants that represent all possible particular solutions.

separation of variables

A method for solving differential equations by rearranging the equation so that all terms involving one variable are on one side and all terms involving the other variable are on the other side.

Frequently Asked Questions

What is separation of variables in AP Calculus?

Separation of variables is a method for solving certain differential equations by rewriting them so all y terms are on one side and all x terms are on the other, then integrating both sides.

How do you know if a differential equation is separable?

A differential equation is separable if it can be rewritten in the form dy/dx = g(x)h(y), with one factor depending only on x and the other depending only on y.

What are the steps for separation of variables?

Separate the variables, integrate both sides, include a constant of integration, and solve for y if the algebra allows it. Some answers may stay in implicit form.

Why do you need + C in a general solution?

The + C represents a whole family of possible solutions. Without it, you only have one solution curve instead of the general solution to the differential equation.

What is the difference between a general solution and a particular solution?

A general solution includes an arbitrary constant C. A particular solution uses an initial condition to find the specific value of C for one solution curve.

How is AP Calculus 7.6 tested?

AP Calculus 7.6 is tested through differential equation problems where you identify separability, separate variables correctly, integrate both sides, and keep clear notation for the constant of integration.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly→ and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →