Topic 8 of 8
Introduction to matrices
Step 13 · Algebra 2 topics
Add, subtract and scale matrices, multiply them, and find the determinant and inverse of a 2 × 2 matrix to solve a system of equations.
Adding and scaling matrices
A matrix is a rectangle of numbers in rows and columns. A 2 × 3 matrix has 2 rows and 3 columns. Matrices of the same size add entry by entry, and multiplying by a number multiplies every entry.
Example: Scaling
Find 3A, where .
- Multiply every entry by 3.
Answer
Matrices store data neatly: the rows could be stores, the columns products, and each entry the number sold.
Multiplying matrices
To multiply two matrices, each entry of the answer is a row of the first times a column of the second: multiply the matching entries and add.
Example: One entry
In the product above, how is 43 found?
- Row 2 of the first matrix, (3, 4), times column 1 of the second, (5, 7).
- 3 × 5 + 4 × 7 = 15 + 28 = 43.
Answer43
Example: Sizes
A is 2 × 3 and B is 3 × 4. What size is AB? Does BA exist?
- For AB the inner sizes, 3 and 3, match, so AB is 2 × 4.
- For BA the inner sizes are 4 and 2, which do not match.
AnswerAB is 2 × 4, and BA does not exist
Determinants and inverses
The determinant of a 2 × 2 matrix is ad − bc. If it is not 0, the matrix has an inverse, which undoes it.
Example: A determinant
Find the determinant of .
- 4 × 5 − 3 × 2 = 20 − 6 = 14.
Answer14
Example: An inverse
Find the inverse of .
- The determinant is 3 × 2 − 1 × 5 = 1.
- Swap a and d, and change the signs of b and c.
Answer
Example: Solving a system
Solve 3x + y = 5 and 5x + 2y = 9 with the inverse.
- The system is .
- Multiply by the inverse: x = 2 × 5 − 1 × 9 = 1 and y = −5 × 5 + 3 × 9 = 2.
Answerx = 1, y = 2
Try it yourself
Work each one on paper first, then open the answer to check.
What size is a matrix with 3 rows and 2 columns?
Show answer
3 × 2
Add .
Show answer
A is 3 × 2 and B is 2 × 5. What size is AB?
Show answer
3 × 5
Multiply .
Show answer
Find the determinant of .
Show answer
0
Find the determinant of .
Show answer
14