Interactive · 4 questions
The differential equations of the type are called first-order equations because they only involve first derivatives. This single equation encompasses many different varieties of differential equations, so we will address only specific cases in this article (namely, when has low powers of ).
To abbreviate notation, we will denote by , with the understanding that depends on . For simplicity, all functions are assumed to be continuous and integrable.
First consider the case where doesn't depend on . In other words, . Then, the solution to the differential equation is given by the integral
Our first case had no powers of in . As you might guess, our next case involves linear terms of in .
What would the general form of be in this case?
We now consider the case where , which are linear first-order ordinary differential equations. It turns out that, for sufficiently nice and , these can always be solved!
Note that simply integrating both sides will not suffice , because we would get
As in algebra, we cannot immediately find if it appears on both sides.
We want to solve the differential equation \begin{equation} y '=g(x)-h(x)y, \end{equation} which has both a and a .
Where have we seen that before?
We've seen this before when using the product rule! For example, we know that which involves both and . So the motivation for solving our differential equation is to somehow incorporate a reverse product rule. If we can bundle the and terms as the derivative of a product, we can perhaps simplify our problem.
Well, the easiest way to combine the and terms is to put them on the same side:
\begin{equation} y'+h(x)y=g(x). \end{equation}
Let's remind ourselves of the product rule: . Notice that both the and the terms in the product rule have functions of as coefficients. In our differential equation, the term seems pretty lonely. Let's try to fix that by multiplying by a function of . Since we don't know what such function will be best, let's keep everything as general as possible and multiply by a function . We obtain:
\begin{equation} \mu(x) y'+\mu(x)h(x)y=\mu(x)g(x), \end{equation}
and our goal is to collapse the left-hand side using the product rule. Supposing that the left-hand side can be written as , equate the coefficients of the and terms.
What do we find?
By the product rule, we have that
by separation.
We have found a good definition for . Letting it be the above, we have simplified our differential equation to \begin{equation} \frac{d}{dx} \left(\mu(x)y\right)=\mu(x)g(x). \end{equation}
Do you see why this is a simplification?
Now the right hand side is only a function of and the left-hand side is the derivative of a function. We can thus apply the same idea as in the first case: just integrate both sides!
We obtain that
where is defined as above. As long as and are integrable, we're done! The function is called an integration factor.