2308 Application to Infinite Series

There is a famous formula found by Euler: We'll show how you can use a Fourier series to get this result.

Consider the period function given by on .

First, we compute the Fourier series of . Since is even, the sine terms are all 0. For the cosine terms it is slightly easier to integrate over a full period from 0 to rather than doubling the integral over the halfperiod.
For we have and for we have Thus the Fourier series is
Since the function is continuous, the series converges to for all .
Plugging in , we then get A little bit of algebra then gives Euler's result .