Lesson 5: Separation of variables

Solve dydx=−xy\frac{dy}{dx} = -\frac{x}{y} with y(3)=4y(3) = 4

SkillsSeparation of variablesImplicit differentiation

Worked example

  • Complex familiar
  • Technology free

(a) Solve dydx=−xy\frac{dy}{dx} = -\frac{x}{y}, given y=4y = 4 when x=3x = 3. Give yy explicitly in terms of xx.

(b) Describe the solution curve.

1 of 5 steps
  1. Step 1: Separate and integrate

    ∫y dy=∫−x dx  ⟹  y22=−x22+c\int y\,dy = \int -x\,dx \implies \frac{y^2}{2} = -\frac{x^2}{2} + c

Try a similar one

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

Method

  1. Separate and integrate both sides.

  2. Use the initial condition to find the constant in the implicit solution.

  3. Take square roots, choosing the sign that matches the initial condition.

Watch out for

  • Giving y=±25−x2y = \pm\sqrt{25 - x^2}: a particular solution is one function, and y(3)=4y(3) = 4 picks the positive root.

Save your progress with a free account