0 - Math 252
0 - Math 252
0 - Math 252
192 96
𝐴= 𝐵=
125 125
2 1
𝐶= 𝐷=−
25 5
1 −192 96 10 252!
2!
𝑌(𝑠) = ( + + −
125 2 (𝑠 − 1) 𝑠 + 2 (𝑠 + 2) 2 (𝑠 + 2)3
2
3
(𝑠 2 𝑌(𝑠) − 𝑠𝑦(0) − 𝑦 ′ (0)) − 6(𝑠𝑌(𝑠) − 𝑦(0)) + 15𝑌(𝑠)=2
𝑠2 +9
6
(𝑠 2 − 6𝑠 + 15)𝑌(𝑠) + 𝑠 − 2 =
(𝑠2 +9)
−𝑠3 +2𝑠2 −9𝑠+24
𝑌(𝑠) = (𝑠2
+9)(𝑠2 −6𝑠+15)
𝐴𝑠 + 𝐵 𝐶𝑠 + 𝐷
𝑌(𝑠) = +
𝑠 2 + 9 𝑠 2 − 6𝑠 + 15
−𝑠 3 + 2𝑠 2 − 9𝑠 + 24 = (𝐴𝑠 + 𝐵)(𝑠 2 − 6𝑠 + 15) + (𝐶𝑠 + 𝐷)(𝑠 2 + 9)
= (𝐴 + 𝐶 )𝑠 3 + (−6𝐴 + 𝐵 + 𝐷)𝑠 2 + (15𝐴 − 6𝐵 + 9𝐶 )𝑠 + 15𝐵 + 9𝐷
𝑠 3 : 𝐴 + 𝑐 = −1
𝑠 2 : − 6𝐴 + 𝐵 + 𝐷 = 2
𝑠1 : 15𝐴 − 6𝐵 + 9𝐶 = −9
𝑠 0 : 15𝐵 + 9𝐷 = 24
1 1
𝐴= 𝐵=
10 10
11 5
𝐶=− 𝐷=
10 2
1 𝑠+1 −11𝑠 + 25
𝑌(𝑠) = ( 2 + 2 )
10 𝑠 + 9 𝑠 − 6𝑠 + 15
1 𝑠 + 1 −11(𝑠 − 3 + 3) + 25
= ( + )
10 𝑠 2 + 9 (𝑠 − 3)2 + 6
3
1 𝑠 1 11(𝑠 − 3 + 3) + 25
= ( 2 + 2 3 − )
10 𝑠 + 9 𝑠 + 9 (𝑠 − 3)2 + 6
The inverse transform is
𝑦(𝑡) =
1 1 8 3𝑡
(cos(3𝑡) + sin(3𝑡) − 11𝑒 3𝑡 cos(√6𝑡) − 𝑒 sin √6𝑡
10 3 √6
substitute t for n
𝑦 ′′ (𝑛 + 3) + 4𝑦 ′ (𝑛 + 3) = cos(𝑛) + 4(𝑛 + 3)
let’s 𝑢 (𝑛) = 𝑦(𝑛 + 3)
by chain rule,
𝑑𝑢 𝑑𝑦 𝑑𝑡
𝑢′ (𝑛) = = = 𝑦′(𝑛 + 3)
𝑑𝑛 𝑑𝑡 𝑑𝑛
𝑢′′ (𝑛) = 𝑦′′(𝑛 + 3)
the initial condition for u(n) is:
𝑢(0) = 𝑦(0 + 3) = 𝑦(3) = 0
𝑢′ (0) = 𝑦 ′ (0 + 3) = 𝑦(3) = 7
the IVP under these new variables is then,
2
𝑠 4 + 12𝑠 + 7𝑠 2
(𝑠 + 4𝑠)𝑈(𝑠) = 2 +
𝑠 +1 𝑠2
1 4 + 12𝑠 + 7𝑠 2
𝑈(𝑠) = +
(𝑠 + 4)(𝑠 2 + 1) 𝑠 3 (𝑠 + 4)
1
1 17 + 1 (−𝑠 + 4)
=
(𝑠 + 4)(𝑠 2 + 1) 𝑠 + 4 17 𝑠 2 + 1
11 17 17
4 + 12𝑠 + 7𝑠 2 1
3
= 3 + 42 + 16 − 16
𝑠 (𝑠 + 4) 𝑠 𝑠 𝑠 𝑠+4
11 17 273
1 1 −𝑠 + 4
𝑈(𝑠) = 3 + 42 + 16 − 272 + ( )
𝑠 𝑠 𝑠 𝑠 + 4 17 𝑠 2 + 1
2! 11 17 273
1 16 272 1 −𝑠 4
( ) 2!
𝑈 𝑠 = 3 + 2 + 4 − + ( + )
𝑠 𝑠 𝑠 𝑠 + 4 17 𝑠 2 + 1 𝑠 2 + 1
Taking the inverse transform will give the solution to the new IVP
1 2 11 17 273 −4𝑛 1
𝑢(𝑛) = 𝑛 + 𝑛+ − 𝑒 + (4 sin(𝑛) − cos(𝑛))
2 4 16 272 17
but,
𝑦(𝑡) = 𝑦(𝑛 + 3) = 𝑢(𝑛) = 𝑢(𝑡 − 3)
the solution to the original IVP is,
1 11 17 273 −4(𝑡−3)
𝑦(𝑡) = (𝑡 − 3)2 + (𝑡 − 3) + − 𝑒
2 4 16 272
1
+ (4 sin(𝑡 − 3) − cos(𝑡 − 3))
17
1 2 1 17 273 −4(𝑡−3)
𝑦(𝑡) = 𝑡 − 𝑡+ − 𝑒
2 4 16 272
1
+ (4 sin(𝑡 − 3) − cos(𝑡 − 3))
17