A Fourier series is a method of approximating a periodic function as a (possibly infinite) sum of sinusoidal functions by decomposing it into individual signals. Any odd function can be purely constructed from sines, and likewise any even function can be constructed purely from cosines. By combining them, a series representation can be found for any periodic function. Unlike a Taylor series, the Fourier series does not require all the derivatives of a function to exist.
The formula for the Fourier series of a periodic function is
By Euler's formula, these can be combined into the single series.