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.
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.
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.
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.
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$
- Look for zeros. Expand along the row or column with the most zeros: every zero entry kills a whole $2\times2$ determinant.
- Write the sign chart $\begin{smallmatrix}+&-&+\\-&+&-\\+&-&+\end{smallmatrix}$ in the margin and read off the signs of your chosen row or column.
- 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โ.
- Add sign ร entry ร $2\times2$ determinant, putting negative entries in brackets.
- Check (when marks matter) by expanding along a second row or column โ Theorem 4.1 says the answers must agree.
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.
(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$).
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
- 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 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.
Entries may be integers, decimals or fractions such as -3/4.
- 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 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.
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$
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
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.
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]
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
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$.
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.
- 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).
- 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)$.
- Split the polygon into triangles that all share corner 1 and add their areas $\tfrac12|D|$ in a spreadsheet.
- 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.
๐งช Self-check quiz
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?