Using a Fourier Cosine Series to evaluate a sum

Click For Summary

Homework Help Overview

The discussion revolves around evaluating a sum using the Fourier Cosine Series for the function f(x) = x over the interval [0, L]. Participants are exploring the implications of the series representation and its application to the sum of reciprocals of squares.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the derivation of the Fourier Cosine Series and express uncertainty about how to extract even terms from the series to evaluate the sum. There are suggestions about differentiating the series and considerations regarding the continuity of the function's derivative.

Discussion Status

Some participants have provided insights on how to choose values for x and L to facilitate the extraction of the desired series. There is acknowledgment of the need to clarify the function's definition outside the specified interval, which may affect the series' properties.

Contextual Notes

There are mentions of potential misinterpretations regarding the function's behavior at the endpoints of the interval and the nature of the Fourier series representation. The discussion also touches on the distinction between odd and even terms in the series.

richyw
Messages
179
Reaction score
0

Homework Statement



a) Show that the Fourier Cosine Series of f(x)=x,\quad 0\leq x<L is
x ~ \frac{L}{2}-\frac{4 L}{\pi ^2}\left[\left(\frac{\pi x}{L}\right)+ \frac{\cos\left(\frac{3\pi x}{L}\right)}{3^2}+\frac{\cos\left(\frac{5 \pi x}{L}\right)}{5^2}+\dots\right]

b) use the above series to evaluate the sum1+\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+...

Homework Equations



Fourier Cosine Series General form

The Attempt at a Solution



So I have done part a, but I am lost on how to do part b. I don't understand how to get the even terms? Perhaps I need to differentiate the series, which would pull an n out, making the n's even.

To differentiate term by term a cosine series I need f'(x) to be piecewise continuous. Which I think it is.
 
Last edited:
Physics news on Phys.org
Fixed LaTeX:

richyw said:

Homework Statement



a) Show that the Fourier Cosine Series of f(x)=x,\quad 0\leq x<L is
x \sim \frac{L}{2}-\frac{4 L}{\pi ^2}\left[ \cos\left(\frac{\pi x}{L}\right)+ \frac{\cos\left(\frac{3\pi x}{L}\right)}{3^2}+\frac{\cos\left(\frac{5\pi x}{L}\right)}{5^2}+ ...\right]

b) use the above series to evaluate the sum1+\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+...

Homework Equations



Fourier Cosine Series General form

The Attempt at a Solution



So I have done part a, but I am lost on how to do part b. I don't understand how to get the even terms? Perhaps I need to differentiate the series, which would pull an n out, making the n's even.

To differentiate term by term a cosine series I need f'(x) to be piecewise continuous. Which I think it is.
 
micromass said:
Fixed LaTeX:

thanks. I did too. I had to quickly reinstall LaTeXiT from macports :smile:
 
micromass said:
Anyway, what you need to do is choose ##x## (and perhaps ##L##) suitably such that you can extract the series ##\sum \frac{1}{n^2}## out of there.

but my Fourier series only has the odd-n terms?
 
I'll assume the Fourier expansion is correct.

What you need to do is to choose ##x## (and perhaps ##L##) wisely in order to extract an interesting series.

Now, also note the following:

Take

S = 1 + \frac{1}{2^2} + \frac{1}{3^2} + \frac{1}{4^2} + \frac{1}{5^2} + ...

then

S = \left(1 + \frac{1}{3^2} + \frac{1}{5^2} + ... \right) + \left(\frac{1}{2^2} + \frac{1}{4^2} + ...\right)

But

\frac{1}{2^2} + \frac{1}{4^2} + \frac{1}{6^2} + ...= \frac{1}{4}\left(1 + \frac{1}{2^2}+ \frac{1}{3^2} + ...\right)= \frac{S}{4}

So differentiating is unnecessary.
 
ok my initial guess was wrong obviously. because it would not make the n's even, it would make them not squared...
 
First think about, what you get, setting x=L. Then you can think further about how to get the given series from this!
 
ok. I don't really have time to show my work, but I ended up with π^2/6. Is this the correct answer?

the trick I didn't get was that part with the s/4
 
richyw said:
ok. I don't really have time to show my work, but I ended up with π^2/6. Is this the correct answer?

the trick I didn't get was that part with the s/4

You have the correct answer!

http://en.wikipedia.org/wiki/Basel_problem
 
  • #10
micromass said:
Fixed LaTeX:

Actually, this is the Fourier series of the even function ##f(x) = |x|, -L \leq x \leq L##, extended to the whole real line as a periodic function of period ##2L##. Basically, the person posing the question needs to specify ##f(x)## outside the desired interval ##[0,L]##. If that is not done correctly the Fourier series won't be pure 'cosine' and/or might not be continuous at ##\pm \, L##, leading to a mis-match between f and the sum of the series at those points.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K