DeterminantsTopic #17 of 30

Determinant Basics

Definition for 2×2 and 3×3 matrices, geometric interpretation as area/volume.

Overview

The determinant is a scalar value computed from a square matrix that provides important information about the matrix, including whether it is invertible and the volume scaling factor of the associated linear transformation.

Definition for 2×2 Matrices

For a 2×22 \times 2 matrix:

A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}

det⁡(A)=ad−bc\det(A) = ad - bc

Example

A=[3214]A = \begin{bmatrix} 3 & 2 \\ 1 & 4 \end{bmatrix}

det⁡(A)=3(4)−2(1)=12−2=10\det(A) = 3(4) - 2(1) = 12 - 2 = 10

Definition for 3×3 Matrices

For a 3×33 \times 3 matrix using Sarrus' rule or cofactor expansion:

A=[abcdefghi]A = \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix}

det⁡(A)=a(ei−fh)−b(di−fg)+c(dh−eg)\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)

Sarrus' Rule (3×3 only)

det⁡(A)=aei+bfg+cdh−ceg−bdi−afh\det(A) = aei + bfg + cdh - ceg - bdi - afh

Example

A=[123456789]A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}

det⁡(A)=1(45−48)−2(36−42)+3(32−35)=1(−3)−2(−6)+3(−3)=−3+12−9=0\det(A) = 1(45-48) - 2(36-42) + 3(32-35) = 1(-3) - 2(-6) + 3(-3) = -3 + 12 - 9 = 0

Notation

Common notations for determinant:

det⁡(A)=∣abcd∣\det(A) = \begin{vmatrix} a & b \\ c & d \end{vmatrix}

Geometric Interpretation

In 2D

∣det⁡(A)∣\lvert\det(A)\rvert = area of parallelogram formed by column vectors

In 3D

∣det⁡(A)∣\lvert\det(A)\rvert = volume of parallelepiped formed by column vectors

Sign

  • Positive: preserves orientation
  • Negative: reverses orientation
  • Zero: collapses dimension (area/volume = 0)

Key Values

DeterminantMeaning
det⁡(A)≠0\det(A) \neq 0AA is invertible
det⁡(A)=0\det(A) = 0AA is singular (not invertible)
det⁡(I)=1\det(I) = 1Identity matrix
det⁡(O)=0\det(O) = 0Zero matrix

Determinant and Linear Independence

For nn vectors in Rn\mathbb{R}^n forming columns of matrix AA:

  • det⁡(A)≠0⇔\det(A) \neq 0 \Leftrightarrow vectors are linearly independent
  • det⁡(A)=0⇔\det(A) = 0 \Leftrightarrow vectors are linearly dependent

Examples

Example 1: Checking Invertibility

A=[1236]A = \begin{bmatrix} 1 & 2 \\ 3 & 6 \end{bmatrix}

det⁡(A)=1(6)−2(3)=6−6=0\det(A) = 1(6) - 2(3) = 6 - 6 = 0

AA is NOT invertible (singular)

Example 2: Area Calculation

Parallelogram with vertices at origin, (2,1)(2,1), (1,3)(1,3), and (3,4)(3,4):

Column vectors: [21]\begin{bmatrix} 2 \\ 1 \end{bmatrix} and [13]\begin{bmatrix} 1 \\ 3 \end{bmatrix}

Area=∣det⁡(2113)∣=∣2(3)−1(1)∣=∣5∣=5\text{Area} = \left\lvert \det\begin{pmatrix} 2 & 1 \\ 1 & 3 \end{pmatrix} \right\rvert = \lvert 2(3) - 1(1) \rvert = \lvert 5 \rvert = 5

Example 3: 3×3 Determinant

A=[201312102]A = \begin{bmatrix} 2 & 0 & 1 \\ 3 & 1 & 2 \\ 1 & 0 & 2 \end{bmatrix}

det⁡(A)=2(1×2−2×0)−0(3×2−2×1)+1(3×0−1×1)=2(2)−0+1(−1)=4−1=3\det(A) = 2(1 \times 2 - 2 \times 0) - 0(3 \times 2 - 2 \times 1) + 1(3 \times 0 - 1 \times 1) = 2(2) - 0 + 1(-1) = 4 - 1 = 3