← Back to Math 055

4.9 Solving Systems of Linear DEs by Elimination: Class Notes

4.9a

Differential operator: for y=y(x),

Dy=dydxandD2y=d2ydx2.

y′+5y can be written as Dy+5y=(D+5)y. We can operate on this using D:

D(D+5)y=D(Dy+5y)=D2y+5Dy=(D2+5D)y

Further, we can operate on (D+5)y using D+2:

(D+2)(D+5)y=D(D+5)y+2(D+5)y=(D2+5D)y+(2D+10)y=(D2+7D+10)y

For example, y′+5y=e3x becomes Dy+5y=e3x. Applying D+2 to both sides:

(D+2)(D+5)y=(D+2)e3x=ddx(e3x)+2e3x=3e3x+2e3x=5e3x

4.9b & 4.9c

The DE y′+2y+3x=−1 can be written in terms of the differential operator D, where D represents a derivative. In this form, the DE becomes Dy+2y+3x=−1. This can also be written (D+2)y+3x=−1. Our work in this lesson makes use of this notation. For this lesson, x and y are functions of t, so Dx=dxdt, Dy=dydt, and D2x=d2xdt2, etc.

Solve the given system of differential equations by elimination.

Example

(1)(D+1)x+(D−1)y=2(2)3x+(D+2)y=−1

Solution

We can eliminate x or y by applying appropriate differential operators and subtracting. Eliminate x by multiplying (1) by 3, applying D+1 to (2), and subtracting:

3(D+1)x+3(D−1)y=63(D+1)x+(D+1)(D+2)y=(D+1)(−1)=−1[3(D−1)−(D2+3D+2)]y=6+1(−D2−5)y=7(D2+5)y=−7

The derivative of a constant is 0, so (D+1)(−1)=0−1=−1.

That is, y″+5y=−7. The auxiliary equation m2+5=0 gives m=±5i, so

yc(t)=c1cos⁡5t+c2sin⁡5t.

Since g(t)=−7 is a constant, assume yp=A. Then 0+5A=−7, so A=−75:

y(t)=c1cos⁡5t+c2sin⁡5t−75

To find x, solve (2) for it:

3x+(D+2)y=−1⟹x=−13−13(D+2)y=−13−13Dy−23y

−13Dy=53c1sin⁡5t−53c2cos⁡5t−23y=−23c1cos⁡5t−23c2sin⁡5t+1415

Add these to −13 and collect the cosine and sine terms (the constants give −13+1415=35):

Answer: x(t)=(−23c1−53c2)cos⁡5t+(53c1−23c2)sin⁡5t+35y(t)=c1cos⁡5t+c2sin⁡5t−75

Alternative approach for finding x (assuming we already found y): now eliminate y by applying D+2 to (1) and D−1 to (2), then subtracting:

(D+2)(D+1)x+(D+2)(D−1)y=(D+2)2=43(D−1)x+(D−1)(D+2)y=(D−1)(−1)=1(D2+3D+2−3D+3)x=4−1(D2+5)x=3

So m=±5i and xc(t)=c3cos⁡5t+c4sin⁡5t. With xp=A, 5A=3, so A=35:

x(t)=c3cos⁡5t+c4sin⁡5t+35y(t)=c1cos⁡5t+c2sin⁡5t−75

We have too many constants: c1, c2, c3, and c4 are constrained by the system, so there are relationships among them. To reconcile them, substitute x(t) and y(t) into (2) (an arbitrary choice; (1) works too):

3(c3cos⁡5t+c4sin⁡5t+35)+(D+2)(c1cos⁡5t+c2sin⁡5t−75)=−13c3cos⁡5t+3c4sin⁡5t+95−5c1sin⁡5t+5c2cos⁡5t+2c1cos⁡5t+2c2sin⁡5t−145=−1

Match the cosine terms, the sine terms, and the constants on the two sides:

3c3+5c2+2c1=0⟹c3=−23c1−53c23c4−5c1+2c2=0⟹c4=53c1−23c295−145=−1

Substituting these for c3 and c4 gives the same x(t) as before.

4.9d

Example

dxdt+dydt=et−d2xdt2+dxdt+x+y=0

Solution

In operator notation:

(1)Dx+Dy=et(2)(−D2+D+1)x+y=0

Eliminate y with (1) − D(2):

Dx−D(−D2+D+1)x=etDx+D3x−D2x−Dx=et(D3−D2)x=et

The auxiliary equation is m3−m2=0, or m2(m−1)=0, so m=0 (repeated) and m=1:

xc(t)=c1+c2t+c3et

Assume xp=Atet (avoiding redundancy, since et is already in xc). Then

xp′=(A+At)et,xp″=(2A+At)et,xp‴=(3A+At)et.

Substituting into x‴−x″=et and omitting the common factor et:

3A+At−(2A+At)=1⟹A=1

xp=tet⟹x(t)=c1+c2t+c3et+tet

To find y, solve (2) for it: −D2x+Dx+x+y=0, so y=D2x−Dx−x. With

Dx=c2+c3et+et+tet,D2x=c3et+2et+tet,

y=(c3et+2et+tet)−(c2+c3et+et+tet)−(c1+c2t+c3et+tet)=−c1−c2−c2t−c3et−tet+et

Answer: x(t)=c1+c2t+c3et+tety(t)=−c1−c2−c2t−c3et−tet+et

Example

(1)Dx+z=et(2)(D−1)x+Dy+Dz=0(3)x+2y+Dz=et

Solution

Eliminate y with 2(2) − D(3):

(2D−2)x+2Dy+2Dz=0Dx+2Dy+D2z=Det=et(4)(D−2)x+(−D2+2D)z=−et

Eliminate z with (4) + (D2−2D)(1):

(D−2)x+(−D2+2D)z=−et(D3−2D2)x+(D2−2D)z=(D2−2D)et=et−2et=−et(D3−2D2+D−2)x=−2et

The auxiliary equation factors by grouping: m2(m−2)+(m−2)=(m2+1)(m−2)=0, so m=2, ±i:

xc=c1e2t+c2cos⁡t+c3sin⁡t

With xp=Aet, every derivative of xp is Aet, so A−2A+A−2A=−2 and A=1:

x(t)=c1e2t+c2cos⁡t+c3sin⁡t+et

From (1), with Dx=2c1e2t−c2sin⁡t+c3cos⁡t+et:

z=et−Dx=et−(2c1e2t−c2sin⁡t+c3cos⁡t+et)=−2c1e2t+c2sin⁡t−c3cos⁡t

From (3), y=12et−12x−12Dz, with Dz=−4c1e2t+c2cos⁡t+c3sin⁡t:

y=12et−12c1e2t−12c2cos⁡t−12c3sin⁡t−12et+2c1e2t−12c2cos⁡t−12c3sin⁡t=32c1e2t−c2cos⁡t−c3sin⁡t

Answer: x(t)=c1e2t+c2cos⁡t+c3sin⁡t+ety(t)=32c1e2t−c2cos⁡t−c3sin⁡tz(t)=−2c1e2t+c2sin⁡t−c3cos⁡t

4.9e

Example

dxdt=−x+zdydt=−y+zdzdt=−x+y

Solution

In operator notation:

(1)(D+1)x−z=0(2)(D+1)y−z=0(3)x−y+Dz=0

Eliminate y with (2) + (D+1)(3):

(D+1)y−z=0(D+1)x−(D+1)y+(D2+D)z=0(4)(D+1)x+(D2+D−1)z=0

Then (4) − (1) eliminates x:

(D2+D)z=0⟹m(m+1)=0⟹m=0, −1

z(t)=c1+c2e−t

Eliminate z from (1) and (4) with (D2+D−1)(1) + (4):

(D2+D−1)(D+1)x−(D2+D−1)z=0(D+1)x+(D2+D−1)z=0[(D2+D−1)(D+1)+(D+1)]x=0(D+1)(D2+D−1+1)x=0D(D+1)2x=0

So m=0 and m=−1 (repeated):

x(t)=c3+c4e−t+c5te−t

From (3), y=x+Dz:

y=c3+c4e−t+c5te−t−c2e−t=c3+(c4−c2)e−t+c5te−t

To reconcile the constants, use (1): (D+1)x=z, that is, Dx+x=z:

−c4e−t+c5(1−t)e−t⏟Dx+c3+c4e−t+c5te−t⏟x=c1+c2e−t⏟z

Comparing the e−t terms: −c4+c5+c4=c2, so c2=c5. Comparing constants: c3=c1.

Answer: x(t)=c3+c4e−t+c5te−ty(t)=c3+(c4−c5)e−t+c5te−tz(t)=c3+c5e−t