Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Differential Equations / First-order equations

Separable Equations

ODEs where the variables can be split to opposite sides — solved by direct integration.

3 min read · 5 sections · 1 checks

Contents 6 sections
  1. §1Introduction
  2. §2The Method
  3. §3Worked Example
  4. §4Common Mistakes
  5. §5Summary
  6. ?Check yourself

By the end you can

  • Recognize and solve separable ODEs
  • Apply initial conditions to separable equations
  • Model growth and decay with separable ODEs

Helps to know: First Order ODEs, Antiderivatives

§1Introduction

A separable equation can be written g(y)dy=f(x)dxg(y) dy = f(x) dx — all yy on one side, all xx on the other. Integrate both sides to solve.

§2The Method

  1. Separate: put y-terms with dy and x-terms with dx.
  2. Integrate both sides.
  3. Solve for y if possible, and apply the initial condition.
Preparing the instrument…
Fig. 1 Every solution curve follows the arrows of the field.

§3Worked Example

Solve dydx=xy\frac{dy}{dx} = xy with y(0)=3y(0) = 3.

Example 1Solution

  1. Separate: dy/y=xdxdy/y = x dx.

§4Common Mistakes

  • Forgetting the absolute value inside the logarithm.
  • Dropping the constant before applying the initial condition.
  • Trying to separate an equation that is not separable.

§5Summary

  1. Separable equations split into g(y) dy = f(x) dx.
  2. Integrate both sides to solve.
  3. Exponential growth and decay are the canonical examples.

Check yourself

  1. Q1
    Solve y′=2xy with y(0)=3.