← Back to Math 055

4.7 Cauchy-Euler Equations: Class Notes

4.7a

Definition

A Cauchy-Euler equation is a differential equation of the form anxndnydxn+an−1xn−1dn−1ydxn−1 +⋯+a1xdydx +a0y=g(x). Earlier in the chapter we found solutions of the form y=emx. Here we will find solutions of the form y=xm.

In each term, the power of x matches the order of the derivative.

Solve the given differential equation.

Example

x2y″+3xy′−4y=0

Solution

Let y=xm. Then y′=mxm−1 and y″=m(m−1)xm−2. Substituting:

x2m(m−1)xm−2+3xmxm−1−4xm=0m(m−1)xm+3mxm−4xm=0

Divide by xm and complete the square:

m(m−1)+3m−4=0m2+2m−4=0m2+2m+1=4+1(m+1)2=5m=−1±5

Answer: y=c1x−1+5+c2x−1−5

In general, for ax2y″+bxy′+cy=0, the auxiliary equation is

am(m−1)+bm+c=0,that is,am2−am+bm+c=0.

One of three results can stem from this quadratic equation:

Case I: m1≠m2, both real.

y=c1xm1+c2xm2

Case II: m1=m2=m (repeated). The second solution comes from reduction of order. In standard form the DE is

y″+baxy′+cax2y=0,P(x)=bax.

A repeated root means the discriminant is zero:

(−a+b)2−4ac=0⟹m=a−b2a⟹y1=x(a−b)/(2a)=xm.

So x2m=x(a−b)/a=x1−b/a, and the reduction-of-order formula gives

y2=xm∫e−ba∫1xdxx(a−b)/adx=xm∫x−b/ax1−b/adx=xm∫1xdx=xmln⁡x.

yc=c1xm+c2xmln⁡x

Case III: m1=α+βi, m2=α−βi.

y=xα[c1cos⁡(βln⁡x)+c2sin⁡(βln⁡x)]

(This is again due to Euler’s formula and the fact that xα=eαln⁡x.)

Nonhomogeneous case: for ax2y″+bxy′+cy=g(x), divide by ax2 to get the standard form y″+P(x)y′+Q(x)y=f(x), then use variation of parameters.

4.7b

Example

4x2y″+y=0

Solution

Let y=xm. Then y′=mxm−1 and y″=m(m−1)xm−2, so

4x2m(m−1)xm−2+xm=0xm(4m2−4m+1)=0(2m−1)2=0⟹m=12 (repeated)

By Case II, y1=x1/2 and y2=x1/2ln⁡x.

Answer: y=c1x1/2+c2x1/2ln⁡x

Example

x2y″−7xy′+41y=0

Solution

With y=xm, the auxiliary equation is

m(m−1)−7m+41=0m2−8m+41=0m2−8m+16=−41+16(m−4)2=−25⟹m=4±5i

By Case III with α=4 and β=5:

Answer: y=x4[c1cos⁡(5ln⁡x)+c2sin⁡(5ln⁡x)]

A Cauchy-Euler equation can be converted to an equation with constant coefficients using the substitution x=et and the Chain Rule.

Rationale: The general solution to ay″+by′+cy=0 (a,b,c constants) is

y=c1em1x+c2em2x.(*)

The general solution to ax2y″+bxy′+cy=0 (a,b,c constants) is y=c1xm1+c2xm2. But x=eln⁡x⟹xm1=em1ln⁡x, so

y=c1em1ln⁡x+c2em2ln⁡x.

If we let x=et, we get y=c1em1t+c2em2t, resembling (*).

Example

Use the substitution x=et to transform the given Cauchy-Euler equation to a differential equation with constant coefficients. Solve the original equation by solving the new equation using techniques previously learned.

x2y″−9xy′+25y=0

Solution

With x=et, we have t=ln⁡x, so y(x) becomes y(t(x)) with t(x)=ln⁡x: y depends on t, which depends on x. By the Chain Rule,

dydx=dydt·dtdx=1xdydt.

Differentiate again with the Product Rule. The derivative ddx(dydt) also needs the Chain Rule: it is d2ydt2·dtdx=d2ydt2·1x.

d2ydx2=−1x2dydt+1xddx(dydt)=−1x2dydt+1x(d2ydt2·1x)=1x2(d2ydt2−dydt)

Substitute into the DE; the powers of x cancel:

x2·1x2(d2ydt2−dydt)−9x·1xdydt+25y=0d2ydt2−10dydt+25y=0

The auxiliary equation is m2−10m+25=0, or (m−5)2=0, so m=5 (repeated):

y=c1e5t+c2te5t=c1e5ln⁡x+c2ln⁡xe5ln⁡x

Answer: y=c1x5+c2x5ln⁡x

Review

Homogeneous: solve the auxiliary equation.

Nonhomogeneous: the auxiliary equation still gives yc. For yp:

If g(x) has linear, polynomial, exponential, or sine/cosine functions (combined with + or ×), use undetermined coefficients with a form such as yp=Ax2+Bx+C (avoid redundancy with yc).

If g(x) has anything else, use variation of parameters. Put the DE in standard form first (g(x) becomes f(x)), then form

W(y1,y2)=|y1y2y1′y2′|.

Column 1 of W1 is 0, f(x) (top to bottom). For a third-order DE it is 0, 0, f(x), and for fourth order 0, 0, 0, f(x).

Repeated roots: if the auxiliary equation gives m=3 repeated (multiplicity 2), then y1=e3x and y2=xe3x.

Reduction of order: the process sets y2=uy1 and lets w=u′. The formula is

y2=y1∫e−∫Pdxy12dx.