Chapter 3 ยท Matrices and Determinants

3.2 Determinants and their Properties

Every square matrix carries one number, its determinant. This section defines determinants of order two and three, evaluates them by expansion and by the properties that make the work short, and uses them to find the area of a triangle and to test whether three points are collinear.

Solve the pair of equations $a_1x+b_1y=c_1$, $a_2x+b_2y=c_2$ by elimination: multiply the first by $b_2$, the second by $b_1$ and subtract. You get $(a_1b_2-a_2b_1)\,x=c_1b_2-c_2b_1$. Everything depends on the single number $a_1b_2-a_2b_1$ built from the coefficients: if it is not zero there is exactly one solution, and if it is zero the two lines are parallel (no solution) or the same line (infinitely many). Mathematicians in seventeenth-century Japan and Germany noticed the same pattern for three equations in three unknowns, with a longer expression, and called it the determinant โ€” it determines whether the system has a unique solution.

The same number has a picture. The parallelogram with sides along $(a,b)$ and $(c,d)$ has area $|ad-bc|$, and that is why the area of a triangle can be written as a determinant of its vertices. In this section we define determinants of order $2$ and $3$, learn the properties that let you evaluate them in a few lines instead of grinding through six products, and apply them to areas and collinearity. In the next section the determinant becomes the key to the inverse of a matrix. JEE Main asks about this part of the unit in almost every paper โ€” a determinant to evaluate or factorise, a property like $|kA|=k^n|A|$ or $|AB|=|A||B|$, or an area.

Determinants of Order Two and Three

๐Ÿ“˜ Definition 3.8 โ€” Determinant of order one and two

The determinant of a $1\times1$ matrix is its entry: $|[a]|=a$. The determinant of a $2\times2$ matrix is

$$|A|=\det A=\begin{vmatrix}a&b\\c&d\end{vmatrix}=ad-bc$$

โ€” the product down the leading diagonal minus the product up the other diagonal. Only square matrices have determinants. We write $|A|$, $\det A$ or $\Delta$; the straight bars mean "determinant", not "absolute value" (a determinant can be negative).

For order three we reduce to order two. Delete a row and a column, and a $2\times2$ determinant is left over.

๐Ÿ“˜ Definition 3.9 โ€” Minors, cofactors and the determinant of order three

For a square matrix $A=[a_{ij}]$, the minor $M_{ij}$ of the entry $a_{ij}$ is the determinant left after deleting row $i$ and column $j$; its cofactor is $C_{ij}=(-1)^{i+j}M_{ij}$. The signs $(-1)^{i+j}$ form a chessboard pattern starting with $+$ in the top-left corner:

$$\begin{bmatrix}+&-&+\\-&+&-\\+&-&+\end{bmatrix}.$$

For a $3\times3$ matrix, $|A|=a_{11}C_{11}+a_{12}C_{12}+a_{13}C_{13}$ (expansion along row $1$):

$$\begin{vmatrix}a_{11}&a_{12}&a_{13}\\a_{21}&a_{22}&a_{23}\\a_{31}&a_{32}&a_{33}\end{vmatrix}=a_{11}\begin{vmatrix}a_{22}&a_{23}\\a_{32}&a_{33}\end{vmatrix}-a_{12}\begin{vmatrix}a_{21}&a_{23}\\a_{31}&a_{33}\end{vmatrix}+a_{13}\begin{vmatrix}a_{21}&a_{22}\\a_{31}&a_{32}\end{vmatrix}.$$
๐Ÿ“ Theorem 3.7 โ€” Expansion along any row or column

A $3\times3$ determinant can be expanded along any row or any column, and every expansion gives the same value:

$$|A|=\sum_{j=1}^{3}a_{ij}C_{ij}\ \ (\text{any row } i)\qquad=\qquad\sum_{i=1}^{3}a_{ij}C_{ij}\ \ (\text{any column } j).$$

Written out in full, $|A|=a_{11}a_{22}a_{33}+a_{12}a_{23}a_{31}+a_{13}a_{21}a_{32}-a_{13}a_{22}a_{31}-a_{11}a_{23}a_{32}-a_{12}a_{21}a_{33}$.

Why. Expanding along row $1$ and multiplying out the three $2\times2$ determinants gives the six products in the box. Each product takes exactly one entry from every row and exactly one from every column, with the sign shown. Expanding along any other row or column produces the same six products with the same signs โ€” for example along column $1$: $a_{11}(a_{22}a_{33}-a_{23}a_{32})$ $-\,a_{21}(a_{12}a_{33}-a_{13}a_{32})$ $+\,a_{31}(a_{12}a_{23}-a_{13}a_{22})$, which multiplies out to the same six terms. So the choice of row or column is yours. $\blacksquare$ Use it: expand along the row or column with the most zeros โ€” a zero entry kills its whole term. The six-term formula can be remembered by Sarrus's rule: copy the first two columns to the right of the determinant, add the three products running down to the right and subtract the three running up to the right. (It works for order $3$ only.)

โœ๏ธ Example 1 โ€” Evaluating determinants
(a) Evaluate $\begin{vmatrix}3&-2\\5&4\end{vmatrix}$. (b) Evaluate $\Delta=\begin{vmatrix}2&-1&3\\0&4&-2\\1&5&1\end{vmatrix}$ by expanding along the first column, and check by expanding along the first row. (c) Solve $\begin{vmatrix}x&4\\2&x-7\end{vmatrix}=0$. (d) For the determinant in (b), find the cofactors $C_{12}$ and $C_{23}$.
(a) $3\cdot4-(-2)\cdot5=12+10=22$.
(b) Column 1 Signs $+,-,+$ down the column; the $0$ removes the middle term:
$$\Delta=2\begin{vmatrix}4&-2\\5&1\end{vmatrix}-0+1\begin{vmatrix}-1&3\\4&-2\end{vmatrix}=2(4+10)+(2-12)=28-10=18.$$
Check: row 1 $2(4+10)-(-1)\big(0\cdot1-(-2)\cdot1\big)+3(0\cdot5-4\cdot1)=28+2-12=18$ โœ“.
(c) $x(x-7)-8=x^2-7x-8=(x-8)(x+1)=0$: $x=8$ or $x=-1$.
(d) Delete row $1$, column $2$: $M_{12}=\begin{vmatrix}0&-2\\1&1\end{vmatrix}=0+2=2$, and $C_{12}=(-1)^{3}\cdot2=-2$. Delete row $2$, column $3$: $M_{23}=\begin{vmatrix}2&-1\\1&5\end{vmatrix}=10+1=11$, and $C_{23}=(-1)^{5}\cdot11=-11$.

For $A=\begin{bmatrix}2&0&1\\3&-1&4\\5&2&6\end{bmatrix}$, the cofactor $C_{21}$ is

Properties of Determinants

Expanding a $3\times3$ determinant costs six products; with large or algebraic entries that is slow and error-prone. The properties below let you simplify first โ€” create zeros, take out common factors, spot equal rows โ€” and then expand. Each is stated for rows; by the first property, every one is equally true for columns.

๐Ÿ“ Theorem 3.8 โ€” Properties of determinants

Let $A$ be a square matrix of order $2$ or $3$.

  1. Transpose: $|A^{T}|=|A|$.
  2. Swap: interchanging two rows changes the sign of the determinant.
  3. Equal rows: if two rows are equal (or proportional), the determinant is $0$.
  4. Scaling a row: multiplying one row by $k$ multiplies the determinant by $k$. Hence a common factor of a row can be taken outside.
  5. Sum rule: if every entry of a row is a sum of two terms, the determinant splits into the sum of two determinants: $$\begin{vmatrix}a_1+b_1&a_2+b_2&a_3+b_3\\p_1&p_2&p_3\\q_1&q_2&q_3\end{vmatrix}=\begin{vmatrix}a_1&a_2&a_3\\p_1&p_2&p_3\\q_1&q_2&q_3\end{vmatrix}+\begin{vmatrix}b_1&b_2&b_3\\p_1&p_2&p_3\\q_1&q_2&q_3\end{vmatrix}.$$
  6. Row operation: adding a multiple of one row to another, $R_i\to R_i+kR_j$ ($i\ne j$), does not change the determinant.
  7. Triangular: the determinant of a triangular (in particular, a diagonal) matrix is the product of its diagonal entries.

Proofs. (1) Expanding $|A^{T}|$ along its first column is expanding $|A|$ along its first row (Theorem 3.7). (2) For order $2$: $\begin{vmatrix}c&d\\a&b\end{vmatrix}=cb-da=-(ad-bc)$. For order $3$, if rows $i$ and $j$ are swapped, expand along the third row: every minor of that row is a $2\times2$ determinant made from rows $i$ and $j$, now in the opposite order, so every minor โ€” and the total โ€” changes sign. (3) Swapping two equal rows leaves the matrix unchanged but changes the sign: $\Delta=-\Delta$, so $\Delta=0$. Proportional rows: take the factor out by (4) and two rows become equal. (4) and (5): expand along that row โ€” each term $a_{ij}C_{ij}$ is multiplied by $k$, or splits as $b_jC_{ij}+c_jC_{ij}$ (the cofactors of that row do not involve the row itself). (6) By (5), the new determinant is $|A|$ plus $k$ times a determinant whose rows $i$ and $j$ are equal, which is $0$ by (3). (7) Expand along the first column repeatedly: only the diagonal entry survives each time. $\blacksquare$

๐Ÿ“ Theorem 3.9 โ€” Determinant of a product and of a multiple

For square matrices $A$, $B$ of the same order $n$ ($n=2$ or $3$) and a number $k$:

$$|AB|=|A|\,|B|,\qquad |A^m|=|A|^m,\qquad |kA|=k^n|A|.$$

In particular $|AA^{T}|=|A|^2$, $|-A|=(-1)^n|A|$, and every skew-symmetric matrix of odd order has determinant $0$.

Proof for order 2. With $A=\begin{bmatrix}a&b\\c&d\end{bmatrix}$, $B=\begin{bmatrix}p&q\\r&s\end{bmatrix}$, $AB=\begin{bmatrix}ap+br&aq+bs\\cp+dr&cq+ds\end{bmatrix}$ and

$$|AB|=(ap+br)(cq+ds)-(aq+bs)(cp+dr)=ad(ps-qr)-bc(ps-qr)=|A|\,|B|,$$

since the terms $apcq$ and $brds$ cancel against $aqcp$ and $bsdr$. The same identity holds for order $3$ (a longer computation of the same kind). Then $|A^m|=|A|^m$ by repeating it. $kA$ multiplies each of the $n$ rows by $k$, so by property (4) the determinant is multiplied by $k$ once per row: $k^n$. Finally, if $A^{T}=-A$ with $n$ odd, $|A|=|A^{T}|=|-A|=(-1)^n|A|=-|A|$, so $|A|=0$. $\blacksquare$ Warning: there is no such rule for sums โ€” in general $|A+B|\ne|A|+|B|$.

๐Ÿ“ Theorem 3.10 โ€” Expansion with the cofactors of another row

If the entries of one row are multiplied by the cofactors of a different row and added, the result is $0$: for $i\ne k$,

$$a_{i1}C_{k1}+a_{i2}C_{k2}+a_{i3}C_{k3}=0,$$

and similarly for columns. (With $i=k$ the same sum is $|A|$.)

Proof. The sum is exactly the expansion, along row $k$, of the determinant obtained from $A$ by replacing row $k$ with a copy of row $i$ โ€” the cofactors of row $k$ do not see what is in row $k$. That determinant has two equal rows, so it is $0$ by Theorem 3.8(3). $\blacksquare$ This small fact is what makes the adjoint and the inverse work in Section 3.3.

๐Ÿ“˜ Definition 3.10 โ€” Singular and non-singular matrices

A square matrix $A$ is singular if $|A|=0$ and non-singular if $|A|\ne0$. By Theorem 3.9, a product $AB$ of square matrices is non-singular exactly when both $A$ and $B$ are.

๐Ÿงญ Problem-solving strategy โ€” evaluating a determinant quickly
  1. Look first. Two equal or proportional rows (or columns)? A row of zeros? Then $\Delta=0$ at once. Triangular? Multiply the diagonal.
  2. Take out common factors from rows and columns (property 4).
  3. Make zeros with operations $R_i\to R_i+kR_j$ or $C_i\to C_i+kC_j$ (property 6) โ€” adding all rows to the first, $R_1\to R_1+R_2+R_3$, is useful when every column has the same sum.
  4. Expand along the row or column with the most zeros, minding the chessboard signs.
  5. Factor theorem for algebraic entries: if putting $x=a$ makes two rows equal, then $(x-a)$ is a factor of $\Delta(x)$; compare degrees and leading coefficients to find the rest.
โœ๏ธ Example 2 โ€” Letting the properties do the work
(a) Evaluate $\begin{vmatrix}102&18&36\\1&3&4\\17&3&6\end{vmatrix}$. (b) Prove that $\begin{vmatrix}1&a&a^2\\1&b&b^2\\1&c&c^2\end{vmatrix}=(a-b)(b-c)(c-a)$. (c) Show that $\begin{vmatrix}1+x&1&1\\1&1+x&1\\1&1&1+x\end{vmatrix}=x^2(x+3)$, and find its value when $x=2$.
(a) $102=6\cdot17$, $18=6\cdot3$, $36=6\cdot6$: row $1$ is $6\times$ row $3$. Proportional rows: the determinant is $0$ (property 3). No arithmetic needed.
(b) Make zeros $R_2\to R_2-R_1$, $R_3\to R_3-R_1$ (property 6), then take out $(b-a)$ from row $2$ and $(c-a)$ from row $3$ (property 4):
$$\begin{vmatrix}1&a&a^2\\0&b-a&b^2-a^2\\0&c-a&c^2-a^2\end{vmatrix}=(b-a)(c-a)\begin{vmatrix}1&a&a^2\\0&1&b+a\\0&1&c+a\end{vmatrix}.$$
Expand Along column $1$: $(b-a)(c-a)\big[(c+a)-(b+a)\big]=(b-a)(c-a)(c-b)$, and $(b-a)(c-b)=(a-b)(b-c)$, so this is $(a-b)(b-c)(c-a)$. $\blacksquare$
(c) Every column adds up to $x+3$. $R_1\to R_1+R_2+R_3$ and take out $x+3$; then $C_2\to C_2-C_1$, $C_3\to C_3-C_1$:
$$(x+3)\begin{vmatrix}1&1&1\\1&1+x&1\\1&1&1+x\end{vmatrix}=(x+3)\begin{vmatrix}1&0&0\\1&x&0\\1&0&x\end{vmatrix}=(x+3)x^2.$$
Value At $x=2$: $4\cdot5=20$. Check directly: $\begin{vmatrix}3&1&1\\1&3&1\\1&1&3\end{vmatrix}=3(9-1)-1(3-1)+1(1-3)=24-2-2=20$ โœ“.
โœ๏ธ Example 3 โ€” Products and multiples
(a) $A$ is a $3\times3$ matrix with $|A|=4$. Find $|2A|$, $|A^2A^{T}|$ and $|-A|$. (b) Show without expanding that $\begin{vmatrix}0&p&-q\\-p&0&r\\q&-r&0\end{vmatrix}=0$. (c) For $A=\begin{bmatrix}1&2\\3&k\end{bmatrix}$ and $B=\begin{bmatrix}2&-1\\1&1\end{bmatrix}$, find $k$ if $|AB|=6$.
Find $k$ in (c):
(a) $|2A|=2^3|A|=32$ (each of the three rows is doubled). $|A^2A^{T}|=|A|^2|A^{T}|=16\cdot4=64$. $|-A|=(-1)^3\cdot4=-4$.
(b) The matrix is skew-symmetric ($a_{ij}=-a_{ji}$, zero diagonal) of odd order $3$, so its determinant is $0$ (Theorem 3.9). Directly: $0-p(0-qr)+(-q)(pr-0)=pqr-pqr=0$ โœ“.
(c) $|B|=2+1=3$ and $|A|=k-6$. $|AB|=|A||B|=3(k-6)=6$ gives $k=8$.
Check With $k=8$, $AB=\begin{bmatrix}4&1\\14&5\end{bmatrix}$ and $20-14=6$ โœ“.

Take the rows $R_1=(3,1)$ and $R_2=(1,2)$, so $\begin{vmatrix}3&1\\1&2\end{vmatrix}=5$. Apply $R_1\to R_1+2R_2$, which gives $R_1=(5,5)$. What is the new determinant?

Press โ†บ reset, set $k=2$ and press Rโ‚ โ†’ Rโ‚ + kRโ‚‚. The tip of $R_1$ slides along the dashed line parallel to $R_2$ from $(3,1)$ to $(5,5)$: the parallelogram keeps the same base $R_2$ and the same height, so the readout stays at $\det=5$ and area $5$. By hand, $\begin{vmatrix}5&5\\1&2\end{vmatrix}=10-5=5$ โœ“. This is property 6. ($15$ would be $3\times5$ โ€” scaling $R_1$ by $3$ is a different operation.)
Interactive 1 โ€” Determinant Lab: Area, Sign and Row Operations

The rows $R_1=(a,b)$ and $R_2=(c,d)$ of a $2\times2$ matrix are drawn as arrows from the origin. They span a parallelogram whose area is $|ad-bc|$; the determinant is positive when you turn anticlockwise from $R_1$ to $R_2$ and negative when you turn clockwise. Apply a row operation and watch what the determinant does. Play tours the three operations.

2
matrixโ€”
determinantโ€”
area $|ad-bc|$โ€”
orientationโ€”

$A$ is a $3\times3$ matrix with $|A|=5$. Then $|-2A|$ equals

Area of a Triangle and Collinearity

Widget 1 suggests that $|ad-bc|$ is the area of the parallelogram spanned by $(a,b)$ and $(c,d)$. Half of that parallelogram is a triangle, and this gives a determinant formula for the area of any triangle from the coordinates of its corners.

๐Ÿ“ Theorem 3.11 โ€” Area of a triangle; collinear points

The area of the triangle with vertices $P_1(x_1,y_1)$, $P_2(x_2,y_2)$, $P_3(x_3,y_3)$ is $\tfrac12|\Delta|$, where

$$\Delta=\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}=x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2).$$

$\Delta\gt0$ when $P_1\to P_2\to P_3$ runs anticlockwise and $\Delta\lt0$ when it runs clockwise. The three points are collinear if and only if $\Delta=0$, and the line through $(x_1,y_1)$ and $(x_2,y_2)$ is

$$\begin{vmatrix}x&y&1\\x_1&y_1&1\\x_2&y_2&1\end{vmatrix}=0.$$

Proof. Apply $R_2\to R_2-R_1$ and $R_3\to R_3-R_1$ (property 6) and expand along the third column:

$$\Delta=\begin{vmatrix}x_1&y_1&1\\x_2-x_1&y_2-y_1&0\\x_3-x_1&y_3-y_1&0\end{vmatrix}=\begin{vmatrix}p&q\\r&s\end{vmatrix}=ps-qr,$$

where $(p,q)=P_2-P_1$ and $(r,s)=P_3-P_1$ are the two sides from $P_1$. Write them in polar form, $(p,q)=u(\cos\alpha,\sin\alpha)$ and $(r,s)=v(\cos\beta,\sin\beta)$, with $u$, $v$ their lengths. Then $ps-qr=uv(\cos\alpha\sin\beta-\sin\alpha\cos\beta)$ $=uv\sin(\beta-\alpha)$. The angle of the triangle at $P_1$ is $|\beta-\alpha|$ (or $360^\circ$ minus it), so the familiar formula "area $=\tfrac12\times$ two sides $\times$ sine of the included angle" gives area $=\tfrac12 uv|\sin(\beta-\alpha)|=\tfrac12|\Delta|$. The sign of $\sin(\beta-\alpha)$ is positive exactly when $P_3$ is reached from $P_2$ by turning anticlockwise about $P_1$. Three points are collinear exactly when the triangle has zero area. Finally, a point $(x,y)$ lies on the line through $(x_1,y_1)$ and $(x_2,y_2)$ exactly when the three points are collinear. $\blacksquare$

โœ๏ธ Example 4 โ€” Areas, and an area that is given
(a) Find the area of the triangle with vertices $(-2,1)$, $(3,4)$, $(5,-2)$. (b) The triangle with vertices $(k,0)$, $(4,0)$, $(0,2)$ has area $4$ square units. Find $k$.
Find the area in (a):
(a) $\Delta=-2(4-(-2))+3(-2-1)+5(1-4)=-12-9-15=-36$. Area $=\tfrac12|{-36}|=18$ square units. (The negative sign only says the vertices were listed clockwise.)
(b) Two cases $\Delta=k(0-2)+4(2-0)+0(0-0)=8-2k$. Area $4$ means $|\Delta|=8$, so $8-2k=8$ or $8-2k=-8$.
Answer $k=0$ or $k=8$.
Check Both triangles have base on the $x$-axis from $k$ to $4$ (length $4$) and height $2$: area $\tfrac12\cdot4\cdot2=4$ โœ“. Writing only $\Delta=8$ loses the answer $k=8$ โ€” the most common slip in such questions.
โœ๏ธ Example 5 โ€” Collinearity, a line, and a quadrilateral
(a) For what value of $p$ are $(1,-1)$, $(2,p)$, $(4,5)$ collinear? (b) Find the equation of the line through $(1,3)$ and $(-2,0)$ using a determinant. (c) Find the area of the quadrilateral with vertices $(0,0)$, $(4,0)$, $(5,3)$, $(1,4)$, taken in that order.
(a) $\Delta=1(p-5)+2(5-(-1))+4(-1-p)=p-5+12-4-4p=3-3p=0$: $p=1$. Check by slopes: from $(1,-1)$ to $(2,1)$ and to $(4,5)$ the slope is $2$ both times โœ“.
(b) Expand along the first row:
$$\begin{vmatrix}x&y&1\\1&3&1\\-2&0&1\end{vmatrix}=x(3-0)-y(1+2)+1(0+6)=3x-3y+6=0,$$
Line that is, $y=x+2$. Both points satisfy it โœ“.
(c) Cut along the diagonal from $(0,0)$ to $(5,3)$. Triangle $(0,0),(4,0),(5,3)$: $\Delta=0+4(3-0)+5(0-0)=12$, area $6$. Triangle $(0,0),(5,3),(1,4)$: $\Delta=0+5(4-0)+1(0-3)=17$, area $8.5$. Total $14.5$ square units.
โฑ Shortcut For a polygon listed in order, area $=\tfrac12\big|\sum(x_iy_{i+1}-x_{i+1}y_i)\big|$ (the "shoelace" form of the same determinants): $\tfrac12|0+12+17+0|=14.5$ โœ“.

Fix $A(0,0)$ and $B(4,0)$, and let $C$ slide along the line $y=3$ from $x=-3$ to $x=6$. What happens to $\Delta$ for the triangle $ABC$?

Let Play run (press โ†บ reset and then โ–ถ Play if you have stopped it): the lab puts $A=(0,0)$, $B=(4,0)$ and moves $C$ along $y=3$. The readout stays at $\Delta=12$ and area $6$ throughout: the base $AB=4$ and the height $3$ never change. Algebraically $\Delta=0(0-3)+4(3-0)+x(0-0)=12$ โ€” the $x$-coordinate of $C$ drops out. Keep watching: when $C$ then moves down through the $x$-axis, $\Delta$ passes through $0$ (collinear) and becomes negative (clockwise order).
Interactive 2 โ€” Triangle Lab: Area from a Determinant

Drag the vertices $A$, $B$, $C$ (they snap to whole-number points). The lab evaluates $\Delta=x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)$ with your numbers, shades the triangle blue when $A\to B\to C$ runs anticlockwise ($\Delta\gt0$) and red when it runs clockwise, and reports collinearity when $\Delta=0$. Play slides $C$ parallel to $AB$, then across it.

verticesโ€”
$\Delta$โ€”
area $\tfrac12|\Delta|$โ€”
orderโ€”
โœ๏ธ Example 6 โ€” Hard example: a determinant equation, and an area that does not move
(a) Find all real $x$ with $\begin{vmatrix}x&2&3\\2&x&3\\2&3&x\end{vmatrix}=0$, and the sum of the squares of the roots. (b) The vertices of a triangle are $(t,\,t-2)$, $(t+3,\,t)$ and $(t+2,\,t+2)$. Show that its area does not depend on $t$, and find it.
Find the sum of the squares of the roots in (a):
Factor theorem $\Delta(x)$ is a cubic in $x$ with leading term $x^3$ (from the diagonal). At $x=2$, rows $1$ and $2$ become $(2,2,3)$ and are equal: $(x-2)$ is a factor. At $x=3$, rows $2$ and $3$ become $(2,3,3)$: $(x-3)$ is a factor.
Third factor Every row adds up to $x+5$. $C_1\to C_1+C_2+C_3$ makes the first column $(x+5,x+5,x+5)$, so $(x+5)$ is a factor. Comparing leading terms, $\Delta(x)=(x-2)(x-3)(x+5)$.
(a) Answer $x=2$, $3$, $-5$; sum of squares $4+9+25=38$.
Check At $x=0$: $\begin{vmatrix}0&2&3\\2&0&3\\2&3&0\end{vmatrix}=0-2(0-6)+3(6-0)=30$, and $(-2)(-3)(5)=30$ โœ“.
(b) $R_2\to R_2-R_1$, $R_3\to R_3-R_1$ removes $t$ from two rows; expanding along the third column then removes it completely:
$$\Delta=\begin{vmatrix}t&t-2&1\\3&2&0\\2&4&0\end{vmatrix}=1\cdot\begin{vmatrix}3&2\\2&4\end{vmatrix}=12-4=8.$$
(b) Answer Area $=\tfrac12\cdot8=4$ square units for every $t$ โ€” the three points are one triangle translated along the line $y=x$.
โš ๏ธ JEE Main traps

1. $|kA|=k^n|A|$, not $k|A|$. Here $n$ is the order. For order $3$: $|2A|=8|A|$ and $|-A|=-|A|$. Multiplying one row by $k$ multiplies by $k$ only once.

2. Minor or cofactor? $C_{ij}=(-1)^{i+j}M_{ij}$. The signs follow the chessboard $+\,-\,+$; forgetting them is the commonest error in expansions.

3. No sum rule for matrices. $|A+B|\ne|A|+|B|$ in general. The sum rule (property 5) splits one row at a time.

4. Area questions have two cases. "Area $=4$" means $\Delta=8$ or $\Delta=-8$. And an area is never negative โ€” take $\tfrac12|\Delta|$.

5. Which row operations are free? Only $R_i\to R_i+kR_j$. The operation $R_i\to kR_i+R_j$ multiplies the determinant by $k$; swapping rows changes its sign. Sarrus's diagonal rule works for $3\times3$ only.

The points $(1,2)$, $(3,k)$ and $(5,8)$ are collinear when $k$ equals

Exercises

Use the properties of Theorem 3.8 wherever they shorten the work; state which property you use.

I
Evaluating determinants.
  • 1 Evaluate $\begin{vmatrix}7&-3\\4&2\end{vmatrix}$.
  • 2 Evaluate $\begin{vmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{vmatrix}$.
  • 3 Evaluate $\begin{vmatrix}1&2&-1\\3&0&2\\-2&1&4\end{vmatrix}$.
  • 4 Evaluate $\begin{vmatrix}0&5&-2\\-5&0&3\\2&-3&0\end{vmatrix}$ without expanding.
  • 5 Find $x$ if $\begin{vmatrix}2x&5\\8&x\end{vmatrix}=\begin{vmatrix}6&-2\\7&3\end{vmatrix}$.
  • 6 For $A=\begin{bmatrix}1&-2&3\\4&0&-1\\2&5&6\end{bmatrix}$, find the minors and cofactors of the entries of row $2$, and hence $|A|$.
  • 7 Find the real $x$ with $\begin{vmatrix}x&0&1\\2&x&0\\0&1&x\end{vmatrix}=10$.
  • 8 Evaluate $\begin{vmatrix}2&7&-1\\0&-3&5\\0&0&4\end{vmatrix}$.
1 $14-(-12)=26$.
2 $\cos^2\theta+\sin^2\theta=1$.
3 Along row $1$: $1(0-2)-2(12+4)+(-1)(3-0)=-2-32-3=-37$.
4 Skew-symmetric of odd order: $0$ (Theorem 3.9).
5 $2x^2-40=18+14=32$, so $x^2=36$: $x=\pm6$.
6 $M_{21}=\begin{vmatrix}-2&3\\5&6\end{vmatrix}=-27$, $C_{21}=27$; $M_{22}=\begin{vmatrix}1&3\\2&6\end{vmatrix}=0$, $C_{22}=0$; $M_{23}=\begin{vmatrix}1&-2\\2&5\end{vmatrix}=9$, $C_{23}=-9$. $|A|=4\cdot27+0\cdot0+(-1)(-9)=117$.
7 Along row $1$: $x(x^2-0)-0+1(2-0)=x^3+2=10$, so $x^3=8$ and $x=2$.
8 Upper triangular: $2\cdot(-3)\cdot4=-24$.
II
Using the properties.
  • 1 Without expanding, show that $\begin{vmatrix}2&3&5\\4&6&10\\1&7&8\end{vmatrix}=0$ and $\begin{vmatrix}11&12&13\\12&13&14\\13&14&15\end{vmatrix}=0$.
  • 2 Show that $\begin{vmatrix}1&a&b+c\\1&b&c+a\\1&c&a+b\end{vmatrix}=0$.
  • 3 Using Example 2(b), evaluate $\begin{vmatrix}1&1&1\\1&2&4\\1&4&16\end{vmatrix}$ without expanding.
  • 4 Show that $\begin{vmatrix}a+1&a&a\\a&a+1&a\\a&a&a+1\end{vmatrix}=3a+1$, and find its value for $a=4$.
  • 5 $A$ is $3\times3$ with $|A|=3$. Find $|2A|$, $|A^{T}|$, $|A^3|$ and $|-A^{T}A|$.
  • 6 Show that every $3\times3$ skew-symmetric matrix has determinant $0$. Is this true for $2\times2$ skew-symmetric matrices?
  • 7 $A$ and $B$ are $3\times3$ with $|A|=2$ and $|B|=-3$. Find $|A^2B^{T}|$ and $|3AB|$.
  • 8 Prove the sum rule (property 5) for a $3\times3$ determinant by expanding along the split row.
  • 9 Show that $\begin{vmatrix}x&2&2\\2&x&2\\2&2&x\end{vmatrix}=(x-2)^2(x+4)$ and solve $\Delta=0$.
1 In the first, $R_2=2R_1$ (property 3). In the second, $R_2-R_1=(1,1,1)=R_3-R_2$; after $R_3\to R_3-R_2$ and $R_2\to R_2-R_1$ two rows equal $(1,1,1)$.
2 $C_3\to C_3+C_2$ makes the third column $(a+b+c)(1,1,1)$, proportional to the first column: $0$.
3 The rows are $(1,a,a^2)$ with $a=1,2,4$: this is Example 2(b) with $a,b,c=1,2,4$, so the value is $(1-2)(2-4)(4-1)=(-1)(-2)(3)=6$.
4 Columns add up to $3a+1$: $R_1\to R_1+R_2+R_3$, take out $3a+1$, then $C_2\to C_2-C_1$, $C_3\to C_3-C_1$ leave a triangular determinant with diagonal $1,1,1$. So $\Delta=3a+1$; at $a=4$, $13$.
5 $|2A|=8\cdot3=24$; $|A^{T}|=3$; $|A^3|=27$; $|-A^{T}A|=(-1)^3|A^{T}||A|=-9$.
6 $|A|=|A^{T}|=|-A|=(-1)^3|A|$ forces $|A|=0$. For order $2$: $\begin{vmatrix}0&a\\-a&0\end{vmatrix}=a^2$, not $0$ unless $a=0$.
7 $|A^2B^{T}|=4\cdot(-3)=-12$; $|3AB|=3^3\cdot2\cdot(-3)=-162$.
8 Expanding along row $1$: $\sum_j(a_j+b_j)C_{1j}=\sum_j a_jC_{1j}+\sum_j b_jC_{1j}$, and the cofactors $C_{1j}$ are the same in all three determinants because they do not involve row $1$. $\blacksquare$
9 At $x=2$ all rows are equal, so $(x-2)$ is a factor; $C_2\to C_2-C_1$ and $C_3\to C_3-C_1$ show that $(x-2)^2$ divides. Rows add to $x+4$, giving the factor $(x+4)$. Leading term $x^3$: $\Delta=(x-2)^2(x+4)$. Roots $x=2$ (double) and $x=-4$.
III
Areas and collinearity.
  • 1 Find the area of the triangle with vertices $(1,0)$, $(6,0)$, $(4,3)$.
  • 2 Find the area of the triangle with vertices $(-3,-2)$, $(2,1)$, $(-1,4)$.
  • 3 The triangle with vertices $(k,3)$, $(2,-1)$, $(5,2)$ has area $6$ square units. Find all possible $k$.
  • 4 Show that $(a,\,b+c)$, $(b,\,c+a)$, $(c,\,a+b)$ are collinear for all $a$, $b$, $c$.
  • 5 Use a determinant to find the equation of the line through $(2,-1)$ and $(-1,5)$.
  • 6 Find $k$ if $(k,-1)$, $(2,1)$, $(4,5)$ are collinear.
  • 7 Find the area of the quadrilateral with vertices $(1,1)$, $(5,2)$, $(4,6)$, $(-1,4)$, taken in that order.
  • 8 A surveyor marks the corners of a triangular plot at $(0,0)$, $(120,30)$ and $(40,90)$, measured in metres. Find the area of the plot.
1 Base $5$ on the $x$-axis, height $3$: area $7.5$ square units ($\Delta=1(0-3)+6(3-0)+4(0-0)=15$).
2 $\Delta=-3(1-4)+2(4+2)+(-1)(-2-1)=9+12+3=24$: area $12$ square units.
3 $\Delta=k(-1-2)+2(2-3)+5(3+1)=18-3k=\pm12$: $k=2$ or $k=10$.
4 In $\begin{vmatrix}a&b+c&1\\b&c+a&1\\c&a+b&1\end{vmatrix}$, $C_2\to C_2+C_1$ makes the second column $(a+b+c)(1,1,1)$, proportional to the third: $\Delta=0$.
5 $\begin{vmatrix}x&y&1\\2&-1&1\\-1&5&1\end{vmatrix}=-6x-3y+9=0$, i.e. $2x+y=3$.
6 $\Delta=k(1-5)+2(5+1)+4(-1-1)=4-4k=0$: $k=1$.
7 Diagonal from $(1,1)$ to $(4,6)$: $\Delta_1=1(2-6)+5(6-1)+4(1-2)=17$, $\Delta_2=1(6-4)+4(4-1)+(-1)(1-6)=19$. Area $\tfrac12(17+19)=18$ square units.
8 $\Delta=0+120(90-0)+40(0-30)=10800-1200=9600$: area $4800\ \text{m}^2$ (just under half a hectare).
IV
Harder problems.
  • 1 Solve $\begin{vmatrix}x&3&4\\3&x&4\\3&4&x\end{vmatrix}=0$ and find the product of the roots.
  • 2 Show that $\begin{vmatrix}a&b&c\\b&c&a\\c&a&b\end{vmatrix}=3abc-a^3-b^3-c^3$, and evaluate it for $a=1$, $b=2$, $c=3$.
  • 3 $A$ is a $3\times3$ matrix with $AA^{T}=4I$ and $|A|\gt0$. Find $|A|$.
  • 4 For $A=\begin{bmatrix}1&2&3\\0&1&4\\0&0&2\end{bmatrix}$, find $|2A^2|$.
  • 5 Show that $\begin{vmatrix}x&x+1&x+2\\x+3&x+4&x+5\\x+6&x+7&x+8\end{vmatrix}=0$ for every $x$.
  • 6 Find the set of points $P(x,y)$ for which the triangle with vertices $P$, $(1,1)$, $(4,5)$ has area $5$ square units.
1 $x=3$ makes rows $1$, $2$ equal; $x=4$ makes rows $2$, $3$ equal; rows add to $x+7$. So $\Delta=(x-3)(x-4)(x+7)$, roots $3,4,-7$, product $-84$.
2 Along row $1$: $a(bc-a^2)-b(b^2-ac)+c(ab-c^2)=3abc-a^3-b^3-c^3$. For $1,2,3$: $18-1-8-27=-18$.
3 $|A|^2=|AA^{T}|=|4I|=4^3=64$, and $|A|\gt0$: $|A|=8$.
4 $|A|=1\cdot1\cdot2=2$ (triangular); $|2A^2|=2^3|A|^2=8\cdot4=32$.
5 $C_2\to C_2-C_1$ and $C_3\to C_3-C_1$ give columns $(1,1,1)$ and $(2,2,2)$, which are proportional: $\Delta=0$.
6 $\begin{vmatrix}x&y&1\\1&1&1\\4&5&1\end{vmatrix}=-4x+3y+1=\pm10$: the two parallel lines $4x-3y+9=0$ and $4x-3y-11=0$ โ€” the points at the right height on either side of the line through $(1,1)$ and $(4,5)$.
๐ŸŽฏ Exam corner JEE Main ยท MCQJEE Main ยท Numerical

E1. JEE Main ยท MCQ $A$ is a $3\times3$ matrix with $|A|=2$. Then $\big|3A^{T}A^2\big|$ equals (A) $54$ (B) $216$ (C) $72$ (D) $24$

Product rule $|A^{T}A^2|=|A^{T}|\,|A|^2=2\cdot4=8$ (Theorems 3.8 and 3.9).
Multiple $|3M|=3^3|M|$ for order $3$: $27\cdot8$.
Answer (B) $216$.
โฑ Shortcut (D) uses $3|M|$ instead of $3^3|M|$; (A) is $27\cdot2$, forgetting $A^2$. Count the factors: $3^3\cdot|A|^3$.

E2. JEE Main ยท Numerical The points $(2,3)$, $(5,k)$ and $(k,7)$ are collinear. Find the sum of the squares of all possible values of $k$. Give the answer to the nearest integer.

Set $\Delta=0$ $2(k-7)+5(7-3)+k(3-k)=2k-14+20+3k-k^2=-k^2+5k+6=0$.
Solve $k^2-5k-6=(k-6)(k+1)=0$: $k=6$ or $k=-1$.
Answer $36+1=37$.
Check $k=6$: $(2,3)$, $(5,6)$, $(6,7)$ lie on $y=x+1$ โœ“. $k=-1$: $(2,3)$, $(5,-1)$, $(-1,7)$ have slopes $-\tfrac43$ and $-\tfrac43$ โœ“.

E3. JEE Main ยท MCQ If $\begin{vmatrix}a&b&c\\p&q&r\\x&y&z\end{vmatrix}=5$, then $\begin{vmatrix}2a&2b&2c\\p+3a&q+3b&r+3c\\-x&-y&-z\end{vmatrix}$ equals (A) $10$ (B) $-30$ (C) $-10$ (D) $30$

Factors out Take $2$ out of row $1$ and $-1$ out of row $3$ (property 4): a factor $2\cdot(-1)=-2$.
Row operation Row $2$ is now $(p,q,r)+3\times$ row $1$; the operation $R_2\to R_2-3R_1$ removes the extra part without changing the value (property 6). What is left is the original determinant $5$.
Answer $-2\cdot5=-10$: (C).
โฑ Shortcut (B) treats $R_2+3R_1$ as multiplying by $3$ โ€” it does not. Only scaled rows contribute factors.

E4. JEE Main ยท Numerical Find the number of singular $2\times2$ matrices whose entries all belong to $\{0,1,2\}$. Give the answer to the nearest integer.

Condition $\begin{vmatrix}a&b\\c&d\end{vmatrix}=0$ means $ad=bc$.
Count products Among the $9$ ordered pairs from $\{0,1,2\}$, the product is $0$ for $5$ pairs, $1$ for $1$ pair, $2$ for $2$ pairs ($1\cdot2$, $2\cdot1$) and $4$ for $1$ pair. The pairs $(a,d)$ and $(b,c)$ must give the same product: $5^2+1^2+2^2+1^2$.
Answer $25+1+4+1=31$.
โฑ Shortcut Group by the common value of the product and add the squares of the group sizes โ€” the same trick counts singular matrices over any small set.

E5. JEE Main ยท MCQ The triangle with vertices $(-1,0)$, $(3,0)$ and $(a,b)$ has area $6$ square units, and $(a,b)$ lies on the line $y=x+2$. The possible values of $a$ are (A) $1$ and $-5$ (B) $1$ and $5$ (C) $-1$ and $5$ (D) $3$ and $-3$

Area $\Delta=-1(0-b)+3(b-0)+a(0-0)=4b$. Area $\tfrac12|4b|=2|b|=6$, so $b=\pm3$.
Line $a=b-2$: $a=1$ (when $b=3$) or $a=-5$ (when $b=-3$).
Answer (A).
โฑ Shortcut Base $4$ on the $x$-axis: the height $|b|$ must be $3$. Forgetting the case $b=-3$ leaves only $a=1$, and (D) lists the values of $b$, not $a$.

E6. JEE Main ยท Numerical Find the sum of the squares of the real roots of $\begin{vmatrix}x&1&2\\1&x&2\\1&2&x\end{vmatrix}=0$. Give the answer to the nearest integer.

Factors $x=1$ makes rows $1$ and $2$ equal; $x=2$ makes rows $2$ and $3$ equal; every row adds up to $x+3$. With leading term $x^3$: $\Delta=(x-1)(x-2)(x+3)$.
Roots $1$, $2$, $-3$.
Answer $1+4+9=14$.
Check At $x=0$: $\begin{vmatrix}0&1&2\\1&0&2\\1&2&0\end{vmatrix}=0-1(0-2)+2(2-0)=6$ and $(-1)(-2)(3)=6$ โœ“.
๐Ÿ”ฌ Researchโ€“Teaching NexusResearch-tutored ยท optional, about 45 minutes

Research question. Farmers, forest departments and town planners now measure land from GPS coordinates instead of tapes and chains. How accurately does the determinant (triangle) formula give the area of an irregular field, and how much do small GPS errors matter?

Why it matters. Land records, crop-insurance claims and compensation for land taken for roads are all paid per hectare. A field mapped as a polygon is split into triangles from one corner, and each triangle's area is half a $3\times3$ determinant of its corners (Theorem 3.11). Consumer GPS receivers are typically accurate to a few metres, so it is worth knowing how errors in the corners turn into errors in the area.

What to do.

  1. On an online map, choose a local park, playground or field with a clear boundary. Read off the coordinates (in metres, from a corner you choose as origin) of $6$ to $10$ corner points, going round anticlockwise.
  2. Split the polygon into triangles from the first corner and compute each area with a determinant. Add them, and compare with the shoelace form $\tfrac12\big|\sum(x_iy_{i+1}-x_{i+1}y_i)\big|$.
  3. Simulate GPS error: add a random shift of up to $\pm3$ m to each coordinate and recompute the area. Repeat $20$ times and record the spread of the results.
  4. Repeat step 3 for a field twice as long and twice as wide. Does the percentage error grow or shrink?

Tools: An online map with coordinates, a spreadsheet (RAND() for the random shifts), or a short Python script.

Hand in: Your list of corners, the computed area, the table of simulated areas with their range, and a paragraph advising a farmer how many corner points to record and how accurate the result will be.

Going further. Using $\Delta=x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)$, show that moving one corner by $(\delta x,\delta y)$ changes $\Delta$ by an amount that does not depend on that corner's own position. What does this say about which corners deserve the most careful measurement?

Instructor note: the determinant is linear in each vertex, so a shift $(\delta x,\delta y)$ of $P_1$ changes $\Delta$ by $\delta x\,(y_2-y_3)+\delta y\,(x_3-x_2)$ โ€” the error is proportional to the length of the opposite side. Absolute area errors grow roughly with the perimeter while the area grows with its square, so larger fields have smaller percentage errors. This is a good opening for discussing error propagation in surveying.

๐Ÿงช Self-check quiz

0/5 correct

Q1. $\begin{vmatrix}4&-2\\3&1\end{vmatrix}$ equals

Q2. If two rows of a determinant are interchanged, its value

Q3. $A$ is a $2\times2$ matrix with $|A|=3$. Then $|4A|$ is

Q4. The points $(0,0)$, $(2,4)$ and $(3,k)$ are collinear when $k$ is

Q5. For every $3\times3$ skew-symmetric matrix $A$, $|A|$ is