Skip to content

Mathematics and Statistics · Ch 8 — Differential Equation and Applications

Linear Differential Equations of the First Order

5

Linear Differential Equations of the First Order

A first-order linear differential equation is one in which yy and dydx\dfrac{dy}{dx} occur only to the first power and are not multiplied together — the standard form is

dydx+P(x) y=Q(x),\frac{dy}{dx} + P(x)\,y = Q(x),

where PP and QQ are functions of xx alone (either may be constant).

Integrating factor (I.F.). Multiply through by

I.F.=e∫P dx.\text{I.F.} = e^{\int P\,dx}.

This is chosen precisely so that the left side becomes the exact derivative ddx(y⋅I.F.)\dfrac{d}{dx}\big(y \cdot \text{I.F.}\big). Integrating both sides then gives the general solution:

y⋅I.F.=∫Q⋅I.F.  dx+c.y \cdot \text{I.F.} = \int Q \cdot \text{I.F.}\;dx + c.

The method, step by step:

  1. Write the equation in standard form and identify P(x)P(x) and Q(x)Q(x).
  2. Compute ∫P dx\int P\,dx and then I.F.=e∫P dx\text{I.F.} = e^{\int P\,dx}.
  3. Write y⋅I.F.=∫Q⋅I.F. dx+cy\cdot\text{I.F.} = \int Q\cdot\text{I.F.}\,dx + c and integrate the right side.

Worked illustration. Solve dydx+yx=x2\dfrac{dy}{dx} + \dfrac{y}{x} = x^2.

Here P=1xP = \dfrac1x, Q=x2Q = x^2. Then ∫P dx=∫dxx=ln⁡x\int P\,dx = \int \dfrac{dx}{x} = \ln x, so I.F.=eln⁡x=x\text{I.F.} = e^{\ln x} = x. Therefore

y⋅x=∫x2⋅x dx+c=∫x3 dx+c=x44+c,y\cdot x = \int x^2\cdot x\,dx + c = \int x^3\,dx + c = \frac{x^4}{4} + c,

giving xy=x44+cxy = \dfrac{x^4}{4} + c, i.e. y=x34+cxy = \dfrac{x^3}{4} + \dfrac{c}{x}.

Note

Put It in Standard Form First …

Definition 10First-order linear differential equation

An equation of the form dydx+P(x)y=Q(x)\frac{dy}{dx}+P(x)y=Q(x), linear in yy and dydx\frac{dy}{dx}, with P,QP,Q func …

Definition 11Integrating factor (I.F.)

The multiplier I.F.=e∫P dx\text{I.F.}=e^{\int P\,dx} that turns the left side into ddx(y⋅I.F.)\frac{d}{dx}(y\cdot\text{I.F.}); the solution is $y\cdot\text{I.F.}=\in …