One of the most important types of equations we will learn how to solve are the so-called linear equations. In fact, the majority of the course is about linear equations. In this lecture we focus on the first order linear equation. A first order equation is linear if we can put it into the form:
(1.4.1)
Here the word “linear” means linear in and ; no higher powers nor functions of or appear. The dependence on can be more complicated.
Solutions of linear equations have nice properties. For example, the solution exists wherever and are defined, and has the same regularity (read: it is just as nice). But most importantly for us right now, there is a method for solving linear first order equations. The trick is to rewrite the left hand side of (1.4.1) as a derivative of a product of with another function. To this end we find a function such that
This is the left hand side of (1.4.1) multiplied by . So if we multiply (1.4.1) by , we obtain
Now we integrate both sides. The right hand side does not depend on and the left hand side is written as a derivative of a function. Afterwards, we solve for. The function is called the integrating factor and the method is called the integrating factor method.
We are looking for a function , such that if we differentiate it, we get the same function back multiplied by . That seems like a job for the exponential function! Let
We compute:
Of course, to get a closed form formula for , we need to be able to find a closed form formula for the integrals appearing above.
Since we cannot always evaluate the integrals in closed form, it is useful to know how to write the solution in definite integral form. A definite integral is something that you can plug into a computer or a calculator. Suppose we are given
. Look at the solution and write the integrals as definite integrals.
(1.4.2)
You should be careful to properly use dummy variables here. If you now plug such a formula into a computer or a calculator, it will be happy to give you numerical answers.
Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.