Skip to main content

Matrix multiplication and Composition

In order to describe the effects of multiple sequential matrix transformation, such as a rotate and then a shear, we use matrix multiplication on those individual matrices to create a new matrix, called composition, to perform the action at once. 

IBQmm-matrix-rotation-then-shear.gif

image.pngimage.png

image.png

image.png

MM_matrix-multiplication-example.gif


MatrixOrder Multiplicationof isthe AssociativeMatrices matter

Alsoimage.png

this

The isfollowing associative, meaningdemonstrates that parentheses does not matter,if the pattern will still have the same result as long as the right to left order is reversed, the samevector

output

image.pngwill be different

MM_matrix-shear-then-rotate.gif

MM_matrix-rotate-then-shear.gif


Matrix Multiplication is Associative

Also this is associative, meaning that parentheses does not matter, the pattern will still have the same result as long as the right to left order is the same 

image.png

MM_matrix-abc-associative.gif

MM_matrix-associative.gif

End result will always look the same 

image.png