Overview
Schoolbook Multiplication multiplies each digit of one number by each digit of the other, shifts partial products according to position, and sums them with carries.
Multiplies numbers by forming digit-by-digit partial products and adding them by place value.
Compact metadata for implementation and discovery.
Schoolbook Multiplication multiplies each digit of one number by each digit of the other, shifts partial products according to position, and sums them with carries.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
Show multiplying every digit pair and carrying positional sums on a small integer multiplication example.
Faster integer multiplication methods often use schoolbook multiplication for small subproblems.
What each reference supports for this entry.
Reference for Schoolbook Multiplication's arithmetic operations, modular arithmetic, multiplication, division, or number-theoretic implementation details.
Open sourceTextbook support for Schoolbook Multiplication's algorithm family, complexity framing, and standard implementation concepts.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Numerical Methods · Core
Karatsuba multiplication reduces large products into fewer recursive subproducts.
Compare with thisKaratsuba multiplication reduces large products into fewer recursive subproducts.
Toom-Cook is usually chosen for larger integers where interpolation overhead pays off.
FFT-based multiplication targets very large integers by turning multiplication into convolution.