Skip to main content

Section 1.5 Some invariants attached to a matrix

In this section we denote by \(\mathbb{K}\) either the set of real numbers, \(\mathbb{R}\) or the set of complex numbers, \(\mathbb{C}\text{.}\)

Definition 1.5.1.

The rank of a matrix \(A\in M_{m\times n}(\mathbb{K})\) is the number of nonzero rows in the row reduced echelon form of \(A\text{.}\)
We denote the rank of \(A\) by \({\rm rank}(A)\text{.}\)

Remark 1.5.2.

It follows from Definition 1.5.1 that for a matrix \(A\in M_{m\times n}(\mathbb{K})\text{,}\) the rank of \(A\) is equal to the number of pivots in the row reduced echelon form of \(A\text{,}\) which in turn can be at most \(\min\{m,n\}\text{.}\)

Definition 1.5.3.

The trace of a square matrix is the sum of all its diagonal entries. The trace of a square matrix \(A\in M_{n}(\mathbb{K})\) is denoted by \({\rm tr}(A)\text{.}\) If \(A\in M_{n}(\mathbb{K})\) is given by
\begin{equation*} A=\begin{pmatrix}a_{11}\amp a_{12}\amp\cdots\amp a_{1n}\\a_{21}\amp a_{22}\amp\cdots\amp a_{2n}\\\vdots\amp\vdots\amp\ddots\amp\vdots\\a_{n1}\amp a_{n2}\amp\cdots\amp a_{nn}\end{pmatrix} \end{equation*}
then the trace of \(A\text{,}\)
\begin{equation*} {\rm tr}(A)=a_{11}+a_{22}+\cdots+a_{nn}. \end{equation*}
We now define the “determinant” of a square matrix recursively. We will not give a general definition.

Convention 1.5.4.

Given an \(n\times n\) matrix over \(\K\text{,}\)
\begin{equation*} A=\begin{pmatrix}a_{11}\amp a_{12}\amp\cdots\amp a_{1n}\\a_{21}\amp a_{22}\amp\cdots\amp a_{2n}\\\vdots\amp\vdots\amp\ddots\amp\vdots\\a_{n1}\amp a_{n2}\amp\cdots\amp a_{nn}\end{pmatrix} \end{equation*}
its determinant is denoted by
\begin{equation*} \det A=\begin{vmatrix}a_{11}\amp a_{12}\amp\cdots\amp a_{1n}\\a_{21}\amp a_{22}\amp\cdots\amp a_{2n}\\\vdots\amp\vdots\amp\ddots\amp\vdots\\a_{n1}\amp a_{n2}\amp\cdots\amp a_{nn}\end{vmatrix}. \end{equation*}

Note 1.5.5.

Apart from various explantions given in lectures one may see this YouTube video 1  with excellent animations to get started with the concept of determinants.

Definition 1.5.6.

The determinant of a matrix \(A=\begin{pmatrix}a_{11}\amp a_{12}\\a_{21}\amp a_{22}\end{pmatrix}\in M_2(\K)\) is denote by
\begin{equation*} \det A=\begin{vmatrix}a_{11}\amp a_{12}\\a_{21}\amp a_{22}\end{vmatrix} \end{equation*}
and it is equal to \(a_{11}a_{22}-a_{12}a_{21}\in\K\text{,}\) i.e.,
\begin{equation*} \det A=\begin{vmatrix}a_{11}\amp a_{12}\\a_{21}\amp a_{22}\end{vmatrix}= a_{11}a_{22}-a_{12}a_{21}\in\K. \end{equation*}

Definition 1.5.7.

Consider \(A\in M_3(\K)\) as follows.
\begin{equation*} A=\begin{pmatrix}a_{11}\amp a_{12}\amp a_{13}\\a_{21}\amp a_{22}\amp a_{23}\\a_{31}\amp a_{32}\amp a_{33}\end{pmatrix} \end{equation*}
The determinant of \(A\) is
\begin{align*} \det A\amp=a_{11}\,\begin{vmatrix}a_{22}\amp a_{23}\\a_{32}\amp a_{33}\end{vmatrix}-a_{12}\,\begin{vmatrix}a_{21}\amp a_{23}\\a_{31}\amp a_{33}\end{vmatrix} + a_{13}\, \begin{vmatrix}a_{21}\amp a_{22}\\a_{31}\amp a_{32}\end{vmatrix}\in\K. \end{align*}

Note 1.5.8.

In the formula of the determinant of \(A\in M_3(\K)\) observe the following.
  1. Change of signs in consecutive terms.
  2. First entry is obtained by multiplying \(a_{11}\) by the determinant of \(2\times 2\) matrix obtained by deleting the first row and the first column of \(A\text{.}\) The second entry is obtained by multiplying \(-a_{12}\) by the determinant of \(2\times 2\) matrix obtained by deleting the first row and the second column of \(A\text{.}\) The third entry is obtained by multiplying \(a_{13}\) by the determinant of \(2\times 2\) matrix obtained by deleting the first row and the third column of \(A\text{.}\)
For the rest of this section we use a short notation to write a square matrix, viz., we write \(A=(a_{ij})\in M_n(\K)\) to denote the following matrix.
\begin{equation} A=(a_{ij})=\begin{pmatrix}a_{11}\amp a_{12}\amp\cdots\amp a_{1n}\\a_{21}\amp a_{22}\amp\cdots\amp a_{2n}\\\vdots\amp\vdots\amp\ddots\amp\vdots\\a_{n1}\amp a_{n2}\amp\cdots\amp a_{nn}\end{pmatrix}\tag{1.5.1} \end{equation}

Note 1.5.9.

We stress that the determinant of a square matrix is an element of \(\K\text{.}\)