MathematicsDifferential EquationsA-Level
WJECAQAAPIBAbiturBaccalauréat GénéralBachilleratoCambridge

Separation of Variables (Method)

Combine integrated sides for a separable first-order ODE.

Understand the formulaSee the free derivationOpen the full walkthrough

This public page keeps the free explanation visible and leaves premium worked solving, advanced walkthroughs, and saved study tools inside the app.

Core idea

Overview

Separation of variables is a technique used to solve first-order ordinary differential equations by isolating terms involving different variables on opposite sides of the equation. Once the variables are separated into functions of y and x, the solution is obtained by integrating both sides with respect to their respective variables.

When to use: Apply this method when a differential equation can be factored such that the derivative dy/dx equals the product of a function of x and a function of y. It is the standard approach for solving autonomous equations and basic growth or decay problems where the variables do not remain coupled.

Why it matters: This method serves as the gateway to modeling dynamic systems, allowing for the derivation of laws governing radioactive decay, fluid flow, and financial interest. It is a fundamental building block for understanding more advanced techniques in both ordinary and partial differential equations.

Symbols

Variables

I_y = Left Integral Value, I_x = Right Integral Value, C = Integration Constant

Left Integral Value
Right Integral Value
Integration Constant

Walkthrough

Derivation

Method: Separation of Variables (A-Level)

Solve first-order ODEs of the form dy/dx = f(x)g(y) by separating x and y terms before integrating.

  • g(y) ≠ 0 on the interval used.
  • Required antiderivatives exist.
1

Start from separable form:

Identify that x- and y-dependence appear as a product.

2

Separate variables:

Move all y terms with dy and all x terms with dx.

3

Integrate both sides:

Integrate and include one constant of integration.

4

Apply initial condition (if given):

Substitute the condition to determine C and write the specific solution.

Result

Source: A-Level Mathematics — First Order Differential Equations

Visual intuition

Graph

The default plot for the separation of variables in a standard first-order differential equation typically depicts an exponential curve or family of curves, such as y = Ce^(kx). These curves show rapid growth or decay depending on the sign of the constant k, characterized by the absence of local turning points and the presence of a horizontal asymptote at y = 0. In this context, the shape illustrates how a rate of change proportional to the current value leads to unrestricted growth or asymptotic convergence toward an equilibrium state.

Graph type: exponential

Why it behaves this way

Intuition

The method disentangles how a system's rate of change depends on its current state (y) and external factors (x), allowing independent integration of each influence to reveal the system's full trajectory.

dy/g(y)
The differential term representing the infinitesimal change in the dependent variable y, scaled by its functional dependence g(y).
This is a tiny step in 'y', adjusted for how 'y' itself influences its own rate of change.
f(x)dx
The differential term representing the infinitesimal change driven by the independent variable x.
This is a tiny step in 'x', showing how 'x' directly contributes to the overall change.
The mathematical operation of summation over an infinite number of infinitesimal parts.
Like adding up all the tiny changes to find the total accumulated effect or the complete solution.
C
The constant of integration, representing an initial condition or an arbitrary vertical shift of the solution curve.
This accounts for the starting point or any fixed offset of the system's behavior.

Free study cues

Insight

Canonical usage

To ensure dimensional consistency between the integrated expressions on both sides of the equation, including the constant of integration.

Common confusion

Assuming the constant of integration (C) is always dimensionless, or failing to ensure dimensional consistency between the integrated terms on both sides of the equation.

Unit systems

unit of y · Represents an infinitesimal change in the dependent variable y.
unit of x · Represents an infinitesimal change in the independent variable x.
context-dependent · The unit of f(x) must be such that the integral of f(x) dx has consistent dimensions with the integral of dy/g(y).
context-dependent · The unit of g(y) must be such that the integral of dy/g(y) has consistent dimensions with the integral of f(x) dx.
unit of integrated expressions · The constant of integration must have the same dimensions as the integrated expressions on both sides of the equation to maintain dimensional consistency.

One free problem

Practice Problem

A specific differential equation is integrated such that the y-integral (Iy) evaluates to 5.5 and the x-integral (Ix) evaluates to 2.1. Determine the value of the integration constant C.

Left Integral Value5.5
Right Integral Value2.1

Solve for:

Hint: Rearrange the formula to isolate C by subtracting Ix from Iy.

The full worked solution stays in the interactive walkthrough.

Where it shows up

Real-World Context

Exponential decay and logistic-style models.

Study smarter

Tips

  • Check for constant solutions where g(y) = 0, as these might be lost during the separation process.
  • Always include the integration constant C immediately after the integration step.
  • Simplify the final expression using properties of logarithms or exponentials if necessary to solve for y explicitly.

Avoid these traps

Common Mistakes

  • Forgetting to divide by g(y).
  • Dropping the integration constant.

Common questions

Frequently Asked Questions

Solve first-order ODEs of the form dy/dx = f(x)g(y) by separating x and y terms before integrating.

Apply this method when a differential equation can be factored such that the derivative dy/dx equals the product of a function of x and a function of y. It is the standard approach for solving autonomous equations and basic growth or decay problems where the variables do not remain coupled.

This method serves as the gateway to modeling dynamic systems, allowing for the derivation of laws governing radioactive decay, fluid flow, and financial interest. It is a fundamental building block for understanding more advanced techniques in both ordinary and partial differential equations.

Forgetting to divide by g(y). Dropping the integration constant.

Exponential decay and logistic-style models.

Check for constant solutions where g(y) = 0, as these might be lost during the separation process. Always include the integration constant C immediately after the integration step. Simplify the final expression using properties of logarithms or exponentials if necessary to solve for y explicitly.

References

Sources

  1. Elementary Differential Equations and Boundary Value Problems by William E. Boyce and Richard C. DiPrima
  2. Calculus: Early Transcendentals by James Stewart
  3. Wikipedia: Separation of variables
  4. A First Course in Differential Equations with Modeling Applications by Dennis G. Zill and Michael R. Cullen
  5. Elementary Differential Equations and Boundary Value Problems by William E. Boyce and Richard C. DiPrima, 11th Edition
  6. Calculus: Early Transcendentals by James Stewart, 8th Edition
  7. Separation of variables (differential equations) Wikipedia article
  8. A-Level Mathematics — First Order Differential Equations