1. First-Order Separable0%

Differential Equations · Topic 1 of 5

1. First-Order Separable

Video coming soon2 worked examples

Theory

A first-order differential equation is separable if it can be written as dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y). Separate the variables so that all the yy terms (with dydy) are on one side and all the xx terms (with dxdx) on the other, then integrate both sides.

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

The general solution contains an arbitrary constant; a particular solution uses an initial condition to fix it.

The Golden Rule: separate first, integrate both sides, and include just one constant of integration — then apply any initial condition.

⚠️ Common Examiner Traps

  • Two constants: only one constant of integration is needed — combine them into one.
  • Forgetting the condition: use the given initial condition to find the constant for a particular solution.
  • Separation slips: make sure every yy moves with dydy and every xx with dxdx.

Worked examples

Example 1

Find the general solution of dydx=xy\dfrac{dy}{dx} = xy.

Step 1: Separate the variables:

1ydy=xdx\frac{1}{y}\,dy = x\,dx

Step 2: Integrate both sides:

lny=x22+c\ln|y| = \frac{x^2}{2} + c

Step 3: Exponentiate to make yy the subject:

y=Aex2/2(A=ec)y = A e^{x^2/2} \quad (A = e^c)

Example 2

Solve dydx=2xy2\dfrac{dy}{dx} = 2xy^2 given that y=1y = 1 when x=0x = 0.

Step 1: Separate and integrate:

1y2dy=2xdx    1y=x2+c\int \frac{1}{y^2}\,dy = \int 2x\,dx \implies -\frac{1}{y} = x^2 + c

Step 2: Apply the condition y=1y=1 at x=0x=0:

11=0+c    c=1-\frac{1}{1} = 0 + c \implies c = -1

Step 3: Rearrange for yy:

1y=x21    y=11x2-\frac{1}{y} = x^2 - 1 \implies y = \frac{1}{1 - x^2}