Linearity Function
Linearity Function
0, if t < a
Ha (t) =
1, if t > a
(See figure 1)
Note: Ha (t) has a jump at t = a and therefore is piecewise continuous!
(because it takes the constant values 0 or 1 and constants are always continuous)
Furthermore we do not really care of defining it at t = a.
Let us compute its Laplace transform:
L(Ha (t)) =
R
0
est Ha (t)dt,
esa
s
(1)
Remark: Suppose f (t) = 0 for all t < 0. Then f (t a)Ha (t) with a > 0 is
f (t) shifted (translated) to the right by amount a. Please study the differences
between the figures 2, 3 and 4.
-2
10
-1
-2
-3
0.5
-10
-8
-6
-4
-2
-0.5
-1
10
0.5
-10
-8
-6
-4
-2
10
10
-0.5
-1
0.5
-10
-8
-6
-4
-2
-0.5
-1
Example 1 How does it look like H1 (t) 2H4 (t) + 3H6 (t)?
By definition we have:
0,
H1 (t) =
1,
if t < 1
if t > 1,
0, if t < 4
2H4 (t) =
2, if t > 4
and finally:
0,
3H6 (t) =
3,
if t < 6
if t > 6
In the interval (0, 1), H1 (t), H4 (t), H6 (t) vanish so H1 (t), 2H4 (t), +3H6 (t) =
0, t (0, 1) . In the interval (1, 4) the only function that does not vanish is H1 (t),
so H1 (t) 2H4 (t) + 3H6 (t) = 1 if t (1, 4). In the interval (4, 6), H1 (t) = 1 and
2H4 (t) = 2 and H6 = 0, therefore H1 (t) 2H4 (t) + 3H6 (t) = 1, t (4, 6)
and in the interval (6, ) H1 (t) = 1 and 2H4 (t) = 2 and 3H6 = 3 so
H1 (t) 2H4 (t) + 3H6 (t) = 2, t (6, ). Hence we have the following piecewise
function:
0, if t < 1
1, if 1 < t < 4
H1 (t) 2H4 (t) + 3H6 (t) =
1, if 4 < t < 6
2 otherwise
Note: Define
1,
f (t) =
0,
Then:
f (t) = 1 HC (t).
(Check it!. I am sure it will be useful for some exercises...)
4
-2
10
-2
-4
0, if t < a
e2s .
s + 2
2
Therefore:
L1 (
e2s
1
sin (t 2)H2 (t),
2
2) =
s +
y(0) = 0, y 0 (0) = 1
Taking Laplace Transforms and by the theorem of laplace transforms of derivatives we get:
s2 Y (s) sy(0) y 0 (0) + 2(sY (s) y(0)) + 2Y (s) = 0
Therefore:
Y (s) =
1
1
=
= F (s (1)),
s + 2s + 2
(s + 1)2 + 1
2
e2s + e3s .
s + 2 (s + 1)2
2
We have:
2s
e3s ) = L1 (e2s 1 ) + L1 (e3s
1
L1 ( 2e
),
2 +
s +
(s + 1)2
s2 + 2
(s + 1)2
by linearity of the inverse transform. Now, first observe that e2s , e3s indicate
that we have time delays of 2 and 3 units resp. We need to identify then inverse
laplace transform of
1
s + 2
2
and
1
.
(s + 1)2
Looking in the table we see that
L1 (
1
1
sin t.
2) =
s +
2
1
1
sin (t 2)H2 (t)
2) =
s +
2
1
s2
1
) = t,
s2
1
) = tet .
(s (1))2
7
1
0.8
0.6
0.4
0.2
-2
10
-0.2
-0.4
-0.6
-0.8
-1
1
) = (t 3)e(t3) H3 (t)
(s + 1)2
Hence:
L1 (
e2s
e3s
1
+
sin (t 2)H2 (t) + (t 3)e(t3) H3 (t).
2
2
2) =
s +
(s + 1)
0, if 0 < t < 2
1
1 sin (t 2), if 2 < t < 3
sin (t2)H2 (t)+(t3)e(t3) H3 (t) =
1
(t3)
,
sin (t 2) + (t 3)e
See the figure above!.
0 t<3
y 00 + y 0 6y =
2 3t<5
0 5t
8
otherwise,
with y(0) = y 0 (0) = 0. The first thing to do is to rewrite the right hand side
in terms of the Heaviside function. The key point is that the Heaviside function
Ha (t) is zero until you get to a and then it is one after that. Now the function on
the right hand side is zero until we get to three and then it is two, so it behaves
like 2H3 (t), however, at five it goes back down to zero, so we have to take away
2H5 (t), in short:
0 t<3
0 5t
The first Heaviside function switches on at t = 3 and brings you up to two,
the second switches on at five and brings you back down to zero.
Now, the differential equation is:
y 00 + y 0 6y = 2H3 (t) 2H5 (t)
with y(0) = y 0 (0) = 0 and we take the Laplace transform of both sides:
s2 Y + sY 6Y =
2 3s
e e5s
s
or
Y (s) =
2
e3s e5s
s(s + 3)(s 2)
1
2 1
1 1
+
+
e3s e5s
3s 15 s + 3 5 s 2
9
y(t) =
1
2 3t+9 1 2t6
1
2 3t+15 1 2t10
+ e
+ e
H3 (t) + + e
+ e
H5 (t)
3 15
5
3 15
5
F TRY THEM F
More examples:
1. Compute the inverse Laplace transform of:
4s
i) e 2 ,
s
s
ii) 2se 2 ,
s +w
s
iii) 2 e
,
s + 2s + 2
2s
e8s .
iv) e
2
s +1
4s
i) Notice that the numerator of e 2 indicates a shifting of 4 in t. Then
s
we need to identify the inverse Laplace transform of 12 and apply the
s
Second Shifting Theorem. Via the tables
L1 (
10
1
2
2) = t ,
s
and then:
L1 (
e4s
) = (t 4)H4 (t).
s2
ses
) = cos wt
s2 + w 2
ses
) = cos w(t 1)H1 (t).
s2 + w 2
iii) This example is very interesting because it uses the First and Second
Shifting Theorems at the same time: (wow!!) First we complete the
square in the denominator as follows:
s2 + 2s + 2 = s2 + 2s + 1 + 1 = (s + 1)2 + 1,
then we can rewrite our fraction:
es
es
=
.
s2 + 2s + 2
(s + 1)2 + 1
es in the numerator indicates that we have to use the Second Shifting
theorem. But this implies that we need to compute the inverse Laplace
transform of
1
,
(s + 1)2 + 1
By comparison with the tables we notice that
L1 (
1
)
(s + 1)2 + 1
1
) = et sin t.
(s + 1)2 + 1
11
2s
8s
e2s e8s
1 e
1 e
)
=
L
(
)
L
(
).
s2 + 1
s2 + 1
s2 + 1
We know that L1 (
orem:
L1 (
2.
8s
e2s
1 e
)
L
(
) = sin(t 2)H2 (t) sin(t 8)H8 (t).
s2 + 1
s2 + 1
i) First notice that we can rewriten r(t) in terms of the Heaviside function
as follows:
1,
0,
if 0 < t < 1
= 1 H1 (t)
if t > 0
1 es
s
s
so
Y (s) =
1
es
,
s(s + 2)(s + 1) s(s + 2)(s + 1)
12
1
then we will
s(s + 2)(s + 1)
es
s(s + 2)(s + 1)
1 )) L1 ( 1 )
1
) = 12 (L1 ( 1s ) + L1 ( s +
2
s+3
s(s + 2)(s + 1)
= 12 + 12 e2t et .
Using the Second Shifting Theorem and the above inverse Laplace
transform we have:
L1 (
s
s
s
es
) = 21 (L1 ( es ) + L1 ( se+ 2 )) L1 ( se+ 3 )
s(s + 2)(s + 1)
= 21 + 12 e2(t1) H1 (t) e(t1) H1 (t).
1 1 2t
1 1
+ e et e2(t1) H1 (t) + et1 H1 (t)
2 2
2 2
Dont worry to much about how the solution looks like, what I would
like you to do is to train yourself using the Shifting Theorems and
tables of Laplace Transform. (And of course partial fraction decomposition).
ii) We rewrite r(t) in terms of the Heaviside function as follows:
t, if 0 < t < 1
= (1 H1 (t))t
0, if t > 1
13
1
L(tH1 (t)).
s2
R
0
so
(s2 + s)Y (s) =
1
es es
+ 2 .
s
s2
s
+
.
s (s + 1) s2 (s + 1) s3 (s + 1)
Therefore if we are able to identify the inverse Laplace Transform
1
and 2 1
then we will be able to identify the inverse
s3 (s + 1)
s (s + 1)
s
s
Laplace transform of 3 e
and 2 e
using the Second Shifting
s (s + 1)
s (s + 1)
Theorem.
of
14
1
1 )
) = L1 ( 1s ) L1 ( 12 ) + L1 ( 13 ) L1 ( s +
1
s3 (s + 1)
s
s
= 1 t + 12 t2 et
Using the Second Shifting Theorem and the above inverse Laplace
transform we have:
L1 (
es ) = L1 ( es ) L1 ( es ) + L1 ( es ) L1 ( es )
s
s+1
s (s + 1)
s2
s3
3
1
1 )
) = L1 ( 1s ) + L1 ( 12 ) + L1 ( s +
1
s (s + 1)
s
2
= 1 + t + et
By the Second shifting theorem we get:
L1 (
es ) = L1 ( es ) + L1 ( es ) + L1 ( es )
s
s+1
s2 (s + 1)
s2
= 1 + (t 1)H1 (t) + e(t1)H1 (t)
2
s
1
) L1 ( 2 e
) + L1 ( 3 e
)
s (s + 1)
s (s + 1)
s (s + 1)
3
= 1 t + 21 t2 et
+1 (t 1)H1 (t) e(t1) H1 (t)
+1 (t 1)H1 (t) + 21 (t 1)2 H1 (t) e(t1) H1 (t)
= 3 t + 21 t2 et 2(t 1)H1 (t) 2e(t1) H1 (t) + 21 (t 1)2 H1 (t)
15
1
8L1 (sin tH1 (t)).
s +1
2
=
=
=
=
so
1
(1 + 2 )
s
1
1 s
,
2) = 2e
s
s
then:
Z
I=
st
es
sin tdt = 2
s +1
giving:
1
es
Y (s) = 8 2
8 2
.
(s + 1)(s2 + 9)
(s + 1)(s2 + 9)
Once again, if we are able to identify the inverse Laplace Transform of
of
1
then deduce the inverse Laplace transform
(s2 + 1)(s2 + 9)
es
just using the Second Shifting Theorem.
(s + 1)(s+ 9)
2
16
1
) = 89 L1 ( 2 s ) L1 ( 2 1 )
(s2 + 1)(s2 + 9)
s +1
s +1
98 L1 ( 2 s ) + L1 ( 2 1 )
s +9
s +9
9
9
= 8 cos t sin t 8 cos 3t + 13 sin 3t
es
) = ( 89 cos(t ) sin(t )
(s2 + 1)(s2 + 9)
98 cos 3(t ) + 31 sin 3(t ))H (t)
y(t) = 8L1 (
17