How Does the Fourier Series of a Square Wave Lead to the Leibniz Formula for Pi?

Click For Summary

Homework Help Overview

The discussion revolves around the relationship between the Fourier series of a square wave and the Leibniz formula for π. Participants are exploring how evaluating the Fourier series at a specific point, x = π/2, can lead to an alternating series representation of π.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants are attempting to understand the implications of the square wave being equal to 1 at x = π/2 and how this relates to the Fourier series. Questions arise regarding the definition of the square wave and the evaluation of the series at that point.

Discussion Status

Some participants have provided insights into the evaluation of the Fourier series and its convergence properties. There is an acknowledgment of potential misunderstandings regarding the series and its components, with some participants expressing uncertainty about their previous evaluations.

Contextual Notes

There are indications of confusion regarding the properties of the square wave and the evaluation of the Fourier series, as well as a mention of external factors affecting clarity of thought during the discussion.

FrogPad
Messages
801
Reaction score
0
Here is the question:
At [itex]x= \frac{\pi}{2}[/itex] the square wave equals 1. From the Fourier series at this point find the alternating sum that equals [itex]\pi[/itex].
[tex]\pi = 4(1 - \frac{1}{3}+\frac{1}{5}-\frac{1}{7} + \ldots[/tex]

I do not understand what the question is asking. I'm not knowledgeable enough with Fourier series to understand it I believe. This is my best guess:

I need to find the Fourier series of the square wave starting at [itex]\frac{\pi}{2}[/itex] fand this will "magically" yield the alternating series for [itex]\pi[/itex].

But I don't understand what "the square wave equals 1" part means. Do I define the square wave to jump to 1 at [itex]\frac{pi}{2}[/itex] instead of the typical wave (typical for me) where the wave is -1 from -pi to 0, and jumps to 1 at 0 to pi ?

Any help clarifying would be swell. Thanks :)

What's up with the LaTeX by the way?
 
Physics news on Phys.org
FrogPad said:
Here is the question:
At [itex]x= \frac{\pi}{2}[/itex] the square wave equals 1. From the Fourier series at this point find the alternating sum that equals [itex]\pi[/itex].
[tex]\pi = 4(1 - \frac{1}{3}+\frac{1}{5}-\frac{1}{7} + \ldots[/tex]

It says consider a square wave that is 1 at pi/2. The most casual one would be the one you mention later: the wave is -1 from -pi to 0, and jumps to 1 at 0 to pi. The Fourier series of a function at a point, if it converges towards the function, equals the function evaluated at that point. See what you get when you evaluate the Fourier series of the square wave at x=pi/2.
 
For a problem before this one, I just got done evaluating the Fourier series for a square wave with properties:

-1 , -pi to 0
1 , 0 to pi

[tex]\hat f(x) = \frac{4}{\pi}\left(\frac{\sin x}{1}+\frac{\sin 3x}{3}+\frac{\sin 5x}{5}+\ldots\right)[/tex]

Evaluating the Fourier series at [itex]\frac{\pi}{2}[/itex] yields:
(It took me so long to realize what this means. :)

[tex]\hat f(\frac{\pi}{2}) = \frac{4}{\pi}\left(\frac{\sin \frac{\pi}{2}}{1}+\frac{\sin \frac{\pi}{2}}{3}+\frac{\sin \frac{\pi}{2}}{5}+\ldots \right)[/tex]

[tex]\hat f(\frac{\pi}{2}) = \frac{4}{\pi}\left(1 + \frac{1}{3} + \frac{1}{5} + \ldots \right)[/tex]

We know that the square wave at pi/2 is equal to 1 so:
[tex]1 = \frac{4}{\pi}\left(1 + \frac{1}{3} + \frac{1}{5} + \ldots \right)[/tex]

This can then be solved for [itex]\pi[/itex]. But! This is not correct. So is my Fourier series for the square wave wrong?
 
FrogPad said:
[tex]\hat f(x) = \frac{4}{\pi}\left(\frac{\sin x}{1}+\frac{\sin 3x}{3}+\frac{\sin 5x}{5}+\ldots\right)[/tex]

Evaluating the Fourier series at [itex]\frac{\pi}{2}[/itex] yields:
(It took me so long to realize what this means. :)

[tex]\hat f(\frac{\pi}{2}) = \frac{4}{\pi}\left(\frac{\sin \frac{\pi}{2}}{1}+\frac{\sin \frac{\pi}{2}}{3}+\frac{\sin \frac{\pi}{2}}{5}+\ldots \right)[/tex]

sin(3*pi/2) is not sin(pi/2)!
 
hahahahah...
yeah, you are right !

man, I took this stupid cold medicine. I'm just going to go to bed and work on this in the morning, because obviously I'm making some really dumb mistakes!


thanks you guys :)
that was actually an interesting problem.
 

Similar threads

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