QED
Differential Equations · step 2 of 14

Separable equations

An equation is separable when it can be written dy/dx = f(x)g(y). Then you divide by g(y), multiply by dx, and integrate both sides separately — a single arbitrary constant suffices. The step to watch is the division: any root of g(y) = 0 gives a constant solution that separation silently discards.

Unlimited questions · marked criterion by criterion · no card needed

Method: how to approach it

The order below is what examiners expect to see, and each step carries its own marks.

  1. Separate the variablesGet all y terms with dy and all x terms with dx: dy/g(y) = f(x)dx.
  2. Integrate both sidesAdd just one constant C, conventionally on the x side.
  3. Solve for y if possibleExponentiate or rearrange. An implicit solution is acceptable when y cannot be isolated.
  4. Recover the lost solutionsCheck each root of g(y) = 0 separately — these constant functions are genuine solutions.

Worked example

Solve dy/dx = xy with y(0) = 3.

  1. Separate: dy/y = x dx (noting y = 0 is also a solution, excluded by the initial condition).
  2. Integrate: ln|y| = x²/2 + C.
  3. Exponentiate: y = Ae^(x²/2) where A = ±e^C.
  4. Apply y(0) = 3: 3 = Ae⁰ = A.

Answer. y = 3e^(x²/2). Check: y′ = 3x e^(x²/2) = xy ✓.

Where marks get dropped

These are the specific errors that cost credit on separable equations questions — QED's rubric penalises each of them separately.

Practise this until it is automatic

Unlimited fresh questions

QED generates new separable equations problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.

Marked like an examiner

Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.

Answer in real notation

A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.

Saved to your library

Every question you generate is kept and re-takeable as a timed exam, and your Differential Equations mastery is tracked so you know when this is exam-ready.

Separable equations — frequently asked questions

Is treating dy/dx as a fraction legitimate?

It is shorthand for the chain rule and can be fully justified. Writing ∫dy/g(y) = ∫f(x)dx is the rigorous version of the same manipulation.

What if I cannot solve for y?

Leave the answer implicit. An equation relating x and y that satisfies the ODE is a complete solution.

How do I spot separability?

Try to factor the right side into a function of x times a function of y. dy/dx = x + y is NOT separable; dy/dx = xy is.

The rest of Differential Equations

Solving and modelling with ODEs, from separable to systems. Each subtopic below has its own method, worked example and mark-losing traps.

Ready to make separable equations exam-proof?

Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.

Start practising free →