Finding the value of pi/4 using Fourier series

Click For Summary
The discussion revolves around demonstrating that the series sum ∑(−1)^n/(2n+1) equals π/4 using Fourier series. The function f(x) is defined as -1 for π < x < 0 and 0 for 0 < x < π, leading to specific calculations for the Fourier coefficients a₀, aₙ, and bₙ. The user correctly identifies that bₙ can be calculated as 2/(π(2n+1)), which is then incorporated into the Fourier series. A substitution of x = 3π/2 is proposed to relate the series to the alternating harmonic series, but the user initially confuses the function's definition at that point. Ultimately, the discussion highlights the importance of correctly applying the function's periodicity and values in Fourier analysis.
phosgene
Messages
145
Reaction score
1

Homework Statement



The function f(x) is defined by:

f(x) = -1 when \pi &lt; x &lt;0 and 0 when 0&lt;x&lt;\pi

Show that \sum^{∞}_{0}\frac{(-1)^n}{2n+1}=\frac{\pi}{4}

Homework Equations



Fourier series for a function of period 2\pi = a_{0} + \sum^{∞}_{1}a_{n}cos(nx) + b_{n}sin(nx)

a_{0}=\frac{1}{2\pi}\int_{-\pi}^{\pi}cos(nx)dx

a_{n}=\frac{1}{\pi}\int_{-\pi}^{\pi}f(x)cos(nx)dx

b_{n}=\frac{1}{\pi}\int_{-\pi}^{\pi}f(x)sin(nx)dx

The Attempt at a Solution



f(x)=0 between 0 and pi, so I can ignore that interval in all of the integrals and integrate from -pi to pi.

Doing this, I get a_{0}=-1/2 and a_{n}=0.

Then I do b_{n}=\frac{1}{\pi}\int_{-\pi}^{0}-sin(nx)dx=\frac{1}{\pi}[\frac{1-cos(n\pi)}{n}] since f(x)=-1 in the relevant interval.

\frac{1}{\pi}[\frac{1-cos(n\pi)}{n}]=\frac{1}{\pi}[\frac{1-(-1)^{n}}{n}]=\frac{2}{\pi(2n+1)}

I plug this value of b_{n} into the Fourier series, I get -1/2 + \sum_{0}^{∞}\frac{2}{\pi(2n+1)}sin(nx).

I can turn this into a series similar to the alternative harmonic series by letting x=3\pi/2, giving me -1/2 + \sum_{0}^{∞}\frac{2(-1)^{n}}{\pi(2n+1)}. Now the missing piece is showing that this is equal to 0, which I don't know how to do.
 
Physics news on Phys.org
phosgene said:
I can turn this into a series similar to the alternative harmonic series by letting x=3\pi/2

But your original function is not defined when x=3\pi/2.
 
Oh, sorry, I forgot to add that f(x+2\pi)=f(x)
 
Well then, what is f(3π/2)?
 
  • Like
Likes 1 person
Ah, right. 0. I got caught up thinking about what sin(nx) was doing instead of f(x). Embarrassing! Thanks though.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K