Consistency of Systems of Linear Equations

On this page
  1. Direct answer
  2. What you must remember
  3. Row-reducing a three-equation system
  4. Where the exam tries to catch you
  5. Frequently asked questions
  6. Related topics

Direct answer

Consistency of a linear system AX = B is decided by comparing the rank of the coefficient matrix A with the rank of the augmented matrix [A | B]. When both ranks equal the number of unknowns n, the solution is unique, and when they are equal but smaller than n, infinitely many solutions exist with n − r free parameters. If the augmented rank is larger, no solution exists.

What you must remember

  • Three-case rule: rank(A) = rank([A | B]) = n gives a unique solution; equal ranks r < n give infinitely many (n − r parameters); rank(A) < rank([A | B]) gives no solution.
  • Homogeneous always consistent: AX = 0 has the trivial solution; nontrivial solutions exist if and only if rank(A) < n, equivalent to det A = 0 for square systems.
  • Cramer's rule: for D = det A ≠ 0, each unknown equals the determinant of the matrix with its column replaced by B, divided by D.
  • Geometric reading: with three unknowns, each equation is a plane; a unique solution means three planes meet at one point, infinite solutions mean planes share a line or coincide, and no solution means parallel planes or a triangular prism arrangement.
  • Two-equation test: a1x + b1y = c1 and a2x + b2y = c2 have a unique solution when a1/a2 ≠ b1/b2, infinitely many when a1/a2 = b1/b2 = c1/c2, and none when a1/a2 = b1/b2 ≠ c1/c2.
  • Parameter counting: with rank r and n unknowns, the solution family carries n − r free constants, so rank 2 with three unknowns gives a one-parameter line.
  • Row-reduction protocol: echelon-reduce [A | B] and read both ranks from the same matrix, since the last-column entries decide whether the augmented rank climbs above the coefficient rank.

Row-reducing a three-equation system

Take x + y + z = 6, x + 2y + 3z = 14 and x + 4y + 7z = 30. Row reduction shows how a single constant decides between a line of solutions and no solution at all.

  1. Eliminate x: R2 − R1 gives (0, 1, 2 | 8), and R3 − R1 gives (0, 3, 6 | 24).
  2. Eliminate y: R3 − 3R2 gives (0, 0, 0 | 0), so the augmented matrix has two nonzero rows.
  3. Read the ranks: rank(A) = rank([A | B]) = 2 < 3 unknowns, so there are infinitely many solutions with one free parameter.
  4. Change one constant: Replace 30 by 32; the same operation now yields (0, 0, 0 | 2), which asserts 0 = 2.
  5. Read the new ranks: The coefficient rank stays 2 while the augmented rank climbs to 3, so the system is inconsistent.

The redundancy is visible directly: R2 − R1 reads y + 2z = 8, and the third reduced row is three times that, which leaves a free variable. Changing the constant breaks this redundancy, and the geometry shifts from planes sharing a common line to a triangular prism, where each pair of planes meets but all three never do. Writing the (0, 0, 0 | c) row explicitly is how full marks are secured.

Where the exam tries to catch you

JEE Main asks for the parameter that makes a given system consistent, while Advanced phrases the same theory through planes, parametric solution sets and eigenvalue questions.

  • Trap: Concluding consistency from det A = 0 alone. Correct: The augmented matrix must drop rank as well, since det A = 0 is necessary but not sufficient for infinitely many solutions.
  • Trap: Counting unknowns from the number of equations when the two differ. Correct: n is the number of variables, and it sets the threshold in the rank test.
  • Trap: Replacing the wrong column in Cramer's rule for the numerator determinants. Correct: Each numerator replaces only the column of its own unknown with the constants B.

A homogeneous system with more unknowns than equations is always rank-deficient, because rank ≤ m < n, so it has nontrivial solutions.

Frequently asked questions

What is the condition for a unique solution to AX = B?

A unique solution exists when rank(A) = rank([A | B]) = n, where n is the number of unknowns. For a square system this condition is the same as det A ≠ 0.

When is a system inconsistent?

A linear system is inconsistent when rank(A) < rank([A | B]). The augmented matrix then has a row of the form (0, 0, ..., 0 | c) with c ≠ 0, which asserts an impossibility.

Why is a homogeneous system always consistent?

A homogeneous system AX = 0 is always consistent because X = 0 satisfies it identically. The real question is whether nontrivial solutions exist, which happens exactly when rank(A) < n.

How many free parameters does a consistent system with rank r have?

A consistent system with rank r has n − r free parameters, one for each unknown beyond the rank. Rank 2 in three unknowns, for example, describes a one-parameter family of solutions along a line.

How does Cramer's rule solve a 2 × 2 system?

Compute D = det A, then take x = D1/D and y = D2/D, where D1 and D2 replace the respective columns of A by the constants. The formula is valid only while D ≠ 0.

Practise this in the PrepElephant app

Question banks, previous-year questions, mock tests and revision tools — for Consistency of Systems of Linear Equations and JEE Mathematics. Free to start.

Get the free app WhatsApp