We will first start by reviewing Lecture 19 and our introduction of the Fourier convergence theorem. This involves Theorem 12.5 in the notes. In particular, the theorem states that if ff is a 2π2π-periodic function with ff and f′f′ continuous on the interval (−π,π)(−π,π), then the Fourier series of ff at xx converges to the average of the left- and right-limits. Thus 12[f(x−)+f(x+)]=a02+∞∑1[ancos(nx)+bnsin(nx)]12[f(x−)+f(x+)]=a02+∞∑1[ancos(nx)+bnsin(nx)]
We'll draw some pictures of how to visualise the theorem. We will also discuss again this notion of pointwise convergence vs. uniform convergence and the notion of the Gibbs' Phenomenon.
Next, we want to simply note that the Fourier series you've derived for 2π2π-periodic functions on [−π,π][−π,π] can be easily extended to functions defined on [−L,L][−L,L]. The truth is that we should really just have done the derivation like this from the get-go! This leads to:
Theorem 12.7: (Fourier coefficients for 2L2L-periodic function) Let ff be a periodic function with period 2L2L. Then f(x)∼a02+∞∑n=1[ancos(nπxL)+bnsin(nπxL)]f(x)∼a02+∞∑n=1[ancos(nπxL)+bnsin(nπxL)] where now the coefficients are calculated from an=1L∫L−Lf(x)cos(nπxL)dx bn=1L∫L−Lf(x)sin(nπxL)dx
There is a simple way to prove this based on what we already know. Let's take the function we have on [−L.L] and simply transform the domain so that it is now between [−π,π]. We can do that via X=πxL. Go ahead and verify that this works as indicated. You can verify that if f(x)=f(LX/π)=g(X), then this new function g(X) is 2π periodic and defined on [−π,pi]. So now we have the Fourier series for g(X). Go and write that down. After you have done that, you'll notice that you get the above formulae.
Remark 12.8. There is an important note here. Because of the 2L-periodicity, suppose we asked you to determine the Fourier series for a function on [0,2L] instead of [−L,L]. Then this is equivalent to using all the same formulae, but instead you integrate from 0 to 2L.
We are almost done. There is one last variation to explain. Occasionally, we want to derive the Fourier series of an even or odd- extension of a function that is defined on [0,L]. In other words, you would take that original function on [0,L], plot the even/odd extension to [−L,0], and then at that point you have a full function from [−L,L] so you can apply the usual Fourier series.
It is a lot easier to explain how this is done via a picture.
We'll draw the odd and even periodic extension of f(x)=x2 originally defined on [0,π], and then extended in an even or odd manner to [−π,π]. So for example fe(x)={x2x∈[0,π]x2x∈[−π,0] is the even extension, while fo(x)={x2x∈[0,π]−x2x∈[−π,0] is the odd extension.
Once you have drawn (or derived) the extension, then it becomes a simple matter to calculate the Fourier series. For example, since fe(x) is an even function then only cosines are present, and fe(x)∼a02+∞∑n=1ancos(nx), where an=2π∫π0x2cos(nx)dx. Above, we have used the even property to double up the integral over the positive x values. Similarly, the Fourier series for the odd extension is fo(x)∼∞∑n=1bnsin(nx), where bn=2π∫π0x2sin(nx)dx.