VIAS Encyclopedia provides a collection of tables and definitions commonly needed in science and engineering. |
Home Mathematics Matrix Algebra Matrix Multiplication | |||
See also: Geometrical Meaning of Matrix Multiplication, Transposed Matrix, Matrix Addition and Subtraction | |||
Matrix Multiplication
The multiplication of two matrices always results in a matrix (this
is different to the vector product,
which may result either in a scalar or a matrix). The result of matrix
multiplication is simply called the matrix product, or (less often)
Cayley
product. We define as follows:
This sounds complicated. But it just means taking one column of one
matrix A and one row of (the transposed) matrix B, and calculating the
inner product of these two vectors.
The properties of matrix multiplication are interesting: first, one can only multiply matrices of suitable order. The number of rows of the first matrix must be equal to the number of columns of the second one, resulting in a matrix which has the same number of columns as the first matrix, and the same number of rows as the second one. Secondly, the order of the matrices is quite important: AB is not necessarily equal to BA. In fact, in many cases, the exchange of A and B results in undefined matrix products (the product cannot be calculated); and even for square matrices the commutative law does not hold. Third, scalars should be looked upon as 11-matrices. When multiplying a 1n-matrix with a n1-matrix (n arbitrary), the result is a 11-matrix (a scalar). Here are a few rules that hold true for matrix multiplication:
A simple trick helps here: rearrange the two matrices A and B such that these two matrices are located along the sides of a pp square. The size of the rectangle left open by this arrangement depicts the order of the matrix C.
This text is part of "Teach/Me Data Analysis" and has been included by permission of the author.
|
|||
Home Mathematics Matrix Algebra Matrix Multiplication |