A system of linear equations can do exactly one of three things: have one solution, have none, or have infinitely many. JEE questions in this area almost never ask you to solve the system. They ask which of the three happens, for which values of a parameter, or how many parameter values produce each case. The questions are short, they look algebraic, and they reward a student who has a fixed procedure for the zero-determinant case, because that is where unique solutions stop and the interesting decisions begin.
The chapter guide on determinants: properties, evaluation and Cramer's rule introduces Cramer's rule and the basic consistency conditions. This post is about the consistency question only, and it goes as far as the problems do: the geometry of the three cases, the determinant test and its one real weakness, the rank test, a clean procedure for problems with $\lambda$ and $\mu$, homogeneous systems and how to read off the ratios of the solution, systems with more equations than unknowns, concurrency of lines, and the counting questions that choose coefficients from a set. The ten worked examples are different from those in the guide. The companion posts are evaluating determinants and adjoint, inverse and matrix equations.
What this post covers
Systems of linear equations are in the JEE Main syllabus with determinants and matrices. The skills below are the ones to drill.
| Skill | What to be able to do |
|---|---|
| Classification | Say which of the three cases applies and why |
| Determinant test | $\Delta\ne0$ unique; $\Delta=0$ needs a further test |
| Zero-determinant test | Use $\operatorname{adj}(A)B$, or better, row reduction, and know when the first fails |
| Parameter problems | Find the values of $\lambda$ and $\mu$ for each case |
| Homogeneous systems | Nontrivial solutions iff $\Delta=0$; ratios of the solution |
| Geometry | Planes in space and lines in a plane, concurrency |
| Counting | Count coefficient choices that give a given case |
In our JEE Main mocks the determinants chapter, with systems, gets about 1.1 of the 25 questions in the Mathematics section; that is our blueprint, not an official weightage.
The three cases and what they look like
For two equations in two unknowns, each equation is a line. Two lines in a plane meet in one point (unique solution), are parallel and distinct (no solution) or coincide (infinitely many solutions). For three equations in three unknowns, each equation is a plane, and the pictures are richer.
| Picture of the three planes | Solutions |
|---|---|
| Meet at one point | One |
| All three pass through one common line | Infinitely many (a line of solutions) |
| All three are the same plane | Infinitely many (a plane of solutions) |
| Two planes meet in a line, the third is parallel to that line but misses it | None |
| The planes cut each other pairwise in three parallel lines (a prism) | None |
| Two or three planes are parallel and distinct | None |
The geometry is useful for two reasons. It tells you why a zero determinant is necessary for the second to sixth rows of the table, because in all of those cases the normal vectors of the planes are linearly dependent. And it reminds you that "$\Delta=0$" is only the beginning of the analysis: it is compatible with both infinitely many solutions and none at all.
Write the system as $AX=B$ with $A$ the coefficient matrix, $X$ the column of unknowns and $B$ the column of constants. The augmented matrix $[A\mid B]$ adds $B$ as an extra column.
Also read: Stress, Sleep and Consistency in JEE Preparation
The determinant test
If $A$ is square with $\Delta=\lvert A\rvert\ne0$, the system has a unique solution, $X=A^{-1}B$, or by Cramer's rule $x_i=\Delta_i/\Delta$. This is a closed case: nothing else can happen.
If $\Delta=0$, the matrix $A$ has no inverse, and the system has either no solution or infinitely many. The classical JEE test for a $3\times3$ system is built on the adjoint:
- If $\Delta=0$ and $(\operatorname{adj}A)B\ne O$, the system has no solution.
- If $\Delta=0$ and $(\operatorname{adj}A)B=O$, the system is consistent and has infinitely many solutions, provided $A\ne O$.
The reason for the first is quick. Multiply $AX=B$ on the left by $\operatorname{adj}A$: $(\operatorname{adj}A)AX=\lvert A\rvert X=O$, so $(\operatorname{adj}A)B=O$ is necessary for any solution to exist. If it is not zero, there is no solution. The converse is where care is needed.
The weakness of this test. When $A$ has rank $1$, every cofactor is $0$, so $\operatorname{adj}A=O$ and $(\operatorname{adj}A)B=O$ for every $B$. The test then says "infinitely many", which is wrong when the equations contradict one another. The system $x+y+z=1$, $2x+2y+2z=2$, $3x+3y+3z=4$ has $\Delta=0$, $\operatorname{adj}A=O$ and yet no solution, because the third equation says $x+y+z=\tfrac43$. For rank $1$ you must compare the equations directly. We suggest that you treat the adjoint test as a quick screen and fall back on row reduction when the coefficient rows are all proportional.
The rank test
The most reliable statement, for a system of $m$ equations in $n$ unknowns, is in terms of rank, the number of independent rows after row reduction:
- The system is consistent iff $\operatorname{rank}A=\operatorname{rank}[A\mid B]$.
- If consistent, the solution is unique iff this common rank equals $n$.
- If consistent and the rank is $r<n$, there are infinitely many solutions, with $n-r$ free parameters.
You do not need a formal course on rank to use it. Row-reduce the augmented matrix. A row of the form $0\;0\;0\mid c$ with $c\ne0$ means a contradiction and so no solution. Otherwise count the nonzero rows: if there are as many as unknowns the solution is unique; if fewer, there are free parameters. This is exactly what you do by hand in a parameter problem, so the rank test is just the organised version of elimination.
A procedure for parameter problems
Problems of the form "for what values of $\lambda$ and $\mu$ does the system have (i) a unique solution, (ii) no solution, (iii) infinitely many" are the standard JEE shape. The following procedure works every time.
- Eliminate until one equation is left in the awkward variable. Use the equations without parameters first. In a system where only the last equation carries $\lambda$ and $\mu$, subtract the previous equation from it so that the new last equation has the form $(\lambda-c)z=\mu-d$.
- Case on the coefficient. If the coefficient $(\lambda-c)\ne0$, divide by it: a unique value of $z$ and so a unique solution, whatever $\mu$ is.
- Special value. At $\lambda=c$ the equation reads $0=\mu-d$. If $\mu=d$, the equation is $0=0$ and a free parameter is created: infinitely many solutions. If $\mu\ne d$, the equation is a contradiction: no solution.
- State the answer as a table of $(\lambda,\mu)$ with three rows. Check the determinant condition: the coefficient determinant should vanish exactly at $\lambda=c$.
This gives all three cases, the determinant condition and the conditions on $\mu$ at once. Example 1 demonstrates it.
Homogeneous systems
When $B=O$ the system $AX=O$ always has the trivial solution $X=O$. So it is never inconsistent, and the only question is whether a non-trivial solution exists.
- For a square system, a non-trivial solution exists iff $\Delta=0$.
- If $\Delta\ne0$, the only solution is the trivial one.
- For fewer equations than unknowns (for example two equations in three unknowns), a non-trivial solution always exists.
- The number of free parameters is $n-\operatorname{rank}A$.
For a $3\times3$ homogeneous system with $\Delta=0$ and rank $2$, the solutions form a line through the origin, and the ratios $x:y:z$ are fixed. You find them by eliminating one variable. If two of the equations do not involve the parameter, a cross product of their coefficient vectors is the fastest route: the direction $(x,y,z)$ is perpendicular to both normals. Example 2 uses this for a question that asks for the ratio of products of the solution.
More equations than unknowns, and concurrency
Three equations in two unknowns form a system that is consistent only if the third equation is satisfied by the solution of the first two. The determinant condition for consistency is $$\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0$$ for the equations $a_ix+b_iy=c_i$ (written as $a_ix+b_iy-c_i=0$ in the third column). This is necessary but not sufficient: if the first two equations are parallel and the third is not consistent with them, the determinant can be zero while the system has no solution. In a numerical problem, solve two equations and substitute into the third. That is faster and cannot mislead.
The same determinant appears in geometry as the condition that three lines $a_ix+b_iy+c_i=0$ be concurrent, meaning they pass through a common point. Concurrency is exactly the statement that the three equations in $x,y$ are consistent. A related condition is that three points are collinear, which is the vanishing of a determinant of coordinates with a column of ones. Example 9 asks for the value of a coefficient that makes three lines concurrent.
Counting questions with coefficients from a set
A frequent Advanced-style question chooses coefficients from a small set and asks how many choices give a particular case. The method is the same as for parameters: write the conditions for each case, then count. For two equations $ax+by=1$ and $2x+4y=3$, the lines are parallel when $a/2=b/4$, that is when $b=2a$. They coincide only if the constants are proportional too, which would need $1/3=a/2$ and is impossible for integer $a$. So with $a,b\in\{1,2,3,4\}$ the "no solution" cases are those with $b=2a$, namely $(1,2)$ and $(2,4)$. The other fourteen pairs give a unique solution (Example 8).
Question patterns at a glance
| Pattern | First thing to try |
|---|---|
| $\lambda,\mu$ in the last equation | Subtract to get $(\lambda-c)z=\mu-d$; three cases |
| Homogeneous, find $k$ | $\Delta=0$; ratios from two parameter-free equations |
| Three equations, two unknowns | Solve two, substitute into the third |
| Planes with dependent normals | Check whether the constants follow the same dependence |
| $\Delta=0$, test with $\operatorname{adj}(A)B$ | Compute $\operatorname{adj}(A)B$; if $\operatorname{adj}A=O$, compare rows directly |
| Concurrent lines | The $3\times3$ determinant with columns $a,b,c$ vanishes |
| Number of choices giving a case | Write the condition, count over the set |
| Statement-type | Test with $\Delta=0$ examples; remember homogeneous is always consistent |
Worked examples
Every example was checked with Python using exact fractions (computing ranks of the coefficient and augmented matrices) before it was written. They run from easy to hard.
Example 1 (numerical). The system $x+y+z=6$, $x+2y+3z=10$, $x+2y+\lambda z=\mu$ has infinitely many solutions for $\lambda=\lambda_0$ and $\mu=\mu_0$. Then $\lambda_0+\mu_0$ is ____.
Solution. Subtract the second equation from the third: $(\lambda-3)z=\mu-10$. If $\lambda\ne3$, this fixes $z$ and the system has a unique solution for every $\mu$. If $\lambda=3$, the equation becomes $0=\mu-10$. It is a contradiction for $\mu\ne10$ (no solution) and the harmless $0=0$ for $\mu=10$, which leaves two independent equations in three unknowns: infinitely many solutions. So $\lambda_0=3$ and $\mu_0=10$, and the sum is $13$. Answer: $13$. As a check, the solutions then are $x=2+z$, $y=4-2z$ for any $z$.
Example 2 (numerical). The system $x+ky+3z=0$, $3x+ky-2z=0$, $2x+3y-4z=0$ has a non-trivial solution $(x,y,z)$ for some $k$. Then $\dfrac{xz}{y^{2}}$ equals ____ (two decimal places).
Solution. Subtract the second equation from the first: $-2x+5z=0$, so $x=\tfrac52z$. The third equation gives $2\cdot\tfrac52z+3y-4z=0$, so $3y=-z$ and $y=-\tfrac z3$. Then $\dfrac{xz}{y^{2}}=\dfrac{\tfrac52z^{2}}{\tfrac{z^{2}}9}=\dfrac{45}{2}=22.50$. The value of $k$ follows from the first equation: $\tfrac52z+k\left(-\tfrac z3\right)+3z=0$ gives $\tfrac{11}2=\tfrac k3$, so $k=\tfrac{33}2$, and at that value the coefficient determinant is indeed $0$. Answer: $22.50$.
Example 3 (numerical). The system $x+y+z=1$, $x+2y+4z=\lambda$, $x+4y+10z=\lambda^{2}$ is consistent for exactly two values of $\lambda$. Their sum is ____.
Solution. Subtract the first equation from the others: $y+3z=\lambda-1$ and $3y+9z=\lambda^{2}-1$. Subtract three times the first of these from the second: $0=\lambda^{2}-1-3(\lambda-1)=\lambda^{2}-3\lambda+2=(\lambda-1)(\lambda-2)$. So the system is consistent only for $\lambda=1$ and $\lambda=2$, and the coefficient determinant is $0$ throughout because the third row is $3R_2-2R_1$. The sum is $3$. Answer: $3$. Checking ranks, the system has rank $2$ for both values and rank $3$ (augmented) otherwise.
Example 4 (numerical). The planes $x+2y+3z=4$, $2x+3y+4z=5$, $3x+4y+5z=6$ meet in a line. The point on that line with $z=0$ has $x+y$ equal to ____.
Solution. The coefficient rows are in arithmetic progression, and so are the constants. The third equation equals $2\times$ (second) $-$ (first): $(3,4,5)=2(2,3,4)-(1,2,3)$ and $6=2\cdot5-4$. So the third equation is a consequence of the first two: the system has rank $2$ and infinitely many solutions. Put $z=0$ in the first two equations: $x+2y=4$ and $2x+3y=5$. Then $x=4-2y$, so $8-4y+3y=5$ and $y=3$, $x=-2$. Hence $x+y=1$. Answer: $1$.
Example 5 (numerical). The equations $x+2y=3$, $2x+3y=5$, $3x+4y=k$ are consistent. Then $k$ equals ____.
Solution. Solve the first two: from the first, $x=3-2y$; then $6-4y+3y=5$ gives $y=1$ and $x=1$. Substitute into the third: $k=3+4=7$. Answer: $7$. The determinant condition with the third column $-3,-5,-k$ gives $k=7$ too, but the substitution cannot mislead in the parallel-lines case.
Example 6 (multiple-correct). For the system $2x+3y+5z=9$, $7x+3y-5z=8$, $2x+3y+\lambda z=\mu$, which of the following is (are) correct? (A) For $\lambda\ne5$ there is a unique solution for every $\mu$. (B) For $\lambda=5$ and $\mu=9$ there are infinitely many solutions. (C) For $\lambda=5$ and $\mu\ne9$ there is no solution. (D) For $\lambda=5$ and $\mu=9$ there is a unique solution.
Solution. The coefficient determinant is $2(3\lambda+15)-3(7\lambda+10)+5(21-6)=75-15\lambda$, which vanishes only at $\lambda=5$. So (A) is true. At $\lambda=5$ the third equation has the same left side as the first, so it agrees with the first iff $\mu=9$. For $\mu=9$ the third equation repeats the first and the system has two independent equations in three unknowns: infinitely many solutions, so (B) is true and (D) is false. For $\mu\ne9$ the third equation contradicts the first, so (C) is true. Answer: (A), (B), (C).
Example 7 (numerical). Let $A=\begin{bmatrix}1&2&3\\2&3&4\\3&4&5\end{bmatrix}$. The system $AX=\begin{bmatrix}1\\2\\p\end{bmatrix}$ is consistent for exactly one value of $p$. That value is ____.
Solution. $\lvert A\rvert=0$ because $R_3=2R_2-R_1$. The adjoint is $\operatorname{adj}A=\begin{bmatrix}-1&2&-1\\2&-4&2\\-1&2&-1\end{bmatrix}$, so $(\operatorname{adj}A)\begin{bmatrix}1\\2\\p\end{bmatrix}$ has entries $3-p$, $-2(3-p)$ and $3-p$. For the product to vanish, $p=3$. This agrees with the dependence: consistency needs $p=2\cdot2-1=3$. Since $A$ has rank $2$, the test is reliable here. Answer: $3$.
Example 8 (numerical). Let $a,b\in\{1,2,3,4\}$. The number of ordered pairs $(a,b)$ for which $ax+by=1$, $2x+4y=3$ has no solution is ____.
Solution. The coefficient determinant is $4a-2b$, which vanishes iff $b=2a$, giving the pairs $(1,2)$ and $(2,4)$ in the set. When the determinant is zero, the left sides are proportional with ratio $a/2$: the two equations are compatible only if the constants follow the same ratio. Scaling the first equation by $2/a$ gives $2x+\tfrac{2b}{a}y=\tfrac2a$ and with $b=2a$ this is $2x+4y=\tfrac2a$. For $a=1$ the constant is $2\ne3$ and for $a=2$ it is $1\ne3$, so both cases are inconsistent. The remaining $14$ pairs give a unique solution and none gives infinitely many. Answer: $2$.
Example 9 (numerical). The lines $3x+y-5=0$, $x-2y+3=0$ and $kx+3y-9=0$ are concurrent. Then $k$ equals ____.
Solution. Solve the first two: $3x+y=5$ and $x-2y=-3$. Multiply the first by $2$ and add: $7x=7$, so $x=1$ and $y=2$. The third line passes through $(1,2)$ iff $k+6-9=0$, so $k=3$. The determinant of the coefficient rows $(3,1,-5)$, $(1,-2,3)$, $(k,3,-9)$ is $0$ exactly at $k=3$. Answer: $3$.
Example 10 (multiple-correct). Let $A$ be a $3\times3$ real matrix. Consider the system $AX=B$. Which of the following is (are) correct? (A) If $\lvert A\rvert\ne0$, the system has a unique solution for every $B$. (B) If $\lvert A\rvert=0$, the system has no solution. (C) If the system has two distinct solutions, it has infinitely many. (D) The system $AX=O$ always has at least one solution.
Solution. (A) is true: $X=A^{-1}B$. (B) is false: with $\lvert A\rvert=0$ the system may be consistent, as in Example 1. (C) is true: if $X_1\ne X_2$ both satisfy the system then $A(X_1-X_2)=O$, and $X_1+t(X_1-X_2)$ is a solution for every real $t$. (D) is true since $X=O$ always works. Answer: (A), (C), (D).
Common traps
Stopping at $\Delta=0$. A zero determinant does not mean no solution, and it does not mean infinitely many. It means one of those two, and you must decide which with a further test.
Trusting $(\operatorname{adj}A)B=O$ when $A$ has rank one. In that case $\operatorname{adj}A=O$ and the test always passes. Compare the rows directly. The system $x+y+z=1$, $2x+2y+2z=2$, $3x+3y+3z=4$ has no solution although the test passes.
Cancelling by a factor that may be zero. In a parameter problem, dividing by $(\lambda-3)$ loses the case $\lambda=3$. Always treat the special value as a separate case.
Forgetting the constants. Dependent coefficient rows give no solution when the constants do not follow the same dependence, and infinitely many when they do. A student who checks only the left sides misclassifies half the problems.
Using the determinant test for non-square systems. The $3\times3$ determinant condition for three equations in two unknowns is necessary but not sufficient. Solve two equations and substitute.
Treating a homogeneous system as possibly inconsistent. It always has the zero solution. The only question is whether there are others.
Counting a case twice. In counting questions, the "infinitely many" and "no solution" cases are disjoint. Check that you have not put a pair in both.
Mixing up parallel and coincident lines. Two lines with proportional coefficients are either parallel (no solution) or the same (infinitely many). The constants decide.
Dropping the minus sign when writing the determinant for concurrency. If the lines are written as $a x+by=c$, the third column of the determinant is $-c$ (or move $c$ to the left first). Using $+c$ with the wrong sign convention gives a wrong value of the parameter.
Reading off ratios from only one equation. For a homogeneous system with $\Delta=0$, two independent equations are needed to fix $x:y:z$; one equation leaves a plane of possibilities.
A one-page recap
| Situation | Conclusion |
|---|---|
| Square, $\Delta\ne0$ | Unique solution, $X=A^{-1}B$ |
| Square, $\Delta=0$, $(\operatorname{adj}A)B\ne O$ | No solution |
| Square, $\Delta=0$, $(\operatorname{adj}A)B=O$, rank $2$ | Infinitely many solutions |
| $\operatorname{adj}A=O$ (rank $1$) | Compare equations directly |
| Rank test | Consistent iff $\operatorname{rank}A=\operatorname{rank}[A\mid B]$; unique iff rank equals the number of unknowns |
| Parameter problem | Reduce to $(\lambda-c)z=\mu-d$ and take three cases |
| Homogeneous | Always consistent; non-trivial solution iff $\Delta=0$ (square case) |
| More unknowns than equations (homogeneous) | Non-trivial solution always exists |
| Two distinct solutions | Infinitely many solutions |
| Three lines concurrent | $3\times3$ determinant of coefficient rows is zero (and the lines are not all parallel) |
How to practise this chapter
The book chapter has the theory in three languages: Determinants and Systems of Linear Equations, chapter 2 of the Matrices and Counting book, in Hindi and Telugu. The Topic Drill on consistency of linear systems (20 questions, 48 minutes) is the most direct practice for this post; take it twice, once after the first reading and once at the end of the plan, and compare the errors. Alongside it, work the four chapter tests: Chapter Test 01, then -02-02, -02-03 and -02-04, each with 15 questions in 36 minutes. Then mix the topic into a JEE Main Mathematics practice test and a full JEE Main mock. The free JEE Main mini mock needs no sign-up. Full mocks, practice tests and chapter tests are part of the Pro Pass. For the determinant skills that this chapter relies on, see the sibling posts on evaluating determinants and adjoint and inverse.
We suggest the following ten-day plan.
| Day | Work |
|---|---|
| 1 | The three cases for $2\times2$ systems; geometry of lines; ten classification problems |
| 2 | $3\times3$ with $\Delta\ne0$: Cramer's rule and the inverse; five solved systems |
| 3 | $\Delta=0$: the adjoint test, and a rank-one example where it fails |
| 4 | Row reduction of augmented matrices; read ranks; chapter test 01 |
| 5 | Parameter problems with $\lambda,\mu$: ten problems, always a three-row table |
| 6 | Homogeneous systems; ratios $x:y:z$; chapter test 02 |
| 7 | Three equations in two unknowns; concurrency of lines; planes meeting in a line |
| 8 | Counting questions with coefficients from a set; statement-type questions; chapter test 03 |
| 9 | Topic Drill on consistency; chapter test 04; error log |
| 10 | Redo the errors; one timed practice test with determinants and matrices mixed |
Also read: Linear Differential Equations and Integrating Factor for JEE
Related reading
The parent guide is determinants: properties, evaluation and Cramer's rule, and the neighbouring chapter is matrices: operations, inverse and systems. For the habits that carry across the paper, see maths pattern recognition for JEE and how to use chapter tests and topic drills.
Frequently asked questions
Can a system with a zero determinant have a unique solution?
No. For a square system, $\Delta=0$ means the matrix has no inverse, so the solution, if one exists, is not unique. The system then has either no solution or infinitely many.
How do I decide between "no solution" and "infinitely many" when $\Delta=0$?
Row-reduce the augmented matrix. A row of zeros on the left with a non-zero constant is a contradiction and means no solution. If no such row appears, the system is consistent and has infinitely many solutions. For a $3\times3$ system of rank $2$ you can also use $(\operatorname{adj}A)B$.
Why does the adjoint test fail when $A$ has rank one?
Because every $2\times2$ minor of a rank-one matrix is zero, so $\operatorname{adj}A$ is the zero matrix and $(\operatorname{adj}A)B$ is zero whatever $B$ is. The test cannot detect a contradiction, so you must compare the equations directly.
When does a homogeneous system have only the trivial solution?
For a square homogeneous system, exactly when $\Delta\ne0$. If $\Delta=0$ there are non-trivial solutions, and the number of free parameters is $n-\operatorname{rank}A$.
Are two lines with the same slope always without a common point?
Only if they are distinct. Equal slope means the coefficient rows are proportional. If the constants are proportional too, the lines coincide and there are infinitely many common points. If not, they are parallel and there is none.
Is the determinant condition for concurrent lines enough?
It is necessary. When it holds, the three equations are consistent unless the first two lines are parallel and distinct. A numerical problem is safer to solve by finding the intersection of two lines and substituting into the third.
Can the system $AX=B$ have exactly two solutions?
No. If it has two distinct solutions $X_1$ and $X_2$, every point $X_1+t(X_1-X_2)$ on the line through them is also a solution, so there are infinitely many.


Comments (0)
No comments yet. Be the first to share your thoughts.