IVPs With Laplace Transforms
IVPs With Laplace Transforms
LECTURE 28
y(0) = 1
y 0 (0) = 2
Differential Equations
6 = 6B
s=6:
42 = 252C
s = 1 :
14 = 7D
s=1:
12 = 10A +
77
6
B = 1
1
C=
6
1
D=
2
1
A=
12
So
1 1
1
1 1
1 1
12 s s2 6 s 6 2 s + 1
1
1
1
y(t) =
t + e6t et .
12
6
2
Y (s) =
Exercise. Solve the initial value problem in the previous example using Undetermined Coefficients. Do you get the same thing? Which method took less work?
Example 28.2. Solve the following initial value problem.
y 00 + 2y 0 + 5y = cos(t) 10t
y(0) = 0 y 0 (0) = 1
=0
=0
=1
=0
A=
1
5
B=
1
10
C=
1
5
D=
1
2
Differential Equations
.
5 s2 + 1 10 s2 + 1 5 s2 + 2s + 5 2 s2 + 2s + 5
Well hold off on taking the inverse transform for the time being.
Now, lets deal with Y2 (s).
Y2 (s) =
s2 (s2
10
Cs + D
A B
= + 2+ 2
+ 2s + 5)
s
s
s + 2s + 5
=0
=0
=0
= 10
A=
4
5
B = 2
C=
4
5
D=
2
5
Thus we have
2
4
s
2
1
41
2
+
.
2
2
5s s
5 s + 2s + 5 5 s + 2s + 5
Lets return to our original function.
Y2 (s) =
+
5 s2 + 1 10 s2 + 1 5 s s2 (s + 1)2 + 4 10 (s + 1)2 + 4
Now we have to adjust the last two terms to make them suitable for the inverse transform. Namely,
we need to have s + 1 in the numerator of the second to last, and 2 in the numerator of the last.
1 s
1
1
41
2
s+11
9
1
+
+
2
+
2
2
2
5 s + 1 10 s + 1 5 s s
(s + 1) + 4 10 (s + 1)2 + 4
1 s
1
1
41
2
s+1
19
1
+
+
2
+
=
2
2
2
5 s + 1 10 s + 1 5 s s
(s + 1) + 4 10 (s + 1)2 + 4
1 s
1
1
41
2
s+1
19
2
=
+
+
2
+
2
2
2
5 s + 1 10 s + 1 5 s s
(s + 1) + 4 20 (s + 1)2 + 4
=
So our solution is
y(t) =
1
1
4
19
cos(t) +
sin(t) + 2t et cos(2t) + et sin(2t).
5
10
5
20
We could have done both of the preceding examples using Undetermined Coefficients. In fact,
it would have been a lot less work. Lets do some involving step functions, which is where Laplace
transforms really shine.
3
Differential Equations
y(0) = 0 y 0 (0) = 0
So we end up with
Y (s) =
2
1
e2s
s(s 3)(s 2)
(s 3)(s 2)2
3s 3s3 s2
1
1
1
Y2 (s) =
+
+
s 3 s 2 (s 2)2
Thus we have
11 2 1
1
1
1
1
2s
Y (s) =
+
+e
+
+
2s 3s3 s2
s 3 s 2 (s 2)2
and
1 2 3t
+ e e2t + u2 (t) e3(t2) + e2(t2) + (t 2)e2(t2)
2 3
1 2 3t
= + e e2t + u2 (t) e3t6 e2t4 + te2t4
2 3
n
o
1
once we observe that L1 (sa)
= teat .
2
y(t) =
y(0) = 0 y 0 (0) = 0
We need to first write the coefficient function of u4 (t) in the form h(t 4) for some function
h(t). So we write h(t 4) = t = t 4 + 4 and conclude h(t) = t + 4. So our equation is
y 00 + 4y = 8 + ((t 4) + 4)u4 (t).
Now, we want to Laplace transform everything.
L y 00 + 4L {y} = 8L {1} + L {((t 4) + 4)u4 (t)}
8
s2 Y (s) sy(0) y 0 (0) + 4Y (s) = + e4s L {t + 4}
s
8
1
4
2
4s
(s + 4)Y (s) = + e
+
s
s2
s
4
Differential Equations
So we have
8
1
4
4s
Y (s) =
+e
+
s(s2 + 4)
s2 (s2 + 4) s(s2 + 4)
8
1 + 4s
=
+ e4s 2 2
= Y1 (s) + e4s Y2 (s),
2
s(s + 4)
s (s + 4)
where weve consolidated the two fractions being multiplied by the exponential to reduce the number
of partial fraction decompositions we need to compute. After doing partial fractions (leaving the
details for you to check), we have
2s
2
Y1 (s) = 2
s s +4
and
Y2 (s) =
1 1 1
s
1 1
2
+
,
2
s 4s
s + 4 4 s2 + 4
so
2s
1 1
s
1 1
2
4s 1
+e
+
Y (s) = 2
s s +4
s 4 s2 s2 + 4 4 s2 + 4
2
s
1 1
s
1 2
4s 1
= 2 2
+e
+
s
s +4
s 4 s2 s2 + 4 8 s2 + 4
and the solution is
1
1
y(t) = 2 2 cos(2t) + u4 (t) 1 + (t 4) cos(2(t 4)) sin(2(t 4))
4
8
1
1
= 2 2 cos(2t) + u4 (t)
t cos(2t 8) sin(2t 8) .
4
8