Determinant evaluation

Every square matrix hides a single number that tells you a great deal about it — whether the matrix can be inverted, whether a system of linear equations has a unique solution, even the scaling factor of the transformation it represents. That number is the determinant, and evaluating it is a core ISC Class 12 skill: expanding a 2×22\times2 or 3×33\times3 array of numbers into one value using minors and cofactors. Done by brute-force expansion, a 3×33\times3 determinant needs three 2×22\times2 minors, six multiplications, and a sign pattern that trips up careless students. But determinants obey a set of algebraic properties — swap rows and the sign flips, add a multiple of one row to another and nothing changes — that let you manufacture zeros first and expand almost for free afterwards. This article builds the expansion formula, proves why the row-operation trick is legal, and works a full example both the slow way and the fast way, so you can recognise which approach an exam question is rewarding.

The core insight

A determinant is evaluated by cofactor expansion along any row or column, and the row/column operation Ri→Ri+kRjR_i \to R_i + kR_j leaves its value unchanged, so simplifying with zeros before expanding is almost always faster than expanding raw.

The core idea

The 2×22\times2 case is the building block. For a 2×22\times2 matrix, the determinant is the product of the leading diagonal minus the product of the other diagonal:

∣abcd∣=ad−bc\begin{vmatrix}a & b\\ c & d\end{vmatrix} = ad-bc

where: a,b,c,da,b,c,d are the matrix entries in row-then-column order. Every 3×33\times3 expansion reduces to several of these.

The 3×33\times3 case expands along a row or column using cofactors. The cofactor of entry aija_{ij} is Cij=(−1)i+jMijC_{ij}=(-1)^{i+j}M_{ij}, where MijM_{ij} is the 2×22\times2 minor left after deleting row ii and column jj. Expanding along the first row,

∣a1b1c1a2b2c2a3b3c3∣=a1∣b2c2b3c3∣−b1∣a2c2a3c3∣+c1∣a2b2a3b3∣\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}

where: each bracketed 2×22\times2 array is the minor obtained by striking out the row and column of the entry it multiplies, and the alternating +,−,++,-,+ signs are exactly the cofactor signs (−1)i+j(-1)^{i+j} for the first row (i=1i=1, j=1,2,3j=1,2,3). The same formula works along any row or any column — a smart choice of row or column (one with a zero already in it) cuts the arithmetic down immediately.

Five properties do most of the work in exam problems.

  • Interchanging two rows (or columns) changes the sign of the determinant.
  • If two rows (or columns) are identical or proportional, the determinant is zero.
  • Scaling every entry of one row (or column) by kk scales the determinant by kk; scaling the whole n×nn\times n matrix by kk scales the determinant by knk^n, so ∣kA∣=kn∣A∣|kA|=k^n|A|.
  • Adding a scalar multiple of one row (or column) to another leaves the determinant unchanged — written Ri→Ri+kRjR_i \to R_i + kR_j. This is the main simplification tool.
  • ∣AT∣=∣A∣|A^T|=|A|, and ∣AB∣=∣A∣ ∣B∣|AB|=|A|\,|B| for square matrices of the same order.

The sign grid below is worth memorising cold, since a plus/minus slip on the middle cofactor is the single most common arithmetic error in this topic.

Figure
A three by three grid of plus and minus signs showing the cofactor sign pattern alternating in a checkerboard from a plus in the top left corner
Cofactor sign pattern (-1)^(i+j) + - + - + - + - + row 1 starts plus, then alternates in every direction

Why row operations do not change the determinant

The claim Ri→Ri+kRjR_i \to R_i + kR_j leaves a determinant unchanged is used constantly, but it is worth proving rather than trusting blindly, since seeing why it holds is what stops students from misapplying it to operations that also scale a row, which is a genuinely different and value-changing move.

Step 1. Take a general 3×33\times3 determinant and expand it along the row that will be modified, say row 2, using the cofactor formula: ∣A∣=a2C21+b2C22+c2C23|A| = a_2 C_{21} + b_2 C_{22} + c_2 C_{23}, where C21,C22,C23C_{21},C_{22},C_{23} are the cofactors built from rows 1 and 3 only — they do not involve row 2 at all.

Step 2. Apply R2→R2+kR1R_2 \to R_2 + kR_1, so the new row 2 entries become (a2+ka1, b2+kb1, c2+kc1)(a_2+ka_1,\ b_2+kb_1,\ c_2+kc_1). Expand the new determinant along this same row: ∣A′∣=(a2+ka1)C21+(b2+kb1)C22+(c2+kc1)C23|A'| = (a_2+ka_1)C_{21} + (b_2+kb_1)C_{22} + (c_2+kc_1)C_{23}, using the same cofactors C21,C22,C23C_{21},C_{22},C_{23}, because those cofactors are built only from rows 1 and 3, which have not changed.

Step 3. Expand the brackets and regroup: ∣A′∣=(a2C21+b2C22+c2C23)+k(a1C21+b1C22+c1C23)|A'| = \left(a_2C_{21}+b_2C_{22}+c_2C_{23}\right) + k\left(a_1C_{21}+b_1C_{22}+c_1C_{23}\right). The first bracket is exactly ∣A∣|A| from Step 1. The second bracket, a1C21+b1C22+c1C23a_1C_{21}+b_1C_{22}+c_1C_{23}, is row 1's entries multiplied by row 2's cofactors — this is the expansion of a determinant with row 1 repeated in both row 1 and row 2, which is zero by the identical-rows property.

Step 4. So ∣A′∣=∣A∣+k⋅0=∣A∣|A'| = |A| + k\cdot 0 = |A|. The operation Ri→Ri+kRjR_i \to R_i + kR_j genuinely leaves the determinant unchanged, and the proof shows exactly why: it only works because the row being added is a different, untouched row, and the row being changed is not simultaneously being scaled. If instead you write R2→2R2−R1R_2 \to 2R_2 - R_1, the row-2 part is scaled by 22 first, and the determinant scales by that factor before the zero-sum cancellation applies — which is precisely the trap flagged below.

Worked example

Evaluate ∣2311−12320∣\begin{vmatrix}2 & 3 & 1\\ 1 & -1 & 2\\ 3 & 2 & 0\end{vmatrix} first by direct cofactor expansion along the first row, then re-derive the same value using row operations to confirm both methods agree.

Step 1 — direct expansion, find the three 2×22\times2 minors.

M11=∣−1220∣=(−1)(0)−(2)(2)=−4,M12=∣1230∣=(1)(0)−(2)(3)=−6,M13=∣1−132∣=(1)(2)−(−1)(3)=5M_{11}=\begin{vmatrix}-1&2\\2&0\end{vmatrix}=(-1)(0)-(2)(2)=-4,\qquad M_{12}=\begin{vmatrix}1&2\\3&0\end{vmatrix}=(1)(0)-(2)(3)=-6,\qquad M_{13}=\begin{vmatrix}1&-1\\3&2\end{vmatrix}=(1)(2)-(-1)(3)=5

Step 2 — apply cofactor signs and combine with row-1 entries.

Det=2(M11)−3(M12)+1(M13)=2(−4)−3(−6)+1(5)=−8+18+5=15\text{Det} = 2(M_{11}) - 3(M_{12}) + 1(M_{13}) = 2(-4) - 3(-6) + 1(5) = -8+18+5 = 15

So direct expansion gives 15\mathbf{15}.

Step 3 — now simplify with row operations instead. Apply R2→R2−12R1R_2 \to R_2 - \tfrac{1}{2}R_1 and R3→R3−32R1R_3 \to R_3 - \tfrac{3}{2}R_1 to create zeros in the first column (these are legal by the proof above, since row 1 is untouched and unscaled):

R2−12R1=(0, −1−1.5, 2−0.5)=(0,−2.5,1.5),R3−32R1=(0, 2−4.5, 0−1.5)=(0,−2.5,−1.5)R_2-\tfrac12R_1 = (0,\ -1-1.5,\ 2-0.5)=(0,-2.5,1.5),\qquad R_3-\tfrac32R_1=(0,\ 2-4.5,\ 0-1.5)=(0,-2.5,-1.5)

Step 4 — expand the new determinant along the now-mostly-zero first column.

∣2310−2.51.50−2.5−1.5∣=2∣−2.51.5−2.5−1.5∣=2[(−2.5)(−1.5)−(1.5)(−2.5)]=2[3.75+3.75]=2(7.5)=15\begin{vmatrix}2 & 3 & 1\\ 0 & -2.5 & 1.5\\ 0 & -2.5 & -1.5\end{vmatrix} = 2\begin{vmatrix}-2.5 & 1.5\\ -2.5 & -1.5\end{vmatrix} = 2\left[(-2.5)(-1.5)-(1.5)(-2.5)\right] = 2\left[3.75+3.75\right]=2(7.5)=15

Both routes agree: the determinant is 1515. Direct expansion needed six multiplications across three minors; the row-operation route needed two operations to create zeros but then only a single 2×22\times2 minor to finish — the trade-off worth recognising in an exam.

Common traps

  • Forgetting the alternating sign pattern (−1)i+j(-1)^{i+j} when expanding — a plus/minus slip on the middle term is the single most common arithmetic error.
  • Writing a row operation like R2→2R2−R1R_2\to 2R_2 - R_1 and forgetting this scales the determinant by 22 as well as combining rows — only pure operations Ri→Ri+kRjR_i\to R_i+kR_j, with no scaling of RiR_i itself, leave the determinant unchanged.
  • Mixing row and column operations mid-calculation — pick one style and stay consistent within a single simplification.
  • Assuming ∣A+B∣=∣A∣+∣B∣|A+B|=|A|+|B| — this is false in general; determinants are not additive over matrix addition.

Ask the tutor: ask the AI tutor for a fresh 3×33\times3 determinant and try spotting the fastest row or column operation before you expand.

Why does row operation R sub i to R sub i plus k R sub j leave the determinant unchanged, but scaling a row by k does not

Adding a multiple of another row splits, by linearity of the cofactor expansion, into the original determinant plus a second determinant that has two proportional rows — and that second piece is always zero, so nothing actually changes. Scaling a row is a genuinely different operation: it multiplies every cofactor term in that row's expansion by k, so the whole determinant scales by k. The two operations look similar on paper but only the additive one is "free."

Is it always faster to use row operations instead of direct cofactor expansion

Not always. Row operations pay off when you can spot a multiplier that produces a whole-number zero quickly, especially when a row or column already starts with a 1. If the entries are awkward and no clean multiplier is visible, direct expansion along whichever row or column already has the most zeros is often just as fast and less error-prone, since you avoid an extra layer of arithmetic.

How do I decide which row or column to expand along when none of them have zeros

Expand along whichever row or column has the smallest or simplest numbers, since that minimises the size of the products you compute, and consider doing one quick row operation first to manufacture a zero before committing to full expansion. There is no rule that you must use row 1 — the formula works identically along any row or column, so choose for convenience.

Before this

Where this leads