Complex Fourier Series
The representation of a periodic function or closed-loop drawing as an infinite sum of rotating complex numbers (vectors).
More
The general form is `f(t) = Σ c_n * e^(n*2πit)`.
Jun 29, 2019
The host of 3Blue1Brown explains the complex Fourier series, showing how summing rotating vectors can approximate any periodic drawing and how this connects to sums of sines and cosines.
The representation of a periodic function or closed-loop drawing as an infinite sum of rotating complex numbers (vectors).
The general form is `f(t) = Σ c_n * e^(n*2πit)`.
The visual representation of the complex Fourier series, where vectors are added tip-to-tail.
Each vector rotates at a constant integer frequency (`n`), with its length and starting angle determined by a coefficient (`c_n`). The tip of the final vector traces the desired path.
These are complex numbers that define the initial size (magnitude) and starting angle (phase) for each rotating vector.
They are calculated using an integral that essentially isolates the contribution of each frequency component from the original function.
Positive frequencies represent counter-clockwise rotation, negative frequencies represent clockwise rotation, and the zero frequency (`n=0`) term is a stationary vector representing the center of mass of the drawing.
Each term in the series corresponds to an integer frequency.
The function `e^(it)` is used to represent rotation in the complex plane.
This simplifies the mathematics, as combining rotations becomes a matter of adding exponents, which is much cleaner than using trigonometric identities for sines and cosines.
“By tweaking the initial size and angle of each vector, we can make it draw pretty much anything that we want.”
“This integral is a sort of clever way to kill all of the terms that aren't c2, and leave you only with the still part.”
“It's at this point that Fourier gains immortality.”
“What's even crazier, is that the ultimate formula for all of this is incredibly short.”
f(t) = Σ c_n * e^(n*2πit).n), with its length and starting angle determined by a coefficient (c_n). The tip of the final vector traces the desired path.n=0) term is a stationary vector representing the center of mass of the drawing.e^(it) is used to represent rotation in the complex plane. This simplifies the mathematics, as combining rotations becomes a matter of adding exponents, which is much cleaner than using trigonometric identities for sines and cosines.c_n) is a mathematical tool for measuring the "amount" of a specific frequency within a function. It works by "unwinding" the function at a certain rate to make the target frequency stationary, then averaging over time to isolate its contribution.The narrator makes a striking promise: by tweaking the initial size and angle of rotating vectors, we can make them draw pretty much anything that we want, using an ultimate formula that is incredibly short. In this episode, which came out on June 29, 2019, a narrator guides us through a visual introduction to the mathematics of the complex Fourier series. By the end, you will understand how any periodic drawing can be approximated by adding up simple circular motions, and how the math behind it actually works.
How to turn any closed loop drawing into an infinite sum of spinning arrows. Joseph Fourier gained immortality for the bold and initially counterintuitive claim that any function, even a discontinuous one, could be represented as a sum of sine waves. The complex Fourier series expands on this by representing any periodic function or closed loop drawing as an infinite sum of rotating complex numbers, which act as vectors. It connects this rotational view to the traditional real valued Fourier series, showing that sums of sines and cosines are just a special case of this broader idea.
To see this sum in action, we can look at the visual representation of the series, where spinning vectors are chained together to trace intricate shapes. These rotating vectors are often called epicycles. Instead of spinning around the same center, the vectors are added tip to tail, like a chain of connected arms where each joint spins at its own steady pace. Each vector rotates at a constant integer frequency, with its length and starting angle set by a specific coefficient, and the tip of the very last vector in the chain traces out the desired path.
Those spinning vectors get their directions and speeds from simple whole numbers. Each term in the series corresponds to an integer frequency, which dictates how the vector moves. Positive integer frequencies represent counter clockwise rotation, while negative frequencies represent clockwise rotation. Right at the middle of the series is the zero frequency term, which does not spin at all, acting instead as a stationary vector that represents the center of mass of the entire drawing.
Knowing how fast the vectors spin is only half the puzzle, because you still need a way to find the exact starting size and angle for every single vector in the chain. These starting instructions are called Fourier coefficients, and they are complex numbers that define both the initial magnitude and the starting phase for each rotating vector. To calculate them, you use an integral that essentially isolates the contribution of one specific frequency component from the original function. The integral works by unwinding the function at a certain rate to make the target frequency stationary, so that when you average it over time, all the other rotating parts cancel out and leave you only with the still part.
The secret to making all of this spinning math clean and manageable lies in how we write down the rotations. The series uses complex exponentials, specifically raising the number e to an imaginary power over time, to represent rotation in the complex plane. This is the most natural and efficient way to describe rotations and oscillations. It greatly simplifies the mathematics, because combining rotations becomes a simple algebraic matter of adding exponents, which is much cleaner than working through trigonometric identities for sines and cosines.
Remember that complex, periodic motions or shapes can always be understood by breaking them down into a sum of simple, constant speed circular motions. It gives you a powerful mental model for analyzing any system that involves cycles or waves. By tweaking the initial size and angle of each vector, we can make it draw pretty much anything that we want.
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
3Blue1Brown
Physics Podcast with FAROOQ AFZAAL
Numberphile
Math & Physics Podcast
Machine Learning Street Talk
Numberphile
SmarterEveryDay
Theories of Everything with Curt Jaimungal