Methods for Computing Determinants

Methods for Computing Determinants

Computing determinants is a basic skill in linear algebra, and mastering several different methods can raise your efficiency in problem solving.

The Expansion Method

Expansion Along a Row

Method: choose a row and expand the determinant along that row.

Expansion Along a Row Formula

∣A∣=∑j=1n(−1)i+jaijMij|A| = \sum_{j=1}^n (-1)^{i+j} a_{ij} M_{ij}

where MijM_{ij} is the minor of the entry aija_{ij}.

Principles for choosing the row:

  • Choose a row with more zero entries
  • Choose a row whose entries are smaller
  • Choose a row that makes the computation easier

Example: Compute ∣123014560∣\begin{vmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{vmatrix}

Solution: expand along the second row (which contains a zero entry): ∣A∣=0×(−1)2+1M21+1×(−1)2+2M22+4×(−1)2+3M23|A| = 0 \times (-1)^{2+1} M_{21} + 1 \times (-1)^{2+2} M_{22} + 4 \times (-1)^{2+3} M_{23} =0−M21+M22−4M23= 0 - M_{21} + M_{22} - 4M_{23} =M22−4M23= M_{22} - 4M_{23} =∣1350∣−4∣1256∣= \begin{vmatrix} 1 & 3 \\ 5 & 0 \end{vmatrix} - 4 \begin{vmatrix} 1 & 2 \\ 5 & 6 \end{vmatrix} =(1×0−3×5)−4(1×6−2×5)= (1 \times 0 - 3 \times 5) - 4(1 \times 6 - 2 \times 5) =−15−4(−4)=−15+16=1= -15 - 4(-4) = -15 + 16 = 1

Expansion Along a Column

Method: choose a column and expand the determinant along that column.

Expansion Along a Column Formula

∣A∣=∑i=1n(−1)i+jaijMij|A| = \sum_{i=1}^n (-1)^{i+j} a_{ij} M_{ij}

Example: Compute ∣201130024∣\begin{vmatrix} 2 & 0 & 1 \\ 1 & 3 & 0 \\ 0 & 2 & 4 \end{vmatrix}

Solution: expand along the second column (which contains a zero entry): ∣A∣=0×(−1)1+2M12+3×(−1)2+2M22+2×(−1)3+2M32|A| = 0 \times (-1)^{1+2} M_{12} + 3 \times (-1)^{2+2} M_{22} + 2 \times (-1)^{3+2} M_{32} =−0×M12+3×M22−2×M32= -0 \times M_{12} + 3 \times M_{22} - 2 \times M_{32} =3M22−2M32= 3M_{22} - 2M_{32} =3∣2104∣−2∣2110∣= 3 \begin{vmatrix} 2 & 1 \\ 0 & 4 \end{vmatrix} - 2 \begin{vmatrix} 2 & 1 \\ 1 & 0 \end{vmatrix} =3(2×4−1×0)−2(2×0−1×1)= 3(2 \times 4 - 1 \times 0) - 2(2 \times 0 - 1 \times 1) =3(8)−2(−1)=24+2=26= 3(8) - 2(-1) = 24 + 2 = 26

The Property Method

Simplification with the Basic Properties

Strategy:

  1. Use the row (column) addition property to turn the determinant into upper-triangular or lower-triangular form
  2. Use the row (column) swapping property to move rows (columns) with many zeros into a position that is convenient for expansion
  3. Use the property of factoring out a common factor to simplify the computation

Example: Compute ∣123246369∣\begin{vmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 3 & 6 & 9 \end{vmatrix}

Solution:

  1. Add −2-2 times the first row to the second row: ∣123000369∣\begin{vmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \\ 3 & 6 & 9 \end{vmatrix}

  2. Add −3-3 times the first row to the third row: ∣123000000∣\begin{vmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{vmatrix}

  3. Since one row consists entirely of zeros, the determinant is zero.

The Block Method

When it applies: the determinant can be split into blocks, and some of the blocks are zero or the identity matrix.

Computing a Block Determinant
  • For ∣AB0D∣\begin{vmatrix} A & B \\ 0 & D \end{vmatrix}, the value is ∣A∣⋅∣D∣|A| \cdot |D|
  • For ∣A0CD∣\begin{vmatrix} A & 0 \\ C & D \end{vmatrix}, the value is ∣A∣⋅∣D∣|A| \cdot |D|

Example: Compute ∣1200340000210034∣\begin{vmatrix} 1 & 2 & 0 & 0 \\ 3 & 4 & 0 & 0 \\ 0 & 0 & 2 & 1 \\ 0 & 0 & 3 & 4 \end{vmatrix}

Solution: This is a block-diagonal matrix: ∣A∣=∣1234∣⋅∣2134∣|A| = \begin{vmatrix} 1 & 2 \\ 3 & 4 \end{vmatrix} \cdot \begin{vmatrix} 2 & 1 \\ 3 & 4 \end{vmatrix} =(1×4−2×3)×(2×4−1×3)= (1 \times 4 - 2 \times 3) \times (2 \times 4 - 1 \times 3) =(4−6)×(8−3)=(−2)×5=−10= (4 - 6) \times (8 - 3) = (-2) \times 5 = -10

Special Methods

Vandermonde Determinants

Vandermonde Determinants

A determinant of the form ∣11⋯1x1x2⋯xnx12x22⋯xn2⋮⋮⋱⋮x1n−1x2n−1⋯xnn−1∣\begin{vmatrix} 1 & 1 & \cdots & 1 \\ x_1 & x_2 & \cdots & x_n \\ x_1^2 & x_2^2 & \cdots & x_n^2 \\ \vdots & \vdots & \ddots & \vdots \\ x_1^{n-1} & x_2^{n-1} & \cdots & x_n^{n-1} \end{vmatrix}.

Vandermonde Determinant

∣V∣=∏1≤i<j≤n(xj−xi)|V| = \prod_{1 \leq i < j \leq n} (x_j - x_i)

Example: Compute ∣111123149∣\begin{vmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 1 & 4 & 9 \end{vmatrix}

Solution: ∣V∣=(2−1)(3−1)(3−2)=1×2×1=2|V| = (2-1)(3-1)(3-2) = 1 \times 2 \times 1 = 2

Circulant Determinants

Circulant Determinants

A determinant of the form ∣abccabbca∣\begin{vmatrix} a & b & c \\ c & a & b \\ b & c & a \end{vmatrix}.

Circulant Determinant

∣A∣=a3+b3+c3−3abc|A| = a^3 + b^3 + c^3 - 3abc

Example: Compute ∣123312231∣\begin{vmatrix} 1 & 2 & 3 \\ 3 & 1 & 2 \\ 2 & 3 & 1 \end{vmatrix}

Solution: ∣A∣=13+23+33−3×1×2×3|A| = 1^3 + 2^3 + 3^3 - 3 \times 1 \times 2 \times 3 =1+8+27−18=18= 1 + 8 + 27 - 18 = 18

Computational Techniques

Inspection

Technique:

  1. Observe whether the determinant has a special structure
  2. Look for rows or columns with many zero entries
  3. Look for proportional rows or columns
  4. Look for a structure that can be split into blocks

The Recurrence Method

Applies when: the n-th order determinant is related to the (n-1)-th order determinant.

Example: Compute ∣2100121001210012∣\begin{vmatrix} 2 & 1 & 0 & 0 \\ 1 & 2 & 1 & 0 \\ 0 & 1 & 2 & 1 \\ 0 & 0 & 1 & 2 \end{vmatrix}

Solution: Expand along the first row: ∣A∣=2∣210121012∣−1∣110021012∣|A| = 2 \begin{vmatrix} 2 & 1 & 0 \\ 1 & 2 & 1 \\ 0 & 1 & 2 \end{vmatrix} - 1 \begin{vmatrix} 1 & 1 & 0 \\ 0 & 2 & 1 \\ 0 & 1 & 2 \end{vmatrix}

Continuing the expansion yields a recurrence relation.

Exercises

Exercise 1

Compute the determinant ∣210132014∣\begin{vmatrix} 2 & 1 & 0 \\ 1 & 3 & 2 \\ 0 & 1 & 4 \end{vmatrix}.

determinantdeterminant calculationexpansion method

Approach: Compute it by expanding along the first row.

Steps:

  1. ∣A∣=2∣3214∣−1∣1204∣+0∣1301∣|A| = 2 \begin{vmatrix} 3 & 2 \\ 1 & 4 \end{vmatrix} - 1 \begin{vmatrix} 1 & 2 \\ 0 & 4 \end{vmatrix} + 0 \begin{vmatrix} 1 & 3 \\ 0 & 1 \end{vmatrix}

  2. =2(3×4−2×1)−1(1×4−2×0)+0= 2(3 \times 4 - 2 \times 1) - 1(1 \times 4 - 2 \times 0) + 0

  3. =2(12−2)−1(4)=2(10)−4=20−4=16= 2(12 - 2) - 1(4) = 2(10) - 4 = 20 - 4 = 16

Answer: the value of the determinant is 16.

Exercise 2

Use the property method to compute ∣123246111∣\begin{vmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 1 & 1 & 1 \end{vmatrix}.

determinantdeterminant calculationexpansion method

Approach: Use the row addition property to simplify the computation.

Steps:

  1. Add −2-2 times the first row to the second row: ∣123000111∣\begin{vmatrix} 1 & 2 & 3 \\ 0 & 0 & 0 \\ 1 & 1 & 1 \end{vmatrix}

  2. Since the second row consists entirely of zeros, the determinant is zero.

Answer: the value of the determinant is 0.

Exercise 3

Compute the Vandermonde determinant ∣1111241416∣\begin{vmatrix} 1 & 1 & 1 \\ 1 & 2 & 4 \\ 1 & 4 & 16 \end{vmatrix}.

determinantdeterminant calculationexpansion methodVandermonde determinant

Approach: Use the formula for the Vandermonde determinant.

Steps:

  1. x1=1,x2=2,x3=4x_1 = 1, x_2 = 2, x_3 = 4

  2. ∣V∣=(2−1)(4−1)(4−2)=1×3×2=6|V| = (2-1)(4-1)(4-2) = 1 \times 3 \times 2 = 6

Answer: the value of the determinant is 6.

Exercise 4

Compute the block determinant ∣1200340000120034∣\begin{vmatrix} 1 & 2 & 0 & 0 \\ 3 & 4 & 0 & 0 \\ 0 & 0 & 1 & 2 \\ 0 & 0 & 3 & 4 \end{vmatrix}.

determinantdeterminant calculationexpansion methodproperties of determinants

Approach: Use the properties of block determinants.

Steps:

  1. This is a block-diagonal matrix

  2. ∣A∣=∣1234∣⋅∣1234∣|A| = \begin{vmatrix} 1 & 2 \\ 3 & 4 \end{vmatrix} \cdot \begin{vmatrix} 1 & 2 \\ 3 & 4 \end{vmatrix}

  3. =(1×4−2×3)2=(4−6)2=(−2)2=4= (1 \times 4 - 2 \times 3)^2 = (4 - 6)^2 = (-2)^2 = 4

Answer: the value of the determinant is 4.

Exercise 5

Compute the circulant determinant ∣111111111∣\begin{vmatrix} 1 & 1 & 1 \\ 1 & 1 & 1 \\ 1 & 1 & 1 \end{vmatrix}.

determinantdeterminant calculationexpansion methodcirculant determinant

Approach: Use the formula for the circulant determinant.

Steps:

  1. a=b=c=1a = b = c = 1

  2. ∣A∣=13+13+13−3×1×1×1=3−3=0|A| = 1^3 + 1^3 + 1^3 - 3 \times 1 \times 1 \times 1 = 3 - 3 = 0

Answer: the value of the determinant is 0.

Summary

Symbols Used in This Article

SymbolTypePronunciation / NoteMeaning in This Article
∣A∣\lvert A\rvertMathematical symboldeterminant of AThe value of the determinant of the matrix AA
MijM_{ij}Mathematical symbolminor M i jThe minor of the entry aija_{ij}, namely the sub-determinant obtained after deleting row ii and column jj
(−1)i+j(-1)^{i+j}Mathematical symbolsign factorThe algebraic sign factor that appears when expanding along a row (column)
∣V∣\lvert V\rvertMathematical symboldeterminant of VA Vandermonde determinant
∏1≤i<j≤n(xj−xi)\prod_{1 \leq i < j \leq n} (x_j - x_i)Mathematical symbolproduct over i less than jThe product formula for the Vandermonde determinant

Found an issue with this content?

Tell us what could be improved.