In my text book, Digital Signal Processing, Principles, Algorithms, and Applications by John Proakis, it asks the question to show how
I can understand how this is true if
In my text book, Digital Signal Processing, Principles, Algorithms, and Applications by John Proakis, it asks the question to show how
I can understand how this is true if
You are correct that this equality is only true when
Explanation
There are in fact 2 different flavors of the delta function.
The Dirac delta function is defined as
The Kronecker delta function is a function of two discrete variables and is defined as
To alleviate some of the confusion, authors tend to use the variable when dealing with discrete-time functions, and the variable when dealing with continuous-time functions. You will also notice from my answer that people also often use brackets instead of parentheses when dealing with discrete functions, although Proakis does not do this. For this question you need to assume is an integer based on the fact you're being asked to prove the equality.