Subject: Calculus

# Fourier Series

Fourier series were introduced by Joseph Fourier (1768–1830) for the purpose of solving problems in physics.

So far we have already discussed Taylor series and Maclaurin series which are special types of function expansion. With Taylor series, we give an approximate value of a function by expanding it as an infinite series of powers of the form,

Maclaurin series is a special case of Taylor series when c is equal to zero.

With Fourier series, we are interested in expanding a function as an infinite series of sines and cosines. Other functions can also be used instead of sines and cosines like the Legendre polynomials for more general expansions but we will be using sines and cosines for the examples. A Fourier series expansion is written as,

where a_0, a_n, and b_n for n =1, 2, 3,..., are called the Fourier coefficients.

## Deriving the Coefficients for 2π-periodic function

Suppose that the 2π-periodic function f has the Fourier series representation

The coefficients can then be solved using Euler formulas and are illustrated below.

### Computing a_0

From Equation (2), we integrate both sides over the interval [-\pi, \pi].

Since \int_{-\pi}^{\pi}\cos{nx}dx=\int_{-\pi}^{\pi}\sin{nx}dx=0 for n=1,2,3,..., we are then left with

Therefore,

### Computing a_n

From Equation (2), we multiply each side by \cos{mx} for a fixed integer m \geq 1 and integrate both sides over the interval [-\pi, \pi ].

We know that

and

is 0 when m \neq n, and \pi when m=n. We are then left with

Therefore

### Computing b_{n}

From Equation (2), we now multiply each side by \sin{mx} for a fixed integer m \geq 1 and integrate both sides over the interval [-\pi, \pi]. Following the same steps we have,

for m \geq 1.

**NEXT TOPIC**: Euler Maclaurin Formula