Jump to content

Strassen-algorithm/2x2/Exercise

From Wikiversity

Let 2×2-matrices A=(a11a12a21a22) and B=(b11b12b21b22) be given. The product A⋅B is usually computed by the multiplication rule "row x column“; for this, we have to perform altogether 8 multiplications in the field K. We describe a procedure for the matrix multiplication, in which only 7 multiplications (but more additions) are necessary. We set

m1=(a11+a22)⋅(b11+b22),
m2=(a21+a22)⋅b11,
m3=a11⋅(b12−b22),
m4=a22⋅(b21−b11),
m5=(a11+a12)⋅b22,
m6=(a21−a11)⋅(b11+b12),
m7=(a12−a22)⋅(b21+b22).

Show that the coefficients of the product matrix

AB=C=(c11c12c21c22)

satisfy the equations

c11=m1+m4−m5+m7,
c12=m3+m5,
c21=m2+m4,
c22=m1−m2+m3+m6.