Howto understand this periodic fourier series

In summary, the function is periodic and defined on [-\pi/2,3\pi/2]. If you integrate it periodically, you will get the same result as integrating it over any other period.
  • #1
Susanne217
317
0

Homework Statement



I am given this function

[tex]f(x) = \left\{\begin{array}{cccc} x^2 \ \mathrm{where} \ \frac{-\pi}{2} < x < \frac{\pi}{2} \\ \ \frac{1}{4}\pi^2 \ \mathrm{where} \ \frac{\pi}{2} < x < \frac{3\pi}{2} \end{array}[/tex]


Doesn't this mean that the function is periodic Fourier which is defined on

[tex][-\frac{L}{2}, \frac{3L}{2}][/tex]?

Anyway I have formula to find the corresponding Fourier series had been defined on [-L,L] but do I still use this formula eventhough the interval is different?

is then true that if p = pi/2

then

[tex]a_0: = \frac{1}{2\pi} \int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^2 dx + \frac{1}{2\pi} \int_{\frac{\pi}{2}}^{\frac{3\pi}{2}} \frac{1}{4} \cdot \pi^2 dx = \frac{\pi^2}{6}[/tex]

/Susanne
 
Last edited:
Physics news on Phys.org
  • #2
The short answer to your question is yes. Your function is defined on [itex][-\pi/2,3\pi/2][/itex] which is an interval of length [itex]2\pi[/itex]. If you extend it periodically it will have period [itex]2\pi[/itex]. For a periodic function of period P, it is true that integrating it over any period will give the same result as integrating over any other period:

[tex]\int_a^{a+P}f(x)\,dx = \int_b^{b+P}f(x)\,dx[/tex]

So you don't have to integrate over [itex](-\pi,\pi)[/itex] and in fact you really want to integrate over [itex][-\pi/2,3\pi/2][/itex], because that is where you have the formulas given. If, for some reason, you decided to integrate from [itex](2\pi,4\pi)[/itex] you couldn't use [itex]x^2[/itex] because it would have to be translated.
 
  • #3
Hi again,

Is my a_n then

[tex]a_n: = \frac{1}{2\pi} \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^2 \cdot cos(\frac{nx\pi}{2\pi}) dx + \frac{1}{2\pi} \int_\frac{\pi}{2}^{\frac{3\pi}{2}} \frac{1}{4}\pi^2 cos(\frac{nx\pi}{2\pi}) dx[/tex]?

and my b_n is

[tex]b_n: = \frac{1}{2\pi} \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^2 \cdot sin(\frac{nx\pi}{2\pi}) dx + \frac{1}{2\pi} \int_\frac{\pi}{2}^{\frac{3\pi}{2}} \frac{1}{4}\pi^2 sin(\frac{nx\pi}{2\pi}) dx[/tex]?

what makes this problem complicated is that most of the formulas I has deals with nice even interval :(
 
Last edited:
  • #4
Susanne217 said:
Hi again,

Is my a_n then

[tex]a_n: = \frac{1}{2\pi} \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^2 \cdot cos(\frac{nx\pi}{2\pi}) dx + \frac{1}{2\pi} \int_\frac{\pi}{2}^{\frac{3\pi}{2}} \frac{1}{4}\pi^2 cos(\frac{nx\pi}{2\pi}) dx[/tex]?

and my b_n is

[tex]b_n: = \frac{1}{2\pi} \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^2 \cdot sin(\frac{nx\pi}{2\pi}) dx + \frac{1}{2\pi} \int_\frac{\pi}{2}^{\frac{3\pi}{2}} \frac{1}{4}\pi^2 sin(\frac{nx\pi}{2\pi}) dx[/tex]?

what makes this problem complicated is that most of the formulas I has deals with nice even interval :(

Why don't you cancel the [itex]\pi[/itex]'s?

The period is [itex]2\pi[/itex] so [itex]2p=2\pi[/itex], so [itex] p=\pi[/itex] so you should just have nx inside the integrals.
 
  • #5
LCKurtz said:
Why don't you cancel the [itex]\pi[/itex]'s?

The period is [itex]2\pi[/itex] so [itex]2p=2\pi[/itex], so [itex] p=\pi[/itex] so you should just have nx inside the integrals.

Okay, but besides from that I hopefully used the formel definition for a_n and b_n correctly ?

[tex]a_n: = \frac{1}{\pi} \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^2 \cdot cos(\frac{nx\pi}{\pi}) dx + \frac{1}{\pi} \int_\frac{\pi}{2}^{\frac{3\pi}{2}} \frac{1}{4}\pi^2 cos(\frac{nx\pi}{\pi}) dx[/tex]?

and my b_n is

[tex]b_n: = \frac{1}{\pi} \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^2 \cdot sin(\frac{nx\pi}{\pi}) dx + \frac{1}{\pi} \int_\frac{\pi}{2}^{\frac{3\pi}{2}} \frac{1}{4}\pi^2 sin(\frac{nx\pi}{\pi}) dx[/tex]?
 
  • #6
Yes. And of course a0 is different.
 
  • #7
LCKurtz said:
Yes. And of course a0 is different.

thanks :cool:
 

FAQ: Howto understand this periodic fourier series

What is a periodic Fourier series and how does it relate to Fourier analysis?

A periodic Fourier series is a mathematical representation of a periodic function as a combination of sine and cosine waves. It is a key tool in Fourier analysis, which is a mathematical technique used to decompose complex signals into simpler components in order to better understand their behavior.

How can I determine the coefficients of a periodic Fourier series?

The coefficients of a periodic Fourier series can be determined using the Fourier series formula, which involves integrating the function over a period. Alternatively, various software and online tools are available to calculate the coefficients for you.

How do I interpret the coefficients in a periodic Fourier series?

The coefficients in a periodic Fourier series represent the amplitudes of the sine and cosine waves that make up the function. The higher the coefficient, the more significant the corresponding wave is in the overall function.

Can a periodic Fourier series accurately represent any function?

No, a periodic Fourier series can only accurately represent functions that are periodic and have a finite number of discontinuities within a given period. If a function is not periodic or has an infinite number of discontinuities, a different mathematical technique is needed to accurately represent it.

How can I use a periodic Fourier series in practical applications?

Periodic Fourier series have a wide range of practical applications, including signal processing, data compression, and solving differential equations. They are also used in various fields of science and engineering to analyze and understand complex phenomena such as sound and electrical signals.

Similar threads

Replies
16
Views
1K
Replies
1
Views
1K
Replies
1
Views
912
Replies
5
Views
995
Replies
3
Views
1K
Replies
5
Views
2K
Back
Top