 
Summary: 1/19
Analysis of Algorithms
Lecture 6
Max Alekseyev
University of South Carolina
September 8, 2010
2/19
Outline
DivideandConquer
Fast Integer Multiplication
Fast Matrix Multiplication
3/19
Fast Integer Multiplication
Let b, c 0 be integers, represented in binary, with n bits each.
Here, n is assumed to be large, so we cannot assume as we usually
do that b and c can be added, subtracted, or multiplied in
constant time.
We imagine that the b and c are both represented as arrays of n
bits: b = bn1 · · · b0 and c = cn1 · · · c0, where the bi and ci are
individual bits (leading 0's are allowed). Thus,
