Why is e^-ipi equal to 1 in complex Fourier series?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 10K views
Poop-Loops
Messages
732
Reaction score
1
I get how to do them, I just have one question.

An example that my prof. handed out has this:

fourier.jpg


With the f(x) being 0 from -pi to 0, 1 from 0 to pi/2 and 0 from pi/2 to pi.

But my question is when he has the last line in that picture. He has e^-ipi -> 1? I'm not understanding that step he's doing there. I'm doing the first problem in the complex Fourier series section of the homework and I can't seem to simplify anything, so I'm guessing I'm missing some crucial relation here.

EDIT: Actually, I have no idea what the "n=m" part is either. I don't see "m" anywhere in the book.
 
Last edited:
Physics news on Phys.org
n and m are just dummy variables. They don't mean anything, you could just as easily use r, alpha or squiggle to denote elements in the index set.

There's no n=m on that page was there? n=4m, n=4m+2 and n=4m+1 or 3.

You can either sum over even n, or set n=2m and sum over all m.
 
Yeah I don't get the n=4m n=4m+2 etc parts.

What about the rest? Simplifying e^-ipi as 1?
 
Poop-Loops said:
Yeah I don't get the n=4m n=4m+2 etc parts.

What about the rest? Simplifying e^-ipi as 1?
Yes, that's true.

[tex]e^{i\theta}= cos(\theta)+ i sin(\theta)[/tex]
so
[tex]e^{-i\pi}= cos(-\pi)+ i sin(-\pi)= 1[/tex]
since [itex]cos(-\pi)= cos(\pi)= 1[/itex] and [itex]sin(-\pi)= sin(\pi)= 0[/itex].
 
HallsofIvy said:
Yes, that's true.

[tex]e^{i\theta}= cos(\theta)+ i sin(\theta)[/tex]
so
[tex]e^{-i\pi}= cos(-\pi)+ i sin(-\pi)= 1[/tex]
since [itex]cos(-\pi)= cos(\pi)= 1[/itex] and [itex]sin(-\pi)= sin(\pi)= 0[/itex].

Unless I'm completely mistaken, that's wrong. It should be
[tex]e^{-i\pi}= cos(-\pi)+ i sin(-\pi)= -1[/tex]
since [itex]cos(-\pi)= cos(\pi)= -1[/itex] and [itex]sin(-\pi)= -sin(\pi)= 0[/itex].
 
Yeah, cos(pi) = -1

But I can't believe I forgot that... Wow... this makes the homework REALLY easy now. Thanks a lot! :D
 
Just another quick question. Right now I had to do the Fourier series the normal way with An and Bn constants and then do it with Cn constants the complex way.

The former way gave me alternating negative and positive terms and this way gives me either positive or negative terms straight across. Is there a common pitfall or something that I should check, or is it really problem specific? I'm not expecting someone to just say "oh yeah, you did blah blah" or something, but it's always worth a shot. :)

The terms have sines and cosines in them, too. So I just don't know how to make it alternate.
 
Last edited: