0% found this document useful (0 votes)
9 views

MATH219 Lecture 23

Uploaded by

oğuz cantürk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

MATH219 Lecture 23

Uploaded by

oğuz cantürk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

MATH 219

Fall 2017
Lecture 23
Lecture notes by Özgür Kişisel

Content: Differential equations with discontinuous forcing functions.


Suggested Problems:
§6.4: 1, 3, 5, 10, 13, 16
In this lecture, we will use previously developed techniques in order to solve linear,
constant coefficient ODE’s with a piecewise continuous right hand side:

y (n) + a1 y (n−1) + . . . + an y = g(t).

The main strategy is as before: Take Laplace transforms of both sides, solve for
Y (s) from the resulting equation and retrieve y(t) from Y (s). If g(t) is expressed
in terms of unit step functions then the theorem of the last lecture will be of great
help for the computations. Let us directly start working on examples.

Example 0.1 Solve the initial value problem

y 00 + 3y 0 + 2y = u2 (t) − u3 (t), y(0) = y 0 (0) = 0.

Solution: Take Laplace transforms of both sides. Then

e−2s − e−3s
s2 Y (s) + 3sY (s) + 2Y (s) =
s
e − e−3s
−2s
Y (s) =
s(s + 1)(s + 2)
1
It remains to find the inverse transform y(t). Let us first invert s(s+1)(s+2)
. By
partial fractions,
1 A B C
= + +
s(s + 1)(s + 2) s s+1 s+2
1 = A(s + 1)(s + 2) + Bs(s + 2) + Cs(s + 1)

1
Putting s = 0 we get A = 12 , likewise putting s = −1 gives B = −1 and putting
s = −2 gives C = 12 . Therefore,
       
−1 1 −1 1 −1 1 −1 1
L = L −L +L
s(s + 1)(s + 2) 2s s+1 2(s + 2)
1 1
= − e−t + e−2t
2 2
By the theorem of last lecture,
e−2s
   
−1 1 −(t−2) 1 −2(t−2)
L = u2 (t) −e + e
s(s + 1)(s + 2) 2 2
and
e−3s
   
−1 1 −(t−3) 1 −2(t−3)
L = u3 (t) −e + e ,
s(s + 1)(s + 2) 2 2
therefore the answer is the difference between these two expressions.

Example 0.2 Suppose that we have an undamped spring-mass system, initially at


rest, where the object has mass equal to 1 unit, and the spring constant is 4 units.
Initially there is no external force on the system. Starting from time t = 3 upto time
t = 6, an external force linearly increasing from 0 to 9 units is applied to the system.
Afterwards, the external force decreases linearly from 9 units to 0 from time t = 6
upto t = 15. After t = 15, the system is free again. Write a differential equation
that models the system and solve it.
Solution: The equation of motion is
y 00 + 4y = F (t)
where F (t) is the external force applied to the object. Furthermore, y(0) = y 0 (0) = 0
since the system is initially at rest. The external force is

0, t < 3,


3t − 9, 3 ≤ t < 6,
F (t) =


 15 − t, 6 ≤ t < 15,
0, 15 ≤ t.

Let us express F (t) in terms of step functions:


F (t) = (3t − 9)u3 (t) + (24 − 4t)u6 (t) + (t − 15)u15 (t).

2
Therefore, we can rewrite the initial value problem in the form:

y 00 + 4y = (3t − 9)u3 (t) + (24 − 4t)u6 (t) + (t − 15)u15 (t), y(0) = y 0 (0) = 0.

Take Laplace transforms of both sides:

3e−3s 4e−6s e−15s


(s2 + 4)Y (s) = − 2 + 2 ,
s2 s s
−3s −6s −15s
3e 4e e
Y (s) = 2 2 − 2 2 + 2 2 .
s (s + 4) s (s + 4) s (s + 4)

1
We will need the partial fraction expansions of s2 (s2 +4)
:

1 A B
= +
s2 (s2 + 4) s2 s2 + 4
1 = (A + B)s2 + 4A
1 1
A= , B=− .
4 4
(Note: We did not need the s terms in the partial fraction expansion since the
original fraction can be written in terms of s2 only. If this is confusing, substitute
u = s2 first.) We have
   
−1 1 −1 1 1
h(t) = L = L −
s2 (s2 + 4) 4s2 4(s2 + 4)
t sin(2t)
= −
4 8
By using the theorem on time shifts, this immediately gives us,

y(t) = 3u3 (t)h(t − 3) − 4u6 (t)h(t − 6) + u15 (t)h(t − 15).

Example 0.3 Suppose that

y (4) + 2y (3) + 3y 00 + 2y 0 + y = 1 − u100 (t), y(0) = y 0 (0) = y 00 (0) = y 000 (0) = 0.

Find y(t) and the approximate value of y(101).

3
Solution: Take Laplace transforms of both sides. We get:
1
(s4 + 2s3 + 3s2 + 2s + 1)Y (s) = (1 − e−100s )
s
1
(s + s + 1) Y (s) = (1 − e−100s )
2 2
s
1
Y (s) = 2 2
(1 − e−100s ).
s(s + s + 1)
1
We need the partial fraction expansion of s(s2 +s+1)2. Notice that s2 + s + 1 has
negative discriminant. So we have doubled complex conjugate roots involved.
1 A Bs + C Ds + E
= + +
s(s2 + s + 1)2 s s2 + s + 1 (s2 + s + 1)2
1 = A(s2 + s + 1)2 + (Bs + C)s(s2 + s + 1) + (Ds + E)s
1 = (A + B)s4 + (2A + B + C)s3 + (3A + B + C + D)s2 + (2A + C + E)s + A
Solving this system, we get
A = 1, B = −1, C = −1, D = −1, E = −1.
The next step is to find the inverse Laplace transforms of the summands of the
fraction.
 
−1 1
L = 1,
s
s + 21 1
   
−1 −s − 1 −1 2
L = L − −
s2 + s + 1 (s + 12 )2 + 34 (s + 12 )2 + 34
√ ! √ !
3 1 3
= −e−t/2 cos t − √ e−t/2 sin t
2 3 2
Before finding the inverse Laplace transform of the last summand, note that
 
d a 2as
L{t sin(at)} = − 2 2
= 2
ds s + a (s + a2 )2
s 2 − a2 2a2
 
d s 1
L{t cos(at)} = − = = −
ds s2 + a2 (s2 + a2 )2 s2 + a2 (s2 + a2 )2
Incidentally, the last equation shows that
2a2
 
−1 1
L 2 2 2
= −t cos(at) + sin(at).
(s + a ) a

4
Now,

s + 12 1
   
−1 −s − 1 −1 2
L = L − −
(s + s + 1)2
2 ((s + 12 )2 + 34 )2 ((s + 21 )2 + 43 )2
√ ! √ ! √ !
1 −t/2 3 4 −t/2 3 8 3
= − √ te sin t + te cos t − √ e−t/2 sin t
3 2 3 2 3 3 2

Combining all of this, we have


 
−1 1
h(t) = L
s(s2 + s + 1)2
√ ! √ ! √ !
3 1 3 1 3
= 1 − e−t/2 cos t − √ e−t/2 sin t − √ te−t/2 sin t
2 3 2 3 2
√ ! √ !
4 3 8 3
+ te−t/2 cos t − √ e−t/2 sin t
3 2 3 3 2

Finally,
y(t) = h(t) − u100 (t)h(t − 100).
In order to find the approximate value of y(101), first notice that u100 (101) = 1.
Therefore,
y(101) = h(101) − h(1).
The second observation is that h(101) is approximately equal to 1: All other sum-
mands have an e−50.5 factor which cannot possibly be balanced by any other terms,
so they can be safely ignored. Therefore,
√ ! √ !
1 −0.5 3 14 −0.5 3
y(101) ' 1 − h(1) = − e cos + √ e sin ' 1.13
3 2 3 3 2

You might also like