How Can We Convert Higher Order Differential Equations into First Order Systems?

In summary, converting third order or higher ODEs into a system of equations can be helpful in a number of ways, most notably because almost all first order systems are easier to solve numerically. Additionally, many moving (rates of change) problems in real life don't offer direct/exact solutions, which is where higher order systems can come in handy. Finally, by converting a higher order system into a linear homogeneous system, solving the system is straightforward.
  • #1
DrWahoo
53
0
First, some may ask why would do we care that we can convert a 3rd order or higher ODE into a system of equations? Well there are quite a few reasons.
1- Almost all first order systems are easier to solve numerically using computer systems (matlab, maple, etc). Yes, it takes some working out by hand first, but the compiling time is much less. Even wolfram limits computation time, so use these notes to your advantage.

2- Nearly all moving (rates of change) problems in real life don't offer direct/exact solutions, especially when approximating natural systems of movement with respect to time or other variables.

3- Some higher order systems can be solved by using simple linear algebra techniques (once converted to a first order ode) by finding eigenvalues and eigenvectors by using $\bf{x'}$$=$ $A\bf{x}$ Examples;

a) Suppose we have the following 3rd order ODE of the form:
$y''' -y'-2y=-4y''$
This may look challenging, but try making it homogeneous and moving the right hand side to the left hand side using simple algebra techniques.

Thus adding $4y''$ to both both sides of the equations yields;

$y''' +4y''-y'-2y=0$

This looks much neater and its homogeneous!

So now we want to convert it into a First Order ODE by the following method;

Let $x_{1} = y $
Let $x_{2} = y'$
Let $x_{3} = y''$

So now we are ready to start making the higher order ODE in the opening statement to a first order system. It may seem daunting at this point, but it is super simply and really just relies on manipulating and denoting variables in a different manner. I will show this now,

Recall, we defined the following;
$x_{1} = y $
$x_{2} = y'$
$x_{3} = y''$Hence, we can take the derivative of $x_{1}= y$ which is simply $x'_{1} = y'$. Here, all we did was differentiate both sides of what we defined above.

So now we have $x'_{1} = y'$ or equivalently, $ y'= x'_{1} $. If we do this for the other variables we defined we have,

$ y'= x'_{1} = x_{2}$
$ y''= x'_{2} =x_{3}$
$ y'''= x'_{3} $

So with the notation above, we substitute into our original higher order ODE.
Recall our higher order ode was;
$y''' +4y''-y'-2y=0$

So we need to replace $y''' , y'', y' $ with the definitions we gave them above with the denoted sub-scripted $x's$.
Replacing we have the ,
$x'_{3} + 4 x_{3} -x_{2} -2 x_{1}=0$
Or equivalently,
$x'_{3}= - 4 x_{3} +x_{2} +2 x_{1}$Congratulations, you have converted the higher order ODE into a linear homogeneous ODE!
Can you solve it now?

See below for hints and solutions.

Because its a homogeneous first order system, YES we can solve the system using $\bf{x'}$$=$ $A\bf{x}$, we can do this because our linear homogeneous equation was converted to a linear homogeneous system of the matrix form above. A is defined below;
Note that boldface letters represent vectors in this case (usually in all cases dealing with DE's).

So in our matrix A, we simply have the coefficients of the corresponding system;$x'_{3}= - 4 x_{3} +x_{2} +2 x_{1}$
$A$= $\begin{pmatrix}
0 & 1 & 0 \\
0 & 0 & 1 \\
2 & 1 & -4
\end{pmatrix} $

Now we use the method for finding eigenvalues of the given 3 x 3 matrix by the following;
det$(A-\lambda I)$= characteristic polynomial, where I is the 3 x 3 identity matrix.

If you set the corresponding characteristic polynomial equal to $0$, you will have at most 3 possible eigenvalues. These are the same as the roots of the characteristic equation for the original 3rd order ODE.

Now try to finish the problem by finding the characteristic equation, the three eigenvalues and vectors, and a solution to the system. If you need help or have a solution, please post it up. Love seeing peoples logic and helping others.

Dr. Wahoo
 
Last edited:
Physics news on Phys.org
  • #2
Very interesting, thanks for the tutorial @DrWahoo!
 

FAQ: How Can We Convert Higher Order Differential Equations into First Order Systems?

What is the purpose of converting higher differential equations into first order systems?

The purpose of converting higher differential equations into first order systems is to make them easier to solve and analyze. It also allows for the use of numerical methods to approximate solutions.

What are the steps involved in converting a higher differential equation into a first order system?

The steps involved in converting a higher differential equation into a first order system are:
1. Rewrite the equation in its standard form, with the highest derivative on one side and all other terms on the other side.
2. Introduce new variables for each derivative in the equation, such as y' = x and y'' = z.
3. Rewrite the equation in terms of these new variables, keeping in mind that derivatives of these variables will be included in the new system.
4. Rewrite the equation as a system of first order differential equations by replacing all derivatives with their corresponding new variables.

What are some examples of converting higher differential equations into first order systems?

Some examples of converting higher differential equations into first order systems include:
1. Converting a second order differential equation, such as y'' + 2y' + 3y = 0, into a system of two first order equations by introducing new variables y' = x and y'' = z.
2. Converting a higher order system of differential equations, such as x''' + 3x'' - 2x' + 5x = 0, into a first order system by introducing new variables x' = y, x'' = z, and x''' = w.

What are the benefits of converting higher differential equations into first order systems?

Converting higher differential equations into first order systems has several benefits, including:
1. It simplifies the equations, making them easier to solve and analyze.
2. It allows for the use of numerical methods, which can provide more accurate solutions.
3. It can reveal hidden relationships between variables that may not be apparent in the original higher order equation.

Can any higher differential equation be converted into a first order system?

Yes, any higher differential equation can be converted into a first order system by following the proper steps. However, the resulting system may not always be simpler or easier to solve than the original equation. In some cases, the conversion may introduce additional variables and equations, making the system more complex.

Back
Top