Discrete convolutions, from probability to image processing and FFTs.
Video on the continuous case:
Help fund future projects:
Special thanks to these supporters: #thanks
An equally valuable form of support is to simply share the videos.
------------------
Other videos I referenced
Live lecture on image convolutions for the MIT Julia lab
Lecture on Discrete Fourier Transforms
Reducible video on FFTs
Veritasium video on FFTs
A small correction for the integer multiplication algorithm mentioned at the end. A “straightforward” application of FFT results in a runtime of O(N * log(n) log(log(n)) ). That log(log(n)) term is tiny, but it is only recently in 2019, Harvey and van der Hoeven found an algorithm that removed that log(log(n)) term.
Another small correction at 17:00. I describe O(N^2) as meaning “the number of operations needed scales with N^2“. However, this is technically what Theta(N^2) would mean. O(N^2) would mean that the number of operations needed is at most constant times N^2, in particular, it includes algorithms whose runtimes don’t actually have any N^2 term, but which are bounded by it. The distinction doesn’t matter in this case, since there is an explicit N^2 term.
These animations are largely made using a custom python library, manim. See the FAQ comments here:
#manim
You can find code for specific videos and projects here:
Music by Vincent Rubinetti.
Download the music on Bandcamp:
Stream the music on Spotify:
Timestamps
0:00 - Where do convolutions show up?
2:07 - Add two random variables
6:28 - A simple example
7:25 - Moving averages
8:32 - Image processing
13:42 - Measuring runtime
14:40 - Polynomial multiplication
18:10 - Speeding up with FFTs
21:22 - Concluding thoughts
------------------
3blue1brown is a channel about animating math, in all senses of the word animate. And you know the drill with YouTube, if you want to stay posted on new videos, subscribe:
Various social media stuffs:
Website:
Twitter:
Reddit:
Instagram:
Patreon:
Facebook:
1 view
735
205
3 days ago 00:01:07 1
What Are the Common Issues with Laser Marking Additives? #lasermarking #laser #plastic #additive
4 days ago 00:03:09 67
ALLDAY PROJECT - ‘FAMOUS’ M/V
1 week ago 00:04:01 2
Sophie Zelmani ~ Stay with my heart
2 weeks ago 00:03:08 1
Sia & David Guetta - Beautiful people (Music Video 2025) | Sora
2 weeks ago 00:04:11 3
Last Train to Mercy - Psychedelic Blues Rock
3 weeks ago 00:05:35 2
Original “Pope Trump“ video - Trump Predicted It?! The First American Pope is REAL Now 🍔⛪
3 weeks ago 00:06:37 1
Pink Floyd - “Another Brick in The Wall “ PULSE Remastered 2019
4 weeks ago 00:18:08 1
Vanessa Trump’s Stunning Transformation Since She Left Don Jr. Is Causing A Stir
4 weeks ago 00:02:30 2
H-1B (“16 tons“ song parody)
4 weeks ago 00:02:53 1
Robbie Williams - Rocket (Official Video)
1 month ago 00:26:10 1
4PM | SPLIT DECISIONS... | Gameplay w/ facecam, Indie game about decisions
1 month ago 00:35:15 5
Chemtrails, The Fallen Ones’ Desperate Attempt To Block The Arrival Of The Angelic
1 month ago 00:02:48 1
Man Saves Drowning Wolf. But What Happens Next Is Shocking
1 month ago 00:04:41 1
Jutta Leerdam | Netherlands Speed Skater & Fitness Icon | Bio & Info
1 month ago 00:00:55 1
How Strong is Obelix? Asterix’s Mightiest Mystery SOLVED! (Part 4)
1 month ago 00:02:50 1
Best Kids Attraction in Malta? Playmobil FunPark!
1 month ago 00:02:28 10
Jane, Erica kissing scene - “What would you do?“
2 months ago 00:06:34 2
揽佬 SKAI ISYOURGOD—八方来财·因果(Official Extended Music Video)
2 months ago 00:51:24 1
Wooden Floor | THE MOST EPIC HORROR GAME EVER?! | Gameplay Playthrough, Indie Horror Game
2 months ago 00:04:30 1
Slendytubbies II w/ Bulltramaxx | NECK BREAKING SCARES! | Map: Secret Center, Versus
2 months ago 00:07:01 3
Let Me Feel The Peace | The Self Realization Song | Youth (Yuva) version
2 months ago 00:18:29 1
The Wolf Among Us (Episode 3) | BLOODY MARY! | Part 4 (Finale), Gameplay Playthrough w/ facecam
2 months ago 00:17:35 1
Wooden Floor (Demo) | SCARES OF MIND F* ! | Indie Horror Game
2 months ago 00:36:34 1
We SHIFTED Timelines in 1999: Y2K & CIA’s Secret Time Manipulation Program Exposed!