"Cramer's Rule" is another way to solve a system of linear equations with matrices. It uses a formula to calculate the solution to the system utilizing the definition of determinants.
Cramer's Rule: Definition
Cramer's Rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, i.e. a square matrix, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column by the vector of right hand sides of the equations.
Cramer's Rule: Formula
Rules for a $2\times 2$ Matrix
Consider the linear system:
Assume the determinant is non-zero. Then,
And:
Rules for a $3 \times 3$ Matrix
Given:
Then the values of
Using Cramer's Rule
Example 1: Solve the system using Cramer's Rule:
In matrix format:
The solution to the system is