Read · 1 min
A first-order linear differential equation is an equation that can be put into the following form:
As an example, consider the following differential equation, taken from James Stewart's Calculus: Early Transcendentals, 6th Edition: This equation is not separable, as it is impossible to put and expressions with entirely on one side of the equation, while putting and expressions with entirely on the other side. However, a multiplication by yields: which (if you are very perceptive) you might recognize as: by the Product Rule for Derivatives. Therefore, , so .
It turns out that all first-order linear differential equations can be solved in this way (not all of them need to be done this way, however). The factor by which we multiply both sides is called an integrating factor.
Consider a differential equation of the form: We wish to find an integrating factor such that: Expanding and using the Product Rule,
We see that this is a separable differential equation in , so it can be easily solved. You are encouraged to try to solve this differential equation yourself. What did you find for ? Continue reading, and see if you are correct!
We now solve the differential equation: We want to be nonzero, since it should be a nontrivial integrating factor, so the next step is permitted: Letting (this is an arbitrary nonzero constant), we have: We only need a particular integrating factor, so we let for simplicity: This is our integrating factor.
Now, suppose that we have such an integrating factor . Let us see how we will solve the differential equation.
We have the equation: Multiplying both sides by , we have: Integrating both sides, Assuming that the function is integrable, we can find , so we have solved the differential equation.