MATH1550 Chap.4 Matrix Products and the Laws of Matrix Algebra
Matrix Products and the Laws of Matrix Algebra
Entrywise operations, and one that is not
Matrices of the same size are added entry by entry and multiplied by a scalar entry by entry, and both operations obey the laws of ordinary arithmetic: commutativity and associativity of addition, a zero matrix that changes nothing, a unique additive inverse, and distributive laws for scalars. Multiplying two matrices is different.
The notes first define the product of a matrix and a vector as a combination of the matrix's columns, weighted by the vector's entries, and that definition is what makes the compact form Ax = b equivalent to the original system.
The product and its rules
The product AB is defined column by column, each column being A times a column of B, and written out this gives the entry formula: row of A against column of B, multiply matching entries and add.
It needs the number of columns of A to equal the number of rows of B, and the result has the outer sizes. Associativity, the identity laws and the distributive laws survive, provided every factor stays on its own side.
Commutativity does not: AB and BA are usually different, may have different sizes, or one may not exist, and two nonzero matrices can multiply to zero.
These facts drive the questions in this part of the course. Finding the values that make two matrices commute means equating their products entry by entry. Expanding a product of sums keeps AB and BA as separate terms.
Powers of a single matrix, with A to the zero defined as the identity, do commute with each other, which is why some expansions telescope neatly.
What this chapter covers
- 01
Matrix addition and scalar multiplication with their laws
- 02
The matrix-vector product as a combination of columns
- 03
Why Ax = b has the same solutions as the system
- 04
Equal action on every vector forces equal matrices
- 05
The product AB, column by column and entry by entry
- 06
Matrix multiplication is not commutative
- 07
Associative and distributive laws, identity and zero
- 08
Powers of a square matrix and expanding products
Worked example · free
Multiply two square matrices in both orders
- 1Check sizes: both are 2 by 2, so both products exist and are 2 by 2.
- 2Compute each entry of AB as a row of A against a column of B.
- 1Compute BA the same way, with B on the left.
- 1Compare entry by entry and conclude.
Key terms
- Scalar Multiple
- The matrix cA obtained by multiplying every entry of A by the real number c.
- Matrix-Vector Product
- The combination of the columns of A weighted by the entries of the vector, defined when the vector has as many entries as A has columns.
- Additive Inverse
- The unique matrix that adds to A to give the zero matrix, written minus A and equal to (-1)A.
- Commuting Matrices
- Two square matrices A and B of the same order with AB = BA, which is the exception rather than the rule.
- Matrix Power
- The product of n copies of a square matrix A, with A to the zero taken to be the identity.
Matrix Products and the Laws of Matrix Algebra FAQ
When is the product of two matrices defined?
When the number of columns of the left factor equals the number of rows of the right factor. If A is m by n and B is n by p, then AB exists and is m by p. Check this before computing, because BA may then fail to exist, or exist with a different size, which settles any comparison immediately.
Why does the course define Au as a combination of columns?
Because it shows what the product means. The entries of u say how much of each column of A to take, and Au is the total. Solving Ax = b then asks which combination of the columns of A produces b, a reading that returns when the course studies consistency. It is also the fastest way to compute a matrix times a vector with simple entries.
Can I cancel a matrix from both sides of AB = AC?
Not in general. Two nonzero matrices can multiply to the zero matrix, so A times (B minus C) can be zero while B and C differ. Cancelling becomes legitimate when A is invertible, which Chapter 10 develops: multiplying both sides on the left by the inverse of A then gives B = C.
How do I expand a product such as (2A + 3B)(A - B)?
Use the distributive laws, keeping each factor on its original side: multiply 2A + 3B by A, then by minus B, and collect. The result is 2A squared minus 2AB plus 3BA minus 3B squared. The middle terms cannot be combined unless the question tells you that A and B commute.
Exam move
Compute every product in the tutorial sheet twice, once entry by entry and once column by column as A times each column of B, and confirm they agree. Then take any two square matrices and compute both orders; seeing AB differ from BA on your own numbers makes the warning stick far better than reading it.
Working through Matrix Products and the Laws of Matrix Algebra in MATH1550? Sia is AskSia’s AI Mathematics tutor — ask any MATH1550 Matrix Products and the Laws of Matrix Algebra question and get a clear, step-by-step explanation grounded in how MATH1550 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.