First-order linear differential equation
A first-order, linear ODE is given the standard form1
In the case of
which can be rearranged trivially to yield the standard form.
Solutions
- Integrable LHS
- Integrating factor
- [[#Integrating factor#Explanation|Explanation]]
- [[#Integrating factor#Algorithm|Algorithm]]
Integrable LHS
In some cases a first-order linear ODE may be immediately solvable by integration. This is the case when the LHS is or can be rearranged to be the case of a product rule, that is of the form
which can easily be rewritten as
so the general solution is
including the integration constant.
In cases where this is not possible, an Integrating factor
Integrating factor
Explanation
In cases where the LHS is not immediately integrable, it may be made so by multiplying both sides by a chosen integrating factor, conventionally called either
We select
A family of solutions to this very basic differential equation for
where the integration constant may be conveniently selected as
Algorithm
Algorithmically, the integrating factor method is summarised as follows
- Write the differential equation in standard form
- Find the integrating factor (setting the constant of integration conveniently to
)
\begin{align*} \mu(x) = \exp\left( \int{p(x),dx} \right) \end{align*}
\begin{align*} y(x) &= \frac{1}{\mu(x)} \int \mu(x)g(x) , dx + \frac{C}{\mu(x)} \end{align*}
Footnotes
-
2017. Elementary differential equations and boundary value problems, pp. 24ff. (§2.1) ↩
-
I will be using the former since it is prettier. ↩