Obtaining One Fourier Series from Another

In summary: Instead of squaring the Fourier series, I should have squared the function and integrated over the interval. In summary, the problem asks for the Fourier series of f(x) = x on the interval (-π,π), which is given by x = \sum_{n=1}^{\infty} \frac{2}{n} (-1)^{n+1} \sin(nx). The question then asks to use this result to find the Fourier series of g(x) = x^2, which is given by x^2 = \frac{\pi^2}{3} + \sum_{n=1}^{\infty} \frac{4}{n^2}(-1)^{n}
  • #1
FeDeX_LaTeX
Gold Member
437
13

Homework Statement


(a) On (-π,π), find the Fourier series of f(x) = x.
(b) Hence, or otherwise, find the Fourier series of g(x) = x2
(c) Hence, show that [tex]\sum_{n=1}^{\infty} \frac{1}{n^4} = \frac{\pi^4}{90}[/tex]

Homework Equations


[tex]f(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty} \left( a_n \cos \frac{n \pi x}{L} + b_n \sin \frac{n \pi x}{L} \right)[/tex]

where

[tex]a_0 = \frac{1}{L} \int_{-L}^{L} f(x) dx[/tex]

[tex]a_n = \frac{1}{L} \int_{-L}^{L} f(x) \cos \left( \frac{n \pi x}{L} \right) dx[/tex]

[tex]b_n = \frac{1}{L} \int_{-L}^{L} f(x) \sin \left( \frac{n \pi x}{L} \right) dx[/tex]

The Attempt at a Solution


I found (a) as

[tex]x = \sum_{n=1}^{\infty} \frac{2}{n} (-1)^{n+1} \sin(nx)[/tex]

but for (b), how do I obtain the Fourier series for x2, without starting from scratch? I can derive that Fourier series fine and I use Parseval's identity for the last part and the result follows -- but I'm just puzzled about the 'hence' part of question (b). Are you supposed to integrate both sides from 0 to x? Doing that doesn't seem to give me the Fourier series for x2...
 
Physics news on Phys.org
  • #2
FeDeX_LaTeX said:
Are you supposed to integrate both sides from 0 to x?

Yes.
 
  • #3
micromass said:
Yes.

But when I do that, I get:

[tex]x^2 = \sum_{n=1}^{\infty} \frac{4}{n^2}(-1)^{n} (\cos(nx) - 1)[/tex]

and it has also not included the first term, a0. What am I doing wrong?

The actual result is supposed to be:

[tex]x^2 = \frac{\pi^2}{3} + \sum_{n=1}^{\infty} \frac{4}{n^2}(-1)^{n}(\cos(nx))[/tex]
 
  • #4
FeDeX_LaTeX said:
But when I do that, I get:

[tex]x^2 = \sum_{n=1}^{\infty} \frac{4}{n^2}(-1)^{n} (\cos(nx) - 1)[/tex]

and it has also not included the first term, a0. What am I doing wrong?

The actual result is supposed to be:

[tex]x^2 = \frac{\pi^2}{3} + \sum_{n=1}^{\infty} \frac{4}{n^2}(-1)^{n}(\cos(nx))[/tex]

[tex] \sum_{n=1}^{+\infty} \frac{4}{n^2} (-1)^n (\cos(nx) - 1) = - \sum_{n=1}^{+\infty} \frac{4(-1)^n}{n^2} + \sum_{n=1}^{+\infty} \frac{4}{n^2} (-1)^n\cos(nx)[/tex]

So there's your ##a_0##.
 
  • #5
micromass said:
[tex] \sum_{n=1}^{+\infty} \frac{4}{n^2} (-1)^n (\cos(nx) - 1) = - \sum_{n=1}^{+\infty} \frac{4(-1)^n}{n^2} + \sum_{n=1}^{+\infty} \frac{4}{n^2} (-1)^n\cos(nx)[/tex]

So there's your ##a_0##.

Oh, I see... but is that term ##a_0## or ##a_0 / 2##?
 
  • #6
FeDeX_LaTeX said:
Oh, I see... but is that term ##a_0## or ##a_0 / 2##?

It's ##a_0/2##.
 
  • #7
micromass said:
It's ##a_0/2##.

OK, but then with Parseval's identity I don't seem to be able to get the result... what am I doing wrong below:

[tex]\int_{-\pi}^{\pi} x^4 dx = \pi \sum_{n=1}^{\infty} \frac{32}{n^4} + \pi \sum_{n=1}^{\infty} \frac{16}{n^4} = \pi \sum_{n=1}^{\infty} \frac{48}{n^4}[/tex]

which leads to

[tex]\sum_{n=1}^{\infty} \frac{1}{n^4} = \frac{\pi^4}{120}[/tex]

?
 
  • #8
Please don't tell me you just did

[tex]\left(\sum x_n\right)^2 = \sum x^2_n[/tex]

Cause it looks like you did.
 
  • #9
Oops... applied Parseval's identity in the wrong sense there.
 

FAQ: Obtaining One Fourier Series from Another

What is the difference between a Fourier series and a Fourier transform?

A Fourier series represents a periodic function as a combination of sine and cosine waves, while a Fourier transform represents a non-periodic function as a combination of complex exponential functions. Essentially, a Fourier series is a special case of a Fourier transform for periodic functions.

How can one obtain a Fourier series from another one?

To obtain one Fourier series from another, the two series must have the same fundamental frequency. This can be achieved by scaling the time variable or by shifting the phase of the series. Once the fundamental frequency is aligned, the coefficients of the two series can be compared to determine the relationship between them.

What is the importance of obtaining one Fourier series from another?

Obtaining one Fourier series from another allows for the representation of a function in different forms, which can be useful for different applications. It also allows for the analysis and comparison of different functions in terms of their frequency components.

Can a Fourier series be obtained from a non-periodic function?

No, a Fourier series can only be obtained from a periodic function. For non-periodic functions, a Fourier transform is used instead.

Are there any limitations or drawbacks to obtaining one Fourier series from another?

One limitation is that the two series must have the same fundamental frequency, which may not always be possible for more complex functions. Additionally, the process of obtaining one series from another may be time-consuming and require advanced mathematical calculations.

Similar threads

Replies
1
Views
908
Replies
6
Views
991
Replies
16
Views
1K
Replies
3
Views
1K
Replies
1
Views
1K
Replies
1
Views
1K
Back
Top