Multiplying two complex numbers seems to require four ordinary multiplications. Multiplying two 2-by-2 matrices seems to require eight. Yet the first task can be done with three multiplications, and the second with seven. The savings may look tiny—until we repeat the matrix trick recursively.
I first became familiar with Strassen’s algorithm in the summer of 2005, during an internship at Argonne National Laboratory after my first year of PhD studies.
1. A surprise with complex numbers
Expanding the usual product gives
The four real products are ac, bd, ad, and bc. But instead calculate just
Since R = ac + ad + bc + bd, the missing cross-term is ad + bc = R − P − Q. Thus
Example. Multiply (2 + 3i)(4 + 5i). Here P = 8, Q = 15, and R = 5 × 9 = 45. The answer is (8 − 15) + (45 − 8 − 15)i = −7 + 22i.
2. Eight multiplications for two small matrices
For two 2-by-2 matrices, the ordinary product is
There are eight scalar products: ae, bg, af, bh, ce, dg, cf, and dh. Is there a way to use only seven?
3. Strassen’s seven-product discovery
In 1969, mathematician Volker Strassen found a remarkable answer. Form the following seven products:
Now combine them by addition and subtraction:
For example, C₁₂ = a(f − h) + (a + b)h = af + bh. The other three entries can be checked in the same way. Nothing has been approximated: this is an exact algebraic identity.
A complete numerical example
Take A = [[1, 2], [3, 4]] and B = [[5, 6], [7, 8]]. The seven values are
M₁ = 65, M₂ = 35, M₃ = −2, M₄ = 8, M₅ = 24, M₆ = 22, M₇ = −30.
Therefore C₁₁ = 65 + 8 − 24 − 30 = 19; C₁₂ = −2 + 24 = 22; C₂₁ = 35 + 8 = 43; and C₂₂ = 65 − 35 − 2 + 22 = 50.
4. One saved multiplication becomes thousands
The real breakthrough comes from dividing larger matrices into four blocks. Each block is itself a matrix, and the seven-product identity still works because matrix addition is associative and multiplication distributes over addition. We do not need matrix multiplication to be commutative.
If the matrix dimension is n = 2k, the ordinary recursive method makes 8k scalar multiplications; Strassen’s method makes 7k. Additions of blocks also cost time, so the full recurrence is
The resulting growth rate is
compared with O(n³) for classical matrix multiplication.
| Matrix size | Classical scalar products | Recursive Strassen products |
|---|---|---|
| 2 × 2 | 8 | 7 |
| 4 × 4 | 64 | 49 |
| 8 × 8 | 512 | 343 |
| 16 × 16 | 4,096 | 2,401 |
| 32 × 32 | 32,768 | 16,807 |
These are multiplication counts only, not total running times.
5. Why not use Strassen everywhere?
Extra additions, temporary storage, memory access, and floating-point rounding matter. For small matrices, highly optimized classical multiplication can be faster. Practical implementations may switch to Strassen only above a size threshold, and numerical error needs attention. Strassen’s method is a milestone in algorithm design, not a promise that every matrix product should be computed this way.
6. What connects the two tricks?
Both formulas reorganize a bilinear calculation: each output is a sum of products involving one quantity from the first input and one from the second. We first take carefully chosen linear combinations of the inputs, multiply fewer pairs of those combinations, and reconstruct the output by addition.
The complex-number trick does not directly derive Strassen’s formula. It teaches the same way of thinking. In fact, three real multiplications are necessary for general complex multiplication, and seven scalar multiplications are necessary for general 2-by-2 matrix multiplication over the real numbers. These optimality results concern the number of bilinear products, not the total number of arithmetic operations.
7. Try it yourself
Problem 1. Three products
Use P, Q, and R to compute (3 + 2i)(5 − 4i) without performing four separate real multiplications.
Show solution
P = 15, Q = −8, R = (3 + 2)(5 − 4) = 5. Thus the real part is 15 − (−8) = 23, and the imaginary part is 5 − 15 − (−8) = −2. Answer: 23 − 2i.
Problem 2. Verify an identity
Expand M₁ + M₄ − M₅ + M₇ and show that it equals ae + bg.
Show solution
(a + d)(e + h) + d(g − e) − (a + b)h + (b − d)(g + h) = ae + ah + de + dh + dg − de − ah − bh + bg + bh − dg − dh = ae + bg.
Problem 3. Count the savings
How many scalar multiplications does fully recursive Strassen multiplication use for two 64-by-64 matrices? Compare with the classical count.
Show solution
Because 64 = 2⁶, Strassen uses 7⁶ = 117,649 scalar multiplications. The classical method uses 64³ = 262,144. The difference is 144,495 scalar multiplications, although Strassen requires additional additions and subtractions.
Problem 4. A challenge
Explain why replacing ordinary scalar entries with square matrix blocks does not invalidate the seven-product identity, even though block multiplication is not commutative.
Show solution
In the expansions of the seven products, the order of every multiplication is preserved: a block from A always appears to the left of a block from B. Cancellation uses associativity and distributivity of matrix operations, not commutativity. Therefore the formulas remain valid for compatible square blocks.
8. Final thought
A small algebraic trick can lead to a major algorithmic improvement. The essential question is not simply “How many multiplications appear in the usual formula?” but “Can we compute the same result using a smarter set of products?” That question changed the theory of matrix multiplication.
Further reading
- Volker Strassen, “Gaussian Elimination is Not Optimal,” Numerische Mathematik 13 (1969), 354–356. Original paper (DOI).
- Shmuel Winograd, “On Multiplication of 2 × 2 Matrices,” Linear Algebra and its Applications 4 (1971), 381–388. Paper (DOI).
Explore Another Algebraic Surprise
Complex numbers are not only useful for simplifying multiplication. They also belong to a remarkable family of number systems associated with the dimensions 1, 2, 4, and 8.
Read our related article, Why Are 1, 2, 4, and 8 Special? , to discover why these dimensions play such an unusual role in mathematics.
Related reading: Mathematics can also help us design more efficient currency systems. Discover how to minimize the number of coins needed to make change in Which Country Has the Best Coins? The Mathematics of Making Change .

Leave a Reply