Skip to main content

Difference equation with step input, x(1)=0.3679

Short answer

Solve x(k+2)+1.379x(k+1)+0.3679x(k)=0.3679u(k) with x(0)=0, x(1)=0.3679. Z-transform and partial fractions give x(k)=0.1339+0.1490(-0.3616)^k-0.2829(-1.0174)^k. Unstable due to pole magnitude >1.

Solve the following difference equation by use of Z-transform method: x(k+2)+1.379x(k+1)+0.3679x(k)=0.3679u(k), where u(k) is step input and x(0)=0, x(1)=0.3679.

Given (as printed) x(k+2)+1.379x(k+1)+0.3679x(k)=0.3679u(k)x(k+2) + 1.379x(k+1) + 0.3679x(k) = 0.3679u(k), u(k)=1u(k) = 1 for k≥0k \ge 0, x(0)=0x(0) = 0, x(1)=0.3679x(1) = 0.3679.

Step 1: z-transform

[z2X−z2x(0)−zx(1)]+1.379[zX−zx(0)]+0.3679X=0.3679zz−1[z^2X - z^2x(0) - zx(1)] + 1.379[zX - zx(0)] + 0.3679X = 0.3679\frac{z}{z-1} (z2+1.379z+0.3679)X(z)=0.3679z+0.3679zz−1=0.3679z2z−1X(z)=0.3679z2(z−1)(z2+1.379z+0.3679)\begin{aligned} (z^2 + 1.379z + 0.3679)X(z) &= 0.3679z + \frac{0.3679z}{z-1} = \frac{0.3679z^2}{z-1} \\ X(z) &= \frac{0.3679z^2}{(z-1)(z^2+1.379z+0.3679)} \end{aligned}

Step 2: roots of the characteristic equation

z=−1.379±1.3792−4(0.3679)2=−1.379±0.43002=−1.379±0.65582z = \frac{-1.379 \pm \sqrt{1.379^2 - 4(0.3679)}}{2} = \frac{-1.379 \pm \sqrt{0.4300}}{2} = \frac{-1.379 \pm 0.6558}{2}

p1=−0.3616p_1 = -0.3616, p2=−1.0174\quad p_2 = -1.0174

Step 3: partial fractions of X(z)/z=0.3679z(z−1)(z−p1)(z−p2)X(z)/z = \frac{0.3679z}{(z-1)(z-p_1)(z-p_2)}

A=0.3679(1)(1−p1)(1−p2)=0.36792.7469=0.1339B=0.3679p1(p1−1)(p1−p2)=0.3679(−0.3616)(−1.3616)(0.6558)=0.1490C=0.3679p2(p2−1)(p2−p1)=0.3679(−1.0174)(−2.0174)(−0.6558)=−0.2829\begin{aligned} A &= \frac{0.3679(1)}{(1-p_1)(1-p_2)} = \frac{0.3679}{2.7469} = 0.1339 \\ B &= \frac{0.3679p_1}{(p_1-1)(p_1-p_2)} = \frac{0.3679(-0.3616)}{(-1.3616)(0.6558)} = 0.1490 \\ C &= \frac{0.3679p_2}{(p_2-1)(p_2-p_1)} = \frac{0.3679(-1.0174)}{(-2.0174)(-0.6558)} = -0.2829 \end{aligned} X(z)=0.1339zz−1+0.1490zz+0.3616−0.2829zz+1.0174X(z) = 0.1339\frac{z}{z-1} + 0.1490\frac{z}{z+0.3616} - 0.2829\frac{z}{z+1.0174}

Result

x(k)=0.1339+0.1490(−0.3616)k−0.2829(−1.0174)kx(k) = 0.1339 + 0.1490(-0.3616)^k - 0.2829(-1.0174)^k

Check

k012345
x(k)x(k)00.3679-0.13940.4248-0.16660.4414

These agree with the recursion x(k+2)=−1.379x(k+1)−0.3679x(k)+0.3679x(k+2) = -1.379x(k+1) - 0.3679x(k) + 0.3679. Since ∣p2∣>1|p_2| > 1, the response oscillates with slowly growing amplitude, so the final value theorem cannot be applied.

Answer: x(k)=0.1339+0.1490(−0.3616)k−0.2829(−1.0174)kx(k) = 0.1339 + 0.1490(-0.3616)^k - 0.2829(-1.0174)^k.

Note: this equation is usually printed in textbooks with −1.3679-1.3679 (poles at 11 and 0.36790.3679). With x(k+2)−1.3679x(k+1)+0.3679x(k)=0.3679u(k)x(k+2) - 1.3679x(k+1) + 0.3679x(k) = 0.3679u(k) and the same data, X(z)=0.3679z2(z−1)2(z−0.3679)X(z) = \frac{0.3679z^2}{(z-1)^2(z-0.3679)} and x(k)=0.5820k−0.3388+0.3388(0.3679)kx(k) = 0.5820k - 0.3388 + 0.3388(0.3679)^k, i.e. 0,0.3679,0.8712,1.4242,…0, 0.3679, 0.8712, 1.4242, \dots (a ramp-like rise).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Control System chapter 2 questions →