Chapter 4 ยท Determinants

4.1 Determinants and the Area of a Triangle

Every square matrix carries a number, its determinant. Learn to compute it for orders 1, 2 and 3 by expanding along any row or column, and use it to find the area of a triangle and to test whether three points lie on a line.

Solve the pair of equations $a_1x+b_1y=c_1$, $a_2x+b_2y=c_2$ by elimination, as you did in Class 10. Multiply the first by $b_2$, the second by $b_1$ and subtract: $(a_1b_2-a_2b_1)\,x=c_1b_2-c_2b_1$. Doing the same for $y$ gives $(a_1b_2-a_2b_1)\,y=a_1c_2-a_2c_1$. Everything hangs on one number, $a_1b_2-a_2b_1$, built from the four coefficients. If it is not zero, you can divide and there is exactly one solution. If it is zero, the two lines are parallel or the same line, and there is no unique solution. The number determines the fate of the system โ€” which is where its name comes from.

That number is the determinant of the coefficient array $\begin{bmatrix}a_1&b_1\\a_2&b_2\end{bmatrix}$. In this section you will meet determinants of order 1, 2 and 3, learn to expand a $3\times3$ determinant along whichever row or column makes the arithmetic shortest, and see a beautiful geometric use: the area of a triangle, and a one-line test for three points lying on a straight line. Sections 4.2 and 4.3 then use determinants to invert matrices and solve systems of equations.

Determinants of Order 1 and 2

Determinants are defined only for square matrices (same number of rows as columns; see Section 3.1 for orders of matrices). A determinant is a number, while a matrix is an array of numbers โ€” keep the two ideas apart.

๐Ÿ“˜ Definition 4.1 โ€” Determinant of order 1 and 2
To every square matrix $A=[a_{ij}]$ we associate a number called the determinant of $A$, written $|A|$ or $\det A$. For a matrix of order $1$, $A=[a]$, it is $|A|=a$. For a matrix of order $2$, $$A=\begin{bmatrix}a_{11}&a_{12}\\a_{21}&a_{22}\end{bmatrix},$$ $$|A|=\begin{vmatrix}a_{11}&a_{12}\\a_{21}&a_{22}\end{vmatrix}=a_{11}a_{22}-a_{21}a_{12}.$$ In words: the product of the main-diagonal entries minus the product of the other two. A determinant formed from an $n\times n$ matrix is called a determinant of order $n$.
โš ๏ธ Read the notation carefully

The vertical bars in $|A|$ do not mean absolute value. A determinant can be negative: $\begin{vmatrix}1&3\\2&1\end{vmatrix}=1-6=-5$, and for a matrix of order $1$, $|[-7]|=-7$, not $7$. Also, square brackets $\begin{bmatrix}\ \end{bmatrix}$ make a matrix and vertical bars $\begin{vmatrix}\ \end{vmatrix}$ make its determinant: writing $\begin{bmatrix}1&3\\2&1\end{bmatrix}=-5$ is wrong, because an array cannot equal a number.

The chapter teaser showed the geometry behind Definition 4.1: if the columns $(a_{11},a_{21})$ and $(a_{12},a_{22})$ are drawn as arrows from the origin, $|A|$ is the area of the parallelogram they span, with a $+$ sign when the turn from the first column to the second is anticlockwise and a $-$ sign when it is clockwise. In particular $|A|=0$ exactly when the two columns lie along one line.

โœ๏ธ Example 1 โ€” Evaluating determinants of order 1 and 2
Evaluate (a) $\begin{vmatrix}4&-3\\2&7\end{vmatrix}$  (b) $\begin{vmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{vmatrix}$  (c) $\begin{vmatrix}x+1&x-1\\x^2+x+1&x^2-x+1\end{vmatrix}$  (d) $|A|$ for $A=[-7]$.
(a) Main diagonal minus the other diagonal: $4\cdot7-2\cdot(-3)=28+6=34$. Brackets around $-3$ stop the classic sign slip.
(b) $\cos\theta\cdot\cos\theta-\sin\theta\cdot(-\sin\theta)=\cos^2\theta+\sin^2\theta=1$, for every $\theta$.
(c) $(x+1)(x^2-x+1)-(x^2+x+1)(x-1)$. Both products are sum/difference-of-cubes patterns: $(x+1)(x^2-x+1)=x^3+1$ and $(x-1)(x^2+x+1)=x^3-1$. So the determinant is $(x^3+1)-(x^3-1)=2$ โ€” a constant, whatever $x$ is.
(d) By definition the determinant of $[a]$ is $a$: $|A|=-7$.
Check (c) at $x=2$: $\begin{vmatrix}3&1\\7&3\end{vmatrix}=9-7=2$ โœ“.
โœ๏ธ Example 2 โ€” Equations involving determinants
Find all values of $x$ for which (a) $\begin{vmatrix}3&x\\x&1\end{vmatrix}=\begin{vmatrix}3&2\\4&1\end{vmatrix}$  (b) $\begin{vmatrix}2x&5\\8&x\end{vmatrix}=\begin{vmatrix}6&-2\\7&3\end{vmatrix}$.
Method Evaluate both sides as numbers (or expressions in $x$), then solve the resulting equation.
(a) Left side $3\cdot1-x\cdot x=3-x^2$; right side $3\cdot1-4\cdot2=-5$. So $3-x^2=-5$, $x^2=8$, $x=\pm2\sqrt2$.
(b) Left side $2x\cdot x-8\cdot5=2x^2-40$; right side $6\cdot3-7\cdot(-2)=18+14=32$. So $2x^2=72$, $x^2=36$, $x=\pm6$.
Check (b) with $x=-6$: $\begin{vmatrix}-12&5\\8&-6\end{vmatrix}=72-40=32$ โœ“. Both signs work because $x$ enters only through $x^2$ โ€” do not lose the negative root.

Determinants of Order 3: Expansion along Any Row or Column

A $3\times3$ determinant is built from three $2\times2$ determinants. Pick an entry of the first row, delete the row and the column through it, and a $2\times2$ determinant is left over. Multiply the entry by that leftover determinant, attach a sign, and add the three results.

๐Ÿ“˜ Definition 4.2 โ€” Determinant of order 3
For a matrix of order $3$, $$A=\begin{bmatrix}a_{11}&a_{12}&a_{13}\\a_{21}&a_{22}&a_{23}\\a_{31}&a_{32}&a_{33}\end{bmatrix},$$ the determinant is defined by expansion along the first row: $$|A|=a_{11}\begin{vmatrix}a_{22}&a_{23}\\a_{32}&a_{33}\end{vmatrix}$$ $$\qquad-\,a_{12}\begin{vmatrix}a_{21}&a_{23}\\a_{31}&a_{33}\end{vmatrix}$$ $$\qquad+\,a_{13}\begin{vmatrix}a_{21}&a_{22}\\a_{31}&a_{32}\end{vmatrix}.$$ The $2\times2$ determinant multiplying $a_{1j}$ is what remains after deleting row $1$ and column $j$; the signs alternate $+,-,+$.

Why the minus sign in the middle? Each entry $a_{ij}$ carries the sign $(-1)^{i+j}$: plus when $i+j$ is even, minus when it is odd. Laid out over the matrix, the signs form a chessboard that always starts with $+$ in the top-left corner: $$\begin{matrix}+&-&+\\-&+&-\\+&-&+\end{matrix}$$ Multiplying out Definition 4.2 gives six products, three with each sign: $$|A|=a_{11}a_{22}a_{33}-a_{11}a_{23}a_{32}-a_{12}a_{21}a_{33}$$ $$\qquad+\,a_{12}a_{23}a_{31}+a_{13}a_{21}a_{32}-a_{13}a_{22}a_{31}.$$ Every product takes exactly one entry from each row and exactly one from each column. That symmetry is the reason behind the most useful fact about determinants.

๐Ÿ“ Theorem 4.1 โ€” Expansion along any row or column
Let $A$ be a square matrix of order $3$. Choose any row or any column. Multiply each entry $a_{ij}$ of it by $(-1)^{i+j}$ and by the $2\times2$ determinant left after deleting row $i$ and column $j$, and add the three results. The sum is always the same number, $|A|$, whichever row or column was chosen. For example, expanding along the second column, $$|A|=-a_{12}\begin{vmatrix}a_{21}&a_{23}\\a_{31}&a_{33}\end{vmatrix}$$ $$\qquad+\,a_{22}\begin{vmatrix}a_{11}&a_{13}\\a_{31}&a_{33}\end{vmatrix}-a_{32}\begin{vmatrix}a_{11}&a_{13}\\a_{21}&a_{23}\end{vmatrix}.$$

Why it is true. Multiply out the second-column expansion above: $$-a_{12}(a_{21}a_{33}-a_{23}a_{31})+a_{22}(a_{11}a_{33}-a_{13}a_{31})$$ $$\qquad-\,a_{32}(a_{11}a_{23}-a_{13}a_{21}).$$ You get exactly the six products listed before Theorem 4.1, with the same signs. The same check works for each of the six rows and columns (try one in Exercise II). $\square$

๐Ÿงญ Problem-solving strategy โ€” evaluating a 3 ร— 3 determinant
  1. Look for zeros. Expand along the row or column with the most zeros: every zero entry kills a whole $2\times2$ determinant.
  2. Write the sign chart $\begin{smallmatrix}+&-&+\\-&+&-\\+&-&+\end{smallmatrix}$ in the margin and read off the signs of your chosen row or column.
  3. For each entry, cover its row and column with two fingers; the four numbers left form the $2\times2$ determinant. Evaluate it as โ€œdiagonal minus off-diagonalโ€.
  4. Add sign ร— entry ร— $2\times2$ determinant, putting negative entries in brackets.
  5. Check (when marks matter) by expanding along a second row or column โ€” Theorem 4.1 says the answers must agree.
Interactive 1 โ€” Expansion Stepper

Choose a matrix and the row or column to expand along, then press Play (or Next term). For each term the lab circles the entry in red, strikes out its row and column, boxes the leftover $2\times2$ determinant in blue, and shows the sign from the chessboard. When the three terms are added, it moves on to the next row or column โ€” and the total never changes. Use ๐ŸŽฒ for a fresh matrix.

expanding alongโ€”
current termโ€”
running totalโ€”
$|A|$โ€”
โœ๏ธ Example 3 โ€” The same determinant two ways
Evaluate $\Delta=\begin{vmatrix}2&-1&3\\1&0&4\\-2&5&1\end{vmatrix}$ by expanding (a) along the first row, (b) along the second column.
(a) Row 1 Signs $+,-,+$: $$\Delta=2\begin{vmatrix}0&4\\5&1\end{vmatrix}-(-1)\begin{vmatrix}1&4\\-2&1\end{vmatrix}+3\begin{vmatrix}1&0\\-2&5\end{vmatrix}$$ $=2(0-20)+1\,(1+8)+3\,(5-0)=-40+9+15=-16.$
(b) Column 2 The second column is $-1,0,5$ with signs $-,+,-$. The zero term vanishes: $$\Delta=-(-1)\begin{vmatrix}1&4\\-2&1\end{vmatrix}+0-5\begin{vmatrix}2&3\\1&4\end{vmatrix}$$ $=1\,(1+8)-5\,(8-3)=9-25=-16.$
Check Both expansions give $\Delta=-16$, as Theorem 4.1 promises. Column 2 needed only two $2\times2$ determinants because of its zero.
โœ๏ธ Example 4 โ€” Using zeros, and an equation
(a) Evaluate $\begin{vmatrix}1&0&2\\0&3&0\\4&0&5\end{vmatrix}$ with as little work as possible.  (b) Solve $\begin{vmatrix}x&1&1\\1&x&1\\1&1&x\end{vmatrix}=0$.
(a) Row 2 is $0,3,0$: only the middle entry survives, and its sign is $(-1)^{2+2}=+$. Deleting row 2 and column 2 leaves $\begin{vmatrix}1&2\\4&5\end{vmatrix}=5-8=-3$. So the determinant is $3\cdot(-3)=-9$.
(b) Expand Along row 1: $$x\begin{vmatrix}x&1\\1&x\end{vmatrix}-1\begin{vmatrix}1&1\\1&x\end{vmatrix}+1\begin{vmatrix}1&x\\1&1\end{vmatrix}$$ $=x(x^2-1)-(x-1)+(1-x)=x^3-3x+2.$
(b) Solve $x=1$ is a root ($1-3+2=0$), so $x-1$ is a factor: $x^3-3x+2=(x-1)(x^2+x-2)=(x-1)^2(x+2)$. The solutions are $x=1$ (a repeated root) and $x=-2$.
Check $x=-2$: $-2(4-1)-(-2-1)+(1+2)=-6+3+3=0$ โœ“. At $x=1$ all three rows are equal โ€” you will see in the ๐Ÿš€ box why that forces the value $0$.
โš ๏ธ Common mistakes when studying alone

1. The middle sign. In a row-1 expansion the second term has a minus sign in front of $a_{12}$ โ€” and if $a_{12}$ is itself negative, the two minuses make a plus, as in Example 3. Write the sign and the entry separately: $-(-1)$, never just $-1$.

2. Signs along other lines. The chessboard sign depends on the position, not on the order in which you meet the entries. Along row 2 the signs are $-,+,-$; along column 3 they are $+,-,+$.

3. Deleting the wrong row or column. For $a_{23}$ delete row $2$ and column $3$. Cover them with two fingers before you copy the four remaining numbers.

4. Determinants of non-square matrices. A $2\times3$ matrix has no determinant. If a question asks for one, the matrix must be square.

5. Treating $|A|$ like a matrix. In general $|A+B|\ne|A|+|B|$: with $A=B=I_2$, $|A+B|=\begin{vmatrix}2&0\\0&2\end{vmatrix}=4$ but $|A|+|B|=2$.

Area of a Triangle and Collinearity

In Class 10 you found the area of a triangle with vertices $(x_1,y_1)$, $(x_2,y_2)$, $(x_3,y_3)$ from the formula $\tfrac12\left|x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\right|$. That expression is hard to remember โ€” but it is exactly a $3\times3$ determinant in disguise.

๐Ÿ“ Theorem 4.2 โ€” Area of a triangle; collinear points
Let $P_1(x_1,y_1)$, $P_2(x_2,y_2)$, $P_3(x_3,y_3)$ be three points in the plane and $$D=\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}.$$

(a) The area of triangle $P_1P_2P_3$ is $\ \Delta=\tfrac12\,\bigl|D\bigr|$, where the outer bars now mean the absolute value of the number $D$.

(b) $P_1$, $P_2$, $P_3$ are collinear (lie on one straight line) if and only if $D=0$.

(c) If $P_1\ne P_2$, the equation of the line through $P_1$ and $P_2$ is $$\begin{vmatrix}x&y&1\\x_1&y_1&1\\x_2&y_2&1\end{vmatrix}=0.$$

Proof. Expand $D$ along its third column, whose entries are all $1$ with signs $+,-,+$: $$D=\begin{vmatrix}x_2&y_2\\x_3&y_3\end{vmatrix}-\begin{vmatrix}x_1&y_1\\x_3&y_3\end{vmatrix}+\begin{vmatrix}x_1&y_1\\x_2&y_2\end{vmatrix}$$ $$=(x_2y_3-x_3y_2)-(x_1y_3-x_3y_1)$$ $$\qquad+\,(x_1y_2-x_2y_1).$$ Collecting the terms in $x_1$, $x_2$, $x_3$ gives $x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)$ โ€” the Class 10 expression. So (a) is the Class 10 formula. Three points are collinear exactly when the โ€œtriangleโ€ they form is flat, i.e. has area $0$, which by (a) means $D=0$: that is (b). For (c), a point $P(x,y)$ lies on the line $P_1P_2$ if and only if $P$, $P_1$, $P_2$ are collinear, i.e. (by (b)) the determinant in (c) is $0$. Expanding it along the first row gives $x(y_1-y_2)-y(x_1-x_2)+(x_1y_2-x_2y_1)=0$, a linear equation in $x$ and $y$ โ€” a straight line. $\square$

The sign of $D$ carries extra information: $D\gt0$ when $P_1\to P_2\to P_3$ goes round the triangle anticlockwise and $D\lt0$ when it goes clockwise. Because areas are never negative, we take the absolute value โ€” and this is why an area question with an unknown vertex usually has two answers ($D=+2\Delta$ or $D=-2\Delta$).

โœ๏ธ Example 5 โ€” Areas, and a vertex from a given area
(a) Find the area of the triangle with vertices $(1,2)$, $(-3,4)$ and $(5,-6)$.  (b) The triangle with vertices $(-2,1)$, $(k,4)$ and $(3,-2)$ has area $9$ square units. Find $k$.
(a) Set up $$D=\begin{vmatrix}1&2&1\\-3&4&1\\5&-6&1\end{vmatrix}$$ Along row 1: $1(4+6)-2(-3-5)+1(18-20)=10+16-2=24$.
(a) Area $\Delta=\tfrac12|24|=12$ square units. ($D\gt0$: the vertices were listed anticlockwise.)
(b) Set up $$D=\begin{vmatrix}-2&1&1\\k&4&1\\3&-2&1\end{vmatrix}$$ $=-2(4+2)-1\,(k-3)+1\,(-2k-12)=-21-3k$.
(b) Solve $\tfrac12|{-21-3k}|=9$, so $|3k+21|=18$: either $3k+21=18$, giving $k=-1$, or $3k+21=-18$, giving $k=-13$. Both values are valid โ€” one puts the vertex on each side of the line through the other two.
Check $k=-13$: $D=-21+39=18$, area $9$ โœ“; $k=-1$: $D=-18$, area $9$ โœ“. Forgetting the absolute value loses half the marks.
Interactive 2 โ€” Triangle Area and the Collinearity Test

Drag the vertices $P_1$, $P_2$, $P_3$ (they snap to whole numbers) or type their coordinates. The box shows the determinant $D$ of Theorem 4.2, and the triangle is shaded green when $D\gt0$ ($P_1\to P_2\to P_3$ anticlockwise) and amber when $D\lt0$. Press Play: $P_3$ slides along a horizontal line, the area shrinks to $0$ as it crosses the line $P_1P_2$ (dashed), and the sign of $D$ flips.

$D$ (along column 3)โ€”
area $\tfrac12|D|$โ€”
orientationโ€”
collinear?โ€”
โœ๏ธ Example 6 โ€” Collinear points and the equation of a line
(a) Show that $A(1,-1)$, $B(3,3)$ and $C(-2,-7)$ are collinear.  (b) Use a determinant to find the equation of the line $AB$.  (c) Find $k$ if $(k,5)$ lies on this line.
(a) $$D=\begin{vmatrix}1&-1&1\\3&3&1\\-2&-7&1\end{vmatrix}$$ $=1(3+7)-(-1)(3+2)+1(-21+6)=10+5-15=0$. By Theorem 4.2(b) the points are collinear.
(b) $$\begin{vmatrix}x&y&1\\1&-1&1\\3&3&1\end{vmatrix}=0$$ Along row 1: $x(-1-3)-y(1-3)+1(3+3)=0$, i.e. $-4x+2y+6=0$, or $y=2x-3$.
(c) $5=2k-3$, so $k=4$.
Check $A$: $2(1)-3=-1$ โœ“; $B$: $2(3)-3=3$ โœ“; $C$: $2(-2)-3=-7$ โœ“ โ€” so $C$ is on line $AB$, confirming (a) a second way.
๐Ÿš€ Beyond the board syllabus (JEE Main ยท JEE Advanced)

In JEE Main and JEE Advanced 2026; not in the CBSE Class 12 syllabus. JEE problems are often solved in two lines with the properties of determinants. Each can be checked from the six-term formula before Theorem 4.1 (for a square matrix $A$ of order $3$):

(P1) $|A'|=|A|$, so every statement about rows holds for columns too.  (P2) Interchanging two rows changes the sign of the determinant.  (P3) If two rows are equal (or proportional), the determinant is $0$.  (P4) A factor common to all entries of one row can be taken outside: multiplying one row by $k$ multiplies $|A|$ by $k$.  (P5) Adding $k$ times one row to another row (written $R_i\to R_i+kR_j$) does not change the determinant.

Worked example. Show that $\begin{vmatrix}1&a&b+c\\1&b&c+a\\1&c&a+b\end{vmatrix}=0$ for all $a,b,c$. Solution. Apply $C_3\to C_3+C_2$ (P5 for columns): the third column becomes $a+b+c$ in every row. Take out the common factor $a+b+c$ (P4): the third column is now $1,1,1$, equal to the first column, so the determinant is $(a+b+c)\cdot0=0$ (P3). Check with $a=1,b=2,c=4$: expanding $\begin{vmatrix}1&1&6\\1&2&5\\1&4&3\end{vmatrix}$ along row 1 gives $1(6-20)-1(3-5)+6(4-2)$ $=-14+2+12=0$ โœ“.

Exercises

I
Determinants of order 1 and 2.
  • 1 Evaluate $\begin{vmatrix}5&3\\-2&4\end{vmatrix}$.
  • 2 Evaluate $\begin{vmatrix}-6&-1\\4&-3\end{vmatrix}$.
  • 3 Evaluate $\begin{vmatrix}\sqrt3&2\\4&\sqrt{12}\end{vmatrix}$.
  • 4 Evaluate $\begin{vmatrix}\cos15^\circ&\sin15^\circ\\\sin75^\circ&\cos75^\circ\end{vmatrix}$.
  • 5 Evaluate $\begin{vmatrix}x^2-x+1&x-1\\x+1&x+1\end{vmatrix}$.
  • 6 Write down $|A|$ for $A=[-3]$, and explain why the answer is not $3$.
  • 7 Solve $\begin{vmatrix}x&4\\9&x\end{vmatrix}=\begin{vmatrix}5&2\\3&-2\end{vmatrix}$.
  • 8 Solve $\begin{vmatrix}x+2&3\\x+5&4\end{vmatrix}=3$.
  • 9 For which real $k$ is $\begin{vmatrix}k&4\\1&k\end{vmatrix}$ negative?
  • 10 Let $A=\begin{bmatrix}x+1&x\\x&x+1\end{bmatrix}$. Show that $|A|=2x+1$, and find $x$ when $|A|=9$.
1 $5\cdot4-(-2)\cdot3=20+6=26$.
2 $(-6)(-3)-4\cdot(-1)=18+4=22$.
3 $\sqrt3\cdot\sqrt{12}-4\cdot2=\sqrt{36}-8=6-8=-2$.
4 $\cos15^\circ\cos75^\circ-\sin75^\circ\sin15^\circ=\cos(15^\circ+75^\circ)=\cos90^\circ=0$ (Class 11 formula for $\cos(A+B)$).
5 $(x^2-x+1)(x+1)-(x-1)(x+1)=(x^3+1)-(x^2-1)=x^3-x^2+2$.
6 $|A|=-3$. The determinant of an order-1 matrix $[a]$ is $a$ itself; the bars here are determinant bars, not absolute-value bars.
7 $x^2-36=-10-6=-16$, so $x^2=20$ and $x=\pm2\sqrt5$.
8 $4(x+2)-3(x+5)=3\Rightarrow x-7=3\Rightarrow x=10$. Check: $\begin{vmatrix}12&3\\15&4\end{vmatrix}=48-45=3$ โœ“.
9 $k^2-4\lt0\iff(k-2)(k+2)\lt0\iff-2\lt k\lt2$.
10 $|A|=(x+1)^2-x^2=2x+1$. Then $2x+1=9$ gives $x=4$.
II
Determinants of order 3.
  • 1 Evaluate $\begin{vmatrix}1&2&3\\0&4&5\\0&0&6\end{vmatrix}$ along the first column.
  • 2 Evaluate $\begin{vmatrix}2&-1&0\\3&1&4\\-1&2&5\end{vmatrix}$.
  • 3 Evaluate $\begin{vmatrix}3&-4&5\\1&2&-2\\2&3&1\end{vmatrix}$.
  • 4 Evaluate $\begin{vmatrix}0&4&-1\\-4&0&3\\1&-3&0\end{vmatrix}$. How is each entry $a_{ji}$ related to $a_{ij}$?
  • 5 Evaluate $\begin{vmatrix}1&1&1\\1&2&4\\1&4&16\end{vmatrix}$ and compare it with $(a-b)(b-c)(c-a)$ for $a=1$, $b=2$, $c=4$.
  • 6 Choose the best row or column and evaluate $\begin{vmatrix}5&0&-2\\3&0&7\\-1&4&6\end{vmatrix}$.
  • 7 Find the real value of $x$ for which $\begin{vmatrix}1&x&0\\0&1&x\\x&0&1\end{vmatrix}=9$.
  • 8 Solve $\begin{vmatrix}x&2&3\\0&x-1&4\\0&0&x-3\end{vmatrix}=0$.
  • 9 Evaluate $\begin{vmatrix}4&1&-2\\0&3&1\\2&-1&5\end{vmatrix}$ along row 1 and again along row 2, and confirm Theorem 4.1.
Check: 3 ร— 3 determinant calculator
โ€”

Entries may be integers, decimals or fractions such as -3/4.

1 Column 1 is $1,0,0$: $1\cdot\begin{vmatrix}4&5\\0&6\end{vmatrix}=24$. (For a triangular matrix the determinant is the product of the diagonal entries.)
2 Row 1: $2(5-8)-(-1)(15+4)+0=-6+19=13$.
3 Row 1: $3(2+6)-(-4)(1+4)+5(3-4)=24+20-5=39$.
4 Row 1: $0-4(0-3)+(-1)(12-0)=12-12=0$. Each $a_{ji}=-a_{ij}$ and the diagonal is zero: the matrix is skew-symmetric (Section 3.3).
5 Row 1: $1(32-16)-1(16-4)+1(4-2)=16-12+2=6$, and $(1-2)(2-4)(4-1)=(-1)(-2)(3)=6$ โ€” the same.
6 Column 2 is $0,0,4$; the sign of position $(3,2)$ is $-$: $-4\begin{vmatrix}5&-2\\3&7\end{vmatrix}=-4(35+6)=-164$.
7 Row 1: $1(1-0)-x(0-x^2)+0=1+x^3$. So $x^3=8$ and $x=2$.
8 Column 1: $x\,(x-1)(x-3)=0$, so $x=0,1,3$.
9 Row 1: $4(15+1)-1(0-2)+(-2)(0-6)=64+2+12=78$. Row 2 (signs $-,+,-$): $-0+3\begin{vmatrix}4&-2\\2&5\end{vmatrix}-1\begin{vmatrix}4&1\\2&-1\end{vmatrix}=3(24)-(-6)=78$ โœ“.
III
Areas, collinearity and lines.
  • 1 Find the area of the triangle with vertices $(2,3)$, $(-1,0)$, $(2,-4)$.
  • 2 Find the area of the triangle with vertices $(-2,-3)$, $(3,2)$, $(-1,-8)$.
  • 3 Find the area of the triangle with vertices $(0,0)$, $(6,0)$, $(4,3)$ by determinants, and check it with $\tfrac12\times\text{base}\times\text{height}$.
  • 4 Let $a,b\ne0$. Show that $(a,0)$, $(0,b)$ and $(1,1)$ are collinear if and only if $\tfrac1a+\tfrac1b=1$.
  • 5 Are $(3,-2)$, $(8,8)$ and $(5,4)$ collinear? If not, find the area of the triangle they form.
  • 6 Find $k$ if $(2,-3)$, $(k,-1)$ and $(0,4)$ are collinear.
  • 7 The triangle with vertices $(1,2)$, $(4,k)$, $(-2,5)$ has area $6$ square units. Find $k$.
  • 8 Use a determinant to find the equation of the line through $(2,5)$ and $(-1,-1)$.
  • 9 Find the equation of the line through $(0,3)$ and $(4,0)$ by determinants, and find $k$ if $(k,6)$ lies on it.
  • 10 Find the area of the quadrilateral with vertices $(0,0)$, $(4,0)$, $(5,3)$, $(1,4)$ (taken in order) by splitting it along a diagonal into two triangles.
1 $D=2(0+4)-3(-1-2)+1(4-0)=8+9+4=21$; area $\tfrac{21}2=10.5$ square units.
2 $D=-2(2+8)-(-3)(3+1)+1(-24+2)=-20+12-22=-30$; area $15$ square units.
3 $D=0-0+1(18-0)=18$ (row 1 is $0,0,1$); area $9$. Base $6$ on the $x$-axis, height $3$: $\tfrac12\cdot6\cdot3=9$ โœ“.
4 $D=\begin{vmatrix}a&0&1\\0&b&1\\1&1&1\end{vmatrix}=a(b-1)-0+1(0-b)=ab-a-b$. Collinear $\iff ab=a+b\iff$ (dividing by $ab\ne0$) $\tfrac1b+\tfrac1a=1$.
5 $D=3(8-4)-(-2)(8-5)+1(32-40)=12+6-8=10\ne0$: not collinear; area $5$ square units.
6 $D=2(-1-4)-(-3)(k-0)+1(4k-0)=7k-10=0$, so $k=\tfrac{10}7$.
7 $D=1(k-5)-2(4+2)+1(20+2k)=3k+3$. $\tfrac12|3k+3|=6\Rightarrow|k+1|=4\Rightarrow k=3$ or $k=-5$.
8 $\begin{vmatrix}x&y&1\\2&5&1\\-1&-1&1\end{vmatrix}=x(5+1)-y(2+1)+(-2+5)=6x-3y+3=0$, i.e. $y=2x+1$.
9 $\begin{vmatrix}x&y&1\\0&3&1\\4&0&1\end{vmatrix}=3x-y(0-4)+(0-12)=3x+4y-12=0$. With $(k,6)$: $3k+24-12=0$, $k=-4$.
10 Diagonal from $(0,0)$ to $(5,3)$. Triangle $(0,0),(4,0),(5,3)$: $D=12$, area $6$. Triangle $(0,0),(5,3),(1,4)$: $D=5\cdot4-1\cdot3=17$, area $8.5$. Total $14.5$ square units.
IV
Applications.
  • 1 Land survey. A GPS survey gives the corners of a triangular field, in metres from a marker stone, as $(0,0)$, $(120,30)$ and $(40,90)$. Find its area in square metres and in hectares ($1$ ha $=10\,000\ \text{m}^2$).
  • 2 Drone route. A delivery drone flies in a straight line from $P(2,1)$ to $Q(8,4)$ (coordinates in km). Does it pass directly over a mobile tower at $T(5,2.5)$? Over a second tower at $U(6,3.4)$? For $U$, use the area of triangle $PQU$ to find how far the tower is from the flight path.
  • 3 Floor tile. A tile is the parallelogram with corners $(0,0)$, $(3,1)$, $(4,4)$, $(1,3)$ (in dm). Find its area using one triangle, and compare with $\begin{vmatrix}3&1\\1&3\end{vmatrix}$.
  • 4 Cricket. Three fielders stand at $(10,20)$, $(40,50)$ and $(70,80)$ (metres, with the batter at the origin). Show that a throw from the first to the third along a straight line passes right through the second fielder's position.
1 Row 1 is $0,0,1$: $D=1\cdot(120\cdot90-40\cdot30)=10800-1200=9600$. Area $\tfrac12\cdot9600=4800\ \text{m}^2=0.48$ ha.
2 $T$: $D=2(4-2.5)-1(8-5)+1(20-20)=3-3+0=0$, collinear, and $2\lt5\lt8$, so $T$ is on the route โœ“. $U$: $D=2(4-3.4)-1(8-6)+1(27.2-24)=1.2-2+3.2=2.4$, so area $PQU=1.2\ \text{km}^2$. With $PQ=\sqrt{36+9}=\sqrt{45}$ km, distance $=\dfrac{2\times\text{area}}{PQ}=\dfrac{2.4}{\sqrt{45}}\approx0.358$ km, about $358$ m.
3 Triangle $(0,0),(3,1),(1,3)$: $D=3\cdot3-1\cdot1=8$, area $4$; the diagonal splits the parallelogram into two equal triangles, so the tile has area $8\ \text{dm}^2$. And $\begin{vmatrix}3&1\\1&3\end{vmatrix}=9-1=8$ โ€” the teaser's โ€œsigned areaโ€ of the two edge vectors.
4 $D=10(50-80)-20(40-70)+1(3200-3500)=-300+600-300=0$, so the three positions are collinear (all on $y=x+10$), and $10\lt40\lt70$ puts the second fielder between the others.
๐ŸŽฏ Exam corner Board ยท 1 markBoard ยท 2 marksBoard ยท Case studyJEE MainJEE Advanced

How this is examined: Board papers ask for a $2\times2$ or $3\times3$ determinant or an unknown inside one (1-mark MCQs and Assertionโ€“Reason), for an area or an unknown vertex (2 marks โ€” remember the $\pm$), and for areas, collinearity and line equations in a case study. JEE adds cubic equations in $x$ and maximum-area questions.

E1. Board ยท 1 mark If $\begin{vmatrix}x&6\\3&x\end{vmatrix}=\begin{vmatrix}2&1\\3&-5\end{vmatrix}$, then $x$ equals  (A) $\sqrt5$  (B) $\pm\sqrt5$  (C) $5$  (D) $\pm5$

Idea $x^2-18=-10-3=-13$, so $x^2=5$.
Answer (B). Trap (A) drops the negative root; (D) forgets that $x^2=5$ needs a square root; (C) does both.

E2. Board ยท 1 mark Assertionโ€“Reason. Assertion (A): the points $(1,1)$, $(2,3)$ and $(4,7)$ are collinear. Reason (R): three points $(x_i,y_i)$ are collinear if and only if $\begin{vmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{vmatrix}=0$.  (A) Both A and R are true and R is the correct explanation of A  (B) Both A and R are true but R is not the correct explanation of A  (C) A is true but R is false  (D) A is false but R is true

Idea R is Theorem 4.2(b), so R is true. The determinant is $1(3-7)-1(2-4)+1(14-12)=-4+2+2=0$, so A is true โ€” and it is true because of R.
Answer (A). (All three points lie on $y=2x-1$.)

E3. Board ยท 2 marks Find the values of $k$ for which the triangle with vertices $(2,1)$, $(k,5)$ and $(-1,-2)$ has area $12$ square units.

Set up $$D=\begin{vmatrix}2&1&1\\k&5&1\\-1&-2&1\end{vmatrix}$$ $=2(5+2)-1(k+1)+1(-2k+5)=18-3k$. (1 mark)
Answer $\tfrac12|18-3k|=12\Rightarrow18-3k=\pm24\Rightarrow k=-2$ or $k=14$. (1 mark)

E4. Board ยท Case study A housing society plans a triangular garden with corners $A(2,3)$, $B(10,5)$ and $C(6,11)$, in metres from the gate post. (i) Find the area of the garden using determinants. [2 marks] (ii) A lamp post stands at $G(4,7)$. Show that it lies on the line $AC$. [1 mark] (iii) Use a determinant to find the equation of the fence $BC$. [1 mark]

(i) $$D=\begin{vmatrix}2&3&1\\10&5&1\\6&11&1\end{vmatrix}$$ $=2(5-11)-3(10-6)+1(110-30)=-12-12+80=56$. Area $=\tfrac12\cdot56=28\ \text{m}^2$.
(ii) For $A$, $G$, $C$: $2(7-11)-3(4-6)+1(44-42)=-8+6+2=0$, so they are collinear: $G$ is on $AC$.
(iii) $\begin{vmatrix}x&y&1\\10&5&1\\6&11&1\end{vmatrix}=0$: $x(5-11)-y(10-6)+(110-30)=0$, i.e. $-6x-4y+80=0$, or $3x+2y=40$. Check $B$: $30+10=40$ โœ“; $C$: $18+22=40$ โœ“.

E5. JEE Main The real values of $x$ satisfying $\begin{vmatrix}x&3&3\\3&x&3\\3&3&x\end{vmatrix}=0$ are  (A) $3$ and $-6$  (B) $-3$ and $6$  (C) $3$ and $6$  (D) $3$ only

Method Row 1: $x(x^2-9)-3(3x-9)+3(9-3x)=x^3-27x+54$. Since $x=3$ is a root, $x^3-27x+54=(x-3)(x^2+3x-18)=(x-3)^2(x+6)$.
Answer (A): $x=3$ (repeated) and $x=-6$. Trap (D) stops after spotting $x=3$; (B) and (C) are sign slips in the factorisation. โฑ Fast route (๐Ÿš€ box): at $x=3$ all rows are equal, so the determinant is $0$; adding all columns to $C_1$ makes $C_1$ equal to $(x+6)(1,1,1)$, so $x=-6$ is the other root.

E6. JEE Advanced (Numerical answer.) $P(1,1)$ and $Q(3,9)$ lie on the parabola $y=x^2$, and $R(t,t^2)$ moves on the arc between them, $1\lt t\lt3$. Find the maximum area of triangle $PQR$.

Method $$D=\begin{vmatrix}1&1&1\\3&9&1\\t&t^2&1\end{vmatrix}$$ $=1(9-t^2)-1(3-t)+1(3t^2-9t)=2t^2-8t+6=2(t-1)(t-3)$.
Answer For $1\lt t\lt3$, $D\lt0$, so the area is $\tfrac12|D|=(t-1)(3-t)=-(t-2)^2+1$, largest at $t=2$: maximum area $\mathbf{1}$ square unit, with $R=(2,4)$.
๐Ÿ”ฌ Researchโ€“Teaching NexusMini project ยท about 60 minutes

Research question. How accurately can a phone's GPS measure the area of your school playground (or a park, or a farm plot), using nothing but corner coordinates and the determinant formula for the area of a triangle?

Why it matters. Land records, crop-insurance claims and property sales in India depend on plot areas, and surveyors now measure corners with GPS instead of chains. Any polygon can be cut into triangles from one corner, and each triangle's area is $\tfrac12|D|$ โ€” the same idea that mapping apps use when they report the area of a shape you draw.

What to do.

  1. Choose a plot with 4โ€“6 straight sides. Stand at each corner in turn and record the latitude and longitude shown by a free GPS or compass app (wait until the accuracy reading settles).
  2. Convert to metres from the first corner: $y=(\text{lat}-\text{lat}_1)\times111\,320$ and $x=(\text{lon}-\text{lon}_1)\times111\,320\times\cos(\text{lat}_1)$.
  3. Split the polygon into triangles that all share corner 1 and add their areas $\tfrac12|D|$ in a spreadsheet.
  4. Measure the plot a second way โ€” tape measure, or a map app's area tool โ€” and compute the percentage difference. Repeat the GPS readings on another day and compare.

Tools: Phone GPS app; spreadsheet (for a triangle with corner 1 at the origin, =0.5*ABS(x2*y3-x3*y2)); tape measure.

Hand in: A sketch with the corner coordinates, the table of triangle areas, the total area in $\text{m}^2$ and in hectares, and a paragraph on the sources of error.

Going further. Write the total as one formula (the โ€œshoelace formulaโ€) and check that it is the sum of your $2\times2$ determinants $x_iy_{i+1}-x_{i+1}y_i$ around the boundary, halved.

Instructor note: phone GPS is typically good to 3โ€“5 m, so a corner error of $e$ metres changes the area by roughly $e\times$ (perimeter)/2; for a $100\ \text{m}\times60\ \text{m}$ ground that is about $\pm 5\%$ โ€” enough to discuss why surveyors average many readings. The shoelace sum works for non-convex polygons too, as long as the corners are taken in order.

๐Ÿงช Self-check quiz

0/5 correct

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

Q2. When a $3\times3$ determinant is expanded along its second row, the signs attached to $a_{21}$, $a_{22}$, $a_{23}$ are

Q3. The area of the triangle with vertices $(0,0)$, $(4,0)$ and $(0,6)$ is

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

Q5. Which statement is true?