First-Order Equations/Linear Equations and Integrating Factors

Lesson 2.11,027 words

Linear Equations and Integrating Factors

A first-order linear equation has the unknown and its derivative to the first power only. Multiplying by an integrating factor collapses the left side into a single derivative, and one integration gives the general solution in closed form.

╌╌╌╌

A first-order equation is linear when depends on to the first power only. Collecting the terms in and on the left, every such equation can be put in the standard form

where and are given functions of the independent variable . When the original equation carries a leading coefficient, , dividing by recovers the standard form on any interval where , with and . This is the one first-order class that a single, uniform procedure always solves.1 An integrating factor does this: a function chosen so that multiplying the equation by it turns the left side into the derivative of a product.

When the left side is already a derivative

Occasionally the left side is a total derivative before any manipulation. For

the product rule gives , exactly the left side. The equation collapses to

and integrating both sides yields , so . The method generalizes this case: given an equation whose left side is not a derivative, find a multiplier that makes it one.

Constructing the integrating factor

Take the constant-coefficient case first. Multiply by an undetermined :

The left side equals provided the coefficient of matches, that is . That condition is itself a differential equation, solved by . With this factor the equation becomes , and one integration finishes it.

The general variable-coefficient case runs the same way. Multiplying by and demanding that the left side be forces

The arbitrary constant of integration in only rescales by a constant, which cancels out of the final answer, so we drop it and take the simplest factor. Because is an exponential, it is positive for all , which justifies dividing by it later.

Multiplying by the integrating factor recombines the two left-hand terms into a single product derivative , after which one integration solves the equation.

Carrying out the last integration and solving for gives the general solution in closed form.

The formula involves two integrations: one to build , one to recover . In practice it is cleaner to reconstruct the steps than to memorize the formula, since the key step is recognizing .

Worked initial value problems

Members of the solution family for different constants c, with the one through (0,1) singled out; the exponential term e^{-t/2} decays and the curves fan into a common growth.

The same sinusoidal steady state, now with damping and mass, reappears in the forced vibrations of second-order systems.

Existence and uniqueness for linear equations

The linear case carries a guarantee stronger than anything available for nonlinear equations, a direct consequence of the explicit solution formula.

The interval of existence is read off in advance from the coefficients: a solution runs as far as and stay continuous, and singularities can occur only where or is discontinuous. In the coefficient fails at , and indeed the solution through lives on and no further. This advance prediction is special to linear equations; the nonlinear theory guarantees a solution only on some possibly small interval, and even that interval usually cannot be found without solving the equation.

For the linear equation the solution exists across every interval on which p and g are continuous; a break in a coefficient marks a wall the solution cannot cross.

Transient and steady state

When is a positive constant , the general solution splits into two named pieces. Write ; the solution is

where is any particular solution driven by . The two parts behave differently as grows:

  • Transient. The term carries all the dependence on the initial condition and decays to zero. It matters early and vanishes late.
  • Steady state. The part is what the forcing sustains. Every solution, regardless of , converges to it.

For the integrating factor is and the general solution is . Here , so the transient actually grows and the roles invert: the exponential dominates and solutions diverge, except for the single curve that follows the line . The sign of the coefficient decides whether the exponential part is a decaying transient or a runaway.

For a decaying coefficient the exponential transient fades and every curve settles onto the steady state driven by the forcing term.

Variation of parameters

The integrating factor is one route to the solution; variation of parameters is another, and it is the one that generalizes to higher-order linear equations. The homogeneous equation has solution with constant. To solve the full equation, promote the constant to a function, , and substitute. The terms in cancel by construction, leaving

which integrates directly and reproduces the general solution formula above. The name records the idea: the parameter that was constant for the homogeneous problem is allowed to vary to absorb the forcing .

Summary

Every first-order linear equation is solved by the same procedure:

  • Standardize. Divide by the leading coefficient to reach .
  • Build the factor. Compute .
  • Collapse and integrate. Multiply through; the left side is , so .
  • Apply data. Fix from ; the solution exists wherever and are continuous.

Footnotes

  1. Boyce, Elementary Differential Equations, §2.1 — Linear Differential Equations; Method of Integrating Factors: the standard form , construction of , and the general solution formula, following Leibniz's observation that a suitable multiplier makes the equation immediately integrable.

╌╌ END ╌╌