Linear Algebra/Matrix Multiplication

From testwiki
Jump to navigation Jump to search

Template:Navigation After representing addition and scalar multiplication of linear maps in the prior subsection, the natural next map operation to consider is composition.

Template:TextBox

Template:TextBox

To see how the representation of the composite arises out of the representations of the two compositors, consider an example.

Template:TextBox

Template:TextBox

Template:TextBox

Template:TextBox

Template:TextBox

Template:TextBox

The theorem is an example of a result that supports a definition. Template:AnchorWe can picture what the definition and theorem together say with this arrow diagram ("wrt" abbreviates "with respect to").

Above the arrows, the maps show that the two ways of going from V to X, straight over via the composition or else by way of W, have the same effect

vghg(h(v))vhh(v)gg(h(v))

(this is just the definition of composition). Below the arrows, the matrices indicate that the product does the same thing— multiplying GH into the column vector RepB(v) has the same effect as multiplying the column first by H and then multiplying the result by G.

RepB,D(gh)=GH=RepC,D(g)RepB,C(h)

The definition of the matrix-matrix product operation does not restrict us to view it as a representation of a linear map composition. We can get insight into this operation by studying it as a mechanical procedure. The striking thing is the way that rows and columns combine.

One aspect of that combination is that the sizes of the matrices involved is significant. Briefly, m×r times r×n equals m×n.

Template:TextBox

In terms of the underlying maps, the fact that the sizes must match up reflects the fact that matrix multiplication is defined only when a corresponding function composition

dimension n spacehdimension r spacegdimension m space

is possible.

Template:TextBox

Another aspect of the way that rows and columns combine in the matrix product operation is that in the definition of the i,j entry

pi,j=gi,1h1,j+gi,2h2,j++gi,rhr,j

the red subscripts on the g's are column indicators while those on the h's indicate rows. That is, summation takes place over the columns of G but over the rows of H; left is treated differently than right, so GH may be unequal to HG. Matrix multiplication is not commutative.

Template:TextBox

Template:TextBox

Template:TextBox

Except for the lack of commutativity, matrix multiplication is algebraically well-behaved. Below are some nice properties and more are in Problem 10 and Problem 11.

Template:TextBox

Template:TextBox

Template:TextBox

We have now seen how the representation of the composition of two linear maps is derived from the representations of the two maps. We have called the combination the product of the two matrices. This operation is extremely important. Before we go on to study how to represent the inverse of a linear map, we will explore it some more in the next subsection.

Exercises

Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox

/Solutions/

Template:Navigation

Template:BookCat