Skip to content

Business Mathematics and Basic Statistics · Ch 15 — Differential Equations

Solving by the Method of Variable Separation

4

Solving by the Method of Variable Separation

The variable-separable method solves a differential equation of the special form dydx=g(x) h(y)\dfrac{dy}{dx} = g(x)\,h(y), where the right side can be written as a function of xx alone multiplied (or divided) by a function of yy alone. This chapter restricts the method to algebraic functions of xx and yy — rational expressions built from xx, yy, and whole-number powers — and never introduces the linear, exact, or homogeneous differential-equation methods that a fuller calculus course would cover next; any equation that cannot be split this cleanly into an “xx-only” factor and a “yy-only” factor is outside this chapter's scope.

Method:

  1. Check that the equation genuinely separates: rearrange so every term involving yy (including dydy) sits on one side and every term involving xx (including dxdx) sits on the other — 1h(y) dy=g(x) dx\dfrac{1}{h(y)}\,dy = g(x)\,dx.
  2. Integrate both sides independently, using the standard integral formulae already met in the Integration chapter (e.g. ∫xn dx=xn+1n+1+C\int x^n\,dx = \dfrac{x^{n+1}}{n+1}+C, ∫1x dx=ln⁡∣x∣+C\int \dfrac{1}{x}\,dx = \ln|x|+C).
  3. Combine the two constants of integration that arise (one from each side) into a single arbitrary constant, since both are arbitrary real numbers — writing two separate constants would be redundant.
  4. Simplify the resulting relation between xx and yy into as clean a form as possible — this is the general solution.

Illustration: solve dydx=x2y2\dfrac{dy}{dx} = \dfrac{x^2}{y^2}. Separating, y2 dy=x2 dxy^2\,dy = x^2\,dx. Integrating both sides, y33=x33+c\dfrac{y^3}{3} = \dfrac{x^3}{3} + c, which simplifies to y3−x3=ky^3 - x^3 = k (writing k=3ck=3c for the combined constant) — the general solution.

Note

The Variable-Separable Test, Before Committing to the Method …

Definition 6Variable-separable differential equation

A differential equation of the form dydx=g(x)h(y)\dfrac{dy}{dx}=g(x)h(y), where the right side factors into a function of xx alone and a function of yy alone, allowing 1h(y)dy=g(x)dx\dfrac{1}{h(y)}dy = g(x)dx and in …