2
$\begingroup$

I have a system of the form:

$$T(x(n))=x(n)+3x(n-2)-5x(n-3)x(2n)$$

I claim that

$$T(x(n-k))=x(n-k)+3x(n-k-2)-5x(n-k-3)x(2n-2k),$$ $$y(x(n-k)= x(n-k)+3x(n-k-2)-5x(n-k-3)x(2n-2k)$$

and

$$T(ax_1(n)+bx_2(n))=ax_1(n)+bx_2(n)+3\left( ax_1(n-2)+bx_2(n-2)\right) - 5 \left(ax_1(n-3)+bx_2(n-3) \right)\left( ax_1(2n)+bx_2(2n)\right),$$ $$aT(x_1(n))+bT(x_2(n))) = ax_1(n)+3x_1(n-2)-5x_1(n-3)x_1(2n) + ax_2(n)+3x_2(n-2)-5x_2(n-3)x_2(2n)$$

Hence, the system is not linear, but is time-invariant. I'm I applying the formulas correctly?

$\endgroup$
1
  • $\begingroup$ @DilipSarwate: T(x(n-k))=y(n-k) for all k & n. Am I mistaken? $\endgroup$
    – Paul
    Oct 3 '12 at 2:19
6
$\begingroup$

The term $x(2n)$ is not time invariant: it gives the even samples of $x$. Shift the input by 1 sample and you'll get the odd terms, which are different from the even terms shifted 1 place.

Your reasoning above is not correct. You should compare $T(x(n-k))$ to $T(x(n))|_{n-k}$ (that is, the original output, shifted by $k$ samples).

Edit: These type of exercises are a common source of confusion because of the following abuse of notation: $x(n)$ is not a signal, but the nth sample of the signal, and having $n$ inside of the expressions is formally wrong. Even Oppenheim's book makes this mistake when working with LTI systems and impulse response.

The correct way for expressing transforms between signals is as follows:

Let $x$ and $y$ be signals; $T\{\cdot\}$ be the transformation (system) under scrutiny; $R_k\{\cdot\}$ be a delay of $k$ samples.

So, in general you would write the relation between input and output signals as $y = T\{ x \}$, where the whole signals are involved. Using $n$ inside these expressions collapses the signal to a single sample and this is wrong. And having the same variable $n$ on both sides of the equation only leads to confusion.

Then, a system is time-invariant if $R_k\{T\{ \cdot \}\} = T\{ R_k\{ \cdot \}\}$ for all integer $k$.

This is why I gave the example above with even-odd samples, in order to avoid the usual confusion with $n$ inside the expressions.

Now, going back to the system $T$ that evaluates to $y[n] = x[2n]$ for each sample $n$:

Let $x_k = R_k\{x\}$ and $y_k = R_k\{y\} = R_k\{T\{x\}\}$.

Evaluating all these signals at sample $n$: $x_k[n] = x[n-k]$; $y_k[n] = x[2n - 2k]$.

Now, $T\{x_k\}$ at sample $n$ is $x_k[2n] = x[2n - k]$ which is different from $y_k$.

$\endgroup$
5
  • $\begingroup$ If $T(x(n))=x(2n)=y(n)$, then certainly $y(n-k) = x(2n-2k)$, correct? $\endgroup$
    – Paul
    Oct 3 '12 at 13:23
  • $\begingroup$ Correct. See edit above. $\endgroup$
    – Juancho
    Oct 3 '12 at 13:36
  • $\begingroup$ I think I see it now... The n's inside the expression were a little bit confusing. So, when I evaluate T(x(n-k)), what I'm really doing is shifting each of the arguments of $x[\cdot]$ by $k$. But when I evaluate $y(n-k)$, I'm actually substituting $(n-k)$ in place of $n$ inside each of the arguments of $x[\cdot]$. Correct? $\endgroup$
    – Paul
    Oct 3 '12 at 15:45
  • $\begingroup$ Almost. When evaluating $y[n-k]$ you are substituting $(n-k)$ for $n$ in the arguments of $y[\cdot]$ (not $x$). $\endgroup$
    – Juancho
    Oct 3 '12 at 18:07
  • $\begingroup$ Ok... that makes more sense now :) Thank you, Juancho :) $\endgroup$
    – Paul
    Oct 3 '12 at 18:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.