Cauchy–Euler equation

From testwiki
Jump to navigation Jump to search

Template:Short description In mathematics, an Euler–Cauchy equation, or Cauchy–Euler equation, or simply Euler's equation, is a linear homogeneous ordinary differential equation with variable coefficients. It is sometimes referred to as an equidimensional equation. Because of its particularly simple equidimensional structure, the differential equation can be solved explicitly.

The equation

Let Template:Math be the nth derivative of the unknown function Template:Math. Then a Cauchy–Euler equation of order n has the form anxny(n)(x)+an1xn1y(n1)(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 {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.[1]

Second order – solving through trial solution

Typical solution curves for a second-order Euler–Cauchy equation for the case of two real roots
Typical solution curves for a second-order Euler–Cauchy equation for the case of a double root
Typical solution curves for a second-order Euler–Cauchy equation for the case of complex roots

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[1][2]

x2d2ydx2+axdydx+by=0.

We assume a trial solution[1] y=xm.

Differentiating gives dydx=mxm1 and d2ydx2=m(m1)xm2.

Substituting into the original equation leads to requiring that x2(m(m1)xm2)+ax(mxm1)+b(xm)=0

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

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

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 Template:Math.

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

For c1,c2.

This form of the solution is derived by setting Template:Math 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φdt2dφdt).

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

This equation in φ(t) is solved via its characteristic polynomial λ2+(a1)λ+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+(a1)(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 a12±12(a1)24b. 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=λiy1ydy=λi1xdxlny=λilnx+Cy=cieλilnx=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)=c1x1xλy=c1x1dxy=xλ(c1ln(x)+c2)=c1ln(x)xλ+c2xλ.

Example

Given x2u3xu+3u=0, we substitute the simple solution Template:Math: x2(m(m1)xm2)3x(mxm1)+3xm=m(m1)xm3mxm+3xm=(m24m+3)xm=0.

For Template:Math to be a solution, either Template:Math, which gives the trivial solution, or the coefficient of Template:Math is zero. Solving the quadratic equation, we get Template:Math. The general solution is therefore

u=c1x+c2x3.

Difference equation analogue

There is a difference equation analogue to the Cauchy–Euler equation. For a fixed Template:Math, define the sequence Template:Math as fm(n):=n(n+1)(n+m1).

Applying the difference operator to fm, we find that Dfm(n)=fm(n+1)fm(n)=m(n+1)(n+2)(n+m1)=mnfm(n).

If we do this Template:Mvar times, we find that fm(k)(n)=m(m1)(mk+1)n(n+1)(n+k1)fm(n)=m(m1)(mk+1)fm(n)fk(n),

where the superscript Template:Math denotes applying the difference operator Template:Mvar times. Comparing this to the fact that the Template:Mvar-th derivative of Template:Math equals m(m1)(mk+1)xmxk suggests that we can solve the N-th order difference equation fN(n)y(N)(n)+aN1fN1(n)y(N1)(n)++a0y(n)=0, in a similar manner to the differential equation case. Indeed, substituting the trial solution y(n)=fm(n) brings us to the same situation as the differential equation case, m(m1)(mN+1)+aN1m(m1)(mN+2)++a1m+a0=0.

One may now proceed as in the differential equation case, since the general solution of an Template:Mvar-th order linear difference equation is also the linear combination of Template:Mvar linearly independent solutions. Applying reduction of order in case of a multiple root Template:Math will yield expressions involving a discrete version of Template:Math, φ(n)=k=1n1km1.

(Compare with: ln(xm1)=1+m1xdttm1.)

In cases where fractions become involved, one may use fm(n):=Γ(n+m)Γ(n) instead (or simply use it in all cases), which coincides with the definition before for integer Template:Mvar.

See also

References

Bibliography