JEE Preparation

Unit 1: How JEE Works
Unit 6: Methods, Revision and Mock Strategy
Practice & Planning

Lesson 20: Mathematics: Matrices and Determinants

Matrices are the algebra of systems: a compact way to write many equations at once, and a tool that turns solving them into a sequence of mechanical steps. In JEE, matrices and determinants form a single topic, and the questions test whether you can move fluently between the two — a determinant tells you whether a system has a unique solution, and a matrix inverse gives it to you.

This lesson covers matrix operations, determinants and their properties, inverses, and solving systems of linear equations.

Matrices and their operations

A matrix is a rectangular array of numbers, and its order is written as rows × columns. Two matrices can be added only if they have the same order, and they are multiplied element by element in addition but by rows against columns in multiplication: the (i, j) entry of AB is the dot product of row i of A with column j of B. Matrix multiplication is defined only when the number of columns of A equals the number of rows of B, and it is not commutative in general: AB and BA are usually different, and one of them may not even exist. It is associative, (AB)C = A(BC), and distributive over addition.

Special matrices recur throughout the topic. A square matrix has the same number of rows and columns. A diagonal matrix has zeros off the main diagonal; a scalar matrix has the same number on the whole diagonal; the identity matrix I has ones on the diagonal and zeros elsewhere, and AI = IA = A. The transpose Aᵀ swaps rows and columns, and (AB)ᵀ = BᵀAᵀ — note the reversed order, which is a favourite trap. A symmetric matrix satisfies Aᵀ = A, and a skew-symmetric matrix satisfies Aᵀ = −A, so its diagonal entries are all zero. Every square matrix can be written uniquely as the sum of a symmetric and a skew-symmetric matrix: A = (A + Aᵀ)/2 + (A − Aᵀ)/2.

Determinants

The determinant of a 2 × 2 matrix [[a, b], [c, d]] is ad − bc. For a 3 × 3 matrix, expand along any row or column, multiplying each entry by its cofactor — the determinant of the matrix left after deleting its row and column, with a sign of (−1)i+j. The properties of determinants are what make them fast: swapping two rows or columns changes the sign; multiplying a row by k multiplies the determinant by k; adding a multiple of one row to another leaves the determinant unchanged; and a determinant with two identical rows, or a row of zeros, is zero. A matrix is singular if its determinant is zero, and non-singular otherwise.

The adjoint of a matrix is the transpose of its cofactor matrix, and it is the key to the inverse: A⁻¹ = adj(A)/det(A), which exists only when det(A) ≠ 0. For a 2 × 2 matrix [[a, b], [c, d]], the inverse is (1/(ad − bc)) × [[d, −b], [−c, a]] — swap the diagonal entries, change the sign of the off-diagonal ones, and divide by the determinant. That one formula is worth memorising exactly, because it appears in questions far more often than the general 3 × 3 inverse.

Worked example — Inverse of a 2 × 2 matrix

Find the inverse of A = [[2, 1], [3, 4]].

det(A) = 2 × 4 − 1 × 3 = 8 − 3 = 5, which is non-zero, so the inverse exists.

A⁻¹ = (1/5) × [[4, −1], [−3, 2]] = [[4/5, −1/5], [−3/5, 2/5]].

Solving systems of linear equations

A system of linear equations can be written as AX = B, where A is the coefficient matrix, X is the column of unknowns, and B is the column of constants. If A is non-singular, the system has a unique solution, X = A⁻¹B. If A is singular, the system has either no solution or infinitely many, and the question becomes one of consistency: the system is consistent when the equations do not contradict each other, which happens when the rank of A equals the rank of the augmented matrix [A|B]. Cramer's rule gives the same unique solution one variable at a time: x = Dx/D, y = Dy/D, z = Dz/D, where D is the determinant of A and Dx is the determinant formed by replacing the x-column of A with B.

For two equations in two unknowns, the determinant test is immediate: the system a₁x + b₁y = c₁, a₂x + b₂y = c₂ has a unique solution exactly when a₁b₂ − a₂b₁ ≠ 0. Geometrically, that is the condition that the two lines are not parallel. For three equations in three unknowns, the same idea holds in three dimensions: a unique solution when det(A) ≠ 0, and the three planes meeting in a single point. When a question asks for the values of a parameter that make a system consistent, or that give it no solution, set up the determinant condition first — it is usually one equation in the parameter, and it settles the question before any elimination begins.

Worked example — Solving a system by Cramer's rule

Solve 2x + y = 5 and 3x + 4y = 10.

D = 2 × 4 − 1 × 3 = 5. Dx = 5 × 4 − 1 × 10 = 10, so x = 10/5 = 2.

Dy = 2 × 10 − 5 × 3 = 5, so y = 5/5 = 1. Check: 2 × 2 + 1 = 5, and 3 × 2 + 4 × 1 = 10.

Common pitfalls

Do not assume AB = BA: matrix multiplication is not commutative, and in a question that asks for AB − BA, the answer is usually not the zero matrix.

Do not divide by a determinant without checking it is non-zero: A⁻¹ and Cramer's rule both fail when det(A) = 0, and that failure is often the point of the question.

Do not forget the sign pattern in a cofactor expansion: the signs alternate in a chessboard pattern starting with + in the top-left corner, and a missed sign is the most common arithmetic error in a 3 × 3 determinant.

Further study

  1. NCERT Class 12 Mathematics, chapters on matrices and determinants.
  2. NCERT Class 11 Mathematics, chapter on sets and relations (matrix notation, where covered).
Practice questions: every question on this page is an original Alpha School practice question written for this course. These are not past papers and are not copied from any real exam.

📝 Quiz

1. Find the inverse of [[2, 1], [3, 4]]. What is its determinant?

Show answer

a) det = 8 − 3 = 5.

2. Solve 2x + y = 5 and 3x + 4y = 10 by Cramer's rule. What is x?

Show answer

b) D = 5, D_x = 10, so x = 2.

3. Which statement about matrix multiplication is correct?

Show answer

c) Multiplication is not commutative in general.

4. When does a square matrix have an inverse?

Show answer

b) A⁻¹ = adj(A)/det(A) needs det(A) ≠ 0.

0% read — keep reading to complete this lesson.