6 Determinants

6.1 10 Properties of Determinants

For square matrices,

  1. |I|=1|I|=1 for any n×nn\times n identiy matrix II.

  2. Determinant changes sign when two rows or two columns are exchanged. ∣abcd∣=−∣cdab∣=−∣badc∣\begin{vmatrix} a & b \\ c & d \end{vmatrix} = - \begin{vmatrix} c & d \\ a & b \end{vmatrix} = - \begin{vmatrix} b & a \\ d & c \end{vmatrix} For permutation matrix PP involving rr row exchanges, |P|=1 for even r,|P|=−1 for odd r|P| = 1 \text{ for even } r,\quad |P| = -1 \text{ for odd } r

  3. The determinant is a linear function of each row separately.
    Scaling a single row of a matrix by tt, ∣tatbcd∣=t∣abcd∣\begin{vmatrix} ta & tb \\ c & d \end{vmatrix} = t \begin{vmatrix} a & b \\ c & d \end{vmatrix} Adding a row of one matrix to the corresponding row of another matrix, ∣a+a′b+b′cd∣=∣abcd∣+∣a′b′cd∣\begin{vmatrix} a+a^{\prime} & b+b^{\prime} \\ c & d \end{vmatrix} = \begin{vmatrix} a & b \\ c & d \end{vmatrix} + \begin{vmatrix} a^{\prime} & b^{\prime} \\ c & d \end{vmatrix} Note that the addition can only be distributed across a single row. The remaining rows in all the matrices involved must be unchanged. As a general rule, |A+B|≠|A|+|B||A + B| \neq |A| + |B|

  4. If any 2 rows in matrix AA are equal, then |A|=0|A|=0. ∣ababcd∣=0\begin{vmatrix} a & b \\ a & b \\ c & d\end{vmatrix} = 0 Proof. Swapping the 2 identical rows in AA, the determinant is −|A|-|A| (Property 2). However, the matrix AA did not change, so |A|=−|A|⟹|A|=0|A| = -|A| \implies |A|=0.
    Note that this applies if two rows are scalar multiples of each other. ∣abtatb∣=t∣abab∣=0\begin{vmatrix} a & b \\ ta & tb \end{vmatrix} = t \begin{vmatrix} a & b \\ a & b \end{vmatrix} = 0

  5. Adding/Subtracting a multiple of one row to another row does not change |A||A|. ∣abc−lad−lb∣=∣abcd∣\begin{vmatrix} a & b \\ c-la & d-lb \end{vmatrix} = \begin{vmatrix} a & b \\ c & d \end{vmatrix} for ll a scalar.
    Proof. ∣abc−lad−lb∣=∣abcd∣+∣ab−la−lb∣=∣abcd∣−l∣abab∣=∣abcd∣−l(0)\begin{align*} \begin{vmatrix} a & b \\ c-la & d-lb \end{vmatrix} &= \begin{vmatrix} a & b \\ c & d \end{vmatrix} + \begin{vmatrix} a & b \\ -la & -lb \end{vmatrix} \\ &= \begin{vmatrix} a & b \\ c & d \end{vmatrix} - l \begin{vmatrix} a & b \\ a & b \end{vmatrix} \\ &= \begin{vmatrix} a & b \\ c & d \end{vmatrix} - l(0) \end{align*} Note that when performing Gaussian elimination on AA to get UU (upper triangular; REF form), we either subtract/add multiples of one row to another (does not affect |A||A|), or swap rows (changes sign of |A||A|). Hence |A|=±|U||A| = \pm |U|.
    Note further that performing further elimination to RREF does change |A||A|, as we would have to scale rows (to make the pivots = 1).

  6. If matrix AA has a row of zeroes, |A|=0|A|=0. ∣00cd∣=0\begin{vmatrix} 0 & 0 \\ c & d \end{vmatrix} = 0 Proof. |A|=∣00cd∣=∣0+c0+dcd∣=∣cdcd∣=0|A| = \begin{vmatrix} 0 & 0 \\ c & d \end{vmatrix} = \begin{vmatrix} 0 + c & 0 + d \\ c & d \end{vmatrix} = \begin{vmatrix} c & d \\ c & d \end{vmatrix} = 0

  7. If matrix AA is triangular, its determinant is simply the product of its main diagonal entries. |A|=a11a22…ann|A| = a_{11}a_{22} \dots a_{nn} For purely diagonal matrix, each diagonal element can be factored out row by row until you are left with the identity matrix. ∣a11000a22000ann∣=a11∣1000a22000ann∣=a11a22…ann∣100010001∣\begin{vmatrix} a_{11} & 0 & 0 \\ 0 & a_{22} & 0 \\ 0 & 0 & a_{nn} \end{vmatrix} = a_{11} \begin{vmatrix} 1 & 0 & 0 \\ 0 & a_{22} & 0 \\ 0 & 0 & a_{nn} \end{vmatrix} = a_{11}a_{22} \dots a_{nn} \begin{vmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{vmatrix} Since |I|=1|I| = 1, then we get the result above.
    For upper triangular matrix UU, |U|=∣ab0d∣|U| = \begin{vmatrix} a & b \\ 0 & d \end{vmatrix} The off-diagonal entries can be made 0 by row elimination. For example, applying R1←R1−bdR2R_1 \leftarrow R_1 - \frac{b}{d}R_2 to UU, |U|=∣a00d∣=ad|U| = \begin{vmatrix} a & 0 \\ 0 & d \end{vmatrix} = ad If any diagonal element aii=0a_{ii} = 0, the elimination process will produce an entire row of zeros. Following Property 6, this means the determinant is 00, and the matrix is classified as singular.

  8. AA is singular ⇔|A|=0\iff |A| = 0, and AA is invertible ⇔|A|≠0\iff |A| \neq 0.
    If AA is singular, the elimination process produces UU with a row of zeroes ⟹|U|=0⟹|A|=0\implies |U| = 0 \implies |A| = 0.
    If AA is invertible, UU will have non-zero pivots along its entire main diagonal. From Rule 7, the product of these pivots is non-zero, hence |A|=±|U||A| = \pm |U|.
    For a 2×22 \times 2 matrix, and a≠0a \neq 0, ∣abcd∣=∣ab0d−(c/a)b∣=a×(d−cba)=ad−bc\begin{vmatrix} a & b \\ c & d \end{vmatrix} = \begin{vmatrix} a & b \\ 0 & d - (c/a)b \end{vmatrix} = a \times \left(d - \frac{cb}{a}\right) = ad - bc

  9. Determinant of product |AB|=|A||B||AB| = |A||B|.
    Proof. Consider the function D(A)=|AB||B|D(A) = \frac{|AB|}{|B|}, if it passes these 3 rules, then D(A)D(A) is a determinant.

    1. Identity Matrix - If matrix AA is the identity matrix II, D(A)=|IB||B|=|B||B|=1D(A) = \frac{|IB|}{|B|} = \frac{|B|}{|B|} = 1.

    2. Row exchange - If two rows of AA are exchanged, those exact same corresponding rows are exchanged in ABAB. Since exchanging rows flips the sign of a determinant, so |AB||AB| changes sign. Hence D(A)D(A) changes sign too.

    3. Linearity - If one row of AA multiplied by a scalar tt, that same row in ABAB is also multiplied by tt. So |AB||AB| and D(A)D(A) is multiplied by tt. The same linear behavior holds true when adding rows together.

    ∴\therefore |AB||B|\frac{|AB|}{|B|} has the same properties that define |A||A|, and |AB||B|=|A|\frac{|AB|}{|B|} = |A|.
    If BB is singular, then the product ABAB is also singular. So |AB|=0|AB| = 0, and also |A||B|=0|A||B| = 0, hence |AB|=|A||B||AB| = |A||B| still holds.

  10. |AT|=|A||A^T| = |A|. For a 2×22 \times 2 matrix, ∣abcd∣=∣acbd∣=ad−bc\begin{vmatrix} a & b \\ c & d \end{vmatrix} = \begin{vmatrix} a & c \\ b & d \end{vmatrix} = ad - bc Because of this property, all the above properties apply to columns too. For example,

    • Swapping two columns changes sign of determinant.

    • Adding multiple of one column to another does not affect determinant.

    • Column of zeroes means determinant is 0.

6.2 Determinants as Area/Volume

6.2.0.1 Theorem

For a 2×22 \times 2 matrix AA, abs(|A||A|) is the area of the parallelogram formed by the columns of AA.
For a 3×33 \times 3 matrix AA, abs(|A||A|) is the volume of the parallelepiped (a 3D slanted box) formed by the columns of AA.
Proof.
Consider the 2×22 \times 2 diagonal matrix, A=[a00d]A = \begin{bmatrix} a & 0 \\ 0 & d \end{bmatrix} [a0]\begin{bmatrix} a \\ 0 \end{bmatrix} represents a horizontal vector along the x-axis, [0d]\begin{bmatrix} 0 \\ d \end{bmatrix} along the y-axis. These vectors are perpendicular, so the shape is a perfect rectangle. abs(∣a00d∣)=abs(ad)=Area of rectangleabs \left( \begin{vmatrix} a & 0 \\ 0 & d \end{vmatrix} \right) = abs(ad) = \text{Area of rectangle} To transform any 2×22 \times 2 matrix A=[a1a2]A = [a_1\quad a_2] into a diagonal matrix without changing the absolute value of the determinant,

  1. Swapping 2 columns - Flips the sign of |A||A| but absolute value is unchanged.

  2. 2D Shear, Replacing column a2a_2 with a2+ca1a_2 + ca_1 - Imagine some line LL passing through the origin and vector a1a_1. Vector a2a_2 dictates the top of the parallelogram. The line a2+La_2 + L passes through a2a_2 and is perfectly parallel to LL. If we add ca1ca_1 to a2a_2, the new vector a2+ca1a_2 + ca_1 simply slides along that top parallel line a2+La_2 + L. Because the base a1a_1 hasn’t changed, and the points a2a_2 and a2+ca1a_2 + ca_1 have the exact same perpendicular distance to LL (the height is identical), both parallelograms calculate to the exact same base ×\times height. Therefore, their areas are perfectly equal and |A||A| is unchanged.

Similarly, for the 3×33\times 3 diagonal matrix, A=[a000b000c]A = \begin{bmatrix} a & 0 & 0 \\ 0 & b & 0 \\ 0 & 0 & c \end{bmatrix} The volume of the standard rectangular box is just abs(|A|)=a×b×cabs(|A|) = a \times b \times c.
The same logic applies to transform any 3×33 \times 3 matrix A=[a1a2a3]A = [a_1 \quad a_2 \quad a_3].

6.3 Linear Transformations

6.3.0.1 Theorem

Let T:ℝ2→ℝ2T:\mathbb{R}^2\to\mathbb{R}^2 be a linear transformation determined by a 2×22 \times 2 matrix AA. Then for any parallelogram SS, the area of the transformed shape T(S)=abs(|A|)×T(S) = abs(|A|) \times area of SS.
3D space: For TT determined by a 3×33 \times 3 matrix AA, and SS a parallelepiped in ℝ3\mathbb{R}^3, then volume of T(S)=abs(|A|)×T(S) = abs(|A|) \times volume of SS.
Proof. First, imagine a parallelogram SS anchored at the origin, formed by two vectors b1b_1 and b2b_2. We can put these vectors into their own matrix, B=[b1b2]B = \begin{bmatrix} b_1 & b_2 \end{bmatrix}. Applying the transformation matrix AA to this shape, the new transformed shape T(S)T(S) is defined by the matrix product ABAB. The new area is abs(|AB|)=abs(|A||B|)=abs(|A|)×abs(|B|)=abs(|A|)×area of Sabs(|AB|) = abs(|A||B|) = abs(|A|) \times abs(|B|) = abs(|A|) \times \text{area of } S.
Then any arbitrary parallelogram can be written in the form 𝒑+S\mathbf{p} + S, where 𝒑\mathbf{p} is a translation vector. area of T(𝒑+S)=area of (T(𝒑)+T(S))=area ofT(S)=abs(|A|)×area of S=abs(|A|)×area of 𝒑+S\begin{align*} \text{area of }T(\mathbf{p} + S) &= \text{area of }(T(\mathbf{p}) + T(S)) \\ &= \text{area of} T(S) \\ &= abs(|A|) \times \text{area of }S \\ &= abs(|A|) \times \text{area of }\mathbf{p} + S \end{align*} The above proof is similar for 3×33 \times 3 case.

Expanding to Arbitrary Shapes
For example, stretching a unit circle to an ellipse.
𝒖=[u1u2]\mathbf{u} = \begin{bmatrix} u_1 \\ u_2 \end{bmatrix}, representing the coordinates of the points forming the original unit circle, satisfying the circle equation u12+u22=1u_1^2 + u_2^2 = 1.
Diagonal matrix AA represents the transformation that stretches the u1u_1 axis by aa and the u2u_2 axis by bb, A=[a00b]A = \begin{bmatrix} a & 0 \\ 0 & b \end{bmatrix} Multiplying 𝒙=A𝒖\mathbf{x} = A\mathbf{u}, then x1=au1x_1 = au_1 and x2=bu2⟹x_2 = bu_2 \implies u1=x1/au_1 = x_1/a and u2=x2/bu_2 = x_2/b. Thus we get the ellipse equation x12a2+x22b2=1\frac{x_1^2}{a^2} + \frac{x_2^2}{b^2} = 1.
As before, with DD representing the unit circle and TT the transformation, area of ellipse=area of T(D)=abs(|A|)×area of D=ab×π12=πab\begin{align*} \text{area of ellipse} &= \text{area of }T(D) \\ &= abs(|A|) \times \text{area of }D \\ &= ab \times \pi 1^2 \\ &= \pi ab \end{align*}