| Study Guides
AP · General solutions via separation of variables · 14 min read · Updated 2026-05-10

General solutions via separation of variables — AP Calculus BC Study Guide

For: AP Calculus BC candidates sitting AP Calculus BC.

Covers: This chapter covers identifying separable first-order ordinary differential equations, separating variable terms to opposite sides of the equation, integrating both sides, combining constants of integration, and finding implicit and explicit general solutions.

You should already know: Basic integration of common functions with u-substitution. Implicit function definition and derivative rules. Algebraic factoring and manipulation of exponential/logarithmic expressions.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus BC style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is General solutions via separation of variables?

Separation of variables is the foundational solution technique for first-order ordinary differential equations (ODEs) tested on both AP Calculus BC multiple choice (MCQ) and free response questions (FRQ), accounting for approximately 2-4% of total exam score per the official AP Course and Exam Description (CED). A general solution of a first-order ODE is the full family of all functions that satisfy the equation, parameterized by a single arbitrary constant of integration (unlike a particular solution, which fixes this constant to match a given initial condition). A separable first-order ODE is any ODE that can be factored into the form , meaning the derivative of with respect to splits into a product of a function that depends only on and a function that depends only on . This technique works by moving all -terms (with ) and all -terms (with ) to opposite sides of the equation, then integrating each side independently to get the general solution. It is required for almost all applied differential equation problems on the AP exam.

2. Identifying Separable Differential Equations

Before you can use separation of variables, you must first correctly identify if a given ODE is separable. By definition, a first-order ODE (which relates , , and ) is separable if it can be rearranged to fit the factored form , where has no dependence on and has no dependence on . Many student errors start here: misclassifying non-separable equations as separable, or vice versa. For example, the simple-looking ODE is not separable, because it cannot be factored into the required product form. Another common form of separable ODEs is written as , which rearranges directly to , which fits the separable definition. When checking for separability, always isolate first, then test if the right-hand side can be split into a product of two single-variable functions.

Worked Example

Problem: Determine if is separable, and rewrite it in standard separated form if it is.

  1. Step 1: Confirm is already isolated, as given.
  2. Step 2: Factor the right-hand side to test separability: .
  3. Step 3: Verify that no cross terms of and appear: the first factor depends only on , the second only on , so the ODE is separable.
  4. Step 4: Rearrange to separate variables: multiply both sides by (for ) to get , which is the standard separated form.

Exam tip: On MCQ questions asking to identify a separable equation, eliminate any option where the right-hand side is a sum of terms with both and immediately — these are almost never separable.

3. Integrating Both Sides and Combining Constants

Once you have separated variables into the form , the next step is to integrate each side. The key rule here is that you integrate the side with with respect to , and the side with with respect to — the differential tells you the variable of integration. A common point of confusion is why we only keep one constant of integration instead of two. When you integrate both sides, you get: where and are arbitrary constants. Rearranging gives . Since the difference of two arbitrary constants is still an arbitrary constant, we can replace and just write , which simplifies work without losing any generality. This integration step gives you a general solution, with the single arbitrary constant required for a first-order ODE.

Worked Example

Problem: Given the separated ODE , find the general solution after integration.

  1. Step 1: Confirm the separated form is already correct, with -terms on the left and -terms on the right.
  2. Step 2: Integrate both sides with respect to their respective variables: .
  3. Step 3: Evaluate each integral: the left integral gives , and the right integral gives .
  4. Step 4: Combine constants: rearrange to , then replace the difference with a single arbitrary constant , giving .
  5. Step 5: Simplify to explicit form if desired: exponentiate both sides to get , which can be rewritten as where is still an arbitrary constant.

Exam tip: Always combine constants immediately after integration; writing two separate constants is never required on the AP exam, and it often leads to unnecessary algebra mistakes when simplifying your final solution.

4. Implicit vs Explicit General Solutions

After integration, you will have an equation relating , , and the arbitrary constant . If is not isolated on one side of the equation, this is called an implicit general solution. If you can rearrange to write explicitly as a function of and , this is called an explicit general solution. The AP exam will usually specify which form it requires, but if it does not specify, either form is acceptable as long as it is correct, though explicit form is preferred if it can be obtained without excessive complication. An important rule to remember: the number of arbitrary constants in a general solution equals the order of the ODE (the highest derivative present). For a first-order ODE, you must have exactly one arbitrary constant — if you have more or fewer, you made a mistake in your work.

Worked Example

Problem: Find the general solution of , give both implicit and explicit forms.

  1. Step 1: Separate variables: multiply both sides by to get .
  2. Step 2: Integrate both sides and combine constants: . This is the implicit general solution.
  3. Step 3: To get the explicit solution, multiply both sides by 3 and take the cube root of both sides: . Let (still an arbitrary constant), so . This is the explicit general solution.
  4. Step 4: Verify the number of arbitrary constants: the ODE is first-order, and we have exactly one arbitrary constant , which matches the requirement for a general solution.

Exam tip: If you are asked for a general solution and can easily simplify to explicit form, always do so — it will never be penalized, and it is easier for graders to confirm correctness.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: Factoring as and calling it separable. Why: Students confuse any factoring with the requirement for separation, forgetting that all factors must be functions of only one variable. Correct move: After factoring, check every factor to confirm it contains only one variable; any factor with both and means the ODE is not separable.
  • Wrong move: Forgetting to check for constant solutions after dividing by a function of during separation, e.g., when dividing by to solve , not noting that is a valid solution. Why: Students focus on rearranging terms and forget that division by zero is undefined, so the case where the divisor equals zero is excluded from the general form. Correct move: Whenever you divide by to separate variables, check if gives a constant function that satisfies the original ODE, and note it as a solution if it does.
  • Wrong move: Integrating the left side (with ) with respect to , or the right side (with ) with respect to , e.g., turning into . Why: Students confuse the differential, which tells you the variable of integration, with the variable in the integrand. Correct move: Always match the variable of integration to the differential: means integrate with respect to , and means integrate with respect to .
  • Wrong move: Simplifying to instead of . Why: Students forget that , and is a multiplicative arbitrary constant, not an additive constant. Correct move: When exponentiating after integration, any arbitrary constant inside the exponent becomes a multiplicative constant after exponentiation.
  • Wrong move: Leaving two arbitrary constants in the final general solution of a first-order ODE. Why: Students think each integral needs its own constant, and forget that two constants can be combined. Correct move: Combine all constants into a single arbitrary constant immediately after integration for any first-order ODE.

6. Practice Questions (AP Calculus BC Style)

Question 1 (Multiple Choice)

Which of the following differential equations is separable? A) B) C) D)

Worked Solution: To be separable, an ODE must be able to be written as , where depends only on and depends only on . Option A has a cross term that cannot be factored into the required product form, so it is not separable. Option B's cannot be split into a product of single-variable functions, so it is not separable. Option C can be factored as , which fits the definition of a separable ODE. Option D's sum cannot be factored into the required product form, so it is not separable. The correct answer is C.


Question 2 (Free Response)

Consider the differential equation . (a) Show the differential equation is separable and write it in separated form. (b) Find the general solution of the differential equation. (c) Is the constant solution included in the general solution you found in part (b)? Explain.

Worked Solution: (a) Isolate and factor the right-hand side: . This is a product of a function of only and a function of only, so the ODE is separable. For , separating variables gives .

(b) Integrate both sides and combine constants: . The left integral evaluates to . For the right integral, use u-substitution with , , and rewrite , leading to . This gives the general solution , or in explicit form where is an arbitrary non-zero constant.

(c) The constant solution is a valid solution of the original ODE: substituting gives , and the right-hand side is , so it satisfies the ODE. It is not included in the general solution from part (b) because we divided by during separation, which requires , so it only appears if we allow , which is not part of the general form derived from separation.


Question 3 (Application / Real-World Style)

The rate of change of the mass of a melting ice block (in kilograms) with respect to time (in hours) is proportional to the current mass of the block. This relationship is described by the differential equation , where is a constant that depends on temperature. Find the general solution for in terms of and the arbitrary constant , and interpret the result in context.

Worked Solution: The ODE is separable: , which fits the separable form. Separate variables (for ): . Integrate both sides: . Exponentiate both sides: , so where is a positive arbitrary constant corresponding to the initial mass of the ice block. This general solution means the mass of the melting ice block decays exponentially over time, approaching zero mass as time increases, which matches the physical behavior of melting ice.

7. Quick Reference Cheatsheet

Category Formula / Rule Notes
Definition of separable first-order ODE depends only on , depends only on
Standard separated form Check if gives an extra constant solution after dividing
Integration step One arbitrary constant for first-order ODE; combine two constants from separate integrals into one
Implicit general solution Valid form if cannot be easily isolated; required if explicitly asked for
Exponential simplification is an arbitrary multiplicative constant; never write
Number of arbitrary constants 1 for any first-order ODE Equal to the order of the ODE; any more or fewer indicates a mistake
Constant solution check If makes , substitute back to the original ODE to test Division by zero excludes this solution from the general form, so it must be checked separately
Explicit general solution is isolated in terms of and ; preferred if it can be obtained easily

8. What's Next

General solutions via separation of variables is the foundational prerequisite for every differential equation topic that follows in AP Calculus BC Unit 7. Immediately after finding general solutions, you will learn to find particular solutions by applying initial conditions to fix the arbitrary constant , which is tested regularly on both MCQ and FRQ sections of the exam. Separation of variables is also the core technique used to solve exponential growth and decay models, logistic growth models, and related application problems that often make up a full FRQ question. Without mastering separation of variables and finding general solutions, you will not be able to correctly set up or solve these problems, or master more advanced topics like Euler's method.

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →