Chapter 3 · Introduction

Chapter 3 — Matrices and Determinants

A matrix is a table of numbers that can be added, multiplied and — sometimes — inverted; a determinant is the single number that decides whether it can. Together they turn systems of linear equations, areas and transformations of the plane into short calculations.

About two thousand years ago, Chinese mathematicians wrote down in The Nine Chapters on the Mathematical Art a method for problems like this: three bundles of a good harvest, two of a medium one and one of a poor one yield $39$ measures of grain; two, three and one bundles yield $34$; one, two and three yield $26$ — how much grain is in one bundle of each kind? They laid the coefficients out on a counting board as a rectangular array of rods and combined whole columns of it until the answer could be read off. That array was a matrix, and the procedure was the elimination you still use today. Much later, Seki Takakazu in Japan (1683) and Gottfried Leibniz in Germany (1693) independently found the single number built from the coefficients that decides whether such a problem has a unique answer — the determinant — and in 1858 Arthur Cayley showed that the arrays themselves can be added and multiplied like numbers, with a few important differences.

Today matrices are everywhere computation is. Every frame of a video game is drawn by multiplying the coordinates of millions of points by $4\times4$ matrices; engineers analyse a bridge by solving thousands of linear equations at once; search engines rank web pages with a giant matrix of links; a neural network is, at heart, a long chain of matrix products. In JEE Main this unit usually gives one or two questions per paper, and they are among the most reliable marks for a prepared candidate: a power or a product of matrices, a property such as $|kA|=k^n|A|$ or $|\operatorname{adj}A|=|A|^{n-1}$, an area, or "for which $\lambda$ does the system have infinitely many solutions?". Section 3.1 builds the algebra of matrices, Section 3.2 the determinant and its properties, and Section 3.3 the adjoint, the inverse and the test of consistency for linear systems.

Matrices→$A+B$, $kA$, $AB$→$A^{T}$, symmetric, skew→Determinant $|A|$→Properties, area→$\operatorname{adj}A$→$A^{-1}$→$AX=B$: one, none or infinitely many
🎯 By the end of this chapter you can…
  • recognise the types of matrices (row, column, square, diagonal, scalar, identity, triangular, zero), and count matrices of a given type;
  • add, scale and multiply matrices, decide when a product is defined, and avoid the traps $AB\ne BA$ and "$AB=O\Rightarrow A=O$ or $B=O$";
  • use the transpose and the reversal law $(AB)^{T}=B^{T}A^{T}$, split a matrix into symmetric and skew-symmetric parts, and use the trace;
  • find powers of special matrices (idempotent, nilpotent, involutory, $I+N$) by spotting patterns;
  • evaluate determinants of order two and three by expansion and by the properties (row operations, factor theorem), and use $|AB|=|A||B|$ and $|kA|=k^n|A|$;
  • find the area of a triangle with a determinant and test three points for collinearity;
  • build the adjoint, find the inverse $A^{-1}=\frac1{|A|}\operatorname{adj}A$, and use the chain of adjoint properties;
  • solve systems of two or three linear equations by $X=A^{-1}B$ or Cramer's rule, and apply the test of consistency, including parameter and homogeneous problems;
  • solve JEE Main multiple-choice and numerical-answer problems on the whole unit.

The matrix $A=\begin{bmatrix}2&1\\1&3\end{bmatrix}$ sends the unit square to a parallelogram. What is the area of that parallelogram?

Choose the preset [[2, 1], [1, 3]] and let Play morph the plane from $I$ to $A$. The readout "area of the image" grows from $1$ to $5$, and "area factor" shows $\det A=2\cdot3-1\cdot1=5$. Every region of the plane — the house, the grid squares — has its area multiplied by the same factor $|\det A|$. Section 3.2 proves this; the preset singular shows what happens when $\det A=0$: the plane is flattened onto a line, and nothing can undo it — such a matrix has no inverse (Section 3.3).
Teaser — A Matrix Moves the Plane

A $2\times2$ matrix $A$ moves every point $\begin{bmatrix}x\\y\end{bmatrix}$ to $A\begin{bmatrix}x\\y\end{bmatrix}$. Press Play to watch the plane morph from the identity $I$ into $A$ — the grid, the shaded unit square and the house all move together — and then watch $A^{-1}$ undo it. Or drag the slider yourself. Try every preset: which ones change areas, which ones flip the house over, and which one cannot be undone?

matrix now—
area factor $\det A$—
area of the image—
can it be undone?—

Sections in this chapter

🎯 Chapter mixed test JEE Main · MCQJEE Main · Numerical

Eight problems from all three sections, in no particular order — just as they come in the paper, where nothing tells you which idea a question needs. Answer each one and press Submit (NTA marking: $+4$ correct, $-1$ wrong, $0$ unanswered), or press ⏱ Take as a timed test for the real-exam experience: $8$ questions at the JEE Main pace of $2.4$ minutes each, with the NTA question palette.

E1. JEE Main · MCQ If $A=\begin{bmatrix}1&-1\\2&3\end{bmatrix}$, then $A^2-4A+5I$ equals (A) $I$ (B) $O$ (C) $2A$ (D) $A^2$

Square $A^2=\begin{bmatrix}1-2&-1-3\\2+6&-2+9\end{bmatrix}=\begin{bmatrix}-1&-4\\8&7\end{bmatrix}$.
Combine $A^2-4A=\begin{bmatrix}-1-4&-4+4\\8-8&7-12\end{bmatrix}=\begin{bmatrix}-5&0\\0&-5\end{bmatrix}=-5I$.
Answer $A^2-4A+5I=O$: (B).
⏱ Shortcut Every $2\times2$ matrix satisfies $A^2-(\operatorname{tr}A)A+|A|I=O$. Here $\operatorname{tr}A=4$ and $|A|=3+2=5$.

E2. JEE Main · Numerical Find the area, in square units, of the triangle with vertices $(-1,2)$, $(3,-1)$ and $(5,4)$. Give the answer to the nearest integer.

Determinant $\Delta=-1(-1-4)+3(4-2)+5(2-(-1))=5+6+15=26$ (Theorem 3.11).
Answer Area $=\tfrac12|\Delta|=13$.
⏱ Shortcut Subtract the first vertex: sides $(4,-3)$ and $(6,2)$, and $\tfrac12|4\cdot2-(-3)\cdot6|=\tfrac12\cdot26=13$.

E3. JEE Main · MCQ $A$ is a $3\times3$ matrix with $|A|=2$. Then $|\operatorname{adj}(3A)|$ equals (A) $2916$ (B) $324$ (C) $36$ (D) $108$

Route 1 $|3A|=3^3\cdot2=54$, and $|\operatorname{adj}M|=|M|^2$ for order $3$: $54^2=2916$.
Route 2 $\operatorname{adj}(3A)=3^2\operatorname{adj}A$, so $|\operatorname{adj}(3A)|=9^3\,|A|^2=729\cdot4=2916$ ✓.
Answer (A).
⏱ Shortcut Route 1 is fastest: first the determinant of the inside, then square it. (B) $=81\cdot4$ applies $3^{n-1}$ only once.

E4. JEE Main · Numerical Find the number of $3\times3$ symmetric matrices with every entry from $\{0,1\}$ whose trace is $2$. Give the answer to the nearest integer.

Diagonal Trace $2$ with entries $0$ or $1$: exactly two diagonal entries are $1$ — $3$ ways.
Off the diagonal A symmetric matrix is fixed by its $3$ entries above the diagonal: $2^3=8$ ways.
Answer $3\times8=24$.

E5. JEE Main · MCQ The system $x+2y=3$, $\ 3x+ky=9$ (A) has no solution for $k=6$ (B) has a unique solution for every $k$ (C) has infinitely many solutions for $k=6$ (D) is inconsistent for every $k\ne6$

$\Delta$ $\Delta=k-6$: unique solution for $k\ne6$ (so (B) and (D) are false).
$k=6$ The second equation is $3\times$ the first, right side included ($9=3\cdot3$): the lines coincide.
Answer (C).
⏱ Shortcut Compare ratios: $\tfrac13=\tfrac2k=\tfrac39$ holds for $k=6$ — all three equal means the same line.

E6. JEE Main · Numerical $A$ is a $2\times2$ matrix with $|A|=3$. Find $\big|A^{T}(\operatorname{adj}A)(2A)\big|$. Give the answer to the nearest integer.

Factors $|A^{T}|=3$; $|\operatorname{adj}A|=|A|^{n-1}=3$ for order $2$; $|2A|=2^2\cdot3=12$.
Answer By the product rule, $3\cdot3\cdot12=108$.
⏱ Shortcut Watch the order: for $2\times2$, $|\operatorname{adj}A|=|A|$ and $|kA|=k^2|A|$. Using the $3\times3$ rules gives $|A|^2$ and $k^3$ — wrong here.

E7. JEE Main · MCQ For $A=\begin{bmatrix}0&2&-1\\-2&0&3\\1&-3&0\end{bmatrix}$, the value of $|A|+\operatorname{tr}A+\operatorname{tr}(A^2)$ is (A) $28$ (B) $0$ (C) $-14$ (D) $-28$

Skew-symmetric $A^{T}=-A$ and the order is odd, so $|A|=0$; the diagonal is zero, so $\operatorname{tr}A=0$.
$\operatorname{tr}(A^2)$ $A^2=A(-A^{T})=-AA^{T}$, and $\operatorname{tr}(AA^{T})$ is the sum of the squares of all entries: $2(4+1+9)=28$. So $\operatorname{tr}(A^2)=-28$.
Answer $0+0-28=-28$: (D).
Check The $(1,1)$ entry of $A^2$ is $0\cdot0+2(-2)+(-1)(1)=-5$; the others are $-13$ and $-10$; total $-28$ ✓.

E8. JEE Main · Numerical Let $A=\begin{bmatrix}1&2&0\\0&1&3\\0&0&1\end{bmatrix}$. Find the $(1,3)$ entry of $A^{-1}$. Give the answer to the nearest integer.

Adjoint $|A|=1$ (triangular). The $(1,3)$ entry of $A^{-1}=\operatorname{adj}A$ is $C_{31}=\begin{vmatrix}2&0\\1&3\end{vmatrix}=6$.
Answer $6$.
⏱ Shortcut $A=I+N$ with $N^3=O$, so $A^{-1}=I-N+N^2$ (multiply out $(I+N)(I-N+N^2)=I+N^3=I$). The $(1,3)$ entry comes only from $N^2$: $2\cdot3=6$.
✅ Before you start
You need Class 10 algebra and coordinate geometry: solving a pair of linear equations in two variables (and what it means for the two lines to be parallel or the same), factorising quadratics and cubics with the factor theorem, and plotting points and finding slopes in the coordinate plane. The values $\sin$ and $\cos$ of $0^\circ$, $30^\circ$, $45^\circ$, $60^\circ$, $90^\circ$ appear in a few rotation examples. From this course, Chapter 1 helps: a relation on a finite set is already a matrix of $0$s and $1$s (Section 1.1), counting symmetric relations is the same as counting symmetric matrices, and a matrix acting on the plane is a function in the sense of Section 1.2 — one-one and onto exactly when its determinant is not zero. Summation notation $\sum$ is explained where it is first used, in Section 3.1.