Finding the Fourier Series of a Given Function

In summary, the conversation is about finding the Fourier series of a given function and determining the sum of the series for a specific value of x. The Dirichlet theorem is mentioned and it is discussed how the function satisfies the conditions of the theorem. The conversation also touches on the periodic extension of the function and why the multiples of pi are interesting. The conversation ends with a question about the difference between the function at the n pi values of x and the overall function.
  • #1
Ylle
79
0

Homework Statement


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

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

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

Homework Equations



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

and

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


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
  • #2
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.
 
  • #3
Ylle said:
Ehhhm, sorry for asking, but FS meaning ? :)
Fourier series
 
  • #4
Argh, too slow to delete it... :(
 
  • #5
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
 
  • #6
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.
 
  • #7
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

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

where


[tex] f(x+) = \lim_{y \to x^+} f(y) [/tex]
[tex] f(x-) = \lim_{y \to x^-} f(y) [/tex]


And forget about the 1/4 :) Stupid integral I did.
 
  • #8
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

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

where


[tex] f(x+) = \lim_{y \to x^+} f(y) [/tex]
[tex] f(x-) = \lim_{y \to x^-} f(y) [/tex]


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

[tex]\frac {f(x^+)+ f(x^-)} 2[/tex]

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?
 

FAQ: Finding the Fourier Series of a Given Function

What is a Fourier series?

A Fourier series is a mathematical representation of a periodic function as a sum of sine and cosine functions with different amplitudes and frequencies. It allows us to break down a complex function into simpler parts and analyze its behavior over time.

How do you find the Fourier series of a given function?

To find the Fourier series of a given function, you need to follow a specific set of steps. First, you need to determine the period of the function. Then, you need to calculate the coefficients using the Fourier series formula. Finally, you can write the Fourier series as a sum of sine and cosine terms with the calculated coefficients.

Why is the Fourier series important?

The Fourier series is important because it is a powerful mathematical tool that allows us to analyze and understand the behavior of complex periodic functions. It has many applications in various fields, including physics, engineering, and signal processing.

Can any function be represented by a Fourier series?

No, not every function can be represented by a Fourier series. The function must be periodic, meaning it repeats itself over a specific interval. Additionally, the function must satisfy certain mathematical conditions, such as being continuous and having a finite number of discontinuities, to have a valid Fourier series representation.

How is the Fourier series used in real-world applications?

The Fourier series has many practical applications, such as in the analysis and processing of signals and data. It is also used in the fields of physics and engineering to model and predict the behavior of periodic phenomena, such as sound waves and electrical currents. Additionally, the Fourier series is used in image and sound processing to compress and store data efficiently.

Similar threads

Replies
1
Views
1K
Replies
3
Views
1K
Replies
5
Views
1K
Replies
16
Views
1K
Replies
2
Views
796
Replies
2
Views
1K
Back
Top