A linear first order ODE is a differential equation that is express as a linear combination of a function and it’s derivatives. It can be reduced into a Separable ODEs using an integrating factor.
Definition
A linear first order ODE is of the form:
Linear First Order ODE
Note
- = Functions depending solely on
- = The forcing term
- If , the ODE is homogenous
Integrating Factor
To solve these ODEs, the left hand side needs to be represented as a product, like , then it is separable. In order to do that, we use the product rule to find an integrating factor :
Why?
We need such that:
Using Product rule Separable ODEs
Since we only need one factor, we can let the constant of integration, c, equal to zero.
Then, simply multiply the entire ODE by :
Homogenous
When , the ODE is considered homogenous, with a solution given by:
where is the integrating factor:
Inhomogeneous
When , the ODE is considered inhomogeneous, with a solution:
- is the homogenous solution to the ODE, also known as the transient solution
- is the particular solution to the inhomogeneous version.