MathorynMathematical Formula Database

Linear Algebra

Determinant of a 3×3 Matrix

The determinant of a 3×33\times3 matrix by cofactor expansion along the first row. Its absolute value is the volume scale factor of the corresponding linear transformation. Use it to test whether three vectors are coplanar, to invert 3×3 matrices and to compute volumes of parallelepipeds.

det⁡(abcdefghi)=a(ei−fh)−b(di−fg)+c(dh−eg)\det\begin{pmatrix}a&b&c\\d&e&f\\g&h&i\end{pmatrix}=a(ei-fh)-b(di-fg)+c(dh-eg)
LaTeX\det\begin{pmatrix}a&b&c\\d&e&f\\g&h&i\end{pmatrix}=a(ei-fh)-b(di-fg)+c(dh-eg)

Variables

a,…,ia,\ldots,i
matrix entries

Example

Compute det⁡(201132112)\det\begin{pmatrix}2&0&1\\1&3&2\\1&1&2\end{pmatrix}.

  1. 2(3⋅2−2⋅1)−0⋅(1⋅2−2⋅1)+1⋅(1⋅1−3⋅1)2(3\cdot2-2\cdot1)-0\cdot(1\cdot2-2\cdot1)+1\cdot(1\cdot1-3\cdot1).
  2. =2⋅4−0+(−2)=2\cdot4-0+(-2).

Answer: 66.

Related formulas