Complexity of Basic Arithmetic || @ CMU || Lecture 7a of CS Theory Toolkit

Complexity of Basic Arithmetic || @ CMU || Lecture 7a of CS Theory Toolkit

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

Keywords

integer multiplicationFFTword RAMcomplexityarithmetic

Summary

This lecture from CMU’s CS Theory Toolkit, taught by Ryan O’Donnell, explores the time complexity of basic arithmetic operations, focusing on integer multiplication. It begins by discussing addition of n-bit numbers, noting that in the word RAM model with word size proportional to log n, addition can be done in O(n/log n) time by packing bits into words. The main topic is multiplication: the schoolbook algorithm takes O(n^2) time, but faster methods exist. The lecture introduces the discrete Fourier transform (DFT) approach, which reduces multiplication to a few DFTs, and the fast Fourier transform (FFT) algorithm, credited to Cooley and Tukey but discovered earlier by Gauss. The FFT runs in O(n log n) arithmetic operations, and with careful implementation on the word RAM, multiplication can be done in O(n) time. The lecture also discusses historical and theoretical results, such as the Schönhage-Strassen algorithm and later improvements, and mentions that many arithmetic operations (division, square roots, GCD, etc.) reduce to multiplication. The content is technical and aimed at graduate-level CS theory students.

171 words

Critical Evaluation

Value of the Information & Strength of the Argument

The lecture provides a clear and rigorous explanation of the complexity of integer multiplication, building from basic addition to advanced FFT-based methods. The argumentation is solid, with careful attention to computational models (word RAM) and the distinction between arithmetic operations and time complexity. The lecturer effectively motivates the topic by connecting it to cryptography and other arithmetic problems, and he presents a coherent narrative from the schoolbook algorithm to linear-time multiplication. The discussion of historical developments and the reduction of other arithmetic operations to multiplication adds depth and demonstrates the central role of multiplication in computational complexity.

106 words

Title / Content Match

The title accurately reflects the content: a lecture on the complexity of basic arithmetic operations, focusing on integer multiplication.

Quality & Reliability

8/10

Lecture by a recognized CS theory professor at CMU, covering established results with references to Knuth and Brent & Zimmermann. The content is technically accurate and well-structured, though it is a lecture rather than peer-reviewed material.

Key Moments

Cited Sources

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

Concurring Sources

  • The Art of Computer Programming, vol. 2 — Knuth's classic reference on arithmetic algorithms, cited in the lecture.
  • Modern Computer Arithmetic — Brent and Zimmermann's book, cited as a resource for arithmetic algorithms.

External References

Contribution & Novelties

The lecture provides a clear and comprehensive overview of the complexity of integer multiplication, connecting classical algorithms to modern results. It emphasizes the importance of the computational model and shows how the word RAM model allows for linear-time multiplication, a fact often overlooked. The lecture also highlights the historical development of the FFT and its role in arithmetic.

Pour aller plus loin :

93 words

Radar Profile

The radar profile shows high scores across all dimensions, indicating a technically deep and reliable lecture. The balanced scores suggest a well-rounded presentation with strong information content and rigor.

Reliability 8/10