Integrating Factors · Foundational

Integrating Factors Solve Linear First-Order ODEs

How one multiplier turns a linear differential equation into a product derivative.

A linear first-order equation has standard form

y+p(t)y=q(t).y'+p(t)y=q(t).

Multiplying by

μ(t)=ep(t)dt\mu(t)=e^{\int p(t)\,dt}

makes the left side equal to (μy)(\mu y)'.

The method

After multiplication,

μy+μpy=μq=(μy).\mu y'+\mu p y=\mu q=(\mu y)'.

Integrate and solve:

y=1μ(μqdt+C).y=\frac{1}{\mu}\left(\int\mu q\,dt+C\right).

Any nonzero constant factor in μ\mu cancels, so the simplest antiderivative is sufficient.

Derive the factor instead of memorizing it

Multiply y+p(t)y=q(t)y'+p(t)y=q(t) by an unknown function μ(t)\mu(t). We want

μy+μpy=(μy)=μy+μy.\mu y'+\mu p y=(\mu y)'=\mu y'+\mu' y.

Matching coefficients of yy requires μ=pμ\mu'=p\mu. Separating this auxiliary equation gives μ=ep(t)dt\mu=e^{\int p(t)dt}. The formula follows directly from the product rule.

Interpret the two pieces

The term 33 is the equilibrium response to the constant input. The term 2e2t-2e^{-2t} is a transient that carries the initial mismatch and decays. This steady-plus-transient decomposition is often more informative than the formula alone.

Check your understanding

What integrating factor belongs to ty+2y=t3t y'+2y=t^3 on t>0t>0?

Show the reasoning

First divide by tt: y+(2/t)y=t2y'+(2/t)y=t^2. Thus μ=e2/tdt=e2lnt=t2\mu=e^{\int 2/t\,dt}=e^{2\ln t}=t^2 for t>0t>0.

Continue exploring

Connections

Related concepts

First-Order ODEsFirst-Order ODEs Model Growth, Decay, and BalanceSeparable EquationsSeparable ODEs Put Each Variable on Its Own Side

Applications

  • mixing models
  • RC circuits
  • forced decay