Interactive visual multiplication — break down any integer multiplication into partial products, column shifts, and final sum.
Long multiplication (also called column multiplication or standard algorithm) is a cornerstone of arithmetic that has been used for centuries. It decomposes a product of multi-digit numbers into a sum of simpler products, each multiplied by a power of ten. This systematic method not only builds number sense but also lays the foundation for algebraic manipulation and polynomial multiplication.
Fundamental principle: For integers A and B with decimal digits, A × B = Σ (A × digit_of_B_at_position_i) × 10ⁱ
Historians trace column multiplication to ancient Babylonian tablets (c. 2000 BCE) and later refined by Islamic mathematicians like Al-Khwarizmi. In medieval Europe, the “method of lattices” (gelosia) preceded modern long multiplication. Today the standard algorithm remains essential for mental math, error detection, and computer arithmetic. Understanding partial products helps students transition from concrete to abstract reasoning, aligning with Common Core standards.
Our implementation uses native BigInt for unlimited integer precision — no floating point errors, no artificial digit caps. The algorithm extracts the absolute values of both numbers, then iterates over each digit of the multiplier from right to left. For each digit d (0–9), it computes the partial product = (multiplicand × d) × 10position. All partial products are then summed. The step-by-step display shows the exact calculation, including zero-skipping optimization and the final addition.
When any digit of the multiplier is zero, the partial product becomes zero — we skip it in the display to avoid clutter, but mathematically it's still accounted for (adding zero does not change the sum). This mirrors how students learn to “write zero” or skip a row.