First-Order Linear ODEs & the Integrating Factor

25 min
0/4 practice checks

A first-order linear ODE has the standard form

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

Multiply through by the integrating factor μ(x)=eP(x)dx.\mu(x) = e^{\int P(x)\, dx}. This is engineered so the left side collapses into a single derivative:

ddx(μy)=μQ.\frac{d}{dx}\big(\mu y\big) = \mu\, Q.

Then integrate both sides and divide by μ\mu.

Worked example. Solve dydx+2y=8.\dfrac{dy}{dx} + 2y = 8. Here P=2P = 2, so μ=e2x.\mu = e^{2x}. Then ddx(e2xy)=8e2x\dfrac{d}{dx}(e^{2x} y) = 8 e^{2x}, giving e2xy=4e2x+Ce^{2x} y = 4 e^{2x} + C, so y=4+Ce2x.y = 4 + C e^{-2x}. As xx \to \infty the transient dies and y4y \to 4 — the steady state.

For a linear ODE in standard form dydx+P(x)y=Q(x)\dfrac{dy}{dx} + P(x)\,y = Q(x), the integrating factor is…

What is the integrating factor for dydx+3y=x\dfrac{dy}{dx} + 3y = x?

As xx \to \infty, the solution of dydx+5y=10\dfrac{dy}{dx} + 5y = 10 approaches a steady state. Find that steady-state value of yy.

The equation dydx+2y=8\dfrac{dy}{dx} + 2y = 8 has general solution y=4+Ce2xy = 4 + C e^{-2x}. If y(0)=1y(0) = 1, find the constant CC.