Honors Algebra II Unit 4 Review: Matrices and Determinants
This unit treats a grid of numbers as a single object you can add, multiply, and use to solve systems of equations. By the end, you should be able to multiply matrices, find 2x2 and 3x3 determinants, and solve linear systems with Cramer's Rule and row reduction.
Read the overview first, then work through each topic note and try its check-yourself question before you look at the answer.
Unit 4 introduces matrices as a tool for organizing numbers and solving systems of linear equations. You'll learn the rules for combining matrices, how to compute a determinant, and how to solve systems with matrix methods instead of substitution.
Honors Algebra II Unit 4 covers matrices and determinants. You learn matrix dimensions and entries. You learn to add, subtract, and scalar-multiply matrices entry by entry, and to multiply matrices row by column. You compute determinants of 2x2 and 3x3 matrices and use them to test whether a matrix is invertible. Then you solve systems of linear equations two ways, with Cramer's Rule and with row operations on an augmented matrix. You also learn to recognize systems with no solution or infinitely many solutions.
Matrix multiplication follows different rules than number multiplication.
You multiply a row of the first matrix by a column of the second, so the inner dimensions have to match. Order matters, and AB and BA are usually different. Some products exist in one order and not the other.
The determinant tells you whether a square matrix can be undone.
A nonzero determinant means the matrix has an inverse and its system has exactly one solution. A determinant of 0 means the matrix is singular. In that case the system has either no solution or infinitely many.
Row operations solve a system without changing its answer.
Swapping rows, scaling a row by a nonzero number, and adding a multiple of one row to another all keep the solution set the same. These are the same moves you used in elimination, written in matrix form. The reduced matrix shows you the solution or tells you there isn't a unique one.
A system of equations is one matrix equation, $AX = B$.
Once you write a system this way, the whole unit fits together. Matrix multiplication explains why AX reproduces the left side of every equation. If A is square, its determinant tells you whether there's a unique solution. Row reduction can solve the system, and Cramer's Rule applies when the determinant is nonzero.
A matrix is a rectangular grid of numbers. Its dimensions are written rows × columns, so a 2×3 matrix has 2 rows and 3 columns. The entry aij sits in row i, column j.
Addition, subtraction, and scalar multiplication all work entry by entry. You can only add or subtract matrices with the same dimensions. The product 3A means you multiply every entry of A by 3.
Multiplication works differently. For AB to exist, the number of columns in A must equal the number of rows in B. If A is m×n and B is n×p, then AB is m×p. Each entry of the product comes from a row of A and a column of B. Multiply the matching entries, then add the results.
Worked example. Let A=[1324] and B=[051−2]. The top-left entry of AB is (1)(0)+(2)(5)=10. Finishing the other entries the same way gives AB=[1020−3−5]. Reversing the order gives BA=[3−142]. The two products are different, so order matters.
An identity matrix acts like the number 1. If A is m×n, then ImA=AIn=A, using an identity matrix of the right size on each side.
Dimensions:The size of a matrix written as rows × columns, such as 3×23 \times 23×2.
Scalar multiplication:Multiplying every entry of a matrix by the same number.
Identity matrix:A square matrix with 1s on the main diagonal and 0s everywhere else, so multiplying by it leaves a matrix unchanged.
Non-commutative:In general AB≠BAAB \neq BAAB=BA, so you have to keep matrix products in the order given.
Check yourself. If A is 3×2 and B is 2×4, does AB exist, and does BA? (Answer: AB exists and is 3×4. BA is undefined because B has 4 columns and A has only 3 rows.)
Operation
Dimension requirement
Size of result
$A + B$ or $A - B$
Same dimensions
Same as $A$ and $B$
$cA$ (scalar)
None
Same as $A$
$AB$
Columns of $A$ = rows of $B$
Rows of $A$ × columns of $B$
4.2
Determinants and Cramer's Rule
A determinant turns a square matrix into a single number. For [acbd], the determinant is ad−bc. For a 3×3 matrix, you expand along the first row with signs +,−,+. For example, det130211024=1(4−2)−2(12−0)+0=−22.
The determinant tells you whether a matrix is invertible. If det(A)=0, then A has an inverse and the system AX=B has exactly one solution. If det(A)=0, the matrix is singular.
Cramer's Rule solves a square system using determinants when the coefficient determinant is nonzero. Let D be the determinant of the coefficient matrix. To get Dx, replace the x column with the constants and take the determinant. Find Dy the same way using the y column. Then x=Dx/D and y=Dy/D.
Worked example. Solve 2x+3y=7 and x−y=1. First, D=(2)(−1)−(3)(1)=−5. Putting the constants in the x column gives Dx=(7)(−1)−(3)(1)=−10, so x=−5−10=2. Putting the constants in the y column gives Dy=(2)(1)−(7)(1)=−5, so y=1. Both equations check out, since 2(2)+3(1)=7 and 2−1=1.
Determinant:A number computed from a square matrix, written det(A)\det(A)det(A) or ∣A∣|A|∣A∣.
Cofactor expansion:A method for larger determinants that multiplies each entry in a row by the determinant of the smaller matrix left after deleting that entry's row and column, with alternating signs.
Singular matrix:A square matrix with determinant 0, which has no inverse.
Cramer's Rule:A formula that finds each variable as a ratio of determinants, xi=Dxi/Dx_i = D_{x_i} / Dxi=Dxi/D, when D≠0D \neq 0D=0.
Check yourself. Is [2163] invertible? (Answer: No. Its determinant is (2)(3)−(6)(1)=0, so the matrix is singular.)
4.3
Solving Systems Using Matrices
An augmented matrix stores a system without writing the variables. Each row is an equation, and the last column holds the constants. List the variables in the same order in every equation, and write 0 for any variable that's missing.
Three row operations keep the solutions the same. You can swap two rows, multiply a row by a nonzero number, or add a multiple of one row to another. Use them to reach row-echelon form and back-substitute, or keep going to reduced row-echelon form and read the answer directly.
Worked example. Solve x+y+z=6, 2x−y+z=3, x+2y−z=2. The augmented matrix is 1211−1211−1632. Replacing R2 with R2−2R1 gives the row [0,−3,−1,−9]. Replacing R3 with R3−R1 gives [0,1,−2,−4]. Swap those two rows, then add 3 times the new R2 to R3 to get [0,0,−7,−21], so z=3. Back-substituting, y−2(3)=−4 gives y=2, and x+2+3=6 gives x=1.
If a row reduces to 0=5, the system has no solution. If a variable has no pivot and no row is contradictory, the system has infinitely many solutions.
Augmented matrix:A matrix holding a system's coefficients with the constants added as a final column.
Row-echelon form:A form where each leading entry is to the right of the one above it and all-zero rows sit at the bottom.
Reduced row-echelon form:Row-echelon form in which every leading entry is 1 and is the only nonzero entry in its column.
Inverse matrix:The matrix A−1A^{-1}A−1 with AA−1=IAA^{-1} = IAA−1=I, which solves AX=BAX = BAX=B as X=A−1BX = A^{-1}BX=A−1B when det(A)≠0\det(A) \neq 0det(A)=0.
Check yourself. After row reducing an augmented matrix, one row reads [004], with 4 in the constants column. What does that tell you? (Answer: That row means 0=4, which is impossible, so the system is inconsistent and has no solution.)
Method
Best for
Watch out for
Row reduction
Any system, including ones with no solution or infinitely many
Arithmetic slips, especially with fractions
Cramer's Rule
Small square systems (2x2 or 3x3) with a unique solution
It can't be used when $D = 0$
Inverse matrix, $X = A^{-1}B$
Square systems, especially with a calculator
$A^{-1}$ must go on the left, and it exists only if $\det(A) \neq 0$
Key terms
Term
Definition
Matrix
A rectangular grid of numbers arranged in rows and columns.
Dimensions
The size of a matrix given as rows × columns, so a $2 \times 3$ matrix has 2 rows and 3 columns.
Square matrix
A matrix with the same number of rows and columns, the only kind that has a determinant.
Identity matrix
A square matrix with 1s on the main diagonal and 0s elsewhere. If $A$ is $m \times n$, then $I_mA = AI_n = A$.
Determinant
A single number computed from a square matrix that shows whether the matrix is invertible.
Singular matrix
A square matrix whose determinant is 0, so it has no inverse.
Inverse matrix
The matrix $A^{-1}$ that satisfies $AA^{-1} = A^{-1}A = I$.
Augmented matrix
A matrix that holds a system's coefficients plus a final column of constants.
Elementary row operations
Swapping rows, scaling a row by a nonzero number, and adding a multiple of one row to another, none of which change a system's solutions.
Cramer's Rule
A method that solves a square system by dividing determinants, $x = D_x / D$, and works only when $D \neq 0$.
Mistakes to avoid in Matrices and Determinants
Assuming $AB = BA$
Habits from regular multiplication make it feel like order shouldn't matter. With matrices, AB and BA are usually different, and one of them may not even exist. Keep the order exactly as written. When solving AX=B with an invertible matrix A, multiply by A−1 on the left.
Multiplying matrices entry by entry
Addition works entry by entry, so it's tempting to multiply that way too. Matrix multiplication uses a row of the first matrix and a column of the second, multiplying matching entries and adding them. Check the dimensions first. The inner numbers must match, and the outer numbers give the size of the answer.
Dropping the minus sign in a 3x3 determinant
In first-row expansion, the middle term is subtracted, so the signs go +,−,+. Many wrong answers come from adding all three terms. Write the signs above the row before you start, and wrap each 2x2 determinant in parentheses.
Using Cramer's Rule when the determinant is 0
If D=0, the formulas Dx/D and Dy/D divide by zero, so they tell you nothing about x and y. A zero determinant means there's no unique solution. Switch to row reduction to find out whether the system has no solution or infinitely many.