Mathematics for Applied Sciences (Osnabrück 2023-2024)/Part I/Lecture 26/latex

From Wikiversity
Jump to navigation Jump to search

\setcounter{section}{26}






\zwischenueberschrift{Rank of matrices}




\inputdefinition
{ }
{

Let $K$ be a field, and let $M$ denote an $m \times n$-matrix over $K$. Then the dimension of the linear subspace of $K^m$, generated by the columns, is called the \definitionswort {column rank}{} of the matrix, written


\mathdisp {\operatorname{rk} \, M} { . }

}




\inputfaktbeweis
{Linear mapping/Matrix and basis/Rank/Fact}
{Lemma}
{}
{

\faktsituation {Let $K$ denote a field, and let \mathkor {} {V} {and} {W} {} denote $K$-vector spaces of dimensions \mathkor {} {n} {and} {m} {.} Let
\mathdisp {\varphi \colon V \longrightarrow W} { }
be a linear mapping which is described by the matrix
\mavergleichskette
{\vergleichskette
{ M }
{ \in }{ \operatorname{Mat}_{ m \times n } (K) }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} with respect to bases of the spaces.}
\faktfolgerung {Then
\mavergleichskettedisp
{\vergleichskette
{ \operatorname{rk} \, \varphi }
{ =} { \operatorname{rk} \, M }
{ } { }
{ } { }
{ } { }
} {}{}{} holds.}
\faktzusatz {}

}
{See Exercise 26.22 . }


To formulate the next statement, we introduce \stichwort {row rank} {} of an \mathl{m \times n}{-}matrix to be the dimension of the linear subspace of $K^n$ generated by the rows.




\inputfaktbeweis
{Matrix/Row rank and column rank/Manipulations/Fact}
{Lemma}
{}
{

\faktsituation {Let $K$ be a field, and let $M$ denote an $m \times n$-matrix over $K$.}
\faktfolgerung {Then the column rank coincides with the row rank.}
\faktzusatz {If $M$ is transformed with elementary row manipulations to a matrix $M'$ in the sense of Theorem 21.9 , then the rank equals the number of relevant rows of $M'$.}

}
{

Let $r$ denote the number of the relevant rows in the matrix $M'$ in echelon form, gained by elementary row manipulations. We have to show that this number is the column rank, and the row rank of $M'$ and of $M$. In an elementary row manipulation, the linear subspace generated by the rows is not changed, therefore the row rank is not changed. So the row rank of $M$ equals the row rank of $M'$. This matrix has row rank $r$, since the first $r$ rows are linearly independent, and beside this, there are only zero rows. But $M'$ has also column rank $r$, since the $r$ columns, where there is a new step, are linearly independent, and the other columns are linear combinations of these $r$ columns. By Exercise 26.2 , the column rank is preserved by elementary row manipulations.

}


Both ranks coincide, so we only talk about the \stichwort {rank of a matrix} {.}




\inputfaktbeweis
{Quadratic matrix/Rank/Invertible/Linearly independent/Fact}
{Corollary}
{}
{

\faktsituation {Let $K$ be a field, and let $M$ denote an $n \times n$-matrix over $K$.}
\faktuebergang {Then the following statements are equivalent.}
\faktfolgerung {\aufzaehlungvier {$M$ is invertible. } {The rank of $M$ is $n$. } {The rows of $M$ are linearly independent. } {The columns of $M$ are linearly independent. }}
\faktzusatz {}

}
{

The equivalence of (2), (3) and (4) follows from the definition and from Lemma 26.3 .
For the equivalence of (1) and (2), let's consider the linear mapping
\mathdisp {\varphi \colon K^n \longrightarrow K^n} { }
defined by $M$. The property that the column rank equals $n$, is equivalent with the map being surjective, and this is, due to Corollary 25.4 , equivalent with the map being bijective. Because of Lemma 25.11 , bijectivity is equivalent with the matrix being invertible.

}






\zwischenueberschrift{Determinants}




\inputdefinition
{ }
{

Let $K$ be a field, and let $M$ denote an $n \times n$-matrix over $K$ with entries $a_{ij}$. For
\mavergleichskette
{\vergleichskette
{i }
{ \in }{ \{ 1 , \ldots , n \} }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} let $M_i$ denote the \mathl{(n-1)\times (n-1)}{-}matrix, which arises from $M$, when we remove the first column and the $i$-th row. Then one defines recursively the \definitionswort {determinant}{} of $M$ by
\mavergleichskettedisp
{\vergleichskette
{ \det M }
{ =} { \begin{cases} a_{11}\, , & \text{ for } n = 1 \, , \\ \sum_{i =1}^n(-1)^{i+1} a_{i1} \det M_i & \text{ for } n \geq 2 \, . \end{cases} }
{ } { }
{ } { }
{ } { }
}

{}{}{}

}

The determinant is only defined for square matrices. For small $n$, the determinant can be computed easily.




\inputbeispiel{}
{


For a $2\times 2$-matrix
\mavergleichskettedisp
{\vergleichskette
{M }
{ =} { \begin{pmatrix} a & b \\ c & d \end{pmatrix} }
{ } { }
{ } { }
{ } { }
} {}{}{,} we have
\mathdisp {\det \begin{pmatrix} a & b \\ c & d \end{pmatrix} = a d - c b} { . }

}

For a $3\times 3$-matrix, we can use the \stichwort {rule of Sarrus} {} to compute the determinant. We repeat the first column as the fourth column and the second column as the fifth column. The products of diagonals from up to down enter with a positive sign, and the products of the other diagonals enter with a negative sign.




\inputbeispiel{}
{

For a $3 \times 3$-matrix
\mavergleichskette
{\vergleichskette
{M }
{ = }{ \begin{pmatrix} a_{ 1 1 } & a_{ 1 2 } & a_{ 1 3 } \\ a_{ 2 1 } & a_{ 2 2 } & a_{ 2 3 } \\ a_{ 3 1 } & a_{ 32 } & a_{ 33 } \end{pmatrix} }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} we have
\mathdisp {\det \begin{pmatrix} a_{ 1 1 } & a_{ 1 2 } & a_{ 1 3 } \\ a_{ 2 1 } & a_{ 2 2 } & a_{ 2 3 } \\ a_{ 3 1 } & a_{ 32 } & a_{ 33 } \end{pmatrix} = a_{1 1 } a_{2 2 } a_{3 3 } + a_{1 2 } a_{2 3 } a_{3 1 } + a_{1 3 } a_{2 1 } a_{3 2 } - a_{1 3 } a_{2 2 } a_{3 1 } - a_{1 1 } a_{2 3 } a_{3 2 } - a_{1 2 } a_{2 1 } a_{3 3 }} { . }
This is called the \stichwort {rule of Sarrus} {.}

}




\inputfaktbeweis
{Determinant/Field/Upper triangular matrix/Fact}
{Lemma}
{}
{

\faktsituation {}
\faktvoraussetzung {For an upper triangular matrix
\mavergleichskettedisp
{\vergleichskette
{ M }
{ =} { \begin{pmatrix} b_1 & \ast & \cdots & \cdots & \ast \\ 0 & b_2 & \ast & \cdots & \ast \\ \vdots & \ddots & \ddots & \ddots & \vdots \\ 0 & \cdots & 0 & b_{ n-1} & \ast \\ 0 & \cdots & \cdots & 0 & b_{ n } \end{pmatrix} }
{ } { }
{ } { }
{ } { }
} {}{}{,}}
\faktfolgerung {we have
\mavergleichskettedisp
{\vergleichskette
{ \det M }
{ =} { b_1 b_2 \cdots b_{n-1} b_n }
{ } { }
{ } { }
{ } { }
} {}{}{.}}
\faktzusatz {In particular, for the identity matrix we get
\mavergleichskette
{\vergleichskette
{ \det E_{ n } }
{ = }{ 1 }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.}}

}
{

This follows with a simple induction directly from the recursive definition of the determinant.

}






\zwischenueberschrift{Multilinearity}

We want to show that the recursively defined determinant is a \anfuehrung{multilinear}{} and \anfuehrung{alternating}{} mapping, where we identify
\mavergleichskettedisp
{\vergleichskette
{ \operatorname{Mat}_{ n } (K) }
{ \cong} { (K^n)^n }
{ } { }
{ } { }
{ } { }
} {}{}{,} so a matrix is identified with the $n$-tuple of the rows of the matrix. We consider a matrix as a tuple of columns
\mathdisp {\begin{pmatrix} v_{1 } \\ \vdots\\ v_{ n } \end{pmatrix}} { }
where the entries $v_i$ are row vectors of length $n$.




\inputfaktbeweisnichtvorgefuehrt
{Determinant/Recursively/Multilinear/Fact}
{Theorem}
{}
{

\faktsituation {Let $K$ be a field, and
\mavergleichskette
{\vergleichskette
{n }
{ \in }{\N_+ }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.}}
\faktfolgerung {Then the determinant
\mathdisp {\operatorname{Mat}_{ n } (K) = (K^n)^n \longrightarrow K , M \longmapsto \det M} { , }
is multilinear.}
\faktzusatz {This means that for every
\mavergleichskette
{\vergleichskette
{k }
{ \in }{\{ 1 , \ldots , n \} }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} and for every choice of \mathl{n-1}{} vectors
\mavergleichskette
{\vergleichskette
{ v_1 , \ldots , v_{k-1} , v_{k+1} , \ldots , v_n }
{ \in }{ K^n }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} and for any
\mavergleichskette
{\vergleichskette
{u,w }
{ \in }{ K^n }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} the identity
\mavergleichskettedisp
{\vergleichskette
{ \det \begin{pmatrix} v_1 \\\vdots\\ v _{ k -1 }\\u+w\\ v_{ k +1 }\\ \vdots\\ v_{ n } \end{pmatrix} }
{ =} { \det \begin{pmatrix} v_1 \\\vdots\\ v _{ k -1 }\\u\\ v_{ k +1 }\\ \vdots\\ v_{ n } \end{pmatrix} + \det \begin{pmatrix} v_1 \\\vdots\\ v _{ k -1 }\\w\\ v_{ k +1 }\\ \vdots\\ v_{ n } \end{pmatrix} }
{ } { }
{ } { }
{ } { }
} {}{}{} holds, and for
\mavergleichskette
{\vergleichskette
{ s }
{ \in }{ K }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} the identity
\mavergleichskettedisp
{\vergleichskette
{ \det \begin{pmatrix} v_1 \\\vdots\\ v _{ k -1 }\\s u\\ v_{ k +1 }\\ \vdots\\ v_{ n } \end{pmatrix} }
{ =} { s \det \begin{pmatrix} v_1 \\\vdots\\ v _{ k -1 }\\u\\ v_{ k +1 }\\ \vdots\\ v_{ n } \end{pmatrix} }
{ } { }
{ } { }
{ } { }
} {}{}{} holds.}

}
{Determinant/Recursively/Multilinear/Fact/Proof

}





\inputfaktbeweisnichtvorgefuehrt
{Determinant/Recursively/Alternating/Swap property/Fact}
{Theorem}
{}
{

\faktsituation {Let $K$ be a field, and
\mavergleichskette
{\vergleichskette
{n }
{ \in }{\N_+ }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.}}
\faktuebergang {Then the determinant
\mathdisp {\operatorname{Mat}_{ n } (K) = (K^n)^n \longrightarrow K , M \longmapsto \det M} { , }
has the following properties.}
\faktfolgerung {\aufzaehlungzwei {If in $M$ two rows are identical, then
\mavergleichskette
{\vergleichskette
{ \det M }
{ = }{ 0 }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.} This means that the determinant is alternating. } {If we exchange two rows in $M$, then the determinant changes with factor $-1$. }}
\faktzusatz {}

}
{Determinant/Recursively/Alternating/Swap property/Fact/Proof

}





\inputfaktbeweis
{Determinant/Zero, linear dependent and rank property/Fact}
{Theorem}
{}
{

\faktsituation {Let $K$ be a field, and let $M$ denote an $n \times n$-matrix over $K$.}
\faktuebergang {Then the following statements are equivalent.}
\faktfolgerung {\aufzaehlungvier {We have
\mavergleichskette
{\vergleichskette
{ \det M }
{ \neq }{ 0 }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.} } {The rows of $M$ are linearly independent. } {$M$ is invertible. } {We have
\mavergleichskette
{\vergleichskette
{ \operatorname{rk} \, M }
{ = }{ n }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.} }}
\faktzusatz {}

}
{

The relation between rank, invertibility and linear independence was proven in Corollary 26.4 . Suppose now that the rows are linearly dependent. After exchanging rows, we may assume that
\mavergleichskette
{\vergleichskette
{ v_n }
{ = }{\sum_{i = 1}^{n-1} s_i v_i }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.} Then, due to Theorem 26.9 and Theorem 26.10 , we get
\mavergleichskettedisp
{\vergleichskette
{ \det M }
{ =} { \det \begin{pmatrix} v_1 \\ \vdots \\ v_{n-1}\\ \sum_{i = 1}^{n-1} s_i v_i \end{pmatrix} }
{ =} { \sum_{i = 1}^{n-1} s_i \det \begin{pmatrix} v_1 \\ \vdots \\ v_{n-1}\\ v_i \end{pmatrix} }
{ =} { 0 }
{ } { }
} {}{}{.}
Now suppose that the rows are linearly independent. Then, by exchanging of rows, scaling and addition of a row to another row, we can transform the matrix successively into the identity matrix. During these manipulations, the determinant is multiplied with some factor $\neq 0$. Since the determinant of the identity matrix is $1$, the determinant of the initial matrix is $\neq 0$.

}




\inputremark {}
{

In case
\mavergleichskette
{\vergleichskette
{K }
{ = }{\R }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} the determinant is in tight relation to volumes of geometric objects. If we consider in $\R^n$ vectors \mathl{v_1 , \ldots , v_n}{,} then they span a \stichwort {parallelotope} {.} This is defined by
\mavergleichskettedisp
{\vergleichskette
{P }
{ \defeq} { { \left\{ s_1v_1 + \cdots + s_n v_n \mid s_i \in [0,1] \right\} } }
{ } { }
{ } { }
{ } { }
} {}{}{.} It consists of all linear combinations of these vectors, where all the scalars belong to the unit interval. If the vectors are linearly independent, then this is a \anfuehrung{voluminous}{} body, otherwise it is an object of smaller dimension. Now the relation
\mavergleichskettedisp
{\vergleichskette
{ \operatorname{vol} \, P }
{ =} { \betrag { \det { \left( v_1 , \ldots , v_n \right) } } }
{ } { }
{ } { }
{ } { }
} {}{}{} holds, saying that the volume of the parallelotope is the modulus of the determinant of the matrix, consisting of the spanning vectors as columns.

}






\zwischenueberschrift{The multiplication theorem for determinants}

We discuss without proofs further important theorems about the determinant. The proofs rely on a systematic account of the properties which are characteristic for the determinant, namely the properties multilinear and alternating. By these properties, together with the condition that the determinant of the identity matrix is $1$, the determinant is already determined.




\inputfaktbeweisnichtvorgefuehrt
{Determinant/Multiplication theorem/Fact}
{Theorem}
{}
{

\faktsituation {Let $K$ denote a field, and
\mavergleichskette
{\vergleichskette
{n }
{ \in }{\N_+ }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.}}
\faktfolgerung {Then for matrices
\mavergleichskette
{\vergleichskette
{A,B }
{ \in }{\operatorname{Mat}_{ n } (K) }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} the relation
\mavergleichskettedisp
{\vergleichskette
{ \det { \left( A \circ B \right) } }
{ =} { \det A \cdot \det B }
{ } { }
{ } { }
{ } { }
} {}{}{} holds.}
\faktzusatz {}

}
{Determinant/Multiplication theorem/Fact/Proof

}





\inputdefinition
{ }
{

Let $K$ be a field, and let
\mavergleichskette
{\vergleichskette
{ M }
{ = }{( a_{ i j } )_{ i j } }
{ }{ }
{ }{ }
{ }{ }
} {}{}{} be an $m \times n$-matrix over $K$. Then the \mathl{n \times m}{-}matrix
\mathdisp {{ M^{ \text{tr} } } ={ \left( b_{ij} \right) }_{ij} \text{ with } b_{ij} := a_{ji}} { }

is called the \definitionswort {transposed matrix}{} for $M$.

}

The transposed matrix arises by interchanging the role of the rows and the columns. For example, we have
\mavergleichskettedisp
{\vergleichskette
{ { \begin{pmatrix} t & n & o & d \\ r & s & s & x \\ a & p & e & y \end{pmatrix} ^{ \text{tr} } } }
{ =} { \begin{pmatrix} t & r & a \\ n & s & p \\ o & s & e \\ d & x & y \end{pmatrix} }
{ } { }
{ } { }
{ } { }
} {}{}{.}




\inputfaktbeweisnichtvorgefuehrt
{Determinant/Transposed matrix/Universal property/Fact}
{Theorem}
{}
{

\faktsituation {Let $K$ denote a field, and let $M$ denote an $n \times n$-matrix over $K$.}
\faktfolgerung {Then
\mavergleichskettedisp
{\vergleichskette
{ \det M }
{ =} { \det { M^{ \text{tr} } } }
{ } { }
{ } { }
{ } { }
} {}{}{.}}
\faktzusatz {}

}
{Determinant/Transposed matrix/Universal property/Fact/Proof

}


This implies that we can compute the determinant also by expanding with respect to the rows, as the following statement shows.




\inputfaktbeweis
{Determinant/Laplace expansion/Fact}
{Corollary}
{}
{

\faktsituation {Let $K$ be a field, and let
\mavergleichskette
{\vergleichskette
{ M }
{ = }{ { \left( a_{ i j } \right) }_{ i j } }
{ }{ }
{ }{ }
{ }{ }
} {}{}{} be an $m \times n$-matrix over $K$. For
\mavergleichskette
{\vergleichskette
{ i,j }
{ \in }{ \{ 1 , \ldots , n \} }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} let \mathl{M_{ij}}{} be the matrix which arises from $M$, by leaving out the $i$-th row and the $j$-th column.}
\faktfolgerung {Then \zusatzklammer {for
\mavergleichskette
{\vergleichskette
{ n }
{ \geq }{ 2 }
{ }{ }
{ }{ }
{ }{ }
} {}{}{} and for every fixed $i$ and $j$} {} {}
\mavergleichskettedisp
{\vergleichskette
{ \det M }
{ =} { \sum_{ i = 1 }^{ n } (-1)^{i+j} a_{ij} \det M_{ij} }
{ =} { \sum_{ j = 1 }^{ n } (-1)^{i+j} a_{ij} \det M_{ij} }
{ } { }
{ } { }
} {}{}{.}}
\faktzusatz {}

}
{

For
\mavergleichskette
{\vergleichskette
{j }
{ = }{1 }
{ }{ }
{ }{ }
{ }{ }
} {}{}{,} the first equation is the recursive definition of the determinant. From that statement, the case
\mavergleichskette
{\vergleichskette
{i }
{ = }{1 }
{ }{ }
{ }{ }
{ }{ }
} {}{}{} follows, due to Theorem 26.15 . By exchanging columns and rows, the statement follows in full generality, see Exercise 26.13 .

}






\zwischenueberschrift{The determinant of a linear mapping}

Let
\mathdisp {\varphi \colon V \longrightarrow V} { }
be a linear mapping from a vector space of dimension $n$ into itself. This is described by a matrix
\mavergleichskette
{\vergleichskette
{M }
{ \in }{ \operatorname{Mat}_{ n } (K) }
{ }{ }
{ }{ }
{ }{ }
} {}{}{} with respect to a given basis. We would like to define the determinant of the linear mapping, by the determinant of the matrix. However, we have here the problem whether this is \stichwort {well-defined} {,} since a linear mapping is described by quite different matrices, with respect to different bases. But, because of Corollary 25.9 , when we have two describing matrices \mathkor {} {M} {and} {N} {,} and the matrix $B$ for the change of bases, we have the relation
\mavergleichskette
{\vergleichskette
{N }
{ = }{ BMB^{-1} }
{ }{ }
{ }{ }
{ }{ }
} {}{}{.} The multiplication theorem for determinants yields then
\mavergleichskettedisp
{\vergleichskette
{ \det N }
{ =} { \det { \left( BMB^{-1} \right) } }
{ =} { ( \det B) (\det M) { \left( \det B^{-1} \right) } }
{ =} { ( \det B) { \left( \det B^{-1} \right) } (\det M) }
{ =} { \det M }
} {}{}{,} so that the following definition is in fact independent of the basis chosen.




\inputdefinition
{ }
{

Let $K$ denote a field, and let $V$ denote a $K$-vector space of finite dimension. Let
\mathdisp {\varphi \colon V \longrightarrow V} { }
be a linear mapping, which is described by the matrix $M$, with respect to a basis. Then
\mavergleichskettedisp
{\vergleichskette
{ \det \varphi }
{ \defeq} { \det M }
{ } { }
{ } { }
{ } { }
} {}{}{}

is called the \definitionswort {determinant}{} of the linear mapping $\varphi$.

}