Lesson 5: Separation of variables

Solve dydx=2xy2\frac{dy}{dx} = 2xy^2 with y(0)=1y(0) = 1

SkillSeparation of variables

Worked example

  • Complex familiar
  • Technology free

Determine the particular solution of dydx=2xy2\frac{dy}{dx} = 2xy^2 that satisfies y(0)=1y(0) = 1, and state the largest interval containing x=0x = 0 on which it is defined.

1 of 6 steps
  1. Step 1: Separate

    ∫y−2 dy=∫2x dx\int y^{-2}\,dy = \int 2x\,dx

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Separate to ∫1g(y) dy=∫f(x) dx\int \frac{1}{g(y)}\,dy = \int f(x)\,dx.

  2. Integrate, find the constant from the initial condition, then rearrange.

  3. Note where the solution breaks down.

Watch out for

  • Integrating y−2y^{-2} to y−11\frac{y^{-1}}{1}: the new power is −1-1, so divide by −1-1.

  • Writing y=−1x2+cy = -\frac{1}{x^2} + c: rearrange the whole equation, constant included.

Save your progress with a free account