Skip to content

Business Mathematics and Statistics · Ch 4 — Differential Equations

Solving Differential Equations — the Variable-Separable Method

3

Solving Differential Equations — the Variable-Separable Method

When variables can be separated

A first-order differential equation is variable-separable if it can be rearranged so that ALL the yy-terms (including dydy) are on one side, and ALL the xx-terms (including dxdx) are on the other:

g(y) dy=h(x) dxg(y)\,dy=h(x)\,dx

Integrating both sides independently, and combining the two arbitrary constants into one, gives the general solution.

Worked reasoning

For dydx=yx\frac{dy}{dx}=\frac{y}{x}, separate variables: dyy=dxx\frac{dy}{y}=\frac{dx}{x}. Integrating both sides:

∫dyy=∫dxx  ⟹  ln⁡∣y∣=ln⁡∣x∣+C\int\frac{dy}{y}=\int\frac{dx}{x} \implies \ln|y|=\ln|x|+C

Exponentiating both sides (and writing k=eCk=e^C as a new arbitrary constant) gives the general solution y=kxy=kx.

Note

Always verify a solution by substituting it back into the ORIGINAL differential equation …

Definition 1Variable-Separable Differential Equation

A first-order differential equation that can be rearranged as g(y) dy=h(x) dxg(y)\,dy=h(x)\,dx, solved by integrating both …