Blog Archive

Wednesday, June 21, 2023

ODE, An Algebraic Approach (3)

We already know how to solve P(D)y=0. Read Math Essays: ODE, An Algebraic Approach (1) (wuyulanliulongblog.blogspot.com)

And for two linear maps T1,T2, If we have T1v=u,T2u=0, Then T2T1v=0

And {vV|T1v=u}KerT2T1.

That is the basic idea.

For example(to illustrate that and for general, I can not use the best way to solve that),

Example 1.1 (D24)y=3cosx

We know that cosxKer(D2+1)

Thus we have (D2+1)(D24)y=0

Thus we have (D+i)(Di)(D+2)(D2)y=0

Therefore the solution of (D24)y=3cosxKer(D+i)(Di)(D+2)(D2)

Thus yC1eix+C2eix+C3e2x+C4e2x=(C1+C2)cosx+(C1C2)isinx+C3e2x+C4e2x

And since (D24)y=3cosx

Thus the coefficient of sinx should be 0

Therefore (D24)2C1cosx=3cosx,2C1cosx8C1cosx=3cosx

Thus C1=0.3, y=0.6cosx+C3e2x+C4e2x

Now, Let us consider the limitations of this method.

For P(D)y=g, the gKerH(D), H(D) is a differential operator polynomial

Remark. λi,ciC, and e(a+bi)x=ea(cosbx+isinbx)

That means g=a+eλix(i=0ncixi), thus g can be constant, polynomials, exp,cosx,sinx,coshx,sinhx, and product and plus of them...(They can generate a subring(subalgebra actually) of C(R)

Example 1.2 (D29)y=ex(x2+3x+1)

We know that ex(x2+3x+1)Ker(D1)3

Because (D1)(exf)=(1+21)(exf)=(1+21)exf=exf

Thus we have (D1)3(D29)y=0

That is (D1)3(D+3)(D3)y=0

Thus we have yex(c1+c2x+c3x2)+C4e3x+C5e3x

Recall that (D29)y=ex(x2+3x+1)

We need to count (D29)(ex(c1+c2x+c3x2))=ex(x2+3x+1)

y=exp(x)(1/8x27/16x17/64)

Check by Maple.

Summary

As we can see, when P(D)y=g,gKerH(D), and gcd(P(D),H(D))=1

The particular solution of P(D)y=g comes from KerH(D) since the direct product

Ker(PH(D)=KerP(D)H(D)=KerP(D)KerH(D)

Thus we can find yp from KerH(D) directly

If gcd(P(D),H(D))1

For example, P(D)=(D1)2,H(D)=(D1)(D+1), Then we have to find the particular solution in Ker(D1)3

Since we have Ker(D1)2(D1)(D+1)=Ker(D1)3(D+1)=Ker(D1)3Ker(D+1)

Example 1.3 (D2+3D)y=18

The particular solution should come from KerD2,

Thus yp=c1x, and yc=C2+C3e3x

And since (D2+3D)yp=18,3c1=18,c1=6

And remember, when a0=0, the formal power series has no inverse,

Thus this method shows us a way to solve (i=1nDi)y=Pn(x)

Example 1.4

(D2+4D)y=1+x+x2

Then D3(D2+4D)=D4(D+4)y=0

Consider the ypKerD4

yp=c3x3+c2x2+c1x+c0

4(3c3x2+2c2x+c1)+6c3x+2c2=x2+x+1

Thus c3=1/12,8c2+6c3=1,4c1+2c2=1

8c2=1/2,c2=1/16,c1=7/32

Thus y=1/12x3+1/16x2+7/32x+c0+Ce4x

Check

1/2x+1/8+4(1/4x2+1/8x+7/32)=1/2x+1/8+x2+1/2x+7/8=x2+x+1

 

No comments:

Post a Comment

Popular Posts