Source
Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree
Cramer's rule solves a square linear system using only determinants. It works when the coefficient matrix is invertible.
Linear Systems as Matrix Equations
A linear equation has each unknown to the first power only, with no products of unknowns and no functions of them (, , make an equation non-linear). A system like
Statement
If is equations in unknowns and , the system has a unique solution
where is with its th column replaced by .
Steps
Work through it in this order:
- Write the system as and compute
- If , Cramer's rule does not apply (no solution or infinitely many)
- For each unknown , build and compute
- Divide: , then check in one original equation
Worked Example
Solve and :
- , , so the rule applies
- , , so
- , , so
Check: and .
When It Fails
For and , , so Cramer's rule cannot be used. Here the left sides are proportional () but the right sides are not ( vs ), so the system has no solution.
3 by 3 Check
For , , :
| Matrix | Determinant | Result |
|---|---|---|