Multiplying Matrices

Definition: When the number of columns in one matrix is equal to the number of rows in another matrix, they can be multiplied.

For example, if Matrix X is 2×3 and Matrix Y is 3×3, they can be multiplied. This is because the number of columns in Matrix X is equal to the number of rows in Matrix Y.

To multiply matrices, we must multiply all rows by all columns and add the products for each: Notice that the new matrix has taken on the row dimensions of the first matrix, and the column dimensions of the second matrix.

Example: Multiply the following matrices if possible: Solution:

Step 1: Check in ensure the number of columns in Matrix A is equal to the number of rows in Matrix B.

Matrix A has 3 columns and Matrix B has 3 rows, so they can be multiplied.

Step 2: Starting with the the first row in Matrix A, and the first column in Matrix B, multiply each row entry by the respective column entry and add their products.

Note that this sum will be placed in the row location from Matrix A (row 1), and the column location from Matrix B (column 1), or ab₁₁ Step 3: Do the same with the remaining rows and columns: Step 4: Simplify to find the final product of Matrix A and Matrix B: 