Integrating factor Created 2026-09-24 Updated 2026-10-14
An integrating factor is a nonzero multiplier that makes a differential equation directly integrable. For a first-order linear differential equation, it gathers the unknown function and its derivative into one product rule expression. Suppose and are continuous functions on an interval containing , and consider the initial value problem
Define and . The exact solution of a differential equation throughout that interval is
The definite integral fixes , so the initial condition appears without an extra constant to determine. If the equation originally has a coefficient multiplying , first divide by that coefficient on an interval where it is nonzero; a zero of that coefficient needs separate attention. See OpenStax's first-order linear equations chapter for this normalization and the integrating factor procedure.
For a concrete balance, solve with . Here , so multiplying the entire ordinary differential equation gives . Accumulating from zero to gives
The computed values are , and . Its derivative is , which verifies exactly. Interpreting as a steady input and as proportional removal explains the shape: initially all input increases , then removal catches up. The constant particular solution balances input and removal, and the homogeneous solution is the transient response that corrects it to the initial condition. Because this autonomous differential equation has a time-independent right-hand side, is also an equilibrium point.
Figure 1.
A steady input becomes a constant particular solution plus a decaying transient
. Details.
The first panel adds the particular solution and homogeneous solution; the second shows the same balance in rates, . This links the algebra to a physical accounting rule. Newton's law of cooling has this form with and , while an electrical circuit can have a varying input. In both cases the integrating factor systematically handles the input rather than requiring a guess for a particular solution.
Variable coefficients work just as directly. For , , the integrating factor is , and
Thus , and . The derivative verifies , including at zero, where both coefficient and input vanish. No division by is necessary. The general solution is : is a constant particular solution, and solves the associated homogeneous linear differential equation. Although this special forcing term admits a constant trajectory, this is a nonautonomous differential equation: it depends explicitly on time. Merely setting its right-hand side to zero at one instant would not establish a constant solution of a differential equation; at every state has zero slope.
Figure 2.
Variable-rate trajectories share a constant particular solution and forget initial data by a factor of exp minus t squared
. Details.
The direction field shows the selected trajectory leaving its initially horizontal tangent line. For , the difference between any two solutions of a differential equation is multiplied by , rather than in the constant-rate example. This dependence on elapsed history is clearer if the exact formula is rewritten as
For , each contribution from the input at is weighted by the accumulated coefficient between and . The homogeneous solution remembers the initial condition; the particular solution given by the second term accumulates the forcing term with zero initial value. This decomposition differs from choosing a constant particular solution, but gives the same total. Initial-data memory tends to zero when ; a negative accumulated coefficient instead amplifies it. The reciprocal relation between integrating factor and homogeneous solution is developed in MIT's notes on solutions to linear first-order equations.
Why does the trick work? The fundamental theorem of calculus and chain rule give . Consequently the product rule gives
Integrating this identity and dividing by the positive exponential function produces the stated formula. Any nonzero constant multiple of works equally well; normalization is a convenience. This is the beauty of the method: a sum involving an unknown function becomes one exact derivative, leaving only an integral of known functions. See Oregon State's product-rule derivation. The related integrating factor for a differential one-form extends the idea of making an expression exact beyond this linear setting.
An integrating factor for a differential one-form is a nonzero function for which is an exact differential, say . Then solutions lie on level sets . Locally, the compatibility condition is .
Here multiplication by , which is nonzero for , produces
The initial condition makes this first integral equal to . Taking the positive branch yields the solution
on the connected interval containing zero where the radicand is positive. This domain restriction matters because the original differential equation is singular at .
Completing the square gives . As , the differential equation consequently implies
At , . Thus, moving a little to the left from , the curve rises above . Throughout every segment of the direction field points downwards as increases, by the inequality above. Tracing backwards therefore makes rise further, so it cannot return to . This graphical barrier argument proves and for every on the solution. The explicit first integral also shows this branch extends throughout : writing , the minimum of is , so for . Including the initial point, for all .
For the curve is on , where the strictly increasing function has the unique positive root at . The curve decreases through with slope and reaches only as a limiting endpoint. Its derivative is
As , and . As , the numerator tends to and the denominator to zero from above, so again . More precisely, at the endpoint. Both ends have the requested unbounded negative slope.
Figure 1.
The positive solution for initial value one, with the horizontal barrier and the steep limiting endpoint
. Details.
An integrating factor for a differential one-form makes the multiplied form exact. If , then and . Equality of the mixed partial derivatives yields
This is a local compatibility condition under the usual smoothness assumptions.
For the trigonometric equation, where its coefficients are defined and division is legitimate, the slope is . In the first quadrant it is positive, small near either axis and large near the upper-right corner. The direction field below uses normalized line segments, so steep directions remain visible.
Multiplication by gives
Thus the multiplying function is an integrating factor, and the implicit general solution is
In the larger square, . The positive- curves have positive and are symmetric about the -axis; the negative- curves are their reflections. For , a graph representation is
with endpoints tending to . The interior curve is . The domain boundaries include singular coefficients or zeros of the integrating factor, so these endpoint limits and smooth continuations through describe the regularized relation; they must not be mistaken for additional solutions of the literal original equation at undefined points.
Figure 1.
Trigonometric direction field, regularized implicit solution family, and the positive higher-order particular solution
. Details.