When studying the spectral representation of time series, I read the following formula,
I am not clear how to prove the second equation.
I expand the left side of the second equation with the $\theta(e^{i\lambda})$ defined as in the first equation, but how to derive its equivalence with its right side. In specific, I am kind of stuck with the involvement of $e^{-i\lambda}$.