Professional Documents
Culture Documents
Multiplyingblockmatrices|MyMathHomework
Showthatthe by matrixproduct
partitionsand columnpartitions
canbedescribedasablockmatrixwith row
withsubmatricescomputedasfollows:
Proof:(NotethatImsureabetterproofofthisexists,nottomentionbetternotation.
HoweverthisisthebestIcancomeupwith.)
Wedefineablockmatrixwithin asfollows:First,wedividethe rowsof into
partitions,where
.Thepartitionisdoneusingavector ofnonnegativeinteger
valuesdefinedasfollows:
Thiscanbeinterpretedasfollows:
rowinthe partition,and
https://math.hecker.org/2011/04/07/multiplyingblockmatrices/
isthefirstrowinthe partition,
isthelast
isthenumberofrowsinthe partition.
1/6
2016.5.16.
Multiplyingblockmatrices|MyMathHomework
Thevector hasasimilarinterpretationtothevector :
partition,
isthelastcolumninthe partition,and
columnsinthe partition.
,usingavector of
isthefirstcolumninthe
isthenumberof
sothatthe
entryof
Notethatwhen
hasthevalue
wehave
sothat
2/6
2016.5.16.
Alsonotethatwhen
Multiplyingblockmatrices|MyMathHomework
and
wehave
sothat
Wethenhave
,usingavector of
partition,and
isthefirst
isthe
3/6
2016.5.16.
Multiplyingblockmatrices|MyMathHomework
Asinthecaseof ,if
thenthereisonlyasinglesubmatrixof ,namely itself,
andif
and
theneachsubmatrixcontainsasingleentryof .The
entryof
hasthevalue
Finally,considerthe by matrix
withentries
withthe
entryof
havingthevalue
Nowconsiderthefollowingmatrix:
and
First,notethatallthesubmatrices
have
thesubmatrices
have
rowsand
.
rowsand
columns,andall
columns.(Thisfollowsfromthe
definitionsof , ,and .)
https://math.hecker.org/2011/04/07/multiplyingblockmatrices/
4/6
2016.5.16.
Multiplyingblockmatrices|MyMathHomework
Sincethenumberofcolumnsinthesubmatrices
isthesameasthenumberofrowsin
thesubmatrices
,matrixmultiplicationispossible,andtheresultingproductmatrices
willhave
rowsand
columns.Since
isthesumoftheproduct
matrices,ittoowillhave
rowsand
columns,thesamenumberofrows
andcolumnsas
(basedonthepartitioningof asdescribedabove).
Nowconsiderthe
entryin
.Itwillconsistofthesumofallthe
productmatrices.Moreformally,
Sincethenumberofcolumnsinthesubmatrices
submatrices
is
,wethenhave
entriesinthe
andthenumberofrowsinthe
sothat
Notethatthefirstinnersum(when
)startsat
(because
bydefinition),that
eachsubsequentinnersumstartsatavalueof onegreaterthanthelast,andthatthelast
innersum(when
)endsat
(because
).Wethusconcludethat takeson
allvaluesfrom1to ,andonlythosevalues,sothatwecanrewritetheaboveas
Since
sincethe
and
havethesamenumberofrowsandcolumns(asdiscussedabove),and
entryof
isequaltothe
entryof
,andfromthedefinitionof that
whichwaswhatwesetouttoprove.
Notethatif
then
sothattheaboveequationreducesto
https://math.hecker.org/2011/04/07/multiplyingblockmatrices/
.
5/6
2016.5.16.
Ontheotherhand,if
Multiplyingblockmatrices|MyMathHomework
,and
thenwehave
sothattheequation
isessentiallyequivalentto
UPDATE:SinceoriginallywritingthispostIslightlychangedthedefinitionofapartitioning
vector .First,Iclarifiedthat containednonnegativeintegerentries.Second,Iusedthe
condition
insteadof
for
,becauseIthinkitbettercorrespondstothe
intuitiveideaofhowapartitionwouldbedefined.
Notethatwecanderivetheoldconditionfromthenewone:
Suppose
for
andwehave with
.Let
.Wehave
when
.(Thisisthenewconditionthatweareassumingistrue.)Nowsuppose
forsome
.Wehave
basedonthenewcondition(assumingthat
sothat
hasavalue),so
impliesthat
.
Byinductionwethenhave
forall
forwhich
hasavalue.Since
and
hasavalue(since
does)wethenhave
.Thus
for
impliesthatforany and wehave
if
.
Also,since
,theoldconditionthat
for
impliesthenewconditionthat
.Thustheoldandnewconditionsareequivalent,andthechoicebetweenthemin
definingapartitioningvectorissimplyamatterofconvenience.
https://math.hecker.org/2011/04/07/multiplyingblockmatrices/
6/6