Tutorials › AP Calculus › Solving Separable Differential Equations
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

Solving Separable Differential Equations

How to solve a differential equation by separating the variables, integrating both sides, and using an initial condition when one is provided. This is one of the most important techniques in the AP Calculus differential equations unit.

What a Separable Differential Equation Is

A separable differential equation is a differential equation that can be rearranged so that all the terms involving are on one side and all the terms involving are on the other.

For example, consider:

This equation is separable because we can rewrite it as:

Now the variables are separated: everything involving is on the left, while everything involving is on the right. Once the variables are separated, we can integrate both sides.

The Basic Strategy

The process is straightforward once you recognize the structure. For an equation of the form , use the following steps:

  1. Separate the variables. Rearrange the equation so that all terms are on one side and all terms are on the other.
  2. Integrate both sides. Treat the two sides as separate integrals.
  3. Include the constant of integration. After integrating, use a single arbitrary constant such as .
  4. Solve for , if possible.
  5. Apply the initial condition if one is given to determine the particular solution.

Worked Examples

Example 1: Basic Separation and Integration

Solve the differential equation .

Step 1: Separate the variables. Divide by and multiply by :
Step 2: Integrate both sides.
Step 3: Solve for .
Result:
Example 2: Using an Initial Condition

Find the particular solution to given .

Step 1: Separate the variables.
Step 2: Integrate.
Step 3: Apply the initial condition. Substitute into the equation:
Step 4: Solve for the constant.
Result:
Example 3: Exponential Growth and Decay

Solve given the initial condition .

Step 1: Separate the variables.
Step 2: Integrate.
Step 3: Solve for . Exponentiating both sides gives:
Step 4: Apply the initial condition.
Result:
Example 4: A Nonlinear Separable Equation

Solve given .

Step 1: Separate the variables.
Step 2: Integrate.
Step 3: Apply the initial condition.
Step 4: Solve for the particular solution.
Result:

Why the Separation Step Works

The notation can make separation look like ordinary algebra, and in AP Calculus that is usually the most useful way to think about it. More precisely, we are using the relationship between the derivative and differentials to rewrite the equation in an integrable form.

Suppose:

Rearranging gives:

Integrating both sides then produces:

This is the central idea behind separation of variables: turn a differential equation into two ordinary integrals.

Common AP Calculus Patterns

Exponential Growth or Decay

If the rate of change is proportional to the amount present, you often get:

Separating and integrating leads to the familiar exponential model:

Logistic-Type Equations

A common nonlinear model has the form:

These equations can also be separable, although the resulting integral may require partial fractions and is usually more advanced than the basic AP Calculus separation problems.

Equations Involving Powers of

If the right-hand side contains a power of , separation often produces a straightforward power-rule integral. For example:

Common Mistakes

Forgetting the constant of integration

After integrating, you need an arbitrary constant. Write rather than forgetting the constant entirely. If you integrate both sides independently, the two constants can be combined into one.

Putting variables on the wrong sides

Before integrating, check that all -dependent factors are on one side and all -dependent factors are on the other. For example, is separated, while is not.

Applying the initial condition too early

First find the general solution, including the integration constant. Then substitute the initial condition to determine that constant. Skipping the general-solution step often leads to algebra errors.

Forgetting absolute values in logarithmic integrals

When , the correct antiderivative is . The absolute value matters unless the problem gives enough information to establish that the quantity inside the logarithm is positive.

Practice Problems

Question 1

Solve the differential equation .

Show answer
Question 2

Find the particular solution to given .

Show answer
Question 3

Solve given .

Show answer
Question 4 (AP-Style)

A function satisfies and . Find .

Show answer

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon