Skip to main content
Differential equations
Lesson 36 of 75
Introduction

Separable equations

Objective. Separate variables and apply initial conditions.

  1. 1. Learn
  2. 2. Worked example
  3. 3. Practice
  4. 4. Feedback
  5. 5. Continue

Learn: the key idea

A separable differential equation can be rearranged so that all terms involving y (and dy) are on one side and all terms involving x (and dx) are on the other, allowing both sides to be integrated independently. The general method writes dy/dx = f(x)g(y) as (1/g(y))dy = f(x)dx, integrates both sides, and then applies any initial condition to find the constant of integration. For example, dy/dx = xy separates to (1/y)dy = x dx, giving ln|y| = x²/2 + c.

Worked example

Solve the separable equation dy/dx = 2xy, given that y = 3 when x = 0, writing y explicitly in terms of x.

2 … 3
Coordinate grid with the line 2 … 3
  1. 1Separate variables: (1/y)dy = 2x dx
  2. 2Integrate both sides: ln|y| = x² + c
  3. 3Use y=3 at x=0: ln 3 = 0 + c, so c = ln 3
  4. 4So ln|y| = x² + ln 3, giving y = 3e^(x²)

Answer: y = 3e^(x²)

Concept mastery

Based on your past attempts at this lesson — the question types to practise again come first.

Complete a practice set to see your concept breakdown here.

Practice

Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.

Start practising

Common mistake. Students forget the constant of integration or apply the initial condition before fully simplifying, leading to an incorrect particular solution. Always integrate both sides fully with one constant before substituting the given condition.

Your progress

Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.

0 of 5 steps complete

Your place saves automatically as you read.

My dashboard