Professional Documents
Culture Documents
S UNIT - V Z-Transforms Difference Equation
S UNIT - V Z-Transforms Difference Equation
S UNIT - V Z-Transforms Difference Equation
VALUE PROBLEMS
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 1 / 19
UNIT - V 21MAB201T : Z - Transforms
CONTENTS:
Z - Transforms - Elementary properties of Z - Transforms
Convolution theorem
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 2 / 19
Formula
Z [f (n)] = F (z) Z −1 [F
(z)] = f (n)
z z
(1). Z [an ] = Z −1 = an
z −a z −a
1 −1 1
(2). Z an−1 = Z = an−1 , n ≥ 1
z −a z −a
" #
z z
(3). Z [n] = 2 Z −1 2 = n,
(z − a) (z − a)
z z
Z −1
(4). Z nan−1 = = nan−1
(z − a)2 (z − a)2
az az
(5). Z [nan ] = Z −1 = nan
(z − a)2 (z − a)2
2z −1 2z
(6). Z [n(n − 1)] = Z = n(n − 1)
(z − 1)3 (z − 1)3
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 3 / 19
Formula
Z [f (n)] = F (z) Z −1 [F (z)] = f (n)
z2 z2
h nπ i −1 nπ
(7). Z an cos = 2 Z = an cos
2 (z + a2 ) (z 2 + a2 ) 2
h nπ i az az nπ
(8). Z an sin = 2 Z −1 = an sin
2 (z + a2 ) (z 2 + a2 ) 2
1 1
Z −1
(9). Z (n − 1)an−2 = = (n − 1)an−2
(z − a)2 (z + a)2
h i
2
Z −1 (z+a)2
(10). Z (n − 2)(n − 1)an−3 = (z−a) 3 3 = (n − 2)(n − 1)an−3
z2 z2
n −1
(11). Z [(n + 1)a ] = Z = (n − 1)an−2
(z − a)2 (z − a)2
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 4 / 19
Solution of difference equations using Z - Transform
Working Procedure
1. Assume Z [yn ] = F (z)
2. Apply Z -transform on both sides of the difference equation using the formulae
Solution:
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 6 / 19
z
z 2 [F (z)] + 6z[F (z)] + 9F (z) =
z −2
z
[z 2 + 6z + 9]F (z) =
z −2
z
F (z) =
(z − 2)(z 2 + 6z + 9)
z
F (z) =
(z − 2)(z + 3)2
F (z) 1
=
z (z − 2)(z + 3)2
1
Consider,
(z − 2)(z + 3)2
1 A B C
= + + − − − − − (1)
(z − 2)(z + 3)2 (z − 2) (z + 3) (z + 3)2
1 = A(5)2 + 0 + 0 ⇒ 1 = 25A
1
A=
25
Put z = −3 in (2), we get
1=0+0+C(-5)
1
C =−
5
1 = Az 2 + 9A + 6Az + Bz 2 + Bz − 6B + Cz2 C
0 = A + B + 0 ⇒ B = −A
1
B=−
25
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 8 / 19
Substitute A, B, C
in (1), we get
1 A B C
= + +
(z − 2)(z + 3)2 (z − 2) (z + 3) (z + 3)2
1 1/25 −1/25 −1/5
= + +
(z − 2)(z + 3)2 (z − 2) (z + 3) (z + 3)2
F (z) 1 1 1 1 1 1
= − +
z 25 (z − 2) 25 (z + 3) 5 (z + 3)2
1 z 1 z 1 z
[F (z)] = − +
25 (z − 2) 25 (z + 3) 5 (z + 3)2
1 z 1 z 1 z
[Z (yn )] = − +
25 (z − 2) 25 (z + 3) 5 (z + 3)2
1 n 1 1
yn = 2 − (−3)n + n(−3)n , n = 0, 1, 2...
25 25 15
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 10 / 19
Problem:2
Solve yn+2 + 4yn+1 − 5yn = 24n − 8, with y0 = 3, y1 = −5 using Z −transforms.
Solution:
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 11 / 19
1 24z − 8z(z − 1)
z 2 [F (z) − 3 + 5] + 4z[F (z) − 3] − 5F (z) =
z (z − 1)2
−8z 2 + 32z
z 2 F (z) − 3z 2 + 5z + 4zF (z) − 12z − 5F (z) =
(z − 1)2
−8z 2 + 32z
(z 2 + 4z − 5)F (z) − 3z 2 + 5z − 12z =
(z − 1)2
−8z 2 + 32z
(z 2 + 4z − 5)F (z) − 3z 2 − 7z =
(z − 1)2
−8z 2 + 32z
(z 2 + 4z − 5)F (z) = 3z 2 + 7z
(z − 1)2
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 12 / 19
3z 4 − 6z 3 + 3z 2 + 7z 3 − 14z 2 + 7z − 8z 2 + 32z
(z + 5)(z − 1)F (z) =
(z − 1)2
3z 4 + z 3 − 19z 2 + 39z
F (z) =
(z + 5)(z − 1)(z − 1)2
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 13 / 19
3z 3 +z 2 −19z +39 = A(z −1)3 +B(z −1)2 (z +5)+c(z −1)(z +5)+D(z +5)−−−(2)
D=4
A=1
B=2
39 = −A + 5B − 5C + 5D
C = −2
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 14 / 19
Substitute A, B, C and D in (2), we get
yn = (−5)n + 2n2 − 4n + 2
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 15 / 19
Problem:3
Solve the difference equation
Solution:
y (n + 2) + 3y (n + 1) − 4y (n) = 0
Z [y (n + 2) + 3y (n + 1) − 4y (n)] = Z [0]
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 16 / 19
1
z 2 [F (z) − y0 − y1 ] + 3z[F (z) − y0 ] − 4F (z) = 0
z
1
z 2 [F (z) − 3 − (−2)] + 3z[F (z) − 3] − 4F (z) = 0
z
[z 2 + 3z − 4]F (z) − 3z 2 + 2z − 9z = 0
[z 2 + 3z − 4]F (z) = 3z 2 − 7z
3z 2 − 7z
F (z) =
(z 2 + 3z − 4)
z(3z − 7)
F (z) =
(z 2 + 3z − 4)
F (z) (3z − 7)
= 2
z (z + 3z − 4)
(3z − 7) A B
Consider, = + − − − − − − − (1)
(z + 4)(z − 1) z +4 z −1
3z − 7 = A(z − 1) + B(z + 4) − − − −(2)
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 17 / 19
Put z = −4, we get
A=1
Put z = 1, we get
B=2
yn = (−4)n + 2
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 18 / 19
Self-work
Find inverse z−transform of following by using Convolution method,
Ans : yn = 3(2)n
Dr. P. Godhandaraman 21MAB201T/TBVP : Unit - V Z.T & Properties October 20, 2023 19 / 19