Finding the Fourier Series of a Given Function

Ylle
Messages
77
Reaction score
0

Homework Statement


Find the Fourier series of the function \[f\in {{C}_{st}}\] that in the interval ]-pi, pi[ is given by:

\[f\left( x \right)=\left\{ \begin{array}{*{35}{l}}<br /> 0for\,-\pi &lt;x\le 0 \\<br /> \cos \left( x \right)for\,0&lt;x&lt;\pi \\<br /> \end{array} \right.\]

and give the sum of the series for x = p*pi for p $p\in Z$

Homework Equations



\[{{a}_{k}}=\frac{1}{2\pi }\int_{-\pi }^{\pi }{f\left( x \right){{e}^{-ikx}}dxfor\,n\in Z}\]

and

\[{{f}_{N}}\left( x \right)=\sum\limits_{k=-N}^{N}{{{a}_{k}}{{e}^{ikx}}}\]


The Attempt at a Solution



Well, first I find the an simply by doing the integral, but only from 0 to pi, since it's 0 from -pi to 0.
After that I insert that in the second equation, and get the partial sum.
But it's the last bit I'm confused about. I know that p is element of Z, so therefor I should only check x for -1, 0 and 1 - I think. But am i done after I've done that, or...?

Well, the last bit confuses me a bit.
So anyone who can give me a hint ? :)


Regards
 
Last edited:
Physics news on Phys.org
Does your function satisfy the Dirichlet conditions? If so, to what does the FS converge. The multiples of pi are particularly interesting for the periodic extension of this function because...

You don't even need to calculate the FS to answer what the sum is going to converge to.
 
Ylle said:
Ehhhm, sorry for asking, but FS meaning ? :)
Fourier series
 
Argh, too slow to delete it... :(
 
LCKurtz said:
Does your function satisfy the Dirichlet conditions? If so, to what does the FS converge. The multiples of pi are particularly interesting for the periodic extension of this function because...

You don't even need to calculate the FS to answer what the sum is going to converge to.

Well, I guess it satisfies the Dirichlet conditions.
And it converge to 1/4 ? :S
 
Ylle said:
Well, I guess it satisfies the Dirichlet conditions.
And it converge to 1/4 ? :S

You didn't answer this (it isn't a rhetorical question):

The multiples of pi are particularly interesting for the periodic extension of this function because...

How did you get 1/4?

What does the Dirichlet theorem say about the convergence? You need to apply it to your question.
 
Because cos(k*pi) = 1 or -1 depending on what whole number k is ?

And the theorem states that:
If f satisfies Dirichlet conditions, then for all x, we have that the series obtained by plugging x into the Fourier series is convergent, and is given by

\sum_{n = -\infty}^\infty a_n e^{inx} = \frac{1}{2}(f(x+) + f(x-)),

where


f(x+) = \lim_{y \to x^+} f(y)
f(x-) = \lim_{y \to x^-} f(y)


And forget about the 1/4 :) Stupid integral I did.
 
Ylle said:
Because cos(k*pi) = 1 or -1 depending on what whole number k is ?

And the theorem states that:
If f satisfies Dirichlet conditions, then for all x, we have that the series obtained by plugging x into the Fourier series is convergent, and is given by

\sum_{n = -\infty}^\infty a_n e^{inx} = \frac{1}{2}(f(x+) + f(x-)),

where


f(x+) = \lim_{y \to x^+} f(y)
f(x-) = \lim_{y \to x^-} f(y)


And forget about the 1/4 :) Stupid integral I did.

It's not just that the cosine is +-1 at those points.

Why does the theorem state the sum of the series as

\frac {f(x^+)+ f(x^-)} 2

instead of just saying f(x)? Does it equal f(x)? Why or why not? Again, what is different about the function at the n pi values of x?
 

Similar threads

Back
Top