IMOClass 12 › Determinants

Determinants

Determinant and Its Properties

Every square matrix $A$ has a single number attached to it, its determinant $\det A$ (written $|A|$). It measures whether the matrix is invertible and, geometrically, how it scales area or volume.

Evaluating small determinants

For $2\times2$: $\begin{vmatrix}a&b\\c&d\end{vmatrix}=ad-bc.$ For $3\times3$, expand along any row or column using signed cofactors:

$$\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=a_1\begin{vmatrix}b_2&c_2\\b_3&c_3\end{vmatrix}-b_1\begin{vmatrix}a_2&c_2\\a_3&c_3\end{vmatrix}+c_1\begin{vmatrix}a_2&b_2\\a_3&b_3\end{vmatrix}.$$

Properties that save work

  • $|A^{T}|=|A|$ — rows and columns play symmetric roles.
  • Swapping two rows (or columns) multiplies the determinant by $-1$.
  • If two rows (or columns) are identical or proportional, $|A|=0$.
  • Multiplying one row by $k$ multiplies $|A|$ by $k$; hence $|kA|=k^{n}|A|$ for $n\times n$.
  • Adding a multiple of one row to another leaves $|A|$ unchanged (the key simplification tool).
  • $|AB|=|A||B|$.
Example 1: Evaluate $\begin{vmatrix}3&1\\2&4\end{vmatrix}$.

$=3\cdot4-1\cdot2=12-2=10.$

Example 2: Evaluate $\begin{vmatrix}1&2&3\\0&1&4\\0&0&5\end{vmatrix}$.

The matrix is upper-triangular, so the determinant is the product of the diagonal: $1\cdot1\cdot5=5$. (You can confirm by expanding along the first column.)

Example 3: Without expanding, show $\begin{vmatrix}2&4\\3&6\end{vmatrix}=0$.

Column $2$ is $2\times$ column $1$ (proportional columns), so by the proportionality property the determinant is $0$. (Check: $2\cdot6-4\cdot3=0$.)

Example 4: If $|A|=5$ for a $3\times3$ matrix, find $|2A|$.

$|kA|=k^{n}|A|$ with $n=3$, $k=2$: $|2A|=2^{3}\cdot5=8\cdot5=40.$

Quick recap
  • $2\times2$: $ad-bc$; expand larger determinants by signed cofactors along any row/column.
  • $|A^{T}|=|A|$; swapping two rows/columns changes the sign.
  • Identical or proportional rows/columns $\Rightarrow |A|=0$.
  • $|kA|=k^{n}|A|$ for $n\times n$; $|AB|=|A||B|$.
  • Row operations of the type $R_i\to R_i+\lambda R_j$ do not change the determinant.
✓ Quick check
If the matrix [2 k; 4 8] is singular, then k equals:
Singular → determinant = 0 → 16 − 4k = 0 → k = 4.
The system x + 2y = 3, 2x + ky = 6 has infinitely many solutions when k equals:
For infinite solutions: 1/2 = 2/k = 3/6. From 1/2 = 2/k → k=4. Check: 3/6=1/2 matches.

Area, Minors and Cofactors

To build the inverse of a matrix we need two related quantities for each entry: its minor and its cofactor.

Minors and cofactors

The minor $M_{ij}$ of entry $a_{ij}$ is the determinant left after deleting row $i$ and column $j$. The cofactor attaches a sign:

$$A_{ij}=(-1)^{i+j}M_{ij}.$$

The sign pattern alternates like a checkerboard: $+\ -\ +\ \dots$ A determinant can be written as the sum of entries times their cofactors along any line: $|A|=\sum_j a_{ij}A_{ij}$.

Adjoint of a matrix

The adjoint $\operatorname{adj}A$ is the transpose of the matrix of cofactors. Its defining property is

$$A\,(\operatorname{adj}A)=(\operatorname{adj}A)\,A=|A|\,I.$$

For an $n\times n$ matrix, $|\operatorname{adj}A|=|A|^{\,n-1}$.

Area of a triangle

The area of a triangle with vertices $(x_1,y_1),(x_2,y_2),(x_3,y_3)$ is

$$\text{Area}=\frac12\left|\begin{matrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{matrix}\right|.$$

If this determinant is $0$, the three points are collinear — a quick test you will use often.

Example 1: Find the cofactor $A_{12}$ of $a_{12}$ in $A=\begin{bmatrix}1&2&3\\4&5&6\\7&8&9\end{bmatrix}$.

Delete row $1$, column $2$: $M_{12}=\begin{vmatrix}4&6\\7&9\end{vmatrix}=36-42=-6$. Cofactor $A_{12}=(-1)^{1+2}M_{12}=-(-6)=6$.

Example 2: For $A=\begin{bmatrix}2&3\\1&4\end{bmatrix}$, find $\operatorname{adj}A$.

For a $2\times2$ matrix the adjoint swaps the diagonal and negates the off-diagonal: $\operatorname{adj}A=\begin{bmatrix}4&-3\\-1&2\end{bmatrix}$. Check $A(\operatorname{adj}A)=|A|I=(5)I$.

Example 3: Find the area of the triangle with vertices $(0,0),(4,0),(0,3)$.

$\text{Area}=\tfrac12\left|\begin{matrix}0&0&1\\4&0&1\\0&3&1\end{matrix}\right|=\tfrac12\,|\,0-0+1\cdot(12-0)\,|=\tfrac12\cdot12=6$ square units.

Example 4: Show the points $(1,2),(2,4),(3,6)$ are collinear.

$\begin{vmatrix}1&2&1\\2&4&1\\3&6&1\end{vmatrix}$: columns $1$ and $2$ are proportional ($y=2x$), so the determinant is $0$, giving zero area — the points are collinear.

Quick recap
  • Minor $M_{ij}$ = determinant after deleting row $i$, column $j$; cofactor $A_{ij}=(-1)^{i+j}M_{ij}$.
  • $\operatorname{adj}A$ = transpose of the cofactor matrix; $A(\operatorname{adj}A)=|A|I$.
  • $|\operatorname{adj}A|=|A|^{n-1}$ for $n\times n$.
  • Triangle area $=\tfrac12|\det|$ of the coordinate matrix; determinant $0 \Rightarrow$ collinear.
✓ Quick check
If the determinant of the matrix with rows (x, 2) and (8, x) is zero, then the value of x is:
x² − 16 = 0, which gives x² = 16, so x = ±4.
Solve for x and y: 2x + 3y = 7 and 3x + y = 7 using Cramer's rule.
D = |2 3; 3 1| = -7. Dx = |7 3; 7 1| = -14. Dy = |2 7; 3 7| = -7. x = Dx/D = 2, y = Dy/D = 1.

Adjoint, Inverse and Systems

The adjoint gives a direct formula for the inverse, and the inverse in turn solves systems of linear equations.

The inverse formula

If $|A|\ne 0$ (we call $A$ non-singular), then

$$A^{-1}=\frac{1}{|A|}\,\operatorname{adj}A.$$

If $|A|=0$ the matrix is singular and has no inverse. Always compute $|A|$ first.

Matrix method for $AX=B$

A system of linear equations can be written $AX=B$, where $A$ is the coefficient matrix, $X$ the unknowns and $B$ the constants. If $|A|\ne0$ the unique solution is

$$X=A^{-1}B.$$

Consistency — what $|A|$ tells you

CaseMeaning
$|A|\ne 0$Unique solution (consistent, independent).
$|A|=0$ and $(\operatorname{adj}A)B=O$Either no solution or infinitely many.
$|A|=0$ and $(\operatorname{adj}A)B\ne O$No solution (inconsistent).
Example 1: Find $A^{-1}$ for $A=\begin{bmatrix}2&3\\1&4\end{bmatrix}$.

$|A|=2\cdot4-3\cdot1=5\ne0$. $\operatorname{adj}A=\begin{bmatrix}4&-3\\-1&2\end{bmatrix}$, so $A^{-1}=\dfrac{1}{5}\begin{bmatrix}4&-3\\-1&2\end{bmatrix}=\begin{bmatrix}\tfrac45&-\tfrac35\\[2pt]-\tfrac15&\tfrac25\end{bmatrix}.$

Example 2: Solve $2x+3y=8,\ x+4y=9$ by the matrix method.

Here $A=\begin{bmatrix}2&3\\1&4\end{bmatrix}$, $B=\begin{bmatrix}8\\9\end{bmatrix}$. Using $A^{-1}$ from Example 1, $X=A^{-1}B=\dfrac15\begin{bmatrix}4&-3\\-1&2\end{bmatrix}\begin{bmatrix}8\\9\end{bmatrix}=\dfrac15\begin{bmatrix}32-27\\-8+18\end{bmatrix}=\dfrac15\begin{bmatrix}5\\10\end{bmatrix}=\begin{bmatrix}1\\2\end{bmatrix}.$ So $x=1,\ y=2$.

Example 3: Is $A=\begin{bmatrix}1&2\\2&4\end{bmatrix}$ invertible?

$|A|=1\cdot4-2\cdot2=0$, so $A$ is singular and has no inverse.

Example 4: State the nature of the system whose coefficient determinant is non-zero.

If $|A|\ne0$ the system $AX=B$ has the unique solution $X=A^{-1}B$ — it is consistent and independent.

Quick recap
  • $A^{-1}=\dfrac{1}{|A|}\operatorname{adj}A$, valid only when $|A|\ne0$ (non-singular).
  • Write a linear system as $AX=B$; if $|A|\ne0$ then $X=A^{-1}B$ (unique solution).
  • $|A|=0$ means singular: no inverse, and the system is either inconsistent or has infinitely many solutions.
  • Always evaluate $|A|$ before attempting an inverse.
✓ Quick check
Rahul invested in two mutual funds. The equations 5x + 3y = ₹15000 and 2x - y = ₹1600 represent his portfolio returns. What is D (the determinant of the coefficient matrix)?
D = |5 3; 2 -1| = (5)(-1) - (3)(2) = -5 - 6 = -11.
Ravi has ₹10000 in two accounts paying 5% and 8% annual interest. The total interest is ₹680. Form a matrix equation. What is the value of the determinant D?
Equations: x+y=10000 and 0.05x+0.08y=680. D = |1 1; 0.05 0.08| = 0.08 - 0.05 = 0.03.
Ready to test this chapter?
Take the Chapter Test →