Multiplication via the DFT || @ CMU || Lecture 7b of CS Theory Toolkit

Multiplication via the DFT || @ CMU || Lecture 7b of CS Theory Toolkit

🎙 Ryan O'Donnell 👥 14K 📅 March 6, 2020 ⏱ 26 min 👁 3K 📄 lecture 🧭 2026-08-17
Available in: English (current) Français

Keywords

discrete Fourier transformfast Fourier transformpolynomial multiplicationinteger multiplicationcomplexity

Summary

This lecture, part of CMU’s CS Theory Toolkit, explains how to multiply large integers efficiently using the discrete Fourier transform (DFT). The key insight is that integer multiplication can be reduced to polynomial multiplication, and polynomial multiplication can be performed quickly by evaluating polynomials at cleverly chosen points (roots of unity) and interpolating back. The lecture begins by showing that multiplying two n-digit numbers is equivalent to multiplying two polynomials of degree n-1, with a minor caveat about carrying. It then introduces the idea of representing polynomials by their values at distinct points, which makes multiplication trivial (pointwise multiplication). The challenge is to convert between coefficient and value representations efficiently. The solution is to use the DFT matrix, which evaluates a polynomial at the n-th roots of unity. The lecture explains that this matrix-vector multiplication can be done in O(n log n) time using the Fast Fourier Transform (FFT), leading to an overall O(n log n) algorithm for integer multiplication. The lecture is rigorous and assumes a solid background in mathematics and algorithms.

173 words

Critical Evaluation

Value of the Information & Strength of the Argument

The lecture provides a clear and rigorous explanation of a fundamental algorithm in computer science. It builds the argument step by step, starting from the reduction of integer multiplication to polynomial multiplication, then introducing the value representation and the DFT, and finally hinting at the FFT. The argumentation is solid, with appropriate caveats about carrying and complexity. The value lies in its pedagogical clarity and the depth of insight into algorithmic design.

Scientific Rigor, Source Quality, Title Accuracy

The lecture is scientifically rigorous, based on well-established mathematical concepts. It references standard texts such as Knuth’s ‘The Art of Computer Programming’ and Brent & Zimmermann’s ‘Modern Computer Arithmetic’ in the description. The title accurately reflects the content. No public comments were provided, so no analysis of audience trends is possible.

138 words

Title / Content Match

The title accurately reflects the content: the lecture explains how to multiply integers using the discrete Fourier transform, as part of a CS theory toolkit course.

Quality & Reliability

9/10

Lecture by a renowned CS theorist at CMU, part of a graduate course. Content is rigorous, well-structured, and based on established mathematical foundations. The presentation is clear and accurate, with appropriate caveats about carrying and complexity.

Key Moments

Cited Sources

  • The Art of Computer Programming, vol. 2, chap. 4.3.3 — Referenced as a resource for this lecture.
  • Modern Computer Arithmetic — Referenced as a resource for this lecture.
  • Course homepage on CMU's Diderot system — Course materials and further resources.
  • Ryan O'Donnell's homepage — Instructor's academic page.

Concurring Sources

  • The Art of Computer Programming, vol. 2 — Knuth's classic work covers integer multiplication algorithms in detail.
  • Modern Computer Arithmetic — Brent and Zimmermann's book provides comprehensive coverage of computer arithmetic, including fast multiplication.

External References

Contribution & Novelties

This lecture provides a clear and accessible explanation of how to use the DFT for fast integer multiplication, a key result in algorithmic number theory. It bridges the gap between abstract mathematical concepts and practical algorithmic design. The lecture is part of a graduate course, so it assumes prior knowledge but offers deep insights.

Pour aller plus loin :

88 words

Radar Profile

The radar profile shows high scores in quality, technical level, and reliability, with slightly lower but still strong scores in quantity of information. This indicates a dense, rigorous lecture that is highly informative and technically deep, suitable for an advanced audience.

Reliability 9/10