Skip to main content

Z-transform of ramp minus delayed ramp

Short answer

x(t)=(1/4)t–(1/4)(t–4)1(t–4). Z-transform with T=1 s: X(z)=(1/4)·z^{-1}(1–z^{-4})/(1–z^{-1})^2=(z^3+z^2+z+1)/[4z^3(z–1)].

Find the z-transform of x(t)=1/4t-1/4(t-4)1(t-4).

x(t)x(t) is a ramp of slope 14\tfrac14 minus the same ramp delayed by 4 s. It rises from 0 to 1 over 4 s and then stays at 1.

Step 1: Standard pairs

  • Z[t⋅1(t)]=Tz−1(1−z−1)2\mathcal{Z}[t\cdot1(t)] = \dfrac{Tz^{-1}}{(1-z^{-1})^2}
  • Real translation (shift) theorem: if 4=nT4 = nT, then Z[x(t−nT)1(t−nT)]=z−nX(z)\mathcal{Z}[x(t - nT)1(t-nT)] = z^{-n}X(z)

Step 2: General sampling period TT (4 an integer multiple of TT)

X(z)=14⋅Tz−1(1−z−1)2(1−z−4/T)X(z) = \frac{1}{4}\cdot\frac{Tz^{-1}}{(1-z^{-1})^2}\left(1 - z^{-4/T}\right)

Step 3: With T=1T = 1 s (usual case, n=4n = 4)

X(z)=14⋅z−1(1−z−4)(1−z−1)2=z−1(1+z−1+z−2+z−3)4(1−z−1)=z3+z2+z+14z3(z−1)\begin{aligned} X(z) &= \frac{1}{4}\cdot\frac{z^{-1}(1-z^{-4})}{(1-z^{-1})^2} \\ &= \frac{z^{-1}(1+z^{-1}+z^{-2}+z^{-3})}{4(1-z^{-1})} \\ &= \frac{z^3+z^2+z+1}{4z^3(z-1)} \end{aligned}

Here 1−z−4=(1−z−1)(1+z−1+z−2+z−3)1 - z^{-4} = (1-z^{-1})(1+z^{-1}+z^{-2}+z^{-3}) was used.

Step 4: Check with the samples

kk012345...
x(k)x(k)00.250.50.7511...

Long division gives X(z)=0.25z−1+0.5z−2+0.75z−3+z−4+z−5+…X(z) = 0.25z^{-1} + 0.5z^{-2} + 0.75z^{-3} + z^{-4} + z^{-5} + \dots, which matches. The final value from the theorem, lim⁡z→1(1−z−1)X(z)=1\lim_{z\to1}(1-z^{-1})X(z) = 1, is also correct.

Answer (T=1T = 1 s): X(z)=z−1(1−z−4)4(1−z−1)2=z3+z2+z+14z3(z−1)X(z) = \dfrac{z^{-1}(1-z^{-4})}{4(1-z^{-1})^2} = \dfrac{z^3+z^2+z+1}{4z^3(z-1)}.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Control System chapter 2 questions →