First order ODEs

First-order linear differential equation

A first-order, linear ODE is given the standard form1

In the case of , the ODE is separable. Sometimes this is written as

which can be rearranged trivially to yield the standard form.

Solutions

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 may be used to make it so.

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 or 2.

We select such that the LHS is the result of a product rule, i.e.

A family of solutions to this very basic differential equation for is given by

where the integration constant may be conveniently selected as . Thus, the ODE may be solved generally

Algorithm

Algorithmically, the integrating factor method is summarised as follows

  1. Write the differential equation in standard form
  2. 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*}

You can't use 'macro parameter character #' in math mode ## Practice problems - 2017\. [[Sources/@boyceElementaryDifferentialEquations2017|Elementary differential equations and boundary value problems]], pp. 31–32 (§2.1 problems) # --- #state/tidy | #lang/en | #SemBr | #review

Footnotes

  1. 2017. Elementary differential equations and boundary value problems, pp. 24ff. (§2.1)

  2. I will be using the former since it is prettier.