2308 Application to Infinite Series
There is a famous formula found by Euler: ∞∑n=11n2=π26 We'll show how you can use a Fourier series to get this result.
Consider the period 2π function given by f(t)=t(π−t/2) on [0,2π].
First, we compute the Fourier series of f(t). Since f 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 2π rather than doubling the integral over the halfperiod.
For n=0 we have
a0=1π∫2π0t(π−t/2)dt=1π(πt22−t36)|2π0=1π(4π32−8π36)=23π2
and for n≠0 we have
an=1π∫2π0t(π−t/2)cos(nt)dt=1π([t(π−t/2)sin(nt)n]|2π0−∫2π0(π−t)sin(nt)ndt)=1π⋅−([(π−t)⋅−cos(nt)n2]|2π0−∫2π0cos(nt)n2dt)=1π((π−2π)−(π−0))1n2+1πsin(nt)n3|2π0=−2n2
Thus the Fourier series is f(t)=π23−2∑∞n=1cos(nt)n2
Since the function f(t) is continuous, the series converges to f(t) for all t.
Plugging in t=0, we then get
f(0)=t(π−t/2)=0=π23−2∞∑n=11n2
A little bit of algebra then gives Euler's result (1).