Maths Exam Solutions
Maths Exam Solutions
UNIT I: Fourier SeriesQuestion 1: Derive the Fourier Series for a Periodic Function
Derive the Fourier series for the function f(x) = x defined in the interval [-L, L]. Show all steps in the
The Fourier series for a function f(x) defined on [-L, L] is given by:
where the coefficients a0, a_n, and b_n are given by:
Solution:
1. Compute a0:
a0 = (1/L) Integral[-L, L] x dx = (1/L) [x^2/2] from -L to L = (1/L) (L^2/2 - (-L)^2/2) = (1/L) (L^2/2 +
2. Compute a_n:
This integral can be computed using integration by parts. Let u = x and dv = cos(n*pi*x/L) dx. Then,
a_n = -(-2L/((n*pi)^2))
a_n = 2L/(n*pi)^2
3. Compute b_n:
Again, use integration by parts. Let u = x and dv = sin(n*pi*x/L) dx. Then, du = dx and v = -(L/(n*pi))
cos(n*pi*x/L).
So, the Fourier series for f(x) = x defined in the interval [-L, L] is:
Maths Exam Solutions