Ordinary differential equations: Solving ODEs by an integrating factor
A non-homogeneous first-order linear differential equation
We consider the non-homogeneous first-order linear differential equation
where and . This means that the ODE
- has order 1, because only the first derivative is present;
- is linear because of the linear form in which and are present;
- non-homogeneous as .
Let be an antiderivative of (it exists when is continuous on a closed interval).
Then, is an integrating factor.
Let and be nonzero continuous function and let be an antiderivative of . Then the general solution of the ODE
is
where is an antiderivative of and is an integration constant.
Unlock full access