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.
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
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.
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.
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
- 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 ╌╌