Why Are w[n] = exp(j*pi*n) and w[n] = (−1)^n Equivalent?

  • Level: Undergrad 
  • Thread starter Thread starter perryben
  • Start date Start date
  • Tags Tags
    Discrete Time
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
perryben
Messages
8
Reaction score
0
w[n] = exp(j*pi*n)

w[n] = (−1)^n

Hi, can anyone off hand verify why these two exressions are equal? Thanks
 
Mathematics news on Phys.org
exp(i * pi * n) = cos(pi * n) + isin(pi * n).

You figure out the rest.
 
I am assuming n takes on integer values. In which case and expansion of exp(i*pi*n)=cos(pi*n)+i*sin(pi*n). Now for n in Z, sin(pi*n)=0, since: sin(0)=sin(pi)=sin(2pi)=sin(3pi)=...=0. Similarily, cos(pi*n)=(-1)^n, since cos(0)=cos(2pi)=cos(4pi)=..cos(2kpi)=1, and cos(pi)=cos(3*pi)=...cos((2k+1)pi)= -1. Therefore exp(i*pi*n)=(-1)^n for any n in Z.
 
perryben said:
w[n] = exp(j*pi*n)
w[n] = (−1)^n
Hi, can anyone off hand verify why these two exressions are equal? Thanks

The easiest way is just to write [tex]e^{j \pi n} = (e^{j \pi})^n[/tex] and note that [tex]e^{j \pi} = -1[/tex]