Fourier series: even and odd functions, convergence and other periods
A function has only one Fourier series, and that settles the shortcuts: an even function has only cosine terms, an odd one only sine terms, and their coefficients can be computed over half the interval, aₙ = (2/π)∫₀^π f cos nt dt or bₙ = (2/π)∫₀^π f sin nt dt. The sawtooth f(t) = t on (−π, π) has the series 2Σ(−1)ⁿ⁺¹ sin(nt)/n. Unlike a Taylor series, a Fourier series approximates over the whole interval, not near one point. It converges to f where f is continuous and to the midpoint of each jump. For period 2L, use cos(nπt/L) and sin(nπt/L) with π replaced by L in the formulas. A function on a finite interval can be extended to an even or odd periodic function and then expanded.
Since an and bn are given by formulas, a function determines its coefficients: if f(t)=g(t), they have the same Fourier series, coefficient by coefficient (transcript, p. 1). What happens at single points does not matter, since the integrals ignore them (p. 1).
If f is even, f(−t)=f(t), its Fourier series has only cosine terms: every bn=0 (transcript, p. 2). Proof by uniqueness (pp. 2–3): substituting −t for t leaves each cosnt alone and changes the sign of each sinnt, so
Series of f(−t)
f(−t)=2a0+n=1∑∞(ancosnt−bnsinnt)
In words
f(-t) equals a nought over 2 plus the sum from n equals 1 to infinity of the quantity a sub n cos n t minus b sub n sine n t
For even f this is the same function as f(t), so the two series agree: bn=−bn, and bn=0 (p. 3). This proves the converse of the obvious fact that a sum of cosines is even (p. 4). Likewise, if f is odd, every an=0, including a0 (p. 4).
Half the integral (pp. 4–5). If f is even, so is f(t)cosnt, and the integral of an even function over [−π,π] is twice that over [0,π], a much friendlier interval with fewer minus signs to lose (p. 5). If f is odd, f(t)sinnt is odd times odd, which is even: these are statements about functions, not about odd and even numbers (pp. 5–6). So (p. 5)
Half-interval formulas
f even: an=π2∫0πf(t)cosntdt;f odd: bn=π2∫0πf(t)sinntdt
In words
f even: a sub n equals 2 over pi, times the integral from 0 to pi of f(t) cos n t d t; f odd: b sub n equals 2 over pi, times the integral from 0 to pi of f(t) sine n t d t
b sub n equals 2 over pi, times the integral from 0 to pi of t sine n t d t equals 2 over pi, times the quantity ( minus t cos n t over n ) sub 0 to the power pi plus ( sine n t over n squared ) sub 0 to the power pi, equals 2 over n, times (-1) to the power n plus 1, end of power
t equals 2 the sum from n equals 1 to infinity of (-1) to the power n plus 1, end of power, over n, times sine n t equals 2 the quantity sine t minus sine 2 t over 2 plus sine 3 t over 3 minus and so on
Not a Taylor series (p. 9). The first term 2sint leaves the origin with slope 2, while t has slope 1: thinking "Taylor", that looks wrong. But a Taylor series concentrates on one point and improves there term by term, while a Fourier series tries to approximate the function as well as possible over the whole interval. Each new term corrects the sum everywhere, and the earlier coefficients never need changing (pp. 9–10).
Loading graph…
Partial sums of the sawtooth series 2∑(−1)n+1sin(nt)/n, computed from the formula: the first term already has the wrong slope at 0, but the sums improve over the whole interval at once.
The theorem, too far outside the course to prove, for the piecewise smooth functions of applications (the lecture states it without conditions; for an arbitrarycontinuous function it can fail) (transcript, pp. 10–12):
If f has a jump at t0, the usual kind of discontinuity in applications, the series converges to the midpoint of the jump (p. 11).
So the sawtooth series converges to t on (−π,π), but at ±π, where the function jumps from π down to −π, it converges to 0, whatever value f was given there (pp. 11–12). Here one can check it directly: at t=π every term is 0 (p. 12).
Applications rarely have period2π; often the half-period L is 1 (transcript, p. 15). Changing the variable stretches the axis: u=πt/L sends t=L to u=π (p. 13). The natural functions are cos(nπt/L) and sin(nπt/L), which have period2L, the sine vanishing at every multiple of L (pp. 13–14), and the formulas are the old ones with π replaced by L (p. 14):
f(t) equals a nought over 2 plus the sum from n equals 1 to infinity of the quantity a sub n cos n pi t over L plus b sub n sine n pi t over L, a sub n equals 1 over L, times the integral from minus L to L of f(t) cos n pi t over L, times d t
The odd periodic extension reflects f through the origin and repeats; it has a sine series.
For t2 on [0,1] the even extension is continuous, while the odd one jumps at ±1, where its series converges to the midpoints (pp. 15–16). Only the part on [0,L] is then used, for instance as the input of a differential equation (p. 16).
Worked example
Extensions and a convergence check
(a) Find the cosine series of the even extension of f(t)=t on [0,2]. (b) Find the sine series of the odd extension of f(t)=1 on [0,2]; what does it converge to at t=0? (c) Evaluate the sawtooth series at t=π/2, using 1−31+51−⋯=4π.
(a) A triangle wave of period 4
L=2. The constant term is 2a0=21∫02tdt=1, and an=∫02tcos2nπtdt=n2π24((−1)n−1): −n2π28 for odd n, 0 for even. So f=1−π28(cos2πt+91cos23πt+⋯).
(b) A square wave of period 4
bn=∫02sin2nπtdt=nπ2(1−cosnπ): nπ4 for odd n, 0 for even. At t=0 the extension jumps from −1 to 1, and every term of the series is 0: it converges to the midpoint, 0.
(c) The sawtooth at π/2
sin2nπ is 1,0,−1,0,…, so the series is 2(1−31+51−⋯)=2⋅4π=2π, which is f(π/2), as the theorem says at a point of continuity.
Today: the present time, about 13.8 billion years after the Big Bang in the real universe (simple models on some pages give other ages). Unit: s (usually billions of years).Say it: “t nought”.
A way of writing a repeating function as a sum of sines and cosines whose frequencies are whole-number multiples of one frequency. Explained in Normal modes of a string and Fourier series.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
A power series built from a function's derivatives at one point; its first few terms, a Taylor polynomial, approximate the function near that point. Explained in Stacking blocks and Taylor series.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
To settle towards a definite finite value: an integral, series or sequence converges when its partial results approach a limit. Explained in Improper integrals.
Still applies, with little change, in a new setting.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).