The Fast Fourier Transform (FFT): Most Ingenious Algorithm Ever?
In this video, we take a look at one of the most beautiful algorithms ever created: the Fast Fourier Transform (FFT). This is a tricky algorithm to understand so we take a look at it in a context that we are all familiar with: polynomial multiplication. You will see how the core ideas of the FFT can be “discovered“ through asking the right questions. The key insights that are presented in this video is that polynomial multiplication can be improved significantly by multiplying polynomials in a special value representation. The challenge that presents itself is the problem of converting a polynomial from a standard coefficient representation to value representation.
We see that the FFT is an incredibly efficient recursive algorithm that performs this task, and we also discover that a slightly tweaked FFT (Inverse FFT) can also solve the reverse problem of interpolation. If this video doesn’t blow your mind, I don’t know what will.
0:00 Introduction
2:19 Polynomial Multiplication
3:36 Polynomial Representation
6:06 Value Representation Advantages
7:07 Polynomial Multiplication Flowchart
8:04 Polynomial Evaluation
13:49 Which Evaluation Points?
16:30 Why Nth Roots of Unity?
18:28 FFT Implementation
22:47 Interpolation and Inverse FFT
26:49 Recap
Also a subtle mistake that a commenter made me aware of -- at 26:40 instead of replacing w with (1/n * e^{-2 * pi i/ n}), the actual right way to do this is by taking the final output of the IFFT at the end of the recursion and dividing by n.
So the full change is w = e^{-2 pi i / n}
And then somewhere outside the scope of the IFFT function ifft_result = 1/n * IFFT(values)
The treatment of the FFT in this video is inspired by several well known references, mainly Introduction to Algorithms (Cormen et al.) and Algorithms (Papadimitriou et al.).
Support:
This video wouldn’t be possible without the open source manim library created by 3blue1brown:
Here is link to the repository that contains the code used to generate the animations in this video:
Elegant proof that the matrix used in the proof that (d 1) points uniquely define a degree d polynomial is invertible:
Music:
Lift Motif by Kevin MacLeod is licensed under a Creative Commons Attribution license ()
Source:
Artist:
All other music by Aakash Gandhi
SVG Attributions:
Earth: Designed by Flat Icons from , CC BY 4.0 , via Wikimedia Commons
GPS: Icons made by from
Wireless Comms: Design inspired by
0 views
144
37
1 week ago 00:03:32 0
Why Your Back Hates You: FLYCAM Flowline Fixes It (Camera Rigs Just Got Comfy!) - YouTube
2 weeks ago 00:24:13 2
Gran Turismo 7 [Ferrari 812 Superfast ’17 - 969 л.с. 809,5 H/м][PS5 Pro 4K 60FPS]
2 weeks ago 00:01:09 1
COSRX Snail Mucin 96% Power Repairing Essence 3 38 fl oz 100ml
2 weeks ago 00:06:27 1
How to increase followers on Instagram🚀Free Instagram Followers❤️(Working 100%✅)
2 weeks ago 00:02:20 2
“Billionaire Breakup 💔“ ft. Donald Trump & Elon Musk #Ai
3 weeks ago 00:03:37 0
This Acer Nitro 16 Is So Fast It Might Just Break Time | RTX 4070 + Ryzen 9 Madness! - YouTube
4 weeks ago 00:04:59 29
Girls Wrestling & MMA – Brutal Submission Moves Compilation!
1 month ago 00:03:44 0
Your CCTV Setup Is Lying to You | This Tester Exposes Everything in 7 Inches! - YouTube
1 month ago 00:02:54 0
Nobody 2 | Official Trailer
1 month ago 00:17:57 0
Unturned w/ Youtubers | ROAD TRIP TO HELL! | Part 3, Gameplay, Indie Game
1 month ago 00:13:29 24
Everything Wrong With Lance Stroll
1 month ago 00:03:28 0
Shaky Hands? Stormy Skies? Canon 18x50 Binocs Crush Blur, Fog & Distance Like a Navy SEAL Sniper - YouTube
2 months ago 00:02:04 1
GY-S600 600W LED BWS Profile Moving Head
2 months ago 00:00:18 0
GP20 pro 48,000mah Portable Power Bank for Camping Fishing
2 months ago 00:15:40 0
Say These 100 DIFFICULT WORDS in a British Accent! (MODERN RP)
2 months ago 00:51:44 0
DOORS OF CHANGE OPEN TO ABUNDANT LIFE and HEARTS OF CELEBRITIES IN SUPPORT OF THE LGBTQIA+ HOMELESS
2 months ago 00:03:47 0
Color-Me-Crazy Lighting Beast: The Aputure Amaran 300c That’ll Melt Your Boring Gear Regrets - YouTube
2 months ago 00:04:29 0
Saint Petersburg Aerial
3 months ago 00:03:53 184
250411 LISA (BLACKPINK) - Lifestyle (Live at Coachella 2025)
3 months ago 00:53:47 0
Huroof al Muqattaʿat: Divine Keys Like Crypto Seed Words
3 months ago 00:15:27 0
Fasting Your Vision → Cleans Your Eyes → Invites the Gift of Spiritual Discernment
3 months ago 00:03:39 0
Print Like a Boss Anywhere: HP’s Tiny Tank with Big Attitude & Bluetooth Bragging Rights! - YouTube
3 months ago 00:20:15 2
Karoline Leavitt’s Lifestyle 2025★ House Tour, Husband, Children, Cars, Net Worth....