Euler–Cauchy equation

From testwiki
Jump to navigation Jump to search

The general second-order Euler–Cauchy equation is:

ax2y+bxy+cy=0

where a, b, and c can be any (real) constants.

Solving by the Method of Frobenius

The leading coefficient function ax2 is 0 at x=0; so there is a singular point at x=0. Normal form is:

y+p(x)y+q(x)y=0

where p(x)=bax and q(x)=cax2.

Then xp(x)=ba and x2q(x)=ca. These two functions, xp(x) and x2q(x), have no discontinuities; so the singular point is regular. Thus the method of Frobenius is applicable to this E.C.e. at x=0.

Let

y=n=0knxn+r

be a tentative Frobenius-series solution. Then

y=n=0kn(n+r)xn+r1
y=n=0kn(n+r)(n+r1)xn+r2

Substituting these into the E.C.e. yields

k=0kn[a(n+r)(n+r1)+b(n+r)+c]xn+r=0

Since the L.H.S. is identically equal to 0, then each coefficient of the Frobenius series must equal 0:

kn[a(n+r)(n+r1)+b(n+r)+c]=0
kn[a(n+r)2+(ba)(n+r)+c]=0

When n=0,

k0(ar2+(ba)r+c)=0

Letting k00, then

ar2+(ba)r+c=0

is the indicial equation. Its roots are

r1=(ba)+(ba)24ac2a
r2=(ba)(ba)24ac2a

If there exists some integer n1 such that

a(n1+r)2+(ba)(n1+r)+c=0

then either r2=n1+r1 or r1=n1+r2 (since r1 and r2 are the only two solutions of the indicial equation); and there can be at most one such n1. For all other values of n, the equation

a(n+r)2+(ba)(n+r)+c=0

is not satisfied, which means that kn=0 for all n such that n0 and nn1. (N.B.: If r2r1 is not an integer then such an n1 does not exist.)

y1=k0xr1 or y1=k0xr1+kn1xr1+n1=k0xr1+kn1xr2
y2=h0xr2 or y2=h0xr2+hn1xr2+n1=h0xr2+hn1xr1

The two right sides of the two logical disjunctions cannot be simultaneously true. Since kn1 is independent of k0, then a solution such as y1=k0xr1+kn1xr2 is a linear combination of linearly independent solutions.

|xr1xr2r1xr11r2xr21|=r2xr1xr21r1xr11xr2=(r2r1)xr1+r21

Assuming that r2r1 then this Wronskian is never zero, so the two terms of the solution y1 are actually linearly independent solutions. (The case when r2=r1 will be dealt with further down from here.) The second term of y1 is just “echoing” the other solution y2=h0xr2, so to speak. So the general solution is

y=k0xr1+h0xr2

The case of complex conjugate indicial roots

If r1,2 are a complex conjugate pair,

r1,2=α±iβ

then

y=k0xαxiβ+h0xαxiβ
y=k0xαeiβlnx+h0xαeiβlnx

If k0 is set to A/2 and h0 is set to A/2 as well then

y=Axαcos(βlnx)

as may be derived through Euler's formula eiθ=cosθ+isinθ. If k0=B2i and h0=B2i then

y=Bxαsin(βlnx)

These two solutions are linearly independent as can be verified by calculating their Wronskian:

|xαcos(βlnx)xαsin(βlnx)xα1(αcos(βlnx)βsin(βlnx))xα1(αsin(βlnx)+βcos(βlnx))|
=x2α1β

which is non-zero almost everywhere. Thus

y=Axαcos(βlnx)+Bxαsin(βlnx)

is a general solution.

The case of equal indicial roots

If r1=r2, let r=r1=r2;

y1=xr

is one solution. The other one may be determined through the method of undetermined coefficients. Let

y2=uxr

where u is a function of x. Now derive:

y2=uxr+urxr1
y2=uxr+2urxr1+ur(r1)xr2

The original E.C.e. is

ax2y+bxy+cy=0

Substitute y2 and its derivatives into the E.C.e.:

ax2(uxr+2urxr1+ur(r1)xr2)+bx(uxr+urxr1)+cuxr=0

Distribute:

auxr+2+2aurxr+1+aur(r1)xr+buxr+1+burxr+cuxr=0

Group by derivatives of u:

uaxr+2+u(2arxr+1+bxr+1)+u[ar(r1)xr+brxr+cxr]=0

Factor out powers of x:

uaxr+2+u(2ar+b)xr+1+u[ar(r1)+br+c]xr=0

The expression within the square brackets is the indicial equation, for which r is the root, so the third term in the sum of the L.H.S. vanishes.

uaxr+2+u(2ar+b)xr+1=0

For x>0, xr+10, so divide by xr+1:

uax+u(2ar+b)=0

And here note well that 2ar+b=a, thus

uax+ua=0
ux+u=0

Let u=v, so that v=u:

vx+v=0
vv=1x
dvv=dxx
ln|v|=(ln|x|+k0)
|v|=eln|x|k0=k1|x|
v=k1x=u

assuming that x>0.

u=k1xdx=k1lnx

So y2=uxr=k1xrlnx and the general solution is

y=k0xr+k1xrlnx

Solving another way

Recalling the second order Euler–Cauchy equation:

ax2y+bxy+cy=0

Let z=lnx. This is suggested by the solution xαcos(βlnx) corresponding to the indicial root α+iβ, with cos(βlnx) instead of cos(βx) and sin(βlnx) instead of sin(βx). So, letting z=lnx, what happens when y is derived with respect to z instead of w.r.t. x?

dydx=dydzdzdx=1xdydz
Dy=1x𝔇y

where 𝔇=d/dz.

xDy=𝔇y
𝔇(1x)=D(1x)𝔇x

x=ez so 𝔇x=x

𝔇(1x)=1x2x=1x
D2y=1x𝔇(1x𝔇y)
D2y=1x[𝔇(1x)𝔇y+1x𝔇2y]=1x[1x𝔇y+1x𝔇2y]
D2y=1x2𝔇(𝔇1)y
x2D2y=𝔇(𝔇1)y

So

(ax2D2+bxD+c)y=0

becomes

(a𝔇(𝔇1)+b𝔇+c)y=0
(a𝔇2+(ba)𝔇+c)y=0

which is a “H.O.L.D.E.” (Homogeneous Ordinary Linear Differential Equation) with constant coefficients and characteristic equation

ar2+(ba)r+c=0

If its two roots r1,2 are real and distinct then the H.O.L.D.E.w.c.c. has solution

y=k1er1z+k2er2z

where z=lnx so the E.C.e. has solution

y=k1xr1+k2xr2

If the characteristic equation has two equal (and thus real) roots then the H.O.L.D.E.w.c.c. has solution

y=k1erz+k2zerz

so the E.C.e. has solution

y=k1xr+k2xrlnx

If the roots are a complex conjugate pair then the H.O.L.D.E.w.c.c. has solution

y=k1eαzcos(βz)+k2eαzsin(βz)

where, again, z=lnx so the E.C.e. has solution

y=k1xαcos(βlnx)+k2xαsin(βlnx)

Higher-order cases

ddz(1x2)=ddz(e2z)=2e2z=2x2
D3y=DD2y=D(1x2𝔇(𝔇1)y)
=1x𝔇(1x2(𝔇2𝔇)y)
=1x[𝔇(1x2)(𝔇2𝔇)y+1x2𝔇(𝔇2𝔇)y]
=1x[2x2(𝔇2𝔇)y+1x2(𝔇3𝔇2)y]
=1x3(𝔇33𝔇2+2𝔇)y
D3y=1x3𝔇(𝔇1)(𝔇2)y
x3D3y=𝔇(𝔇1)(𝔇2)y

This can be generalized:

xnDny=𝔇(𝔇1)(𝔇2)...(𝔇(n1))y

To prove it, use mathematical induction. The base cases have already been proven. As inductive hypothesis, take this very formula that is to be proven. Divide it by xn and apply D to (both sides of) it:

D(Dn)y=D[1xn𝔇(𝔇1)...(𝔇(n1))y]
=1x𝔇[1xn𝔇(𝔇1)...(𝔇(n1))y]
=1x[nxn+1xn𝔇]𝔇(𝔇1)...(𝔇(n1))y
Dn+1y=1xn+1(𝔇n)𝔇(𝔇1)...(𝔇(n1))y
Dn+1y=1xn+1𝔇(𝔇1)(𝔇2)...(𝔇n)y
xn+1Dn+1y=𝔇(𝔇1)(𝔇2)...(𝔇n)y

Thus the inductive step has been proven; the generalization is true:

xnDny=𝔇(𝔇1)(𝔇2)...(𝔇(n1))y

This rule can be used to convert a higher-order E.C.e. into a H.O.L.D.E. with constant coefficients whose independent variable is z. Once the H.O.L.D.E.w.c.c. is solved, replace z with lnx.