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 T2∘T1v=0

And {v∈V|T1v=u}⊆KerT2∘T1.

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 (D2−4)y=3cos⁡x

We know that cos⁡x∈Ker(D2+1)

Thus we have (D2+1)(D2−4)y=0

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

Therefore the solution of (D2−4)y=3cos⁡x⊆Ker(D+i)(D−i)(D+2)(D−2)

Thus y∈C1eix+C2e−ix+C3e2x+C4e−2x=(C1+C2)cos⁡x+(C1−C2)isin⁡x+C3e2x+C4e−2x

And since (D2−4)y=3cos⁡x

Thus the coefficient of sin⁡x should be 0

Therefore (D2−4)2C1cos⁡x=3cos⁡x,−2C1cos⁡x−8C1cos⁡x=3cos⁡x

Thus C1=−0.3, y=−0.6cos⁡x+C3e2x+C4e−2x

Now, Let us consider the limitations of this method.

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

Remark. λi,ci∈C, and e(a+bi)x=ea(cos⁡bx+isin⁡bx)

That means g=a+eλix(∑i=0ncixi), thus g can be constant, polynomials, exp,cos⁡x,sin⁡x,cosh⁡x,sinh⁡x, and product and plus of them...(They can generate a subring(subalgebra actually) of C∞(R)

Example 1.2 (D2−9)y=ex(x2+3x+1)

We know that ex(x2+3x+1)∈Ker(D−1)3

Because (D−1)(exf)=(∂1+∂2−1)(exf)=(1+∂2−1)exf=exf′

Thus we have (D−1)3(D2−9)y=0

That is (D−1)3(D+3)(D−3)y=0

Thus we have y∈ex(c1+c2x+c3x2)+C4e−3x+C5e3x

Recall that (D2−9)y=ex(x2+3x+1)

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

y=exp⁡(x)∗(−1/8∗x2−7/16∗x−17/64)

Check by Maple.

Summary

As we can see, when P(D)y=g,g∈KerH(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)=(D−1)2,H(D)=(D−1)(D+1), Then we have to find the particular solution in Ker(D−1)3

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

Example 1.3 (D2+3D)y=18

The particular solution should come from KerD2,

Thus yp=c1x, and yc=C2+C3e−3x

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 yp∈KerD4

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+Ce−4x

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