Docsity

Differential Equations - Practice Problems with Solution | MATH 212, Study notes of Differential Equations

Toggle sidebar
bg1
Math 212 Day 31
Here are the examples of discontinuous forcing functions from class on Monday 4/6. We worked
the first one out in class so I have only included the equation, answer and picture.
(1) 2y00 +y0+ 2y=u3(t)−u19(t) with initial conditions y(0) = y0(0) = 0
y=u3(t)h(t−3) −u19(t)h(t−19)
h(t) = 1/2−(1/2)[e−t/4cos(√15t/4) + (1/√15)e−t/4sin(√15t/4)]
Below is a graph of y.
0 5 10 15 20 25 30 35 40 45 50 55 60
-0.25
0.25
0.5
0.75
(2) 2y00 +y0+ 2y= (u2(t)(t−2) −u12(t))(t−12)/4+(u37(t)(t−37) −u27(t)(t−27))/4
with initial conditions y(0) = y0(0) = 0
Apply the Laplace transform and write everything in terms of L{y}=Y(s) to get
2s2Y(s)−0−0 + sY (s)−0+2Y(s) = e−2t−e−12t+e−37t−e−27t
s2
Solve for Y
Y(s) = e−2t−e−12t+e−37t−e−27t
s2(2s2+s+ 2)
Use line number (13) of the table to get
y=u2(t)h(t−2) −u12(t)h(t−12) + u37(t)h(t−37) −u27 (t)h(t−27)
for some h(t). So we define H(s) = 1
s2(2s2+s+2) and compute L−1{H}=h(t).
H(s) = 1
s2(2s2+s+ 2)
1
pf2

Partial preview of the text

Download Differential Equations - Practice Problems with Solution | MATH 212 and more Study notes Differential Equations in PDF only on Docsity!

Math 212 Day 31

Here are the examples of discontinuous forcing functions from class on Monday 4/6. We worked

the first one out in class so I have only included the equation, answer and picture.

(1) 2y′′^ + y′^ + 2y = u 3 (t) − u 19 (t) with initial conditions y(0) = y′(0) = 0

y = u 3 (t)h(t − 3) − u 19 (t)h(t − 19)

h(t) = 1/ 2 − (1/2)[e −t/ 4 cos(

15 t/4) + (1/

15)e −t/ 4 sin(

15 t/4)]

Below is a graph of y.

0 5 10 15 20 25 30 35 40 45 50 55 60

-0.

(2) 2y′′^ + y′^ + 2y = (u 2 (t)(t − 2) − u 12 (t))(t − 12)/4 + (u 37 (t)(t − 37) − u 27 (t)(t − 27))/ 4 with initial conditions y(0) = y′(0) = 0

Apply the Laplace transform and write everything in terms of L{y} = Y (s) to get

2 s^2 Y (s) − 0 − 0 + sY (s) − 0 + 2Y (s) =

e−^2 t^ − e−^12 t^ + e−^37 t^ − e−^27 t s^2 Solve for Y

Y (s) =

e−^2 t^ − e−^12 t^ + e−^37 t^ − e−^27 t s^2 (2s^2 + s + 2) Use line number (13) of the table to get

y = u 2 (t)h(t − 2) − u 12 (t)h(t − 12) + u 37 (t)h(t − 37) − u 27 (t)h(t − 27)

for some h(t). So we define H(s) = 1 s^2 (2s^2 +s+2) and compute^ L

− (^1) {H} = h(t).

H(s) =

s^2 (2s^2 + s + 2) 1

use partial fractions expansion

s^2

s

s/ 2 − 3 / 4 2 s^2 + s + 2

now rewrite the expression to use lines (3), (9) and (10) of Table 6.2.

s^2

s

s − (3/2) s^2 + (1/2)s + 1

s^2

s

(s + 1/4) − (7/4) (s + 1/4)^2 + 15/ 16

s^2

s

(s + 1/4) (s + 1/4)^2 + 15/ 16

(s + 1/4)^2 + 15/ 16

and so

h(t) = (1/4)t − (1/4) + (1/4)e −t/ 4 cos(

15 t/4) − (

15 /28)e −t/ 4 sin(

15 t/4)

below is a graph of y.

0 5 10 15 20 25 30 35 40 45 50 55 60

-0.

And for comparison the solutions of the examples plotted on the same axis.

0 5 10 15 20 25 30 35 40 45 50 55 60

-0.