Table of Contents
You use the integrating factor when the differential equation is not exact.
1. First Order Linear Ordinary Differential Equations
If the differential equation is in the form , you could use the integrating factor, . Keep this form in mind.
Remember the product rule? It’s .
Let’s replace with the and with a function that we don’t know , so that it satisfies , so that you can get a form that’s similar with .
If you multiply everything by the integrating factor, you get .
From above:
Comparing where the ’s are:
. Do not worry about plus-minus - you only need one integrating factor.
So, substitute this into and you notice: the left hand side is
You can then solve the equation from there.
For reference:
1.1. Example
,
Recall that your integrating factor is , so in this case, .
Let’s plug in the initial conditions to find the constant :
2. First Order Non-Exact Differential Equations
Use for when you have the form , and the equation is not exact.
Like before, find and multiply everything by .
2.1. Example
As you can see, the functions and are both functions of both and , so we must use partial differentials. Don’t be scared - this just means you need to take the partial derivative of the function.
Using the formula, and .
Take the partial derivative of with respect to , and the partial derivative of with respect to . When you are taking the partial derivative of one variable, all the other variables are considered constants. and .
Therefore, .
Multiply every term by : .
Now this is just an exact equation you can solve. Let be the general solution to the equation and that .
,
Using , integrate: .
Then differentiate: .
Compare: Therefore , so .
Substitute into : , and recall that , so .