First-Order Linear Differential Equations and Integrating Factors
1Introduction
This lecture derives an integrating factor as a factor that converts the left-hand side of a first-order linear equation into the derivative of a product, rather than presenting it as a formula to memorize.
The standard form of a first-order linear equation is
Because and occur as separate terms, the left-hand side cannot generally be integrated directly. The objective is to multiply the equation by a function so that
becomes the single derivative
2Why an Integrating Factor Is Introduced
The expression follows systematically from the product rule.
An equation of the form
can be integrated directly because its left-hand side is already one derivative. By contrast, in
the term prevents the left-hand side from being integrated directly as the derivative of a single function.
Apply the product rule in reverse:
If multiplication by an unknown function transforms the original left-hand side into
then it becomes one derivative. Multiplication of the original equation by gives
Comparison with the product rule shows that the required condition is
Thus the purpose of the integrating factor is to transform the left-hand side into the derivative of a product and thereby reduce the equation to direct integration.
3First-Order Linear Differential Equations
A first-order linear differential equation is an equation that can be written as
where and depend only on .
The term linear means that, for ,
Equivalently, the unknown function and its derivative do not occur in products with each other or inside nonlinear functions. For example,
is first-order linear, whereas
is not linear in because it contains .
4Proposition 1: Derivation of the Integrating Factor
Suppose that and are continuous on an interval and that
If is nonzero on the interval and satisfies
then
Moreover, because , the transformed equation is equivalent to the original equation.
4.1Proof
Multiply the original equation by :
The assumption transforms the left-hand side into
The product rule therefore gives
Conversely, expand by the product rule and substitute . This gives . Since is nonzero on the interval, division by recovers the original equation.
Consequently, the essential step is to determine a function satisfying .
5Form of the Integrating Factor
On a range where , the equation becomes
Integration gives
One may therefore choose
An integration constant only multiplies by a nonzero constant, which is absorbed into the arbitrary constant in the final solution.
6Proposition 2: General-Solution Formula
Suppose that and are continuous on an interval . With
the solutions of
are given by
6.1Proof
Proposition 1 gives
Integrating both sides yields
Since is nonzero, division by gives
Thus the formula results directly from transforming the equation into an integrable product derivative.
7Example 1:
For
we have and . An integrating factor is
Multiplication by gives
The left-hand side is , so
Integration yields
and hence
To verify the result, note that . Therefore,
8Relation to Variation of Constants
Variation of constants provides another derivation for the solution of a first-order linear equation. First consider the associated homogeneous equation
The zero function is a solution. On a branch where , separation gives
and hence
Allowing includes the zero solution. For the nonhomogeneous equation, replace the constant by a function :
If , then
The integrating-factor equation
is therefore equivalent to
Variation of constants and the integrating-factor method express the same transformation: the constant multiplying a homogeneous solution is varied to account for the nonhomogeneous term.
9Linear-Operator Formulation
Define
Then the first-order linear equation is
This is an equation for a linear operator. The solutions of the homogeneous equation form the kernel , and the general solution of the nonhomogeneous equation has the form
The same operator formulation will be used for second-order linear equations and systems of equations.
data/lecture/math/linear-operator/linear-operator-equation-basics.lecture.n.md10Scope of the Method
The integrating-factor method applies when an equation can be written in the linear form
If and are continuous on an interval , then an initial value prescribed at a point in determines a unique solution on all of .
An equation of the form
is not linear in as written. A Bernoulli equation of this form can sometimes be transformed into a first-order linear equation by substitution.
data/lecture/math/differential-equations/bernoulli-equations.lecture.n.mdIn the next lecture, the integrating-factor concept is generalized to a factor that transforms a differential form into a total differential.
data/lecture/math/differential-equations/exact-differential-equations.lecture.n.md