First order linear differential equations are another class of differential equations which potentially have analytic solutions. All such equations can be written in the form
When q(x)=0 the equation is said to be homogeneous and when it’s not the equation is said to be nonhomogeneous.
One method to solve this equation is through an integrating factor. An integration factor multiplies both sides of the equation such that terms group together as if they were a perfect derivative. Here is what that means.
If we could find the integrating factor, I(x), we could just integrate both sides with the result that
Now let us focus in on what this integrating factor might be.
One guess might be
Which gives,
We were so close. By close I mean compared to our target of
We need to get rid of that derivative and replace it with $p(x)$. It is kind of tricky how we do it. Try
Recall Leibniz’s rule for differentiating integrals with variable limits.
Luckily our expression is not so complicated that we have to use all of this formula. We can calculate the derivative of I(x).
What is b? This is just any constant you choose which leads to an overall constant multiplying the integration factor. It doesn’t change the form of the solution.
Now we are set. We have
We have already put the general solution previously and now we have an equation for I(x) so we are done.
Perhaps the most concise representation of the integration factor is to write it as
where capital P is an antiderivative of lowercase p.
Example 1. Find the solution to the following differential equation
Solution 1. We form the integrating factor as
It is always possible to substitute the solution back into the differential equation and indeed verify that it is a solution.
Example 2. Find the solution to the following differential equation
Solution 2. Wow, look at all those natural logarithms and exponentials, but don’t give up hope. The answer will come together in the end. We use the integrating factor to find the solution
Recall the derivative of x to the x is just
The two integration constants can just be combined into one for the general solution.
The road to a closed form solution for first order linear differential equations usually goes through the path of
If it is not known how to solve these integrals it is not a complete failure because theĀ answer in the closed form of definite integrals.
Now we have solved another class of differential equations.
Previous Topic: Separable Differential Equations
Next Topic: Exact Differential Equations








































If you want to read a reader’s feedback
, I rate this article for four from five. Decent info, but I have to go to that damn msn to find the missed bits. Thank you, anyway!