Skip to main content

Is y[n] = nx[n] − x[n−1] time invariant

Short answer

The system is time variant. The time-dependent coefficient n multiplying x[n] makes the delayed input response differ from the delayed output, as shown by y₁[n] ≠ y[n−k].

Check if the system is time invariant y[n] = nx[n] − x[n−1]

A system is time invariant if delaying the input by kk only delays the output by kk: x[n−k]→y[n−k]x[n-k] \rightarrow y[n-k].

Given: y[n]=n x[n]−x[n−1]y[n] = n\,x[n] - x[n-1]

Step 1 – Output for the delayed input x1[n]=x[n−k]x_1[n] = x[n-k] (replace xx only, not the nn multiplying it):

y1[n]=n x[n−k]−x[n−1−k]y_1[n] = n\,x[n-k] - x[n-1-k]

Step 2 – Delayed output (replace every nn by n−kn-k):

y[n−k]=(n−k) x[n−k]−x[n−k−1]y[n-k] = (n-k)\,x[n-k] - x[n-k-1]

Step 3 – Compare:

y1[n]−y[n−k]=n x[n−k]−(n−k) x[n−k]=k x[n−k]≠0y_1[n] - y[n-k] = n\,x[n-k] - (n-k)\,x[n-k] = k\,x[n-k] \ne 0

Since y1[n]≠y[n−k]y_1[n] \ne y[n-k] (for k≠0k \ne 0), the system is time variant.

Reason: the coefficient nn multiplying x[n]x[n] changes with time, so the system's gain is different at different instants. The second term −x[n−1]-x[n-1] alone is time invariant, but the first term makes the whole system time variant.

Numerical check: take x[n]=δ[n]x[n] = \delta[n]: y[n]=0⋅δ[n]−δ[n−1]=−δ[n−1]y[n] = 0\cdot\delta[n] - \delta[n-1] = -\delta[n-1]. For x[n]=δ[n−1]x[n] = \delta[n-1]: y1[n]=n δ[n−1]−δ[n−2]=δ[n−1]−δ[n−2]y_1[n] = n\,\delta[n-1] - \delta[n-2] = \delta[n-1] - \delta[n-2], which is not y[n−1]=−δ[n−2]y[n-1] = -\delta[n-2].

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →