Multiplying matrices
CraigsMaths
Mathematics Teaching for Learning
Engineering Maths B, Matrices
August 8th, 2008 by Craig Rose
Permalink: http://www.craigsmaths.com/ea003-engineering-mathematics-b/multiplying-matrices/
Multiplying matrices is fairly simple but there is a process to learn and a couple of rules to remember.
Scalar Multiplication
A scalar is a value that has only one dimension such as a real number. Matrices two dimensions - rows and columns. When multiplying a matrix by a scalar multiply each element of the matrix by the scalar.
For the matrix:
and the scalar
:

For example:


Multiplying two matrices
Matrices can only be mulitplied together if the number of columns in the first matrix equals the number of rows in the second matrix.
Example:
Given two matrices
and 
The product 
Now we multiply each row in
by the columns in
and sum the products. This is illustrated by the animation:

Matrix multiplication is non-commutative
The muliplication of matrices is non-commutative:
