Sie sind auf Seite 1von 20

2008 Zachary S Tseng C-2 - 1

Step Functions; and


Laplace Transforms of Piecewise Continuous Functions


The present objective is to use the Laplace transform to solve differential
equations with piecewise continuous forcing functions (that is, forcing
functions that contain discontinuities). Before that could be done, we need
to learn how to find the Laplace transforms of piecewise continuous
functions, and how to find their inverse transforms.



Step Functions

Definition: The unit step function (or Heaviside function), is defined by

<
=
c t
c t
t u
c
, 1
, 0
) (
, c 0.


Often the unit step function u
c
(t) is also denoted as u(t c), H
c
(t), or
H(t c).



The step could also be negative (going down). The complement function is

<
=
c t
c t
t u
c
, 0
, 1
) ( 1
, c 0.


2008 Zachary S Tseng C-2 - 2
The Laplace transform of the unit step function is

L{u
c
(t)} =
s
e
cs
, s > 0, c 0



Notice that when c = 0, u
0
(t) has the same Laplace transform as the constant
function f (t) = 1. (Why?) Therefore, for our purpose, u
0
(t) = 1. (Keep in
mind that a Laplace transform is only defined for t 0.)









Note: The calculation of L{u
c
(t)} goes as follow (given that c 0):

L{u
c
(t)} =




= =
c
c
st st st
c
e
s
dt e dt e t u
1
1 ) (
0



( )
s
e
e
s
cs
cs

= 0
1
, s > 0.

2008 Zachary S Tseng C-2 - 3
The unit step function is much more useful than it first appears to be. When
put in a product with a second function, the unit step function acts like a
switch to turn the other function on or off:

<
=
c t t f
c t
t f t u
c
), (
, 0
) ( ) (
, (an on switch)


<
=
c t
c t t f
t f t u
c
, 0
), (
) ( )) ( 1 (
, (an off switch).


By combining two unit step functions, we can also selectively make a
function appears only for a finite duration, then it disappears. That is, the
function is switched on at a, then is switched off at a later time b.

<
<
=
b t
b t a t f
a t
t f t u t u
b a
, 0
), (
, 0
) ( )) ( ) ( (
,

where 0 a < b. We could think this combination as an on-off toggle
switch that controls the appearance of the second function f (t).

By cascading the above types of products, we can now write any piecewise-
defined function in a succinct form in terms of unit step functions.


2008 Zachary S Tseng C-2 - 4
Suppose

<
<
<
=
d t t f
c t b t f
b t a t f
a t t f
t F
n
), (
: :
), (
), (
), (
) (
3
2
1
.


Then, we can rewrite F(t), succinctly, as

F(t) = (1 u
a
(t)) f
1
(t) + (u
a
(t) u
b
(t)) f
2
(t) + (u
b
(t) u
c
(t)) f
3
(t) +
+ u
d
(t) f
n
(t).



Example:

< +
<
=
9 ), 2 cos(
9 4 ,
4 , 2 3
) (
5
2
t t
t t e
t t
t F
t
.


Then,

F(t) = (1 u
4
(t)) (3t
2
2) + (u
4
(t) u
9
(t)) (e
5t
+ t) + u
9
(t) cos(2t).


2008 Zachary S Tseng C-2 - 5
The difference between u
c
(t) f (t) and u
c
(t) f (t c)


Example: u
/2
(t) sin(t) and u
/2
(t) sin(t /2)




Fig. Graph of : u
/2
(t) sin(t)





Fig. Graph of : u
/2
(t) sin(t /2)
2008 Zachary S Tseng C-2 - 6
The effects of the Laplace transform on translations

Arguably the most important formula for this class, it is usually called the
Second Translation Theorem (of the Laplace transform):


Theorem: If F(s) = L{f (t)}, and if c is any positive constant, then

L{u
c
(t) f (t c)} = e
cs
L{f (t)} = e
cs

F(s).

Note: Equivalently,

L{u
c
(t) g(t)} = e
cs
L{g(t + c)}.
*


Conversely, if f (t) = L
1
{F(s)}, then

u
c
(t) f (t c) = L
1
{e
cs

F(s)}.




Example: Find the inverse transform of
10
5
) (
2
+
=

s
e
s F
s
.

Since
=
+
=

10
5
) (
2
s
e s F
s
e
2s
L{5e
10t
}, therefore,

c = 2 and f (t) = 5e
10t
. Apply the above theorem and we have

L
1
{F(s)} = u
2
(t)(5e
10(t 2)
) = 5u
2
(t) e
10(t 2)
.

*
This equivalent formula is more explicit about what needs to be done when transforming a product
containing a unit step function. It tells you to translate the function, t t + c, before transform the
function. Remember, when transforming a product containing a step function: translate before transform!
2008 Zachary S Tseng C-2 - 7
Example: Find the Laplace transforms of
u
/2
(t) sin(t) and u
/2
(t) sin(t /2).


L{u
/2
(t) sin(t)} = e
s/2
L{sin(t + /2)} = e
s/2
L{cos(t)}
=
1
2
2 /
+

s
s
e
s
.

(Recall the addition formula of sine:
) sin( ) cos( ) cos( ) sin( ) sin( = )



L{u
/2
(t) sin(t /2)} = e
s/2

F(s) = e
s/2

L{sin(t)}
=
1
1
2
2 /
+

s
e
s
.



Example: Find the Laplace transform of u
2
(t) e
7t
.

L{u
2
(t) e
7t
} = e
2s
L{e
7(t + 2)
} = e
2s
L{e
7t + 14
} = e
2s
e
14
L{e
7t
}
=
7 7
1
14 2
14 2

s
e
s
e e
s
s
.



Example: Find the Laplace transform of u
1
(t) (t
2
+ 3t + 2).

L{u
1
(t) (t
2
+ 3t + 2)} = e
1s
L{(t + 1)
2
+ 3(t + 1) + 2} =

e
s
L{(t
2
+ 2t +1) + (3t +3) + 2} = e
s
L{t
2
+ 5t + 6}

=
|

\
|
+ + =
|

\
|
+ +

s s s
e
s s s
e
s s
6 5 2 1
6
1
5
2
2 3 2 3
2008 Zachary S Tseng C-2 - 8
Example: Find the Laplace transform of

< +
<
=
9 ), 2 cos(
9 4 ,
4 , 2 3
) (
5
2
t t
t t e
t t
t F
t
.


We have seen earlier that:

F(t) = (1 u
4
(t)) (3t
2
2) + (u
4
(t) u
9
(t)) (e
5t
+ t) + u
9
(t) cos(2t)

= (3t
2
2) + u
4
(t)(e
5t
+ t 3t
2
+ 2) + u
9
(t)(cos(2t) e
5t
t).


Transform the last expression above, applying, where appropriate, the
formula L{u
c
(t) g(t)} = e
cs
L{g(t + c)}:


L{F(t)} = L{3t
2
2} + e
4s
L{e
5(t + 4)
+ (t + 4) 3(t + 4)
2
+ 2} +
e
9s
L{cos2(t + 9) e
5(t + 9)
(t + 9)}

= L{3t
2
2} + e
4s
L{e
5t + 20
+ (t + 4) 3(t
2
+ 8t + 16) + 2} +
e
9s
L{cos(2t + 18) e
5t + 45
t 9}

= L{3t
2
2} + e
4s
L{e
20
e
5t
3t
2
23t 42} +
e
9s
L{cos(2t)cos(18) sin(2t)sin(18) e
45
e
5t
t 9}

|
|

\
|

+
+
|
|

\
|

+ =

s s s
e
s s
s
e
s s s s
e
e
s s
s
s
9 1
5 4
2
) 18 sin(
4
) 18 cos(
42 23 6
5
2 6
2
45
2 2
9
2 3
20
4
3


2008 Zachary S Tseng C-2 - 9
Theorem: If F(s) = L{f (t)}, and if c is any positive constant, then

L{e

ct
f (t)} = F(s c).


Conversely, if f (t) = L
1
{F(s)}, then

e

ct
f (t) = L
1
{F(s c)}.



Therefore, in the world of Laplace transforms, translations become
multiplications by exponential functions. This theorem is usually called the
First Translation Theorem.



Example: Because L{cos bt} =
2 2
b s
s
+
and L{sin bt} =
2 2
b s
b
+
,
then, letting c = a and replace s by s c = s a:

L{e
at

cos bt} = 2 2
) ( b a s
a s
+

and
L{e
at

sin bt} = 2 2
) ( b a s
b
+
.


Similarly, since L{t
n
} = 1
!
+ n
s
n
, therefore,
L{t

n

e

at
} = 1
) (
!
+

n
a s
n
.

2008 Zachary S Tseng C-2 - 10
Differential Equations with Discontinuous Forcing Functions


We are now ready to tackle linear differential equations whose right-hand
side is piecewise continuous. As mentioned before, the method of Laplace
transforms works the same way to solve all types of linear equations.
Therefore, the same steps seen previously apply here as well.


Example: y + 4y = F(t), y(0) = 0, y(0) = 2,

where

<
=

t
t
t F
, 1
, 0
) (
.



The require equation is y + 4y = u

(t).

Transform the equation and simplify, we have

(s
2
L{y} s y(0) y(0)) + 4L{y} = L{u

(t)}

(s
2
L{y} 2) + 4L{y} = (s
2
+4)L{y} 2 =
s
e
s


L{y} =
4
2
) 4 (
2 2
+
+
+

s s s
e
s


The second part can be inverted directly into sin(2t).
The first part can be inverted by first setting aside e
s
and then use
partial fractions to simplify
4 4
1 1
4
1
) 4 (
1
2 2
+
=
+ s
s
s s s
.

2008 Zachary S Tseng C-2 - 11
It has as an inverse transform
) 2 cos(
4
1
4
1
t
.
Hence, the first part is really e
s
L{
) 2 cos(
4
1
4
1
t
}. It is inverted,
via the formula

e
cs
L{f (t)} u
c
(t) f (t c), with c = , to



( ) ) 2 2 cos( 1 ) (
4
1
) ( 2 cos
4
1
4
1
) (

=
|

\
|
t t u t t u
.



Therefore, the solution is the sum of the 2 parts:


( )

+
<
= + =

t t t
t t
t t u t y
), 2 cos(
4
1
4
1
) 2 sin(
), 2 sin(
) 2 cos( 1 ) (
4
1
) 2 sin(




Note: cos(2t 2) = cos(2t)




2008 Zachary S Tseng C-2 - 12
Example: y + 9y = cos(2t) u
4
(t) cos(2t),

y(0) = 0, y(0) = 0.


Transform and simplify:

(s
2
L{y} s y(0) y(0)) + 9L{y} = L{cos(2t)
u
4
(t) cos(2t)}

(s
2
L{y} 0) + 9L{y} = (s
2
+9)L{y} =
4 4
2
4
2
+

+

s
s
e
s
s
s



Note: L{u
4
(t) cos(2t)} = e
4s
L{cos(2(t + 4))} =

e
4s
L{cos(2t + 8)} = e
4s
L{cos(2t)} =
4
2
4
+

s
s
e
s



Therefore,
L{y} =
) 9 )( 4 ( ) 9 )( 4 (
2 2
4
2 2
+ +

+ +

s s
s
e
s s
s
s



Use partial fractions to simplify the first part:


9 5
1
4 5
1
) 9 )( 4 (
2 2 2 2
+

+
=
+ + s
s
s
s
s s
s
.

It has an inverse transform
( ) ) 3 cos( ) 2 cos(
5
1
t t
.
2008 Zachary S Tseng C-2 - 13
The second half consists of the negative of the same expression, with
an additional term of e

4s
. The extra term will induce the step
function u
4
( t ), and the translation that changes t into t 4. Hence,
the second part is inverted to
( ) ) 4 ( 3 cos( )) 4 ( 2 cos( ) (
5
1
4

t t t u
.


Summing up the 2 parts, the solution is, therefore,

( ) ( )
( )

<
=
=

4 , 0
4 , ) 3 cos( ) 2 cos(
5
1
) 4 ( 3 cos ) 4 ( 2 cos ) (
5
1
) 3 cos( ) 2 cos(
5
1
4
t
t t t
t t t u t t y




2008 Zachary S Tseng C-2 - 14
Example: y + 6y + 5y = u
5
(t), y(0) = 1, y(0) = 1


Transform and simplify:


(s
2
L{y} s y(0) y(0)) + 6(sL{y} y(0)) + 5L{y} = L{u
5
(t)}

(s
2
L{y} s 1) + 6(sL{y} 1) + 5L{y} =
s
e
s 5


(s
2
+ 6s + 5)L{y} s 7 =
s
e
s 5


(s + 1)(s + 5)L{y} =
s
e
s 5
+ s + 7

Hence,
L{y} =
) 5 )( 1 (
7
) 5 )( 1 (
5
+ +
+
+
+ +

s s
s
s s s
e
s



The second half is simpler. It can be broken down by partial fractions
into
5
1
2
1
1
1
2
3
) 5 )( 1 (
7
+

+
=
+ +
+
s s s s
s
.


It has an inverse transform of
t t
e e
5
2
1
2
3

.

2008 Zachary S Tseng C-2 - 15
The first half, without the e
5s
term, has partial fractions
decomposition of

5
1
20
1
1
1
4
1 1
5
1
) 5 )( 1 (
1
+
+
+
=
+ + s s s s s s
.

It has an inverse transform of
t t
e e
5
20
1
4
1
5
1

+
.

We then must apply the effects of the e
5s
term, namely the
introduction of the step function u
5
( t ), and the translation that
changes t into t 5. Hence, this part really represents


|

\
|
+
+ + 25 5 5
5
20
1
4
1
5
1
) (
t t
e e t u
.


Combining the two parts, we now have the solution:

|

\
|
+ + =
+ + 25 5 5
5
5
20
1
4
1
5
1
) (
2
1
2
3
t t t t
e e t u e e y





2008 Zachary S Tseng C-2 - 16
Example: A mass weighing 32 lbs is attached to a spring with spring
constant k = 4. The mass is initially at rest in its equilibrium position.
At t = 0, an external force of F(t) = cos(2t) is applied to the mass. The force
is then abruptly discontinued at t = 2. There is no damping in the system.
Find the displacement function of this mass-spring system.


From the problems description, we deduce that:
m = 1, = 0, k = 4, and F(t) = (1 u
2
(t)) cos(2t).

Therefore, the initial value problem we need to solve is

u + 4u = cos(2t) u
2
(t) cos(2t), u(0) = 0, u(0) = 0.


Transform the equation and simplify:

(s
2
L{u} s u(0) u(0)) + 4L{u} = L{cos(2t) u
2
(t) cos(2t)}

(s
2
L{u} 0) + 4L{u} = (s
2
+4)L{u} =
4 4
2
2
2
+

+

s
s
e
s
s
s



Hence,
L{u} = 2 2
2
2 2
) 4 ( ) 4 ( +

+

s
s
e
s
s
s
.

The first part has inverse transform
) 2 sin(
4
1
t t
.
The second part, via the formula

e
2s
L{f (t)} u
2
(t) f (t 2)

becomes
) 2 sin( ) 2 )( (
4
1
) 2 ( 2 sin ) 2 )( (
4
1
2 2
t t t u t t t u

.

2008 Zachary S Tseng C-2 - 17
Therefore, the solution is


) 2 sin( ) 2 )( (
4
1
) 2 sin(
4
1
) (
2
t t t u t t t u

<
=


2 ), 2 sin(
2
2 0 ), 2 sin(
4
1
t t
t t t
.



Notice that the system was undergoing resonance until the forcing
function was shut off. Then it oscillates at constant amplitude.


Note: L{t sin(at)} = 2 2 2
) (
2
a s
as
+
.


The graph of the above solution:





2008 Zachary S Tseng C-2 - 18
Exercises C-2.1:

1. Find (a) L{u

(t) t
2
}, (b) L{u
4
(t) t
2
e
5t
}.

2. Find (a) L{u
5

/

6
(t) cos 3t}, (b) L{u


/

2
(t) e
t
cos 2t}.

3. Find L {u
3
(t) (t
2
t + 2) e
5t
}.

4. Suppose f (t) = sin t + u
1
(t) 5u
4
(t) 2u
5
(t) cos t + u
9
(t), find f (0),
f (), f (2), and f (8).

5 6 Find each definite integral by (a) integration, and (b) using the
properties of Laplace transform.
5.

+
9
) 3 (
dt e
t s
6.


5
2
dt e t
st


7. Find the Laplace transform of

<
< +
=

t
t e
t t t
t F
t
5 , 0
5 2 , 1
2 0 ,
) (
4
2
.

8 10 Find the inverse Laplace transform of each given F(s).
8.
10 3
22 3
) (
2
4
+
+
=

s s
s
e s F
s

9.
2 3 4
2 3
3 2
3 2 12 3
) (
s s s
s s s
e s F
s

+
=


10.
17 2
14 2
) (
2
2
+ +

=

s s
s
e s F
s


11 15 Solve each initial value problem.
11. y + 6y = 4u
2
(t) t
2
, y(0) = 1

12. y + 6y + 9y = u
5
(t) e
t
, y(0) = 10, y(0) = 0

13. y + 4y + 5y = u
3
(t) u
6
(t), y(0) = 0, y(0) = 4

14. y + 5y + 4y = u
10
(t) 2u
20
(t), y(0) = 2, y(0) = 0
2008 Zachary S Tseng C-2 - 19
15. y + 25y = t t u
6
(t), y(0) = 0, y(0) = 3








Answers C-2.1:
1. (a)
|
|

\
|
+ + =

s s s
e s F
s
2
2 3
2 2
) (

,
(b)
|
|

\
|

=

5
16
) 5 (
8
) 5 (
2
) (
2 3
20 4
s s s
e e s F
s
.
2. (a)
9
3
) (
2
6 / 5
+

=

s
e s F
s
, (b)
5 2
1
) (
2
2 / ) 1 (
+ +
+
=
+
s s
s
e s F
s
.
3.
|
|

\
|
+
+
+
+
+
=

5
8
) 5 (
5
) 5 (
2
) (
2 3
15 3
s s s
e e s F
s

4. f (0) = 0, f () = 1, f (2) = 6, f (8) = sin(8) 2cos(8) 4.
5.
3
1
27 9
+

s
e
s
, s > 0
6.
|

\
|
+ +

s s s
e
s
25 10 2
2 3
5
, s > 0
7.
|
|

\
|

+
+
|
|

\
|
+ + +
+
+ =

s s
e
e
s s s s
e
e
s s
s F
s s
1
4
5 5 2
4
1 2
) (
20
5
2 3
8
2
2 3

8. f (t) = u
4
(t)(4e
2t 8
e
5t + 20
)
9. f (t) = u
1
(t)( t 1 2e
t + 1
+ 5e
3t 3
)
10.
( ) ) 8 4 sin( 4 ) 8 4 cos( 2 ) ( ) (
2 2
2
=
+ +
t e t e t u t f
t t

11.
|

\
|
+ + + =
) 2 ( 6 2
2
6
27
61
27
61
) 2 (
9
22
) 2 (
3
4
) (
t t
e t t t u e y


|

\
|
+ + =
+ 12 6 2
2
6
27
61
27
73
9
26
3
4
) (
t t
e t t t u e

12.
( )
15 3 5
5
5
3 3
) 2 9 ( ) (
4
30 10
+ +


+ + + =
t t t t
e t e t u
e
te e y

2008 Zachary S Tseng C-2 - 20
13.
( ) ) 3 sin( 2 ) 3 cos( 1 ) (
5
1
sin 4
6 2 6 2
3
2
+ =
+ +
t e t e t u t e y
t t t

( ) ) 6 sin( 2 ) 6 cos( 1 ) (
5
1
12 2 12 2
6

+ +
t e t e t u
t t

14.
|

\
|
+ + =
+ + 40 4 10
10
4
12
1
3
1
4
1
) (
3
2
3
8
t t t t
e e t u e e y

|

\
|
+
+ + 80 4 20
20
6
1
3
2
2
1
) (
t t
e e t u

15.
|

\
|
+ + + + = t t t t u t t y
25
1
) 30 5 sin(
125
1
) 30 5 cos(
25
6
) ( 5 sin
125
74
25
1
6

Das könnte Ihnen auch gefallen