Matrix multiplication
Matrix multiplication is the rule for combining two compatible matrices by taking dot products of rows and columns. In Linear Algebra and Differential Equations, it shows up in systems, transformations, and inverse matrix work.
What is matrix multiplication?
Matrix multiplication is the operation you use when two matrices are compatible and you want a new matrix that represents their combined effect. If A is an m by n matrix and B is an n by p matrix, then AB is defined and the result is an m by p matrix.
Each entry in the product comes from a row of the first matrix and a column of the second matrix. You take the dot product of that row and column, then place the result in the matching spot. So the entry in row i, column j of AB is built from row i of A and column j of B.
A small example makes the setup easier to see. If A has 2 rows and 3 columns, and B has 3 rows and 2 columns, then AB will be 2 by 2. If the first row of A is [1, 2, 3] and the first column of B is [4, 5, 6], the top left entry of AB is 1(4) + 2(5) + 3(6). You repeat that same move for every row and column pair.
The order matters. Usually AB is not the same as BA, and sometimes one product is defined while the other is not. That is one of the biggest mistakes in matrix algebra, especially when you are working with transformations or solving systems.
There is also a second way to think about multiplication that shows up a lot in linear algebra. The columns of AB are linear combinations of the columns of A, with weights coming from the columns of B. This view is helpful when you are reading matrix representations of linear transformations, because composition of transformations turns into matrix multiplication.
In this course, matrix multiplication is not just a computation skill. It is the bridge between algebraic formulas, geometric transformations, and systems of differential equations, so you need both the mechanical rule and the meaning behind it.
Why matrix multiplication matters in Linear Algebra and Differential Equations
Matrix multiplication is the move that lets Linear Algebra and Differential Equations turn separate pieces into one combined system. When you write a system of equations in matrix form, multiplication is what connects the coefficient matrix to the variable vector and to the output vector.
It also shows up every time you compose linear transformations. If one matrix rotates or stretches a vector and another matrix does a second transformation, their product represents doing both steps in order. That is why matrix multiplication is the language of transformation chains, not just arithmetic on arrays.
In differential equations, matrix multiplication is part of writing and solving systems like x' = Ax. The matrix A controls how the variables interact, and multiplying A by a vector tells you how each variable contributes to the change. Later topics like the matrix exponential and fundamental matrix also depend on understanding multiplication first.
It matters for inverse work too. If you want to check whether a matrix behaves like an inverse, identity matrix products are the test. A lot of the course's reasoning comes down to recognizing when a product gives the identity matrix, when a product is undefined, and when changing the order changes the answer.
Keep studying Linear Algebra and Differential Equations Unit 4
Official unit cheatsheet
open one-pagerHow matrix multiplication connects across the course
dot product
Matrix multiplication is built from dot products. Every entry in the product comes from pairing one row with one column and combining their matching entries. If your dot product setup is off, the whole matrix product comes out wrong.
identity matrix
The identity matrix is the matrix version of 1 for multiplication. When you multiply a matrix by the identity matrix on the correct side, the original matrix stays the same. This is one of the main checks for inverse matrices and for algebra with products.
linear transformation
A matrix often represents a linear transformation, and multiplying matrices represents composing transformations. If one matrix sends a vector through one rule and another matrix applies a second rule, the product combines those actions into a single transformation.
Matrix Addition
Matrix addition and matrix multiplication are both matrix algebra, but they do very different jobs. Addition combines matching entries only when the matrices have the same size, while multiplication depends on matching inner dimensions and creates a new matrix with a different structure.
Is matrix multiplication on the Linear Algebra and Differential Equations exam?
A problem set or quiz question will usually ask you to find a product, check whether a product is defined, or use a product to model a transformation or system. You may need to compute each entry carefully, identify the size of the result before multiplying, or decide whether AB and BA give the same answer. Another common task is interpreting what the product means, such as showing how two linear transformations combine or how a coefficient matrix acts on a vector of unknowns. A lot of lost points come from mixing up rows and columns or multiplying in the wrong order, so show the setup clearly before doing the arithmetic.
Matrix multiplication vs Matrix Addition
Matrix addition combines matrices entry by entry, so the matrices must have the same dimensions. Matrix multiplication is different because it uses rows and columns, depends on matching inner dimensions, and usually changes the size of the result. If you are only matching positions, you are adding, not multiplying.
Key things to remember about matrix multiplication
Matrix multiplication uses rows from the first matrix and columns from the second matrix to make each entry of the product.
You can only multiply matrices when the number of columns in the first matrix equals the number of rows in the second matrix.
The product of an m by n matrix and an n by p matrix has size m by p.
Matrix multiplication is usually not commutative, so AB and BA can be different or one may not even be defined.
In Linear Algebra and Differential Equations, matrix multiplication is how you combine transformations, represent systems, and work with inverse and identity matrix ideas.
Frequently asked questions about matrix multiplication
What is matrix multiplication in Linear Algebra and Differential Equations?
It is the rule for combining two compatible matrices by taking dot products of rows and columns. The result is a new matrix that often represents a transformation, a system setup, or a step in solving equations.
How do you know if two matrices can be multiplied?
Check the inner dimensions. The number of columns in the first matrix has to equal the number of rows in the second matrix. If those numbers do not match, the product is undefined.
Why is matrix multiplication not commutative?
Because order changes both the arithmetic and the meaning. AB and BA use different row and column pairings, and they can produce different results or have different dimensions. That is very different from ordinary number multiplication.
How does matrix multiplication show up in linear transformations?
Each matrix can represent a transformation, like a stretch, shear, or rotation. Multiplying the matrices represents doing one transformation after another, so the product matrix captures the combined effect.