Transformation of ODE of order n

We know that any differential equation (of any order) can be written in the form of a system. Therefore we will be able to solve those equations of order n that can be written in a system form that we can solve, a system with constant coefficients.

Let's suppose that we have an ODE of order n, xn)(t)+an1(t)xn1)(t)++a1(t)x(t)+a0(t)x(t)=f(t)

We define: y1=xy2=xy3=xyn=xn1) Then y1=x=y2y2=x=y3yn=xn)=f(t)an1(t)xn1)(t)a1(t)x(t)a0(t)x(t)==f(t)an1(t)yn(t)a1(t)y2(t)a0(t)y1(t) Obtaining a linear system of order 1. As we already said, if it is a system with constant coefficients we will be able to solve it.

Giving the solution will consist in giving the function y1(t), since x(t)=y1(t).

Example

For example, consider the ODE of order 5: x5)+21x3)2xx=2cost We name: y1=xy2=xy3=xy4=xy5=x4)

Therefore we obtain the system: y1=y2y2=y3y3=y4y4=y5y5=21y4+2y3+y1+2cost

that we can write in matrix form: (y1y2y3y4y5)=(01000001000001000001102210)(y1y2y3y4y5)+(00002cost)

This method for obtaining a linear system is completely general. Nevertheless, bearing in mind that we can only solve systems with constant coefficients, this method will only be useful to solve ODE's of order n with constant coefficients (since with this transformation a triangular system is never obtained).