Finding the value of pi/4 using Fourier series

Click For Summary

Homework Help Overview

The problem involves finding the value of \(\frac{\pi}{4}\) using Fourier series, specifically through the analysis of a piecewise function defined on the interval \([- \pi, \pi]\). The function takes the value of -1 in the interval \((-\pi, 0)\) and 0 in the interval \((0, \pi)\). The task is to show that the series \(\sum^{\infty}_{0}\frac{(-1)^n}{2n+1}=\frac{\pi}{4}\).

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the calculation of Fourier coefficients \(a_0\), \(a_n\), and \(b_n\) for the given function. There is an attempt to derive a series representation and relate it to known series. Questions arise regarding the validity of evaluating the function at \(x = \frac{3\pi}{2}\) and the implications of the periodicity of the function.

Discussion Status

The discussion is ongoing, with participants exploring the implications of the function's definition and periodicity. Some guidance has been offered regarding the evaluation of the function at specific points, but there is no explicit consensus on the next steps or resolution of the problem.

Contextual Notes

Participants note that the function is periodic with a period of \(2\pi\), which affects the evaluation of the function at points outside the primary interval. There is also a recognition of the need to clarify the behavior of the function at certain points, such as \(x = \frac{3\pi}{2}\).

phosgene
Messages
145
Reaction score
1

Homework Statement



The function f(x) is defined by:

[itex]f(x) = -1[/itex] when [itex]\pi < x <0[/itex] and [itex]0[/itex] when [itex]0<x<\pi[/itex]

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

Homework Equations



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

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

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

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

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 [itex]a_{0}=-1/2[/itex] and [itex]a_{n}=0[/itex].

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

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

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

I can turn this into a series similar to the alternative harmonic series by letting [itex]x=3\pi/2[/itex], giving me [itex]-1/2 + \sum_{0}^{∞}\frac{2(-1)^{n}}{\pi(2n+1)}[/itex]. 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 [itex]x=3\pi/2[/itex]

But your original function is not defined when [itex]x=3\pi/2[/itex].
 
Oh, sorry, I forgot to add that [itex]f(x+2\pi)=f(x)[/itex]
 
Well then, what is f(3π/2)?
 
  • Like
Likes   Reactions: 1 person
Ah, right. 0. I got caught up thinking about what sin(nx) was doing instead of f(x). Embarrassing! Thanks though.
 

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
2K
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K