Example
Example
Example
Two-sided Z-tx is only capable to solve difference equation without initial condition; we need one-
sided Z-tx to solve difference equation with non-zero initial condition.
> Assume that x1 (n) = x2 (n) for all n ≥ 0 ⇒ X1+ (z) = X2+ (z) even if x1 (n) 6= x2 (n) for some n < 0.
Hence X + (z) does not have the 1-1 correspondence with x(n). Nevertheless, X + (z) does have the 1-1
correspondence with the causal part of x(n).
1
Example 2: x(n) = −1.2n u(−n − 1) + 0.3n u(n) ⇒ X + (z) = 1+0.3z −1
.
Given X + (z) = C1 · 1−p11 z −1 + C2 · 1−p21 z −1 + · · · + Cn · 1−pN1 z −1 after the partial fraction expansion.
The causal part of x(n) can be obtained by taking the inverse Z-tx of X + (z)
Note that the inverse transform is exactly the same as finding the inverse of two-sided Z-tx, only
simpler since we always choose the causal inverse without having to consider the ROC.
Example 1: X + (z) = 3 − 2z −1 + 3z −2
⇒ for n ≥ 0, x(n)={3, -2, 3}; yet x(n) is unknown for n < 0.
1 1
Example 1: X + (z) = 1−0.2z −1 − 2 1−0.5z −1
⇒ for n ≥ 0, x(n) = 0.2n u(n) − 2 · 0.5n u(n); yet x(n) is unknown for n < 0.
P. C. Yeh One-sided Z-Transform 2
Example: Given y(n) − 0.7y(n − 1) + 0.1y(n − 2) = x(n) − 0.2x(n − 1), y(−1) = 3, y(−2) = 21, and
x(n) = 0.1n u(n). What is y(n)?
Note that since x(n) is causal ⇒ X + (z) = X(z) and x(−1) = 0. After simplification , we have
¡ ¢
Y + (z)(1 − 0.2z −1 )(1 − 0.5z −1 ) = 1 − 0.2z −1 X(z) + 0.7y(−1) − 0.1y(−2) − 0.1y(−1)z −1
1
Plug in X(z) = and the initial condition
1−0.1z −1
1 −0.3z −1
⇒ Y + (z) = −1 −1
+ .
(1 − 0.5z ) (1 − 0.1z ) (1 − 0.2z −1 ) (1 − 0.5z −1 )
| {z } | {z }
ZSR ZIR
1 5 1 1 1 Z −1 5 1
ZSR: (1−0.5z −1 ) (1−0.1z −1 )
= 4 · 1−0.5z −1
− 4 · 1−0.1z −1
−−−→ 4 · 0.5n u(n) − 4 · 0.1n u(n).
−0.3z −1 1 1 Z −1
ZIR: (1−0.2z −1 ) (1−0.5z −1 )
= 1−0.2z −1
− 1−0.5z −1
−−−→ 0.2n u(n) − 0.5n u(n).
⇒ y(n) = 45 ·0.5n u(n)− 41 ·0.1n u(n)+0.2n u(n)−0.5n u(n) = 41 ·0.5n u(n)− 14 ·0.1n u(n)+0.2n u(n), ∀ n ≥ 0.
>Remark:
• ZSR is also called forced response, it depends on the nature of the system and the input signal.
• ZIR is also called natural response, it depends only on the nature of the system and the initial
condition.