1.★ Final term past paperLecture 405 marks
Determine the Fourier coefficient bₙ of the function f(x) = x², 0 < x < 2π.
Show answerJawab dekhein
bₙ = (1/π)∫₀^{2π} x² sin nx dx. Integrating by parts: ∫ x² sin nx dx = −x² cos nx/n + 2x sin nx/n² + 2 cos nx/n³. From 0 to 2π (cos 2nπ = 1, sin 2nπ = 0): (−4π²/n + 2/n³) − (2/n³) = −4π²/n. Hence bₙ = −4π/n.
2.★ Final term Spring 2006Lecture 4010 marks
Determine the Fourier coefficients a₀, aₙ and bₙ for a periodic function of period 2π defined by f(x) = −x for −π ≤ x < 0, and f(x) = 0 for 0 ≤ x < π.
Show answerJawab dekhein
Using f(x) = a₀/2 + Σ(aₙ cos nx + bₙ sin nx), aₙ = (1/π)∫₋π^π f cos nx dx, bₙ = (1/π)∫₋π^π f sin nx dx. a₀ = (1/π)∫₋π⁰ (−x) dx = (1/π)(π²/2) = π/2 (so the constant term a₀/2 = π/4). aₙ = −(1/π)∫₋π⁰ x cos nx dx; ∫ x cos nx dx = x sin nx/n + cos nx/n², so ∫₋π⁰ = 1/n² − (−1)ⁿ/n²; aₙ = ((−1)ⁿ − 1)/(πn²), i.e. aₙ = −2/(πn²) for odd n and 0 for even n. bₙ = −(1/π)∫₋π⁰ x sin nx dx; ∫ x sin nx dx = −x cos nx/n + sin nx/n², so ∫₋π⁰ = 0 − π(−1)ⁿ/n; bₙ = (−1)ⁿ/n. Hence f(x) = π/4 − (2/π)Σ_{n odd} cos nx/n² + Σ_{n≥1} (−1)ⁿ sin nx/n.