---
title: "Inverse z of (z-4)/((z-1)(z-2)²), inversion integral"
subject: "Applied Mathematics"
chapter: 2
key: "semester_4/applied_mathematics:inverse-z-z-4-inversion-integral"
source: https://www.bctengineer.com/q/semester_4/applied_mathematics/inverse-z-z-4-inversion-integral
site: BCT Engineering
---

# Inverse z of (z-4)/((z-1)(z-2)²), inversion integral

Applied Mathematics · Chapter 2: The Z-Transform

- Asked in: 2068 Magh, 5 marks
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_4/applied_mathematics/inverse-z-z-4-inversion-integral
- Whole chapter: https://www.bctengineer.com/md/semester_4/applied_mathematics/chapter-2

## Question

Find inverse z-transform of (z - 4)/((z - 1)(z - 2)²) by using inversion integral method.

## Short answer

Use inversion integral: x(k)=residues of (z-4)z^{k-1}/[(z-1)(z-2)^2]. Poles at z=1 and z=2 give x(k)=(4-k)2^{k-1}-3 for k≥1, with x(0)=0.

## Answer

**Inversion integral method.** x(k) = (1/2πj) ∮ X(z) z^{k−1} dz = sum of residues of X(z) z^{k−1} at all poles inside the contour (which encloses every pole).

Here X(z) = (z − 4)/[(z − 1)(z − 2)²], so

X(z) z^{k−1} = (z − 4) z^{k−1} / [(z − 1)(z − 2)²]

Poles: z = 1 (simple), z = 2 (double), and z = 0 for k = 0 only.

#### Residue at z = 1 (simple pole)

```text
R₁ = (z − 4) z^{k−1} / (z − 2)²  at z = 1
   = (−3)(1)/(1) = −3
```

#### Residue at z = 2 (double pole)

R₂ = d/dz [ (z − 4) z^{k−1} / (z − 1) ] at z = 2

```text
d/dz = z^{k−1}/(z−1) + (k−1)(z−4) z^{k−2}/(z−1) − (z−4) z^{k−1}/(z−1)²
at z = 2:  2^{k−1} − 2(k−1) 2^{k−2} + 2 · 2^{k−1}
         = 2^{k−1} [ 1 − (k − 1) + 2 ]
         = (4 − k) 2^{k−1}
```

#### Result

For k ≥ 1:

**x(k) = −3 + (4 − k) 2^{k−1}**

For k = 0 there is an extra pole at z = 0 with residue (−4)/[(−1)(4)] = 1, giving x(0) = −3 + 2 + 1 = 0 (as expected, because X(z) → 0 when z → ∞).

**Check:** x(0), x(1), x(2), … = 0, 0, 1, 1, −3, −19, −67, … Expanding X(z) in powers of z⁻¹ gives the same sequence.

**Answer:** x(k) = (4 − k) 2^{k−1} − 3 for k ≥ 1, and x(0) = 0.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. Inversion integral gives x(k) as
   A. sum of residues of X(z) z^(k-1) at poles inside the contour
   B. sum of residues of X(z) z^k
   C. X(z) z^(k-1) at z=0 only
   D. integral of X(z) from 0 to 1
   Answer: A. x(k) = (1/2 pi j) contour integral of X z^(k-1) dz. (Key point: Formula)

2. The poles of X(z)z^(k-1) are
   A. z = 1 and z = 2 simple
   B. z = 1 simple, z = 2 double, and z = 0 for k = 0
   C. z = -1 and z = -2
   D. z = 4 only
   Answer: B. Denominator (z-1)(z-2)^2; z^(k-1) adds pole at 0 when k = 0. (Key point: Poles)

3. Residue at z = 1 is
   A. 3
   B. 1
   C. -3
   D. -4
   Answer: C. (z-4) z^(k-1)/(z-2)^2 at 1 = -3. (Key point: Residue at 1)

4. The residue at the double pole z = 2 uses
   A. no derivative, plain evaluation
   B. second derivative
   C. the derivative of (z-2)^2 only
   D. the derivative d/dz[(z-4) z^(k-1)/(z-1)] at z = 2, giving (4-k)2^(k-1)
   Answer: D. Double pole needs one derivative. (Key point: Double pole)

## Close variants set in other exams

- [Inverse z of (3z³+2z)/((z-3)²(z-2)), inversion integral](https://www.bctengineer.com/question.md?key=semester_4%2Fapplied_mathematics%3Ainverse-z-3z3-2z-inversion) — Applied Mathematics, chapter 2, asked 3×

## Related in Applied Mathematics

- [Cosine transform of e^{-mx}; evaluate integral](https://www.bctengineer.com/question.md?key=semester_4%2Fapplied_mathematics%3Afourier-cosine-transform-e-mx-beta) — Applied Mathematics, chapter 4, asked 3×
- [Fourier transform of 1-x²; evaluate integral](https://www.bctengineer.com/question.md?key=semester_4%2Fapplied_mathematics%3Afourier-transform-1-x2-evaluate) — Applied Mathematics, chapter 4, asked 2×

## Related in other subjects

- [Inverse Z-transform by inversion integral](https://www.bctengineer.com/question.md?key=semester_6%2Fdigital_control_system%3Ainverse-integral-step-exponential) — Digital Control System, chapter 2, asked 10×
- [Inverse Z-transform by inversion integral (cubic)](https://www.bctengineer.com/question.md?key=semester_6%2Fdigital_control_system%3Ainverse-integral-z-1-cubic) — Digital Control System, chapter 2, asked 10×
- [Inverse Z-transform of z(z+2)/(z−1)²](https://www.bctengineer.com/question.md?key=semester_6%2Fdigital_control_system%3Ainverse-integral-z-z-plus-2) — Digital Control System, chapter 2, asked 10×
- [Inverse Z-transform: double pole at z=1](https://www.bctengineer.com/question.md?key=semester_6%2Fdigital_control_system%3Ainverse-integral-z2-double-pole) — Digital Control System, chapter 2, asked 10×
