Determinants and Cramer's Rule
Calculation of Matrix Determinants
A determinant is a single number (a scalar) computed from the elements of a square matrix. You need determinants to use Cramer's Rule, so this is the place to start.
2×2 Determinant:
Multiply the main diagonal, then subtract the product of the other diagonal. For example:
3×3 Determinant (Cofactor Expansion along the first row):
Notice the pattern: you move across the first row, alternating signs (). Each element gets multiplied by the determinant of the 2×2 matrix that remains after crossing out that element's row and column.
Here's how to work through a 3×3 determinant step by step:
-
Start with the first-row element . Cross out row 1 and column 1. Compute the 2×2 determinant of what's left: . Multiply by .
-
Move to the first-row element . Cross out row 1 and column 2. Compute the 2×2 determinant: . Multiply by .
-
Move to the first-row element . Cross out row 1 and column 3. Compute the 2×2 determinant: . Multiply by .
-
Add all three results together.
Application of Cramer's Rule
Cramer's Rule solves a system of linear equations by replacing columns of the coefficient matrix with the constants and computing determinants. It works for any system where the determinant of the coefficient matrix is not zero.
For a 2×2 system:
The solutions are:
where:
- is the determinant of the coefficient matrix:
- replaces the -column (first column) with the constants:
- replaces the -column (second column) with the constants:
Example: Solve and .
-
Find :
-
Find :
-
Find :
-
Solve: and
The key idea to remember: to find a particular variable, replace that variable's column in the coefficient matrix with the constants column, then divide by .

Extension to Three-Variable Systems
Cramer's Rule extends naturally to 3×3 systems. For:
The solutions follow the same pattern:
- is the determinant of the 3×3 coefficient matrix:
- : replace the first column (-coefficients) with the constants
- : replace the second column (-coefficients) with the constants
- : replace the third column (-coefficients) with the constants
The logic is identical to the 2×2 case. The only difference is that each determinant calculation is now a 3×3 determinant, so there's more arithmetic involved.
Properties of Determinants
These properties can save you time on calculations and help you spot special cases:
- Row/column swap: Interchanging any two rows (or any two columns) flips the sign of the determinant.
- Identical rows/columns: If two rows or two columns are identical, the determinant equals zero.
- Scalar multiplication: Multiplying every entry in a single row (or column) by a scalar multiplies the entire determinant by . (This is not the same as multiplying the whole matrix by .)
- Row combination: Adding a multiple of one row to another row does not change the determinant. This is useful if you want to create zeros to simplify a 3×3 calculation before expanding.

Cramer's Rule vs. Other Methods
Cramer's Rule isn't the only way to solve systems. Here's how it compares:
- Cramer's Rule: Clean and formulaic for 2×2 and 3×3 systems. Every variable gets its own determinant ratio, so you can solve for just one variable if that's all you need. However, the number of determinant calculations grows quickly for larger systems, making it impractical beyond 3×3 in most cases.
- Gaussian Elimination: Converts the augmented matrix to row echelon form using row operations. More efficient for larger systems and the go-to method when systems get big.
- Matrix Inversion: Uses to solve as . Particularly useful when you need to solve several systems that share the same coefficient matrix but have different constant vectors.
For a College Algebra course, you'll mostly use Cramer's Rule on 2×2 and 3×3 systems where it works well.
Systems of Equations and Solutions
Before applying Cramer's Rule, it helps to know what kind of solution a system can have:
- Unique solution: Exactly one set of values satisfies all equations. This is the case when , and Cramer's Rule gives you the answer directly.
- Inconsistent system (no solution): The equations contradict each other (think parallel lines that never intersect). If and at least one of is not zero, the system is inconsistent.
- Dependent system (infinitely many solutions): The equations are redundant, describing the same line or plane. If and , the system may be dependent.
The critical check: Cramer's Rule only applies when . Always compute first. If it equals zero, Cramer's Rule can't solve the system, and you'll need to use another method (like Gaussian elimination) to determine whether the system is inconsistent or dependent.