Save this video free

Multiplication and Fast Fourier Transforms

Kent Quanrud · 1:17:10 · Watch on YouTube

Part of Purdue University Fundamental Algorithms (Fall 2026). See all 20 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Kent Quanrud develops divide-and-conquer multiplication from the grade-school O(n²) method to Karatsuba’s three half-size multiplications, yielding O(n^log₂3), or about O(n^1.585), time. He then explains the Fast Fourier Transform (FFT) as an O(n log n) method for evaluating polynomials at roots of unity, using it to multiply polynomials quickly, before introducing Strassen’s seven-multiplication matrix algorithm and the still-open goal of O(n²) matrix multiplication.

Key takeaways

Chapters

0:00 Grade-School Multiplication and the O(n²) Baseline
5:00 Why Shifting and Splitting Bits Do Not Yet Improve Multiplication
9:30 Splitting Integers into High and Low Halves
15:00 The Three-Multiplication Challenge
19:10 Karatsuba’s Identity Replaces Four Products with Three
23:50 Karatsuba’s Recurrence and O(n^1.585) Running Time
32:10 Complex Numbers and Euler’s Formula
36:40 Roots of Unity Divide the Complex Unit Circle
41:50 The Discrete Fourier Transform as Polynomial Evaluation
46:30 Polynomial Multiplication Becomes Pointwise Multiplication
53:10 Why the FFT Matters for Fast Polynomial Products
56:30 FFT Divide and Conquer: Separate Even and Odd Coefficients
1:00:10 Roots-of-Unity Symmetry Produces the O(n log n) FFT
1:08:30 Block Matrix Multiplication Starts with Eight Products
1:11:00 Strassen’s Seven Products and the Matrix-Multiplication Frontier

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:05 All right, off we go. So, today we're doing uh two actually uh it's still divide and conquer, but it's going to be a little more kind of algebraic in field today. Uh the first problem is going to be just multiplying integers and the other one is going to be something called the fastforier transform. Um which sounds kind of fancy, but hopefully we can just break down what we need out of it. Okay. So, all right. So, here's the um a very simple problem that we're going to look at today. To start, uh I'm going to give you two integers, you know, represented as bits, right? So, they're bit strings as n bits or something. So, so two n bit integers and all you want to do is multiply them together, which means you might need two n bits. Okay? So like uh for example uh how did

0:54 we learn how to multiply in grade school assuming they still teach you how to multiply? >> Yeah. So something like uh I don't know 8 * 4 is I guess like 32 and I guess you carry like the three or something. 24 27 2 16 8 1 something like this. And the next row would be something like 7 * 4 is 28 carry a 2. 7 * 3 is 21. So it's 23 carry a two 14 16 you carry a one something like this. And uh you'll do it for I guess two more rows, right? Um, now this is just four digits, but it

1:43 could have been n. How long does it take as a function of uh n? Oh, we heard you're going to be late. >> Yeah. Yeah. >> No, thank you. >> Enjoy your Jolly Rancher. >> Huh? It'll take n squ, right? Because

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Kent Quanrud.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.