Definition (determinant) Suppose that the columns of $\bold A\in\R^{n\times n}$ are $\bold a_1,\cdots,\bold a_n$. Define $d:\R^{n\times n}\rightarrow \R$ by $d(\bold A)=d(\bold a_1,\cdots,\bold a_n)$. $d$ is called a multilinear function if for each $k=1,\cdots,n$; $\alpha,\beta\in\R$ and $\bold a_1,\cdots,\bold a_{k-1},\bold a_{k+1},\cdots,\bold a_n,\bold b,\bold c\in\R^{n\times 1}$,

$$ \begin{aligned} d(\bold a_1,\cdots,\bold a_{k-1},\alpha\bold b+\beta\bold c,\bold a_{k+1},\cdots,\bold a_n)&= \alpha d(\bold a_1,\cdots,\bold a_{k-1},\bold b,\bold a_{k+1},\cdots,\bold a_n)\\&+\beta d(\bold a_1,\cdots,\bold a_{k-1},\bold c,\bold a_{k+1},\cdots,\bold a_n) \end{aligned} $$

$d$ is called alternating if for some $i\neq j$ and $\bold a_i=\bold a_j$,

$$ d(\bold a_1,\cdots,\bold a_n)=0 $$

A alternating and multilinear function $d$ on $n\times n$ matrices with $d(\bold I_n)=1$ is called a determinant function of order $n$. we write the determinant as $\det(\bold A)$ or $|\bold A|$.

Theorem (Laplace Expansion) Consider a matrix $\bold A\in\R^{n\times n}$. Then, for all $j=1,\cdots,n$

Here $\bold A_{k,j}\in\R^{(n-1)\times (n-1)}$ is the submatrix of $\bold A$ that we obtain when deleting row $k$ and column $j$.

Theorem For any square matrix $\bold A\in\R^{n\times n}$ it holds that $\bold A$ is invertible if and only if $\det(\bold A)\neq0$.

For $\bold A\in\R^{n\times n}$ the determinant exhibits the following properties:

We call a square matrix $\bold T$ an upper-triangular if $T_{ij}=0$ for $i>j$, i.e., the matrix is zero below its diagonal. Analogously, we define a lower-triangular matrix as a matrix with zeros above its diagonal. For a triangular matrix $\bold T\in\R^{n\times n}$, the determinant is the product of the diagonal elements, i.e.,

$$ \det(\bold T)=\prod_{i=1}^nT_{ii} $$

We can use Gaussian elimination to compute $\det(\bold A)$ by bringing $\bold A$ into row-echelon form. We can stop Gaussian elimination when we have $\bold A$ in a triangular form where the elements below the diagonal are all 0.