Source
Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree
A Fourier series writes a periodic function as a sum of sines and cosines. In this course it appears in the PDE topic, where the initial condition must be written as a Fourier sine series on .
Full Fourier series (period 2L)
For reference, a function with period can be written
Half-range sine series
If is only given on , extend it as an odd function. Then all and
Every term is 0 at and , which is exactly why it matches the zero boundary conditions of the heat equation.
Why the formula works
The sine functions are orthogonal on :
Multiply by and integrate: every term dies except , leaving .
Worked example
Sine series of on . Integrating by parts twice:
Even terms vanish because is symmetric about while for even is antisymmetric about it. The first term alone, , already gives at the middle against the true .
These coefficients are used directly in Heat Equation by Separation of Variables.