# TAOCP 4.3.3 How Fast Can We Multiply?

> Study guide to TAOCP 4.3.3 How Fast Can We Multiply?. Faster-than-schoolbook multiplication: splitting numbers in halves to trade a multiplication for…

Updated October 20, 2026.

## Summary {#summary}

TAOCP 4.3.3 How Fast Can We Multiply?: Faster-than-schoolbook multiplication: splitting numbers in halves to trade a multiplication for additions (Karatsuba-style), Toom-Cook generalizations, and the Fourier transform approach that leads to Schonhage-Strassen. Budget about 9 hours; do exercises 1, 8 and 9.

## Key facts {#key-facts}

- Week 80 of 145 on the cracked.guide path, in [TAOCP Vol 2: Seminumerical Algorithms](https://cracked.guide/taocp/volume-2).
- Time budget: about 9 hours.
- 19 exercises in the section, rated M15 to M49; the guide picks 8.
- Picked exercises with Knuth's triangle for recommended: 4, 16, 19 and 18.
- Before you start: 4.3.1 The Classical Algorithms and divide and conquer, recursion.

## Week 80 goals {#objectives}

By the end of week 80 you can:

- Explain how splitting in halves trades a multiplication for extra additions.
- Implement the half-splitting multiply with a schoolbook cutoff for small sizes.
- Recognize multiplication as a convolution that a Fourier transform speeds up.

## This week's steps {#steps}

- Read §4.3.3 How Fast Can We Multiply?: Implement the half-splitting method on top of your 4.3.1 bignums and find the crossover size where it beats schoolbook.
- Work the exercises (8 picked): Start with Ex 1, Ex 8, Ex 9; log what you solve below.
- Write down one thing you'd explain to someone: A few sentences in your own words in Your notes: the idea, why it works, an example. 30 words ticks this.

## Exercises {#exercises}

This section has 19 exercises, rated M15 to M49, and Knuth marks 7 of them with the triangle for recommended. Implement Karatsuba and find the crossover with schoolbook multiplication on your machine; then try an FFT-based multiply. The picks support that work.

Worth your time:

- 1 (rated 22): Karatsuba in decimal, by hand, on four-digit numbers.
- 8 (rated M20): Can you skip the bit reversal in the FFT? A common shortcut question.
- 9 (rated M15): Replacing the root of unity by a power of it. Checks you understand the transform.
- 17 (rated M26): Count exactly how many small products Karatsuba does.
- 4 (rated 28, recommended): Evaluate at symmetric points to speed up Toom-Cook.
- 16 (rated 25, recommended): A discrete Fourier transform of any length in n log n operations.
- 19 (rated M23, recommended): Compute u*v mod m with a bounded number of safe operations.
- 18 (rated M30, recommended): Schedule memory for recursive Karatsuba. The stretch, and a real implementation issue.

## Why it matters {#why}

These ideas are behind every fast bignum library and are a beautiful example of divide and conquer and of how the FFT connects to arithmetic.

## Before you start {#before}

- 4.3.1 The Classical Algorithms
- Divide and conquer, recursion

## How to approach it {#approach}

Implement the half-splitting method on top of your 4.3.1 bignums and find the crossover size where it beats schoolbook. Read the FFT part for ideas; implementing an FFT multiply is a stretch goal.

## Common traps {#traps}

- Recursing all the way down to single digits. Switch to schoolbook below a threshold.

## Links {#links}

- [Knuth's TAOCP page (editions, errata, MIX/MMIX)](https://www-cs-faculty.stanford.edu/~knuth/taocp.html)
- [Vol 2 errata (plain text, from Knuth)](https://www-cs-faculty.stanford.edu/~knuth/err2.textxt)
- [Wikipedia: Karatsuba algorithm](https://en.wikipedia.org/wiki/Karatsuba_algorithm)
- [Wikipedia: Toom-Cook multiplication](https://en.wikipedia.org/wiki/Toom%E2%80%93Cook_multiplication)
- [Wikipedia: Schonhage-Strassen algorithm](https://en.wikipedia.org/wiki/Sch%C3%B6nhage%E2%80%93Strassen_algorithm)
- [Hacker News: Karatsuba Algorithm](https://news.ycombinator.com/item?id=21151646)

---

Source: https://cracked.guide/guide/knuth-w063-0
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
