Euler Equations

In the case that the functions [Maple Math] , [Maple Math] and [Maple Math] of a differential equation

[Maple Math] are not constants then it is much harder to solve it. In this section we consider the special case when [Maple Math] , [Maple Math] , and [Maple Math] where [Maple Math] and [Maple Math] are constants. This equation is called Euler equation. First we solve the homogeneous equation [Maple Math] , and then we use The Method of Variations to find a particular solution [Maple Math] . Solutions of the homogeneous equation depend on the roots of the characteristic equation [Maple Math] . If the roots [Maple Math] and [Maple Math] are real and different then the solution is [Maple Math] . If the roots [Maple Math] and [Maple Math] are real and equal then the solution is [Maple Math] . If the roots [Maple Math] and [Maple Math] are complex with [Maple Math] and [Maple Math] being the real and imaginary part then the solution is

[Maple Math] . We ilustrate this on the following examples.

Example 1: Solve [Maple Math] .

Solution: The roots of the characteristic equation are

> solve(r*(r-1)+2*r-12=0);0>solve(r*(r-1)+2*r-12=0);

[Maple Math]

real and different. Hence the solution is

[Maple Math] .

Example 2: Solve [Maple Math] .

Solution: The roots of the characteristic equation are

> solve(r*(r-1)-3*r+4=0);

[Maple Math]

equal. Hence the solution is [Maple Math] .

Example 3: Solve [Maple Math] .

Solution: The roots of the characteristic equation are

> solve(r*(r-1)+5*r+13=0);

[Maple Math]

complex with [Maple Math] and [Maple Math] . Hence the solution is

[Maple Math] .

Example 4: Solve a nonhogenous Euler equation [Maple Math] .

Solution: The roots of the characteristic equation are

> solve(r*(r-1)+2*r-12=0);

[Maple Math]

Hence two independent solutions of the homogeneous equation are [Maple Math] and [Maple Math] . We find a particular solution using the method of variation. Recall that for this method to work the differential equation has to be in the standard form [Maple Math] . Thus new [Maple Math] for Euler equation is equal to [Maple Math] .

>

> y[1]:=x^(-4);y[2]:=x^3;

[Maple Math]

[Maple Math]

> solve({y[1]*dc[1]+y[2]*dc[2]=0,diff(y[1],x)*dc[1]+diff(y[2],x)*dc[2]=sqrt(x)/x^2},{dc[1],dc[2]});

[Maple Math]

> c[1]:=int(-1/7*x^(7/2),x);c[2]:=int(1/7/x^(7/2),x);

[Maple Math]

[Maple Math]

So the particular solution is

> c[1]*y[1]+c[2]*y[2];

[Maple Math]

Hence the general solution to the nonhomogeneous equation is [Maple Math] .

Example 5: Solve [Maple Math]

Solution: First we find [Maple Math] by solving the equation [Maple Math] .

> solve(r*(r-1)-2*r+2=0,r);

[Maple Math]

Therefore the solutions to the homogenous part are [Maple Math] and [Maple Math] . To find one particular solution of the original equation we use the method of variation as follows:

> y[1]:=x;y[2]:=x^2;

[Maple Math]

[Maple Math]

> dy[1]:=diff(y[1],x);dy[2]:=diff(y[2],x);

[Maple Math]

[Maple Math]

> solve({y[1]*dc[1]+y[2]*dc[2]=0,dy[1]*dc[1]+dy[2]*dc[2]=(3*x^2+2*ln(x))/x^2},{dc[1],dc[2]});

[Maple Math]

> c[1]:=int(-(3*x^2+2*ln(x))/x^2,x);c[2]:=int((3*x^2+2*ln(x))/x^3,x);

[Maple Math]

[Maple Math]

> c[1]*y[1]+c[2]*y[2];

[Maple Math]

> simplify(%);

[Maple Math]

So one particular solution is [Maple Math] . To check that this is indeed a particular solution we plug it into the original equation:

> x^2*diff(-3*x^2+ln(x)+3/2+3*ln(x)*x^2,x,x)-2*x*diff(-3*x^2+ln(x)+3/2+3*ln(x)*x^2,x)+2*(-3*x^2+ln(x)+3/2+3*ln(x)*x^2)+2*(-3*x^2+ln(x)+3/2+3*ln(x)*x^2);

[Maple Math]

> simplify(%);

[Maple Math]

The general solution is [Maple Math] .

Example 6: Solve [Maple Math] .

Solution: First we find [Maple Math] by solving the equation [Maple Math] .

> solve(r*(r-1)+r+4=0,r);

[Maple Math]

Therefore the solutions to the homogenous part are [Maple Math]eight=32 alt="[Maple Math]" align=middle> and [Maple Math] . To find one particular solution of the original equation we use the method of variation as follows:

> y[1]:=cos(2*ln(x));y[2]:=sin(2*ln(x));

[Maple Math]

[Maple Math]

> dy[1]:=diff(y[1],x);dy[2]:=diff(y[2],x);

[Maple Math]

[Maple Math]

> solve({y[1]*dc[1]+y[2]*dc[2]=0,dy[1]*dc[1]+dy[2]*dc[2]=sin(ln(x))/x^2},{dc[1],dc[2]});

[Maple Math]

> c[1]:=int(-sin(ln(x))^2*cos(ln(x))/x,x);c[2]:=int(-1/2*(-1+2*sin(ln(x))^2)*sin(ln(x))/x,x);

[Maple Math]

[Maple Math]

> c[1]*y[1]+c[2]*y[2];

[Maple Math]

> simplify(%,{sin(ln(x))^2=1-cos(ln(x))^2});

[Maple Math]

So one particular solution is [Maple Math] . To check that this is indeed a particular solution we plug it into the original equation:

> x^2*diff(1/3*sin(ln(x)),x,x)+x*diff(1/3*sin(ln(x)),x)+4*(1/3*sin(ln(x)));

[Maple Math]

> simplify(%);

[Maple Math]

The general solution is 000>The general solution is [Maple Math] .

ml>