1.3 Linear first-order ODEs
1.3.1 Terminology
Recalling our definition of a linear operator,
(where the are specified functions of ), any linear first-order ODE can be written in the form
where is another given function of . Without loss of generality, we shall assume .
The case of is trivial, i.e. .
Dividing (1.6) by ,
where and . This is the most general form for a (non-trivial) first-order linear ODE.
1.3.2 The integrating factor method
The challenge is to solve . We shall assume that and are continuous (and hence integrable) over some interval , possibly the whole real line . Let
For any , the fundamental theorem of calculus tells us that
This implies that
The quantity is known as the integrating factor. As we have just shown, if we multiply our original ODE by this integrating factor, i.e.
this is equivalent to
Integrating this equation,
where is a constant. Hence, recalling that ,
This is the general solution. The term proportional to is often referred to as the complementary function, whilst the rest of the right-hand side is known as the particular integral.
Find the general solutions of the following first-order ODEs:
| i) | ; |
| ii) | . |
i) This equation is already in the form . Here, and . Clearly,
(note that the integrating factor is simply a computational tool, so we can ignore any constants of integration here). Hence,
Without loss of generality, we can ignore the modulus operator here, setting (this is because a negative integrating factor would also work in the same way). Multiplying our original equation by this integrating factor, we obtain the following ODE:
Referrring to (1.8), we have already shown that this is equivalent to
Integrating this equation,
which is the required result.
[Check: , as required.]
ii) This equation () is not in the correct form to apply the integrating factor directly. Dividing through by ,
so and . Here,
Hence,
Again we can drop the modulus operator, so that . Applying this integrating factor,
which, by (1.8), is equivalent to
Integrating each side of this equation,
which is the required solution.
[Check: , as required.]
1.3.3 Existence and uniqueness
Theorem: If the functions and are continuous , then there exists a unique function , defined on the open interval , satisfying the linear first-order ODE
for some given and .
Proof: Existence has already been demonstrated by the construction of an explicit solution (1.9). For uniqueness, we assume that there are two solutions and . Consider the function . Clearly
whilst . Obviously is a possible solution of this ODE, in which case (i.e. the solution is unique). For , separation of variables leads to
(where, as before. and is a constant). Rearranging this expression, we see that
where is a redefined constant. The only way that this can be compatible with is if . This again implies that , i.e. unique solution.
Linearity is crucial to this result. There are many nonlinear ODEs for which solutions are not unique. For example, consider the following differentiable function,
where is any positive constant (i.e. ). For any valid choice of (of which there are infinitely many), this function satisfies the nonlinear ODE
subject to .