Signal Processing question Is the system y[n] = x[n] - x[n-1] time invariant?

AI Thread Summary
The system defined by y[n] = x[n] - x[n-1] is confirmed to be time invariant. The initial reasoning suggested that shifting the input and then processing it would yield a different output than processing first and then shifting, which led to confusion. However, it was clarified that both approaches yield the same result, confirming the system's time invariance. The key point is that the output depends on the current and previous input values, maintaining consistency regardless of input shifts. Thus, the system does not explicitly depend on time, affirming its time-invariant nature.
seang
Messages
184
Reaction score
0

Homework Statement


Is the system y[n] = x[n] - x[n-1] time invariant?


Homework Equations





The Attempt at a Solution


I say no, but there's one thing I don't understand. I think if you shifted the input, and then ran those samples through the system, you'd get x[n-n0] - x[n-1].

If you ran the signal through the system first, then shifted the output, you'd get x[n-n0] - x[n-n0-1].

This is my thinking, is it incorrect?
 
Physics news on Phys.org
seang said:

Homework Statement


Is the system y[n] = x[n] - x[n-1] time invariant?


Homework Equations





The Attempt at a Solution


I say no, but there's one thing I don't understand. I think if you shifted the input, and then ran those samples through the system, you'd get x[n-n0] - x[n-1].

If you ran the signal through the system first, then shifted the output, you'd get x[n-n0] - x[n-n0-1].

This is my thinking, is it incorrect?

As for the answer, the system is time invariant since the system does not explicitly depend on one of the inputs.

As for your method of approaching this, even if you shift the input and run the samples through the system, you'd get the same output as running the signal through the system first.

Here's a formal proof you can look at to see why it is true.

http://en.wikipedia.org/wiki/Time-invariant
 
146kok is correct.

Your error comes in the first answer where you shifted the input and then ran it through the equation. What the equation says is that y is equal to the present input plus the input just before the present input. If the present input is x(n-n0) then the input just before the present input has to be x(n-n0-1). This agrees with your second answer so it is time invariant.
 

Similar threads

Replies
1
Views
2K
Replies
4
Views
2K
Replies
3
Views
3K
Replies
1
Views
2K
Replies
3
Views
2K
Replies
7
Views
2K
Back
Top