Linear maps and matrices
Let $V$ and $W$ be $\mathbb{F}$-vector spaces.
Define $\mathcal{L}(V,W)$ be the set of linear maps $V\to W$.
$\mathcal{L}(V,W)$ is an $\mathbb{F}$-vector space under the operations $$ \begin{align*} (\alpha + \beta) (v) &= \alpha(v) + \beta(v), \\ (\lambda \alpha)(v) &= \lambda \alpha(v). \end{align*} $$
Let $V$ and $W$ be finite-dimensional $\mathbb{F}$-vector spaces, and $B=\set{v_1, v_2, \ldots, v_n}$ be a basis for $V$ and $C=\set{w_1, w_2, \ldots, w_m}$ be a basis for $W$. Further let $\alpha\in$ $\mathcal{L}(V,W)$.
Define $[\alpha]^B_C = (a_{ij}) \in M_{m\times n}(\mathbb{F})$ be the matrix of $\alpha$ with respect to $B$ and $C$, where $a_{ij}$ are given by $$ \begin{align*} \begin{cases} \alpha(v_1) &= a_{11}w_1 + a_{21}w_2 + \ldots + a_{m1}w_m, \\ \alpha(v_2) &= a_{12}w_1 + a_{22}w_2 + \ldots + a_{m2}w_m, \\ \vdots \\ \alpha(v_n) &= a_{1n}w_1 + a_{2n}w_2 + \ldots + a_{mn}w_m. \end{cases} \end{align*} $$ (This means $[\alpha(v_j)]_C$ is the $j$-th column of $[\alpha]^B_C$.)
Define $V, W, B, C$ as in here.
$[\alpha]_C^B$ is the only matrix in $M_{m\times n}(\mathbb{F})$ satisfying $$ \begin{align*} [\alpha]^B_C [v]_B = [\alpha(v)]_C \quad \text{for all }v\in V \end{align*} $$ where $[v]_B$ is the coordinate vector of $v$ with respect to $B$. Furthermore, $$ \begin{align*} \mathcal{E}_C^B: \mathcal{L}(V,W) &\to M_{m\times n}(\mathbb{F}) \\ \alpha &\mapsto [\alpha]^B_C \end{align*} $$ is an isomorphism.
Suppose $V$ and $W$ are finite-dimensional vector spaces. Then $$ \begin{align*} \dim(\mathcal{L}(V,W)) = \dim(V) \cdot \dim(W). \end{align*} $$
Let $U,V,W$ be finite-dimensional $\mathbb{F}$-vector space having bases $B,C,D$ respectively. Further let $\alpha\in$ $\mathcal{L}(U,V)$ and $\beta\in\mathcal{L}(V,W)$. Then $$ \begin{align*} [\beta\circ\alpha]^B_D = [\beta]_D^C \, [\alpha]_C^B. \end{align*} $$
-
$[\mathrm{id}_V]^B_B = I_n$.
-
$[\mathrm{id}_V]^B_{B'}$ has an inverse $[\mathrm{id}_V]^{B'}_B$.
-
To change bases: $[\alpha]^{B'}_{C'} = [\mathrm{id}_W]_{C'}^C \,[\alpha]_{C}^B\, [\mathrm{id}_V]^{B'}_{B}$.
Two $m\times n$ matrices $A, A'$ are said to be equivalent if there exists invertible $m\times m$ matrix $P$ and $n\times n$ matrix $Q$ such that $$ \begin{align*} A' = PAQ. \end{align*} $$
Equivalently, if $A'$ can be obtained from $B$ by a sequence of row and column operations.
Let $V$ and $W$ be finite-dimensional vector spaces and $\alpha: V\to W$ be a linear map.
There exists bases $B$ for $V$ and $C$ for $W$ such that $$ \begin{align*} [\alpha]_C^B = \pmat{I_r & 0 \\ 0 & 0} \equiv \pmat{1 & 0 & \ldots & 0 & 0 & \ldots & 0 \\ 0 & 1 & \ldots & 0 & 0 & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots & \vdots & & \vdots \\ 0 & 0 & \ldots & 1 & 0 & \ldots & 0 \\ 0 & 0 & \ldots & 0 & 0 & \ldots & 0 \\ \vdots & \vdots & & \vdots & \vdots & & \vdots \\ 0 & 0 & \ldots & 0 & 0 & \ldots & 0}. \end{align*} $$ where $r =$ $\op{rk}$$(\alpha)$.
Conversely, if for some $r'$ and bases $B', C'$ for $V, W$, $$ \begin{align*} [\alpha]^{B'}_{C'} = \pmat{I_{r'} & 0 \\ 0 & 0}, \end{align*} $$ then $r' = \op{rk}(\alpha)$.
Let $A \in M_{m\times n}(\mathbb{F})$.
-
The column space $\op{Col}(A)$ of $A$ is the subspace of $\mathbb{F}^m$ spanned by the columns of $A$.
-
The column rank of $A$ is $\op{c-rk}(A) = \dim(\op{Col}(A))$.
Similarly for row space $\op{Row}(A) \leq \mathbb{F}^n$ and row rank $\op{r-rk}(A)$.
-
For $\alpha: v\mapsto Av$, we have $\im(\alpha) = \op{Col}(A)$ and $\op{rk}(\alpha) = \op{c-rk}(A)$.
Let $A\in M_{n\times k}(\mathbb{F})$ and $B\in M_{k\times m}(\mathbb{F})$. Then $$ \begin{align*} \op{c-rk}(AB) \leq \min\set{\op{c-rk}(A), \op{c-rk}(B)}. \end{align*} $$
Let $A, A'\in M_{m\times n}(\mathbb{F})$.
$A$ is equivalent to $$ \begin{align*} \pmat{I_r & 0 \\ 0 & 0} \qquad \text{where } r = \op{c-rk}(A). \end{align*} $$
As a consequence, $A$ and $A'$ are equivalent iff $\op{c-rk}$$(A) = \op{c-rk}(A')$.
For any $A \in M_{m\times n}(\mathbb{F})$, we have $\op{r-rk}$$(A) =$ $\op{c-rk}$$(A).$
Let $A, A' \in M_{n\times n}(\mathbb{F})$.
$A$ and $A'$ are said to be similar if there exists $P\in \mathrm{GL}_n(\mathbb{F})$ such that $A' = PAP\inv$.
There are three types of elementary matrices:
-
identity with row $i$ and $j$ swapped $$ \begin{align*} T_{i,j} = \pmat{1 \\ &\ddots \\ && 0 && 1 \\ &&& \ddots \\ && 1 && 0 \\ &&&&&\ddots \\ &&&&&&1}, \end{align*} $$
-
identity with the $i$-th diagonal entry replaced with $\lambda\neq 0$ $$ \begin{align*} E_{i,\lambda} = \pmat{1 \\ &\ddots \\ &&1 \\ &&&\lambda \\ &&&& 1 \\ &&&&& \ddots \\ &&&&&& 1}, \end{align*} $$
-
identity with $\lambda$ in an off-diagonal entry $(i,j)$ $$ \begin{align*} C_{i,j,\lambda} = \pmat{1 \\ &\ddots \\ &&1 \\ &&& \ddots \\ &&\lambda &&1 \\ &&&&& \ddots \\ &&&&&& 1}. \end{align*} $$
Let $A\in M_{m\times n}(\mathbb{F})$. Write $\v c_i$ and $\v r_i$ to denote the $i$-th column and row.
There are three types of elementary column operations on $A$:
-
Right multiply $T_{i,j}$, which swaps $\v c_i$ and $\v c_j$;
-
Right multiply $E_{i,\lambda}$, which replaces $\v c_i$ by $\lambda \v c_i$ (where $0\neq \lambda\in \mathbb{F}$);
-
Right multiply $C_{i,j,\lambda}$, which replaces $\v c_j$ by $\v c_j + \lambda\v c_i$ (where $i\neq j$).
There are three types of elementary row operations on $A$:
-
Left multiply $T_{i,j}$, which swaps $\v r_i$ and $\v r_j$;
-
Left multiply $E_{i,\lambda}$, which replaces $\v r_i$ by $\lambda \v r_i$ (where $0\neq \lambda\in \mathbb{F}$);
-
Left multiply $C_{i,j,\lambda}$, which replaces $\v r_i$ by $\v r_i + \lambda\v r_j$ (where $i\neq j$).
-
Elementary matrices are invertible with elementary inverses.
-
Elementary row/column operations preserve the row/column space, and therefore the row/column ranks.
A matrix $A\in M_{m\times n}(\mathbb{F})$ is said to be in row-reduced echelon form if
-
every non-zero row of $A$ appears above every zero row;
-
in a non-zero row, the leftmost non-zero entry (the pivot entry) is 1;
-
for two non-zero rows $\v r_i$ and $\v r_j$ where $i<j$, the pivot entry in $\v r_j$ is strictly to the right of that of $\v r_i$; and
-
each pivot entry is the only non-zero entry in its column.
$A$ is said to be in column-reduced echelon form if $A^T$ is in row-reduced echelon form.
If a matrix $A$ is in row-reduced echelon form, then the row rank of $A$ is the number of non-zero rows.
Every matrix can be put uniquely into row-reduced echelon form via elementary row operations.
For $A\in M_{n\times n}(\mathbb{F})$, the following are equivalent:
-
$\op{rk}$$(A) = n$;
-
$A$ is a product of elementary matrices;
-
$A$ is invertible.
-
$A$ is non-singular, i.e. $\det(A)\neq 0$.
For some $A\in M_{m\times n}(\mathbb{F})$ and $\v b\in \mathbb{F}^m$, to solve $$ \begin{align*} A\v x = \v b,\qquad \v x\in \mathbb{F}^n, \end{align*} $$
-
form the augmented matrix $\big(\begin{array}{c|c}A & \v b\end{array}\big)$;
-
put into row-reduced echelon form $\big(\begin{array}{c|c}A' & \v b'\end{array}\big)$ (and $A'$ is in row-reduced echelon form as well);
-
then solve $A'\v x = \v b'$.
Solution exists iff $$ \begin{align*} \v b \in \im(A) = \op{Col}(A) &\iff \op{rk}(A) = \op{rk}(\big(\begin{array}{c|c}A & \v b\end{array}\big)) \\ &\iff \op{rk}(A') = \op{rk}(\big(\begin{array}{c|c}A' & \v b'\end{array}\big)). \end{align*} $$
If $\v x_0$ is a solution, then the solution set is $\v x_0 + \ker(A)$. The solution is unique iff $$ \begin{align*} \ker(A) = \set{\v 0} &\iff \op{rk}(A) = n \\ &\iff A' = \pmat{I_n \\ 0}. \end{align*} $$
An $n$-dimensional volume form is a function $F: M_{n\times n}(\mathbb{F}) \to \mathbb{F}$ satisfying:
-
multilinear in columns: for any $\v v_1, \ldots, \v v_n \in \mathbb{F}$, the function $$ \begin{align*} \mathbb{F}^n &\to \mathbb{F} \\ {\color{yellow}\v v} &\mapsto F\big(\pmat{\v v_1 & \ldots & \v v_{i-1} & {\color{yellow}\v v} & \v v_{i+1} & \ldots \v v_n}\big) \end{align*} $$ is a linear map for all $1\leq i\leq n$.
-
alternating: if $A$ has two columns that are the same, then $F(A) = 0$.
Let $A\in M_{n\times n}(\mathbb{F})$ and $F$ be an $n$-dimensional volume form on $M_{n\times n}(\mathbb{F})$.
-
If $A$ has a zero column, then $F(A) = 0$.
-
$F(A\cdot$ $T_{ij}$$) = -F(A)$.
-
$F(A\cdot$ $M_{i,\lambda}$$) = \lambda F(A)$.
-
$F(A\cdot$ $C_{i,j,\lambda}$$) = F(A)$.
For each $n\in \N$, there is a unique $n$-dimensional volume form $\det$ on $M_{n\times n(\mathbb{F})}$ satisfying $F(I_n) = 1$, given by $$ \begin{align*} \det(A) = \sum_{\sigma\in S_n} \sign(\sigma) \prod_{i=1}^n a_{\sigma(i), i} \end{align*} $$ called the $n$-dimensional determinant. Here $S_n$ is the $n$-th symmetric group and $\sign: S_n \to (\set{\pm 1}, \cdot)$ is the sign homomorphism.
This is called Leibniz formula for determinants.
For all $A,B\in M_{n\times n}(\mathbb{F})$, $\det(AB) = \det(A) \det(B)$.
This shows that $\det(A\inv) = \det(A)\inv$ and similar matrices have equal determinants.
Let $V$ be finite-dimensional vector space and $\alpha: V\to V$ be a linear map.
Define the determinant of $\alpha$ as $\det(\alpha) =$ $\det$$($$[A]^B_B$$)$, where $B$ is a basis for $V$.
$\det(\alpha)$ does not depend on the basis chosen. (Derivation)
Let $A\in M_{k\times k}(\mathbb{F})$ and $B\in M_{l\times l}(\mathbb{F})$. Then $$ \begin{align*} \det\pmat{A & * \\ 0 & B} = \det(A) \det(B). \end{align*} $$
By extension, for square matrices $A_1, \ldots, A_k$, $$ \begin{align*} \det\pmat{A_1 & * & \ldots & * \\ 0 & A_2 & \ldots & * \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & A_k} = \det(A_1) \det(A_2) \ldots \det(A_k). \end{align*} $$
Here $*$ means any block matrices of the right size.
Let $A\in M_{m\times n}(\mathbb{F})$, $1\leq i\leq m$ and $1\leq j\leq n$.
The $(i,j)$-minor matrix $A_{\hat{ij}}\in M_{(m-1)\times(n-1)}(\mathbb{F})$ of $A$ is obtained from $A$ by deleting $i$ and column $j$.
Let $A\in M_{n\times n}(\mathbb{F})$.
-
For any fixed column $j$, $$ \begin{align*} \det(A) = \sum_{i=1}^{n} a_{ij} (-1)^{i+j} \det(A_{\hat{ij}}). \end{align*} $$
-
For any fixed row $i$, $$ \begin{align*} \det(A) = \sum_{j=1}^{n} a_{ij} (-1)^{i+j} \det(A_{\hat{ij}}). \end{align*} $$
Let $A\in M_{n\times n}(\mathbb{F})$.
The adjugate matrix $\op{adj}(A) \in M_{n\times n}(\mathbb{F})$ is defined by $$ \begin{align*} \op{adj}(A)_{i,j} = (-1)^{i+j} \det(A_{\hat{ji}}). \end{align*} $$
Let $A \in M_{n\times n}(\mathbb{F})$.
-
$A \op{adj}(A) = \op{adj}(A)\, A = \det(A) \, I_n$.
-
If $A$ is invertible, the $A\inv = \frac{1}{\det(A)} \op{adj}(A)$.
Let $A\in M_{n\times n}(\mathbb{F})$. The trace of $A$ is defined as $$ \begin{align*} \op{tr}(A) = \sum_{i=1}^{n} A_{i,i}. \end{align*} $$
-
$\op{tr} : M_{n\times n}(\mathbb{F}) \to \mathbb{F}$ is a linear map.
-
$\op{tr}(AB) = \op{tr}(BA)$. (Proof)
-
Similar matrices have equal trace. (Proof)
Let $V$ be a finite-dimensional vector space and $\alpha: V\to V$ be a linear map.
Define the trace of $\alpha$ as $\op{tr}(\alpha) =$ $\op{tr}$$($$[\alpha]^B_B$$)$.
This is independent of the choice of basis, since $[\alpha]^B_B$ and $[\alpha]^{B'}_{B'}$ are similar.