Fundamentholfundamenthol

Linear Equations And Cramer’s Rule

MathsDeterminantsFor JEE aspirants

Cramer's Rule is a formula that expresses the unique solution of a non-homogeneous system of linear equations in terms of determinants: , , , valid whenever . For homogeneous systems (right-hand side zero), the system has a non-trivial solution if and only if . This concept, essential for JEE Mathematics, ties together determinants and linear equations by classifying every system as consistent-independent, consistent-dependent, or inconsistent based on the values of and the auxiliary determinants , , .

Key Formulas - Quick Reference
  1. Homogeneous system (): non-trivial solution exists iff
  2. If : only the trivial solution exists.
  3. Non-homogeneous system with :
  4. Auxiliary determinants: replaces column of -coefficients with the constants column ; similarly for and .
  5. Consistency test: unique solution when ; infinitely many solutions when ; no solution when but at least one of .

1. Homogeneous Linear Equations

Consider the system of homogeneous simultaneous linear equations in three unknowns:

Here every constant term is zero. The obvious solution is , called the trivial solution.

The homogeneous system has a non-trivial solution (i.e. at least one of is nonzero) if and only if

Case Summary for the Homogeneous System

ConditionSolutionTerminology
onlyTrivial solution
Infinitely many solutions (including the trivial one)Non-trivial solution exists
Solved Example 1
Problem: If the system of equations , , and has a non-trivial solution, find the value of and the solution.
Solution:

A non-trivial solution requires . Inspecting the coefficient patterns:

  • Row 1: - common difference (A.P.)
  • Row 2: - common difference (A.P.)
  • Row 3: - for A.P., common difference is , so .

By Property 9 (A.P. property), with all three rows are in A.P., forcing .

To find the solution, let (a free parameter). Substituting into the first two equations:

Multiply the second by : . Add to the first: , so . Substituting back: .

Therefore for any . So and the solution family is .

2. Non-Homogeneous Systems: Cramer's Rule

Consider a non-homogeneous system with :

Cramer's Rule: If and , then the unique solution is where Each is obtained from by replacing the corresponding coefficient column with the constants column.

3. Consistency of Linear Systems

A non-homogeneous system can have exactly one solution, infinitely many solutions, or no solution. The classification depends on and the auxiliary determinants.

ConditionSolution TypeTerminology
(any )Unique solution given by Cramer's ruleConsistent, independent
and Infinitely many solutionsConsistent, dependent
and at least one of No solutionInconsistent
Note: The condition "" together with is a necessary condition for infinite solutions but must be checked against the original equations for consistency, since a rank mismatch can still make the system inconsistent in rare degenerate cases.
Solved Example 2
Problem: Prove that the system of equations , , and has infinitely many solutions.
Solution:

Examine the coefficients and constants row by row:

  • Row 1: - common difference
  • Row 2: - common difference
  • Row 3: - common difference

Each row (including the constant term) is in A.P. with common differences , , respectively.

For the coefficient determinant : rows are , , . Each row is an A.P., so by Property 9, .

Similarly for (replace first column with constants): rows are , , . Each row is still in A.P. (constants are chosen so this holds), so . The same reasoning gives and .

Since , the system is consistent-dependent with infinitely many solutions.

Solved Example 3
Problem: For what values of and does the system have (i) no solution, (ii) a unique solution, (iii) infinitely many solutions?
Solution:

Compute :

Compute (replace column 1 with constants ):

Compute (replace column 2):

Compute (replace column 3):

Case I: When and : , . So the system has no solution.

Case II: When , i.e. and : the system has a unique solution (given by Cramer's rule).

Case III: When : , and , , . So the system has infinitely many solutions.

(When and , both and all , so this also gives infinitely many solutions - a sub-case of Case III.)

Common Mistakes to Avoid

Watch out
  • Confusing homogeneous and non-homogeneous cases. For a homogeneous system, gives infinitely many solutions (including trivial). For a non-homogeneous system, requires you to check before concluding.
  • Using Cramer's rule when . Cramer's rule gives , which is undefined when . Switch to consistency analysis instead.
  • Forgetting to replace the correct column. replaces the x-coefficient column (i.e. column 1), replaces column 2, and replaces column 3. Mixing these up will give the wrong sign or wrong value.
  • Concluding "no solution" from alone. can mean either no solution or infinitely many solutions - the distinction is decided by whether the auxiliary determinants are also zero.
  • Applying Cramer's rule to systems with more unknowns than equations, or vice versa. Cramer's rule applies only to square systems ( equations in unknowns). For non-square systems, use the augmented-matrix rank method (covered in the Matrices concept).
  • Ignoring the A.P. property as a fast diagnostic. If the coefficient rows are all in A.P., automatically - saving you from a full expansion.

Frequently Asked Questions

When does a homogeneous system have a non-trivial solution?

A homogeneous system has a non-trivial solution (i.e. at least one variable nonzero) if and only if the coefficient determinant . If , the only solution is the trivial one .

Can Cramer's rule be used when the determinant is zero?

No. Cramer's rule gives , which is undefined when . In that case, you must check whether all of are also zero: if yes, the system has infinitely many solutions; if no, it has no solution.

What is the difference between consistent-dependent and consistent-independent?

Consistent-independent means the system has a unique solution (this happens when ). Consistent-dependent means the system has infinitely many solutions - the equations are not independent, so at least one is a linear combination of the others (this happens when ).

How do I recognise an inconsistent system quickly?

An inconsistent system in three variables satisfies but at least one of . Geometrically, this corresponds to three planes with no common point of intersection - either two are parallel or all three form a triangular prism configuration.

Why does Cramer's rule work?

Cramer's rule follows from the row-column properties of determinants. If , multiplying both sides by gives . The entries of can be written using the adjoint of and expanded to give the Cramer's formulas. It is essentially the determinantal form of the matrix inverse method.

Is Cramer's rule efficient for large systems?

For , Cramer's rule becomes computationally expensive because each requires evaluating an determinant. Gaussian elimination and matrix inversion are far more efficient. However, for and JEE problems, Cramer's rule is often the fastest method by hand.

What is the geometric meaning of in a linear system?

means the coefficient vectors are linearly dependent, so the three planes represented by the equations are either coincident (infinitely many common points), parallel (no common points), or intersecting in a line (infinitely many points). The auxiliary determinants distinguish these cases.

How does the A.P. property help solve linear-equation problems?

If the coefficient rows (or columns) of a system are in arithmetic progression, automatically by Property 9 of determinants - no expansion needed. This is a huge shortcut in JEE Advanced problems where the coefficients follow an obvious pattern.

Previous year questions on Linear Equations And Cramer’s Rule

22 questions from past papers, each with a step-by-step solution.

Show all 22 questions

Ready to master Determinants?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.