MTH 440 · Partial Differential Equation
Our notes
2 min readThe idea
A periodic function of period 2L can be written as a sum of sines and cosines:
f(x) = a₀/2 + Σ [aₙ cos(nπx/L) + bₙ sin(nπx/L)], with
aₙ = (1/L) ∫₋ₗᴸ f(x) cos(nπx/L) dx, bₙ = (1/L) ∫₋ₗᴸ f(x) sin(nπx/L) dx.
These come from the orthogonality of sines and cosines over a period.
Odd and even functions
- Even f (f(−x) = f(x)): only cosines; aₙ = (2/L)∫₀ᴸ f cos(nπx/L) dx.
- Odd f (f(−x) = −f(x)): only sines; bₙ = (2/L)∫₀ᴸ f sin(nπx/L) dx.
Worked example 1
f(x) = x on (−π, π), extended with period 2π. f is odd, L = π:
bₙ = (2/π) ∫₀^π x sin nx dx. Integrating by parts, ∫₀^π x sin nx dx = [−x cos nx / n]₀^π + (1/n)∫₀^π cos nx dx = −π cos(nπ)/n + 0 = π(−1)ⁿ⁺¹/n.
So bₙ = 2(−1)ⁿ⁺¹/n and x = 2[sin x − (sin 2x)/2 + (sin 3x)/3 − ...].
Putting x = π/2: π/2 = 2(1 − 1/3 + 1/5 − ...), which gives the famous result π/4 = 1 − 1/3 + 1/5 − ... (a good check).
Half-range series
A function given only on (0, L) can be extended as odd (giving a sine series) or even (giving a cosine series). Boundary-value problems decide which.
Worked example 2. f(x) = 1 on (0, L), sine series: bₙ = (2/L)∫₀ᴸ sin(nπx/L) dx = (2/nπ)(1 − cos nπ) = 4/(nπ) for odd n, 0 for even n. So 1 = (4/π)[sin(πx/L) + (1/3)sin(3πx/L) + ...] on (0, L).
Convergence (Dirichlet conditions)
If f is piecewise smooth on a period, its Fourier series converges to f(x) where f is continuous, and to the average of the left and right limits at a jump. Near a jump, partial sums overshoot by about 9% of the jump (the Gibbs phenomenon), however many terms are taken.
Parseval's identity
(1/L)∫₋ₗᴸ f² dx = a₀²/2 + Σ(aₙ² + bₙ²). Applied to f(x) = x on (−π, π): (1/π)(2π³/3) = Σ 4/n², so Σ 1/n² = π²/6.
Exams usually ask: find the Fourier series of a given function; use odd/even symmetry; find half-range sine or cosine series; state convergence at a discontinuity; use Parseval to sum a series.
Common mistake: forgetting the factor ½ on a₀. With aₙ defined as above, the constant term is a₀/2, which equals the mean value of f.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Differential Equations - Fourier Series
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Differential Equations - Fourier Sine Series
Paul's Online Notes: worked examples step by step. About 0.5 MB a page.
(opens tutorial.math.lamar.edu in a new tab)
-
Lebl, Notes on Diffy Qs, 4.2 The trigonometric series
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
-
Lebl, Notes on Diffy Qs: Differential Equations for Engineers
A whole free textbook: read online or download the PDF (about 4 MB). Every MTH 340 topic, with exercises and answers.
(opens jirka.org in a new tab)
Jiří Lebl, Notes on Diffy Qs, CC BY-NC-SA 4.0 · licence
-
Trench, Elementary Differential Equations (free edition)
A whole free textbook (PDF from the page). Strong on existence and uniqueness, linear theory, Cauchy-Euler, series and Frobenius, Laplace and boundary-value problems.
(opens digitalcommons.trinity.edu in a new tab)
William F. Trench, Elementary Differential Equations, CC BY-NC-SA 3.0 · licence
Watch
-
Intro to FOURIER SERIES: The Big Idea
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
How to Compute a FOURIER SERIES // Formulas & Full Example
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Computing the Fourier Series of EVEN or ODD Functions **full example**
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Fourier Series and Transforms Part 1: Concepts in Frequency Analysis
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
But what is a Fourier series? From heat flow to drawing with circles | DE4
25 min · ≈ 113 MB · about ₦63
(opens youtube.com in a new tab)
-
Lec 15 | MIT 18.03 Differential Equations, Spring 2006
50 min · ≈ 225 MB · about ₦126
(opens youtube.com in a new tab)
-
Lec 17 | MIT 18.03 Differential Equations, Spring 2006
46 min · ≈ 207 MB · about ₦116
(opens youtube.com in a new tab)
-
Heat equation + Fourier series + separation of variables
42 min · ≈ 189 MB · about ₦106
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.