Lably
Skip to content

Cauchy–Euler equation

Ordinary differential equation

  • 4 min read
  • 2 chapters

Related on Lably

Through Mathematics, Ordinary differential equation and Dependent and independent variables


The equation

Let y(n)(x) be the nth derivative of the unknown function y(x). Then a Cauchy–Euler equation of order n has the form anxny(n)(x)+an−1xn−1y(n−1)(x)+⋯+a0y(x)=0.

The substitution x=eu (that is, u=ln⁡(x); for x<0, in which one might replace all instances of x by |x|, extending the solution's domain to R∖{0}) can be used to reduce this equation to a linear differential equation with constant coefficients. Alternatively, the trial solution y=xm can be used to solve the equation directly, yielding the basic solutions.

Second order – solving through trial solution

The most common Cauchy–Euler equation is the second-order equation, which appears in a number of physics and engineering applications, such as when solving Laplace's equation in polar coordinates. The second order Cauchy–Euler equation is

x2d2ydx2+axdydx+by=0.

We assume a trial solution y=xm.

Differentiating gives dydx=mxm−1 and d2ydx2=m(m−1)xm−2.

Substituting into the original equation leads to requiring that x2(m(m−1)xm−2)+ax(mxm−1)+b(xm)=0

Rearranging and factoring gives the indicial equation m2+(a−1)m+b=0.

We then solve for m. There are three cases of interest:

  • Case 1 of two distinct roots, m1 and m2;
  • Case 2 of one real repeated root, m;
  • Case 3 of complex roots, α ± βi.

In case 1, the solution is y=c1xm1+c2xm2

In case 2, the solution is y=c1xmln⁡(x)+c2xm

To get to this solution, the method of reduction of order must be applied, after having found one solution y = xm.

In case 3, the solution is y=c1xαcos⁡(βln⁡(x))+c2xαsin⁡(βln⁡(x)) α=Re⁡(m) β=Im⁡(m)

For c1,c2∈R.

This form of the solution is derived by setting x = et and using Euler's formula.

Second order – solution through change of variables

x2d2ydx2+axdydx+by=0

We operate the variable substitution defined by

t=ln⁡(x). y(x)=φ(ln⁡(x))=φ(t).

Differentiating gives dydx=1xdφdt d2ydx2=1x2(d2φdt2−dφdt).

Substituting φ(t) the differential equation becomes d2φdt2+(a−1)dφdt+bφ=0.

This equation in φ(t) is solved via its characteristic polynomial λ2+(a−1)λ+b=0.

Now let λ1 and λ2 denote the two roots of this polynomial. We analyze the case in which there are distinct roots and the case in which there is a repeated root:

If the roots are distinct, the general solution is φ(t)=c1eλ1t+c2eλ2t, where the exponentials may be complex.

If the roots are equal, the general solution is φ(t)=c1eλ1t+c2teλ1t.

In both cases, the solution y(x) can be found by setting t=ln⁡(x).

Hence, in the first case, y(x)=c1xλ1+c2xλ2, and in the second case, y(x)=c1xλ1+c2ln⁡(x)xλ1.

Second order - solution using differential operators

Observe that we can write the second-order Cauchy-Euler equation in terms of a linear differential operator L as Ly=(x2D2+axD+bI)y=0, where D=ddx and I is the identity operator.

We express the above operator as a polynomial in xD, rather than D. By the product rule, (xD)2=xD(xD)=x(D+xD2)=x2D2+xD. So, L=(xD)2+(a−1)(xD)+bI.

We can then use the quadratic formula to factor this operator into linear terms. More specifically, let λ1,λ2 denote the (possibly equal) values of −a−12±12(a−1)2−4b. Then, L=(xD−λ1I)(xD−λ2I).

It can be seen that these factors commute, that is (xD−λ1I)(xD−λ2I)=(xD−λ2I)(xD−λ1I). Hence, if λ1≠λ2, the solution to Ly=0 is a linear combination of the solutions to each of (xD−λ1I)y=0 and (xD−λ2I)y=0, which can be solved by separation of variables.

Indeed, with i∈{1,2}, we have (xD−λiI)y=xdydx−λiy=0. So, xdydx=λiy∫1ydy=λi∫1xdxln⁡y=λiln⁡x+Cy=cieλiln⁡x=cixλi. Thus, the general solution is y=c1xλ1+c2xλ2.

If λ=λ1=λ2, then we instead need to consider the solution of (xD−λI)2y=0. Let z=(xD−λI)y, so that we can write (xD−λI)2y=(xD−λI)z=0. As before, the solution of (xD−λI)z=0 is of the form z=c1xλ. So, we are left to solve (xD−λI)y=xdydx−λy=c1xλ. We then rewrite the equation as dydx−λxy=c1xλ−1, which one can recognize as being amenable to solution via an integrating factor.

Choose M(x)=x−λ as our integrating factor. Multiplying our equation through by M(x) and recognizing the left-hand side as the derivative of a product, we then obtain ddx(x−λy)=c1x−1x−λy=∫c1x−1dxy=xλ(c1ln⁡(x)+c2)=c1ln⁡(x)xλ+c2xλ.

Example

Given x2u″−3xu′+3u=0, we substitute the simple solution xm: x2(m(m−1)xm−2)−3x(mxm−1)+3xm=m(m−1)xm−3mxm+3xm=(m2−4m+3)xm=0.

For xm to be a solution, either x = 0, which gives the trivial solution, or the coefficient of xm is zero. Solving the quadratic equation, we get m = 1, 3. The general solution is therefore

u=c1x+c2x3.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Topics in mathematics