Converting nth Order ODEs to Systems of n First Order ODEs

Converting nth Order ODEs to Systems of n First Order ODEs

Recall from the nth Order Ordinary Differential Equations page that every $n^{\mathrm{th}}$ order ODE can be converted into a system of $n$ first order ODEs.

We will now look at some examples of doing such.

Example 1

Convert the $3^{\mathrm{rd}}$ order ODE $y''' = t + 2y + 3y''$ with initial conditions $y(0) = 1$, $y'(0) = 2$, and $y''(0) = 3$ to a system of $3$ first order ODEs.

Let:

(1)

Then the equivalent system of $3$ first order ODEs is:

(2)
\begin{align} \quad x_1' &= x_2 \\ \quad x_2' &= x_3 \\ \quad x_3' &= t + 2y + 3y'' \\ &= t + 2x_1 + 3x_3 \end{align}

We now convert the initial conditions:

(3)
\begin{align} \quad y(0) = x_1(0) &= 1 \\ \quad y'(0) = x_2(0) &= 2 \\ \quad y''(0) = x_3(0) &= 3 \end{align}

Example 2

Convert the $4^{\mathrm{th}}$ order ODE $4y'''' = 3y' - ty''$ with initial conditions $y(1) = 2$, $y'(1) = 3$, $y''(1) = -6$, and $y'''(1) = 4$ to a system of $4$ first order ODEs.

Let:

(4)