Quick answer: For a system of n linear equations in n unknowns with coefficient determinant D, Cramer's rule gives , , , where replaces the x-column by the constants. If , the system has a unique solution. If and some is non-zero, there is no solution; if all are 0, there are usually infinitely many (or none). A homogeneous system has a non-trivial solution only when .
This uses determinants and the inverse of a matrix.
Cramer's rule (3 variables)
For
let D be the determinant of the coefficients. , and are formed by replacing the x-, y- or z-column of D with .
Consistency conditions
| Condition | System is |
|---|---|
| Consistent, unique solution | |
| , at least one of | Inconsistent, no solution |
| , | Infinitely many solutions or none (check directly) |
For two variables, the same rules apply with determinants. Geometrically, means the lines are parallel or coincident.
Matrix method
Write the system as .
| Case | Result |
|---|---|
| Unique solution | |
| , | No solution |
| , | Infinitely many or none |
Homogeneous systems
A system always has the trivial solution .
| Condition | Solutions |
|---|---|
| Only the trivial solution | |
| Infinitely many (non-trivial) solutions |
Worked examples
Example 1: Cramer's rule in two variables
Solve and .
Step 1: .
Step 2: and .
Step 3: , .
Check: and ✓.
Example 2: three variables
Solve , , .
Step 1:
Step 2: , so .
Step 3: Subtracting the first two equations gives , so , and then .
Check: ✓.
Example 3: no solution
For what k does , have no solution?
gives . Then , so there is no solution at .
Example 4: non-trivial solution
For what λ does , , have a non-trivial solution?
So .
Summary table
| Situation | Test |
|---|---|
| Unique solution | |
| No solution | , some |
| Possibly infinite | , all |
| Homogeneous non-trivial | |
| Matrix method |
Exam tips
- Most parameter questions only need or .
- For homogeneous systems, "non-trivial solution" always means .
- After finding x by Cramer's rule, solve the remaining variables by elimination to save time.
See all topics in the NIMCET Algebra chapter.
Common mistakes
- Replacing the wrong column when forming , , .
- Concluding "infinitely many solutions" from alone.
- Forgetting that homogeneous systems are always consistent.
- Sign errors in 3 × 3 expansion.
Frequently Asked Questions
What is Cramer's rule?
For a system with coefficient determinant D ≠ 0, each variable equals Dᵢ/D, where Dᵢ is D with that variable's column replaced by the constants.
When does a system of linear equations have a unique solution?
When the determinant of the coefficients is not zero.
When is a system of linear equations inconsistent?
When D = 0 and at least one of Dₓ, D_y, D_z is non-zero.
When does a homogeneous system have a non-trivial solution?
When the determinant of the coefficient matrix is zero.
What is the matrix method for solving linear equations?
Write the system as AX = B. If |A| ≠ 0, the solution is X = A⁻¹B.