Skip to content

Applied Mathematics · Ch 5 — Differential Equations and Modeling

Solving Simple Differential Equation

5.11.2

Solving Simple Differential Equation

Once a differential equation is set up, the next task is to actually solve it. This section covers the most basic first-order, first-degree equations — ones where the variables can be separated onto opposite sides and integrated directly.

Case 1 — the equation depends only on xx. If it can be written as dydx=F(x)\dfrac{dy}{dx} = F(x), rewrite it as dy=F(x) dxdy = F(x)\,dx and integrate both sides:

y=∫F(x) dx+cy = \displaystyle\int F(x)\,dx + c

where cc is an arbitrary constant.

Case 2 — the equation depends only on yy. If it can be written as dydx=G(y)\dfrac{dy}{dx} = G(y), separate the variables and integrate with respect to yy to obtain a relation between yy and xx plus an arbitrary constant cc.

Case 3 — variables separable. If the equation can be arranged into the form g(y) dy=f(x) dxg(y)\,dy = f(x)\,dx — every yy-term (with dydy) on one side and every xx-term (with dxdx) on the other — integrate both sides independently:

∫g(y) dy=∫f(x) dx+c\displaystyle\int g(y)\,dy = \int f(x)\,dx + c …