Fourier Series

What is a Fourier series?

A Fourier series allows you to decompose a periodic function into a sum of complex sinusoidal waves of frequencies that is integer multiple of its fundamental frequency.

Introduction

Pasted image 20251122220856.png
We can express any closed function as a vector sum of rotating circles moving at different speeds, initial angle and amplitude.

Note

For a function en2iπt. It is rotating n times about the origin within a span of 1s

So any function can be expressed as f(t), f:RC. Where f is a linear combination of rotating complex numbers in the form of reit where t[0,1]

f(t)=+c1e12πit+c0e02πit+c1e12πit

or more simply

f(t)=n=cnen2πit

In addition, since

eaxdx=1aeax,a0

thus

01en2πitdt=12πin[e2nπit]01=12πin(11)=0,n0

However, if n=0.

01e02πitdt=1

To find c0 we can take the integral of f(t) from 0 to 1.

c0=01f(t)dt=+c101e12πitdt+c001e02πitdt+c101e12πitdt+=0+0+c0+0+0

In addition, to find c1, we can take the integral of f(t)e12πit from 0 to 1.

c1=01f(t)e12πitdt=+c101e(11)2πitdt+c001e(01)2πitdt+c101e(11)2πitdt+=c1

Thus, we essentially make the integral in the c1 expression equate to 1. More generally

cn=01f(t)en2πitdt