Concept 05 / 09Matrices and Determinants
Systems of Linear Equations: Cramer's Rule, the Matrix Method and Consistency
Writing a linear system as AX = B, the unique solution X = A^-1 B when |A| is non-zero, Cramer's rule with its geometric picture, and a reliable procedure for deciding between no solution and infinitely many solutions when |A| = 0.
A system of linear equations in unknowns can be written in matrix form as , where is the coefficient matrix, the column of unknowns and the column of constants. The system is consistent if it has at least one solution and inconsistent if it has none. Geometrically, in two variables each equation is a line and a solution is a common point; in three variables each equation is a plane.
Case : there is exactly one solution, . Multiply on the left by to get it, and it clearly works. The same solution can be written with Cramer's rule:
,
where and is the determinant obtained by replacing column of by the column . For three variables, , and . Why it works: substitute (a combination of the columns of ) into column and split by linearity; every term except the one containing has two equal columns and vanishes, leaving .
Case : either no solution or infinitely many. The equations are then dependent in their left-hand sides, and everything depends on whether the right-hand sides respect the same dependence.
Test with the adjoint: if , the system is inconsistent. Reason: multiplying by gives , and the left side is , so a non-zero right side is a contradiction.
If : for systems (with ) this means infinitely many solutions. For systems it usually means infinitely many solutions, but not always. It is a necessary condition only, and there are examples (such as three parallel planes) where and the system is still inconsistent.
Test with Cramer determinants: if and at least one , there is no solution. If , the system has either infinitely many solutions or none, and you must check directly.
The reliable final check is elimination: reduce the equations and see whether you reach a contradiction such as or an identity .
The figure shows the two-variable picture. Two lines either cross at one point (), are parallel and distinct (no solution), or coincide (infinitely many). For two equations, parallel lines mean ; they coincide if also .
Parameter questions are the most common JEE format: 'find so that the system has (i) a unique solution, (ii) no solution, (iii) infinitely many solutions'. The routine is: compute as a function of the parameters; unique solution iff ; at the values making , substitute and use elimination (or the ) to separate the other two cases.
Key Takeaways:
- ; unique solution .
- Cramer: , with column replaced by the constants.
- and : no solution.
- and some : no solution.
- and all : infinitely many or none; confirm by elimination.
- In two variables: intersecting, parallel or coincident lines.
- Unique-solution condition depends only on , never on .
- Pitfall: declaring 'infinitely many solutions' for a system just because all .
Brain-Teaser 1: For the system , , , find the conditions for a unique solution, no solution and infinitely many solutions.
Solution: . Subtract row 2 from row 3 to get ; expanding along it gives . So there is a unique solution iff , for any . If , the third equation becomes , which has the same left side as the second equation. If it duplicates the second equation, leaving two independent equations in three unknowns: infinitely many solutions. If the two equations contradict each other: no solution. Comparing equations directly in the singular case is quicker and safer than computing all the .
Brain-Teaser 2: Show that the system , , has yet no solution.
Solution: The coefficient matrix has three identical rows, so . Each is formed by replacing one column with ; the remaining two columns are both , so each has two equal columns and is . Yet the equations say equals , and simultaneously, which is impossible. Geometrically these are three parallel planes. Here as well (every minor of a matrix of all ones is ), so does not guarantee consistency either. This is the standard counterexample showing why the determinant tests are not the final word when .
Brain-Teaser 3: For which do the lines and meet in exactly one point, never meet, or coincide?
Solution: , so a unique intersection needs . At , both equations read : the lines coincide, giving infinitely many common points. At , the equations are and , that is, and : parallel and distinct, so no solution. The unique solution for other is , which blows up exactly at and becomes indeterminate as a limit at . Watching how the Cramer formula breaks down at the singular values tells you which singular case you are in.
Practice this concept
Free · no account required · instant solutions