Use Laplace transforms to find the solution to the following set of equations
dtdy1+y2=x
dtdy2+3y2=2y1
for x=e−t and zero initial conditions.
Use Laplace transforms to find the solution to the following set of equations
dtdy1+y2=x
dtdy2+3y2=2y1
for x=e−t and zero initial conditions.
Laplace transform of the system of ODEs gives:
L(dtdy1)+L(y2)=L(e−t)
L(dtdy2)+3L(y2)=2L(y1)
sY1+Y2=s+11 (1)
sY2+3Y2=2Y1 (2)
Next solve Equation 2 for Y2 in terms of Y1
Y2(s+3)=2Y1
Y2=s+32Y1 (3)
Substitute equation 3 into equation 1 and solve for Y1
sY1+s+32Y1=s+11
Y1(s+s+32)=s+11
Y1=(s+1)(s+s+32)1
Expand using partial fractions:
Y1=(s+1)2(s+2)s+3=s+21−s+11+(s+1)22
Now go back and substitute into equation 3 to get Y2 and expand using partial fractions:
Y2=s+32Y1=(s+1)2(s+2)2=s+22−s+12+(s+1)22
Finally, get both time-domain solutions using the inverse Laplace transform:
y1(t)=e−2t−e−t+2te−t
y2(t)=2(e−2t−e−t+te−t)