# Second Order Euler Equation

A second order linear differential equation of the form

is called the Euler differential equation. It can be reduced to the linear homogeneous differential equation with constant coefficients. This conversion can be done in two ways.

## First Way of Solving an Euler Equation

We make the following substitution: \(x = {e^t}.\) Then the derivatives will be

Putting this into the original Euler equation gives:

As it can be seen, we obtain the linear equation with constant coefficients. The corresponding characteristic equation has the form:

Now we can determine the roots of the characteristic equation and write the general solution for the function \(y\left( t \right).\) Then we can easily return to the function \(y\left( x \right)\) taking into account that

## Second Way of Solving an Euler Equation

In the second method we look for a solution of the equation in the form of the power function \(y = {x^k},\) where \(k\) is an unknown number. It follows from here that

Substituting into the differential equation gives the following result:

As \({x^k} \ne 0,\) then

We get the same characteristic equation as in the first way. After finding the roots, one can write the general solution of the differential equation.

## Non-homogeneous Euler Equation

In the second method we look for a solution of the equation in the form of the power function \(y = {x^k},\) where \(k\) is an unknown number. It follows from here that

The non-homogeneous Euler equation is written as

If the right side has the form

we can easily construct the general solution similarly to the method of solving linear non-homogeneous differential equations with constant coefficients. The algorithm of the solution looks as follows:

- Find the general solution of the homogeneous Euler equation;
- Using the method of undetermined coefficients or the method of variation of constants, find a particular solution depending on the right side of the given non-homogeneous equation;
- The general solution of the non-homogeneous equation is the sum of the general solution of the homogeneous equation (step \(1\)) and a particular solution of the non-homogeneous equation (step \(2\text{).}\)