Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

kevinlui's site

7239 views

5.1/5.2 - Determinants

Let T:RnRnT:\mathbb{R}^n\to\mathbb{R}^n be a linear transform and AA be the square matrix defined so that T(x)=AxT(x)=Ax. Then the absolute value of the determinant of AA, denoted det(AA), measures the change in volume under TT. This means that if SS is a shape of volume V then T(S)={T(s):sRn}T(S)=\{T(s):s\in \mathbb{R}^n\} has volume det(A)|\det(A)|V.

Definition: For any nNn\in \mathbb{N}, The determinant is the unique function from the set of square matrices of size nn so the real numbers with the following 3 properties:

  • det(In)=1\det(I_n)=1,

  • When viewing a square matrices as a list of nn column vectors, the determinant is nn-linear. This means det([a1,,cai+dbi,,an])=cdet([a1,,ai,,an])+ddet([a1,,bi,,an])\det([a_1,\ldots,ca_i+db_i,\ldots,a_n])=c\det([a_1,\ldots,a_i,\ldots,a_n])+d\det([a_1,\ldots,b_i,\ldots,a_n]).

  • If this there is a column of zero, then the determinant is zero.

The determinant of a linear transform T:RnRnT:\mathbb{R}^n\to\mathbb{R}^n is the determinant of its associated matrix.

Properties:

  • det(AB)=det(A)det(B)\det(AB)=\det(A)\det(B),

  • det(At)=det(A)\det(A^t)=\det(A),

  • If AA is upper (or lower) triangular, then det(A)\det(A) is the product of the diagonal,

  • det(cA)=cndet(A)\det(cA)=c^n\det(A),

  • If AA has positive nullity, then det(A)=0\det(A)=0.

Computation: There is a thing called cofactor expansion. It is terrible but we will learn it. In practice, another method is used like LULU-decomposition. There LULU decompositon of a matrix AA is A=LUA=LU where LL is lower trianguluar and UU is upper triangular. Then det(A)=det(L)det(U)\det(A)=\det(L)\det(U), where det(L)\det(L) and det(U)\det(U) is the product of the diagonal. Give n=2n=2 and n=3n=3 shortcuts and the general cofactor formula. Note that you can expand along any row or column.

Notation: Often you denote the determinant of a matrix by replacing the square brackets by straight lines.

Examples: Compute the determinant in the following cases:

  • T(x,y)=(x+y,y)T(x,y)=(x+y,y)

  • T(x,y)=(3x+y,y)T(x,y)=(3x+y,-y). Also what is the determinant of T1T^{-1} here? (demonstrate that det(A1)=det(A)1\det(A^{-1})=\det(A)^{-1} here)

  • Here is a 3×33\times 3 example

  • Here is a 4×44\times 4 example that I won't actually work out fully

Theorem: Let S={a1,,an}S=\{a_1,\ldots,a_n\} be a set of vectors in Rn\mathbb{R}^n, let A=[a1    an]A=[a_1\; \ldots \; a_n] and T:RnRnT:\mathbb{R}^n\to\mathbb{R}^n be given by T(x)=AxT(x)=Ax. Then the following are equivalent:

  • SS spans Rn\mathbb{R}^n,

  • SS is linearly independent,

  • SS is a basis for Rn\mathbb{R}^n,

  • Ax=bAx=b has a unique solution for every bRnb\in \mathbb{R}^n,

  • TT is onto,

  • TT is one-to-one,

  • kerT={0}\ker T=\{0\},

  • range(T)=Rnrange(T)=\mathbb{R}^n,

  • col(A)=Rncol(A)=\mathbb{R}^n,

  • row(A)=Rnrow(A)=\mathbb{R}^n,

  • rank(A)=nrank(A)=n,

  • nullity(A)=0nullity(A)=0,

  • Any echelon form of AA has no zero entries on the diagonal,

  • The reduced echelon form of AA is the identity matrix,

  • det(A)0\det(A)\neq 0,

tldr: Determinant tells you about change of volume. It is a test of invertibility.