PYQ Vault

NDA Maths · Matrices & Determinants

Linear Systems: Consistency & Cramer's Rule

A square linear system AX = B is solved and classified by one number — the coefficient determinant: nonzero gives a unique Cramer's-rule solution, zero gives either no solution or infinitely many.

Why this matters

Eight PYQs — small but a reliable scorer and the payoff of the whole chapter: determinants and inverses applied to solving equations. Questions test consistency from the coefficient determinant, Cramer's rule, homogeneous systems, and finding the parameter k that makes a system consistent or not. Four concepts cover it.

Test yourself — a quick 14-question Matrices & Determinants recall quiz, instant score.

Concept 1 of 4: Consistency from the coefficient determinant

For a square system AX=BAX = B, the coefficient determinant ∣A∣|A| tells you everything about the solution count BEFORE you solve: ∣A∣≠0|A| \neq 0 means exactly one solution; ∣A∣=0|A| = 0 means either no solution or infinitely many.

Definition

For AX=BAX = B (square): if ∣A∣≠0|A| \neq 0 → unique solution. If ∣A∣=0|A| = 0: the system is inconsistent (no solution) or has infinitely many solutions, decided by whether the equations are genuinely contradictory or just dependent (e.g. two equations the same scaling but different constants → no solution). Three equations in TWO unknowns (aix+biy+ci=0a_ix + b_iy + c_i = 0, i=1,2,3i=1,2,3) is a different shape: the system is consistent (all three lines pass through one point) iff ∣a1b1c1a2b2c2a3b3c3∣=0\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix} = 0 — the same determinant that tests three lines for concurrency. Here a ZERO determinant is the consistent case, the opposite reading from the square system.

Worked example

Classify the system x+y+z=6, x−y+z=2, 2x+y−z=1x+y+z=6,\ x-y+z=2,\ 2x+y-z=1.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2023 · Q8Easy

Example 1 · Matrices & Determinants · Linear Systems — Consistency, Cramer's Rule, Solution Space

The system of linear equations x+2y+z=4x+2y+z=4, 2x+4y+2z=82x+4y+2z=8 and 3x+6y+3z=103x+6y+3z=10 has

Concept 2 of 4: Cramer's rule

When ∣A∣≠0|A| \neq 0, each unknown is a ratio of determinants: replace the column of coefficients for that variable with the constants column, take the determinant, and divide by ∣A∣|A|.

Definition

For AX=BAX = B with ∣A∣=Δ≠0|A| = \Delta \neq 0: x=Δx/Δx = \Delta_x/\Delta, y=Δy/Δy = \Delta_y/\Delta, z=Δz/Δz = \Delta_z/\Delta, where Δx\Delta_x is Δ\Delta with the xx-column replaced by BB (and similarly for Δy,Δz\Delta_y, \Delta_z).

Cramer's rule

x=ΔxΔ,y=ΔyΔ,z=ΔzΔx = \frac{\Delta_x}{\Delta}, \quad y = \frac{\Delta_y}{\Delta}, \quad z = \frac{\Delta_z}{\Delta}

Worked example

Solve x+y=3, x−y=1x + y = 3,\ x - y = 1 by Cramer's rule.
Practice this concept4 quick reps

The same idea in a real exam question:

NDA · Sep 2025 · Q14Moderate

Example 2 · Matrices & Determinants · Linear Systems — Consistency, Cramer's Rule, Solution Space

In obtaining the solution of the system of equations x+y+z=7x+y+z=7, x+2y+3z=16x+2y+3z=16 and x+3y+4z=22x+3y+4z=22 by Cramer's rule, the value of yy is obtained by dividing DD by D2D_2, where D=∣111123134∣D=\begin{vmatrix}1&1&1\\1&2&3\\1&3&4\end{vmatrix}. What is the value of the determinant D2D_2?

Concept 3 of 4: Homogeneous systems and the solution space

A homogeneous system AX=0AX = 0 always has the trivial solution X=0X = 0. It has extra (non-trivial) solutions exactly when ∣A∣=0|A| = 0. And if a non-homogeneous system has two distinct solutions, it must have infinitely many.

Definition

AX=0AX = 0 has a non-trivial solution iff ∣A∣=0|A| = 0 (otherwise only X=0X = 0). For AX=BAX = B: if X1≠X2X_1 \neq X_2 are both solutions, then X1+t(X2−X1)X_1 + t(X_2 - X_1) is a solution for every tt → infinitely many (the solution set is never exactly two).

Worked example

If AX=BAX = B has two distinct solutions X1X_1 and X2X_2, how many solutions does it have?
Practice this concept4 quick reps

The same idea in a real exam question:

NDA · Apr 2023 · Q9Moderate

Example 3 · Matrices & Determinants · Linear Systems — Consistency, Cramer's Rule, Solution Space

Let AX=BAX=B be a system of 3 linear equations with 3-unknowns. Let X1X_1 and X2X_2 be its two distinct solutions. If the combination aX1+bX2aX_1+bX_2 is a solution of AX=BAX=B; where aa, bb are real numbers, then which one of the following is correct?

Concept 4 of 4: Finding the parameter for consistency

When a coefficient (or constant) contains a parameter kk, the borderline cases live where ∣A∣=0|A| = 0. Set the coefficient determinant to 0 to find the candidate kk values, then check each to see if it gives no solution or infinitely many.

Definition

Put the parameter into ∣A∣|A| and solve ∣A∣=0|A| = 0 for the critical kk. For each such kk, substitute back: dependent-and-consistent → infinitely many; contradictory → no solution. Away from those kk, the solution is unique.

Worked example

For what kk does kx+y+z=1, x+ky+z=k, x+y+kz=k2kx + y + z = 1,\ x + ky + z = k,\ x + y + kz = k^2 have no solution?
Practice this concept4 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q27Hard

Example 4 · Matrices & Determinants · Linear Systems — Consistency, Cramer's Rule, Solution Space

The system of equations kx+y+z=1kx + y + z = 1, x+ky+z=kx + ky + z = k and x+y+kz=k2x + y + kz = k^2 has no solution if kk equals

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (1)

  • Cramer's rule

    Cramer's rule

    x=ΔxΔ,y=ΔyΔ,z=ΔzΔx = \frac{\Delta_x}{\Delta}, \quad y = \frac{\Delta_y}{\Delta}, \quad z = \frac{\Delta_z}{\Delta}

Test yourself on Matrices & Determinants

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.