Linear Algebra Determinants: Basic Techniques and Properties Part 1

Introduction to Determinants: Basic Techniques and Properties

These lecture notes, authored by Mayada Shahada for MATH 211 (Linear Algebra with Applications), cover the definition, calculation, and properties of determinants for square matrices of size n×nn \times n.

Determinant of a 2×22 \times 2 Matrix

For a 2×22 \times 2 matrix A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}, the determinant is defined as: det(A)=adbc\det(A) = ad - bc

Notation

To denote the determinant, vertical bars are often used instead of square brackets: abcd\begin{vmatrix} a & b \\ c & d \end{vmatrix}

Numerical Example

Given matrix A=(1234)A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, find det(A)\det(A). det(A)=1234=(1)(4)(2)(3)=46=2\det(A) = \begin{vmatrix} 1 & 2 \\ 3 & 4 \end{vmatrix} = (1)(4) - (2)(3) = 4 - 6 = -2


Determinant of an n×nn \times n Matrix: Preliminary Definitions

The determinant of an n×nn \times n matrix is a single real number related to geometric properties such as area or volume. It is defined recursively using determinants of smaller (n1)×(n1)(n-1) \times (n-1) submatrices.

1. Sign of a Position

Let A=[aij]A = [a_{ij}] be an n×nn \times n matrix. The sign assigned to the (i,j)(i,j) position is determined by the formula: Sign=(1)i+j\text{Sign} = (-1)^{i+j}

  • If (i+j)(i+j) is even, the sign is +1+1 (or simply ++).
  • If (i+j)(i+j) is odd, the sign is 1-1 (or simply -).

For a 4×44 \times 4 matrix, the signs follow a checkerboard pattern: (++++++++)\begin{pmatrix} + & - & + & - \\ - & + & - & + \\ + & - & + & - \\ - & + & - & + \end{pmatrix}

2. The Minor of a Matrix

Let A=[aij]A = [a_{ij}] be an n×nn \times n matrix. The ijthij^{th} minor of AA, denoted as minor(A)ijminor(A)_{ij}, is the determinant of the (n1)×(n1)(n-1) \times (n-1) matrix resulting from deleting the ithi^{th} row and the jthj^{th} column of AA.

Example calculation of a minor: Let A=(113241526)A = \begin{pmatrix} 1 & 1 & 3 \\ 2 & 4 & 1 \\ 5 & 2 & 6 \end{pmatrix}

  • To find minor(A)12minor(A)_{12}, remove Row 1 and Column 2: 2156=(2)(6)(1)(5)=125=7\begin{vmatrix} 2 & 1 \\ 5 & 6 \end{vmatrix} = (2)(6) - (1)(5) = 12 - 5 = 7
  • To find minor(A)23minor(A)_{23}, remove Row 2 and Column 3: 1152=(1)(2)(1)(5)=25=3\begin{vmatrix} 1 & 1 \\ 5 & 2 \end{vmatrix} = (1)(2) - (1)(5) = 2 - 5 = -3
3. The Cofactor of a Matrix

The ijthij^{th} cofactor of AA, denoted cof(A)ijcof(A)_{ij}, incorporates the positional sign with the minor: cof(A)ij=(1)i+j×minor(A)ijcof(A)_{ij} = (-1)^{i+j} \times minor(A)_{ij}

Example calculation of a cofactor: Using the previous matrix AA, find cof(A)12cof(A)_{12}.

  • i+j=1+2=3i+j = 1+2 = 3 (odd, so sign is negative).
  • minor(A)12=7minor(A)_{12} = 7.
  • cof(A)12=(1)1+2×7=1×7=7cof(A)_{12} = (-1)^{1+2} \times 7 = -1 \times 7 = -7

Cofactor Expansion (Laplace Expansion)

The determinant of an n×nn \times n matrix can be computed by summing the products of the elements of any single row or column by their corresponding cofactors.

Formulas
  1. Expanding along the ithi^{th} row: det(A)=ai1cof(A)i1+ai2cof(A)i2++aincof(A)in=j=1naijcof(A)ij\det(A) = a_{i1}cof(A)_{i1} + a_{i2}cof(A)_{i2} + \dots + a_{in}cof(A)_{in} = \sum_{j=1}^{n} a_{ij} cof(A)_{ij}

  2. Expanding along the jthj^{th} column: det(A)=a1jcof(A)1j+a2jcof(A)2j++anjcof(A)nj=i=1naijcof(A)ij\det(A) = a_{1j}cof(A)_{1j} + a_{2j}cof(A)_{2j} + \dots + a_{nj}cof(A)_{nj} = \sum_{i=1}^{n} a_{ij} cof(A)_{ij}

Comprehensive Example

Let A=(113241526)A = \begin{pmatrix} 1 & 1 & 3 \\ 2 & 4 & 1 \\ 5 & 2 & 6 \end{pmatrix}. Find det(A)\det(A).

Option 1: Expansion along Row 1det(A)=+(1)4126(1)2156+(3)2452\det(A) = +(1)\begin{vmatrix} 4 & 1 \\ 2 & 6 \end{vmatrix} - (1)\begin{vmatrix} 2 & 1 \\ 5 & 6 \end{vmatrix} + (3)\begin{vmatrix} 2 & 4 \\ 5 & 2 \end{vmatrix}det(A)=1(242)1(125)+3(420)\det(A) = 1(24 - 2) - 1(12 - 5) + 3(4 - 20)det(A)=227+3(16)=22748=33\det(A) = 22 - 7 + 3(-16) = 22 - 7 - 48 = -33

Option 2: Expansion along Column 2det(A)=(1)2156+(4)1356(2)1321\det(A) = -(1)\begin{vmatrix} 2 & 1 \\ 5 & 6 \end{vmatrix} + (4)\begin{vmatrix} 1 & 3 \\ 5 & 6 \end{vmatrix} - (2)\begin{vmatrix} 1 & 3 \\ 2 & 1 \end{vmatrix}det(A)=1(125)+4(615)2(16)\det(A) = -1(12 - 5) + 4(6 - 15) - 2(1 - 6)det(A)=7+4(9)2(5)=736+10=33\det(A) = -7 + 4(-9) - 2(-5) = -7 - 36 + 10 = -33


Theorems and Efficiency Shortcuts

Theorem: Determinant is Well Defined

The determinant of an n×nn \times n matrix can be computed using cofactor expansion along any row or column. Choosing lines with many zeros drastically simplifies the arithmetic.

Determinants of Special Matrices
  1. Zero Row/Column: If AA contains a row or column of zeros, then det(A)=0\det(A) = 0.
  2. Triangular Matrices:
    • Upper Triangular: All entries below the main diagonal are zero.
    • Lower Triangular: All entries above the main diagonal are zero.
    • Diagonal: Both upper and lower triangular.
    • The Product Rule: If AA is triangular or diagonal, det(A)\det(A) is the product of the diagonal entries:      det(A)=a11×a22××ann\det(A) = a_{11} \times a_{22} \times \dots \times a_{nn}

Numerical Example (Triangular):det(123056009)=(1)(5)(9)=45\det\begin{pmatrix} 1 & 2 & 3 \\ 0 & 5 & 6 \\ 0 & 0 & 9 \end{pmatrix} = (1)(5)(9) = 45


Elementary Row Operations and Determinants

Standard matrix operations affect the determinant value in specific ways. Let AA be an n×nn \times n matrix.

Type I: Row Interchanges

If matrix BB is obtained by switching two rows of AA, then: det(B)=det(A)\det(B) = -\det(A)

Type II: Scalar Multiplication

If matrix BB is obtained by multiplying one row of AA by a scalar kk, then: det(B)=k×det(A)\det(B) = k \times \det(A)

Type III: Row Addition

If matrix BB is obtained by adding a multiple of one row to another row, then: det(B)=det(A)\det(B) = \det(A)(The determinant remains unchanged.)

Proportional Rows

If AA contains a row that is a multiple of another row, then det(A)=0\det(A) = 0.


Complex Examples and Problems

Problem 1: 4×44 \times 4 Determinant using Column Expansion

Find det(A)\det(A) for A=(0121500701103002)A = \begin{pmatrix} 0 & 1 & -2 & 1 \\ 5 & 0 & 0 & 7 \\ 0 & 1 & -1 & 0 \\ 3 & 0 & 0 & 2 \end{pmatrix}. Choosing Column 2 (since it contains two zeros): det(A)=(1)507010302(1)021507302\det(A) = -(1)\begin{vmatrix} 5 & 0 & 7 \\ 0 & -1 & 0 \\ 3 & 0 & 2 \end{vmatrix} - (1)\begin{vmatrix} 0 & -2 & 1 \\ 5 & 0 & 7 \\ 3 & 0 & 2 \end{vmatrix} Expansion of the first sub-matrix along its second row: (1)5732=(1)(1021)=11(-1)\begin{vmatrix} 5 & 7 \\ 3 & 2 \end{vmatrix} = (-1)(10 - 21) = 11 Expansion of the second sub-matrix along its second column: (2)5732=2(1021)=22-(-2)\begin{vmatrix} 5 & 7 \\ 3 & 2 \end{vmatrix} = 2(10 - 21) = -22 Final Calculation: det(A)=1(11)1(22)=11+22=11\det(A) = -1(11) - 1(-22) = -11 + 22 = 11

Practice Problem 2: Row Equality

Let A=(235359124)A = \begin{pmatrix} 2 & 3 & 5 \\ 3 & 5 & 9 \\ 1 & 2 & 4 \end{pmatrix}. Applying 1×R3+R1R1-1 \times R_3 + R_1 \rightarrow R_1 and 1×R3+R2R2-1 \times R_3 + R_2 \rightarrow R_2 results in: A=(111111124)A' = \begin{pmatrix} 1 & 1 & 1 \\ 1 & 1 & 1 \\ 1 & 2 & 4 \end{pmatrix} Since Row 1 equals Row 2, det(A)=0\det(A) = 0.