IB Linear Algebra

Throughout, $\mathbb{F}$ is a field.

Vector spaces open_in_new

Definition (vector space) open_in_new

Let $\mathbb{F}$ be a field.

An $\mathbb{F}$-vector space (or a vector space over $\mathbb{F}$) is a abelian group $(V, +, \v 0)$, equipped with a function (scalar multiplication) $$ \begin{align*} \mathbb{F}\times V &\to V \\ (\lambda, v) & \mapsto \lambda v \end{align*} $$ satisfying, for all $v,w\in V$ and $\lambda,\mu\in\mathbb{F}$,

  • Distributive law:

    1. $(\lambda+\mu)v = \lambda v + \mu v$;

    2. $\lambda(v + w) = \lambda v + \lambda w$;

  1. Associative law: $(\lambda\mu) v = \lambda(\mu v)$;

  2. $1 v = v$.


  • A vector space over $\mathbb{F}$ is a $\mathbb{F}$-module.

Examples of vector spaces

Vector subspace open_in_new

Definition (vector subspace) open_in_new

Let $V$ be a $\mathbb{F}$-vector space.

A subset $U\subseteq V$ is said to be a subspace of $V$ (denoted as $U\leq V$) if it is a $\mathbb{F}$-vector space under the same operations as $V$, i.e. $(U, +)$ is a subgroup of $(V, +)$, and $\lambda u\in U$ for all $\lambda\in\mathbb{F}$ and $u\in U$.

Examples of vector subspace

Proposition (subspace test) open_in_new

A subset $U\subseteq V$ is a subspace of a vector space $V$ iff

  1. $U$ is non-empty;

  2. for all $\lambda\in\mathbb{F}$ and $u,w\in U$, we have $u+\lambda w \in U$.

Proof

  • Intersection of subspaces is also a subspace: if $U,W\leq V$, then $U\cap W\leq V$. (Derivation)

  • Union of subspaces is almost never a subspace.

Definition (sum of vector subspaces) open_in_new

Let $U,W$ $\leq$ $V$ where $V$ is a vector space.

Define the sum of $U$ and $W$ in $V$ as $$ \begin{align*} U + W = \sb{u+w}{u\in U, w\in W} \end{align*} $$

  • Sums are also subspaces. (Derivation)

  • $U+W$ is the smallest subspace of $V$ containing both $U$ and $W$.

Linear maps open_in_new

Definition (linear map) open_in_new

Let $V, W$ be $\mathbb{F}$-vector spaces.

A function $\alpha: V\to W$ is said to be a linear map if it preserves vector addition and scalar multiplication, i.e. for all $u,v\in V$ and $\lambda\in\mathbb{F}$, $$ \begin{align*} \alpha(u+v) = \alpha(u) + \alpha(v) \quad \text{and} \quad \alpha(\lambda u) = \lambda \alpha(u). \end{align*} $$

Equivalently, if for all $u,v\in V$ and $\lambda\in\mathbb{F}$, $$ \begin{align*} \alpha(u+\lambda v) = \alpha(u) + \lambda \alpha(v). \end{align*} $$

Examples of linear maps

Composition of linear maps is also linear.

Definition (isomorphism of vector spaces) open_in_new

A bijective linear map $\alpha: V\to W$ is called an isomorphism.

We say $V$ are $W$ are isomorphic (denoted as $V\cong W$) if there exists an isomorphism from $V$ to $W$.

Proposition (inverse of isomorphism is an isomorphism) open_in_new

If $\alpha: V\to W$ is an isomorphism, then so is $\alpha\inv: W\to V$.

Proof

Definition (kernel and image of a linear map) open_in_new

Let $\alpha: V\to W$ be a linear map. Define

  • $\ker(\alpha) = \sb{v\in V}{\alpha(v) = \v 0_W}$ as the kernel of $\alpha$;

  • $\im(\alpha) = \sb{\alpha(v)}{v\in V}$ as the image of $\alpha$.

  • $\ker(\alpha) \leq V$ and $\im(\alpha) \leq W$. (Derivation)

  • $\alpha$ is surjective iff $\im(\alpha) = W$.

  • $\alpha$ is injective iff $\ker(\alpha) = \set{\v 0_V}$. (Derivation)

Quotient spaces open_in_new

Definition (quotient space) open_in_new

Let $V$ be an $\mathbb{F}$-vector space and $U\leq V$.

The quotient space of $V$ by $U$ is defined as $$ \begin{align*} V/U := \sb{v + U}{v\in V}, \end{align*} $$ the set of left cosets of $(U,+)$ in $(V,+)$.

$V/U$ is an $\mathbb{F}$-vector space under the operations $$ \begin{align*} (v_1 + U) + (v_2 + U) &= (v_1+v_2) + U, \\ \lambda(u_1 + U) &= (\lambda u_1) + U. \end{align*} $$ Proof

Proposition (map to quotient space) open_in_new

Let $V$ be a vector space and $U\leq V$.

There exists a surjective linear map $$ \begin{align*} \pi_U : V &\to V/U \\ v &\mapsto v + U \end{align*} $$ with a kernel $\ker(\pi_U) = U$.

Proof

Theorem (first isomorphism theorem for vector spaces) open_in_new

Let $\alpha: V\to W$ be a linear map.

There exists an isomorphism $$ \begin{align*} \bar \alpha : V/\ker(\alpha) &\to \im(\alpha) \\ v + \ker(\alpha) &\mapsto \alpha(v). \end{align*} $$

Proof

Bases open_in_new

Definition (linear combination, span) open_in_new

Let $V$ be an $\mathbb{F}$-vector space and $S\subseteq V$.

  • A linear combination of $S$ is an expression of the form $$ \begin{align*} \sum_{s\in S}' \lambda_s s. \end{align*} $$ We assume $\lambda_s = 0$ for all but finitely many $s\in S$ ($\sum'$ denotes finite sum).

  • Define the span of $S$ in $V$ be the set of all linear combinations of $S$ $$ \begin{align*} \langle S\rangle = \Big\{\sum_{s\in S}' \lambda_s s \ \Big|\ \lambda_s \in \mathbb{F}\Big\}. \end{align*} $$ We define $\langle \emptyset\rangle = \set{\v 0_V}$ by convention.

  • If $\langle S\rangle = V$, then we say $S$ spans $V$, or $S$ is a spanning set for $V$.

Definition (finite-dimensional vector space) open_in_new

A vector space $V$ is said to be finite-dimensional if $V$ has a finite spanning set.

  • $\langle S\rangle$ is the smallest subspace of $V$ that contains $S$. (Derivation)

  • $\langle S\cup T\rangle = \langle S\rangle + \langle T\rangle$.

Definition (linear independence) open_in_new

Let $V$ be a $\mathbb{F}$-vector space and $S\subseteq V$.

$S$ is said to be linearly independent if for all $\lambda_s \in \mathbb{F}$, $$ \begin{align*} \sum_{s\in S}' \lambda_s s = \v 0 \quad \implies \quad \lambda_s = 0 \text{ for all } s\in S. \end{align*} $$

$S$ is said to be linearly dependent if it is not linearly independent.

  • If $\v 0\in S$, then $S$ is linearly dependent.

  • If $S$ is linearly independent, then any subset of $S$ is linearly independent.

  • If $S$ is infinite, $S$ is linearly independent iff every finite subset of $S$ is linearly independent.

Definition (basis) open_in_new

Let $V$ be a vector space and $S\subseteq V$.

$S$ is said to be a basis for $V$ if

  1. $S$ is linearly independent; and

  2. $S$ spans $V$.

Theorem (Steinitz exchange lemma) open_in_new

Let $S, T \subseteq V$ be finite subsets in a vector space $V$. Suppose $S$ is linearly independent and $T$ spans $V$. Then

  1. $|S| \leq |T|$; and

  2. there exists a subset $T'\subseteq T$ such that $|T'| = |T| - |S|$ and $S\cup T'$ spans $V$. (This means you can remove $|S|$ elements from $T$, replace them with $S$, and obtain a set that still spans $V$.)

Proof

The picture is $$ \begin{align*} \text{linearly independent set} \quad \subseteq \quad \text{basis} \quad \subseteq \quad \text{spanning set}. \end{align*} $$

Proposition (finite spanning set contains basis) open_in_new

Let $V$ be a vector space, $S\subseteq V$ is finite and $S$ spans $V$.

Then there exists a subset $S' \subseteq S$ such that $S'$ is a basis of $V$.

Proof

Definition (dimension of a finite-dimensional vector space) open_in_new

The dimension $\dim(V)$ of a finite-dimensional vector space $V$ is defined as the size of a basis for $V$.

For this to be well-defined, we rely on the fact that

  1. $V$ has a finite basis (Proof);

  2. every basis for $V$ is finite (Proof); and

  3. if $B_1, B_2 \subseteq V$ are bases, then $|B_1| = |B_2|$ (Proof).

Corollary (size of linearly independent set, basis and spanning set) open_in_new

Let $S, T \subseteq V$ be finite subsets in a vector space $V$. Suppose $S$ is linearly independent and $T$ spans $V$. Then $$ \begin{align*} |S| \leq \dim(V) \leq |T| \end{align*} $$ with $|S| = \dim(V)$ iff $S$ is a basis, and $|T| = \dim(V)$ iff $T$ is a basis.

Proof

Proposition (dimension of subspace) open_in_new

Let $V$ be a finite-dimensional vector space and $U$ $\leq$ $V$.

Then $U$ is also finite-dimensional and $\dim(U) \leq \dim(V)$ with equality iff $U=V$.

Proof

Proposition (extending a basis) open_in_new

Let $V$ be a finite-dimensional vector space and $U$ $\leq$ $V$.

For any basis $B_U$ of $U$, there exists a basis $B_V$ for $V$ with $B_U \subseteq B_V$.

Proof

Lemma (dimension of quotient spaces) open_in_new

Let $V$ be a finite-dimensional vector space and $U$ $\leq$ $V$.

Then $V/U$ is finite-dimensional and $$ \begin{align*} \dim(V/U) = \dim(V) - \dim(U). \end{align*} $$

Proof

Bases and linear maps open_in_new

Definition (rank, nullity) open_in_new

Let $V$ and $W$ be $\mathbb{F}$-vector spaces and $\alpha: V\to W$ is a linear map.

  • $\op{rk}(\alpha) := \dim($$\im(\alpha)$$)$ is the rank of $\alpha$.

  • $\op{n}(\alpha) := \dim($$\ker(\alpha)$$)$ is the kernel of $\alpha$.

Theorem (rank-nullity) open_in_new

Let $V$ and $W$ be $\mathbb{F}$-vector spaces and $\alpha: V\to W$ be a linear map. Suppose $V$ is finite-dimensional.

Then $\ker(\alpha)$ and $\im(\alpha)$ are also finite-dimensional and $$ \begin{align*} \dim(V) = \dim(\ker(\alpha)) + \dim(\im(\alpha)). \end{align*} $$

Proof

Corollary (linear pigeonhole) open_in_new

Let $V$ and $W$ be $\mathbb{F}$-vector spaces and $\alpha: V\to W$ be a linear map.

If $\dim$$(V) = \dim(W)$, then the following are equivalent:

  1. $\alpha$ is injective;

  2. $\alpha$ is surjective;

  3. $\alpha$ is bjective.

Proof

Proposition (linear map is uniquely determined by action on basis) open_in_new

Let $V,W$ be $\mathbb{F}$-vector spaces and $B$ be a basis of $V$.

For any function $f: B\to W$, there exists a unique linear map $F: V\to W$ extending $f$.

Proof

Corollary (isomorphism between Fn and n-dimensional vector space) open_in_new

Let $V$ be an $\mathbb{F}$-vector space and $\dim$$(V) = n$.

For any basis $B = \set{v_1, v_2, \ldots, v_n}$ for $V$, there exists an isomorphism $F_B : \mathbb{F}^n \to V$ given by $$ \begin{align*} \pmat{\lambda_1 \\ \lambda_2 \\ \vdots \\ \lambda_n} \mapsto \sum_{i=1}^{n} \lambda_i v_i. \end{align*} $$

Proof

Definition (coordinate vector) open_in_new

Following the notation here, for $v\in V$, if $v = \sum_{i=1}^{n} \lambda_i v_i$, then we write $$ \begin{align*} [v]_B \equiv \mathcal{E}_B(v) \equiv F_B\inv(v) = \pmat{\lambda_1 \\ \lambda_2 \\ \vdots \\ \lambda_n} \end{align*} $$ called the coordinate vector of $v$ with respect to $B$.

Corollary (vector spaces of equal dimension are isomorphic) open_in_new

Let $V, W$ be finite-dimenisonal $\mathbb{F}$-vector spaces.

$V$ $\isom$ $W$ iff $\dim$$(V) = \dim(W)$.

Proof

Direct sums open_in_new

Definition (external direct sum) open_in_new

Let $V$ and $W$ be $\mathbb{F}$-vector spaces.

The external direct sum of $V$ and $W$ (denoted as $V\oplus W$) is defined as the $\mathbb{F}$-vector space with the underlying set $V\times W$ with operations $$ \begin{align*} (v_1,w_1) + (v_2,w_2) &= (v_1 + v_2, w_1+w_2) \\ \lambda(v,w) &= (\lambda v, \lambda w). \end{align*} $$ We similarly define $V_1\oplus \ldots\oplus V_n$.

Lemma (dimension of external direct sum) open_in_new

Let $V$ and $W$ be $\mathbb{F}$-vector spaces.

If $V$ and $W$ are finite-dimensional, then so is $V \oplus W$, $$ \begin{align*} \dim(V\oplus W) = \dim(V) + \dim(W). \end{align*} $$

Proof

Proposition (sum-intersection formula) open_in_new

Let $V$ be a finite-dimensional vector space, and let $U,W$ $\leq$ $V$.

Then $U+W$ is finite-dimensional, and $$ \begin{align*} \dim(U+W) = \dim(U) + \dim(W) - \dim(U\cap W). \end{align*} $$ Proof

Definition (internal direct sum) open_in_new

Let $V$ be a vector space, and $U,W$ $\leq$ $V$.

We say $V$ is the (internal) direct sum of $U$ and $W$ (denoted as $U\oplus W = V$) if, equivalently,

  • $U$ $+$ $W = V$ and $U\cap W = \set{\v 0}$;

  • the linear map $\phi: U$ $\oplus$ $W \to V$ given by $\phi(u,w) = u+w$ is an isomorphism;

  • every element of $V$ can be uniquely expressed as $u+w$ where $u\in U$ and $w \in W$.

Definition (direct complement) open_in_new

Let $V$ be a vector space and let $U,W\leq V$.

We say $W$ is a direct complement to $U$ in $V$ if $V = U$ $\oplus$ $W$.

Definition (direct sum of many subspaces) open_in_new

Let $V$ be a vector space and $U_1, U_2, \ldots, U_n \leq V$.

We say $V$ is the direct sum of $U_i$ (denoted as $V = \bigoplus_{i=1}^n U_i$) if, equivalently,

  • $\phi : U_1$ $\oplus$ $U_2 \oplus \ldots \oplus U_n \to V$ given by $(u_1, u_2, \ldots, u_n) \mapsto u_1 + u_2 + \ldots + u_n$ is an isomorphism;

  • every $v\in V$ can be uniquely expressed as $u_1 + u_2 + \ldots + u_n$ for $u_i\in U_i$.

Note that this is not equivalent to saying $V = U_1+\ldots+U_n$ and $U_i\cap U_j = \set{\v 0}$ for all $i\neq j$.

Proposition (every subspace of a finite-dimensional vector space has a direct complement) open_in_new

Let $V$ be a finite-dimensional vector space.

Then every subspace of $V$ has a direct complement.

Proof

Linear maps and matrices open_in_new

Definition (vector space of linear maps) open_in_new

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*} $$

Definition (matrix of a linear map) open_in_new

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$.)

Theorem (matrices and linear maps) open_in_new

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.

Proof

Theorem (dimension of the space of linear maps) open_in_new

Suppose $V$ and $W$ are finite-dimensional vector spaces. Then $$ \begin{align*} \dim(\mathcal{L}(V,W)) = \dim(V) \cdot \dim(W). \end{align*} $$

Proof

Proposition (matrix multiplication and linear map composition) open_in_new

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*} $$

Proof

Definition (base change matrix) open_in_new

Let $B$ and $B'$ be bases for a vector space $V$ where $\dim$$(V) = n$.

The base change matrix from $B$ to $B'$ is $[\mathrm{id}_V]^B_{B'} \in M_{n\times n}(\mathbb{F})$.

  • $[\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}$.

Definition (equivalent matrices) open_in_new

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.

This is an equivalence relation on $M_{m\times n}(\mathbb{F})$.

Theorem (matrix of linear map can be (I_rank 0; 0 0)) open_in_new

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)$.

Proof

Definition (column space, column rank, row space, row rank) open_in_new

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)$.

Lemma (column rank of matrix product is at most column rank of each matrix) open_in_new

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*} $$

Proof

Theorem (matrices are equivalent iff column ranks equal) open_in_new

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')$.

Proof

Theorem (row rank equals column rank) open_in_new

For any $A \in M_{m\times n}(\mathbb{F})$, we have $\op{r-rk}$$(A) =$ $\op{c-rk}$$(A).$

Proof

Definition (similar matrix) open_in_new

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$.

Elementary operations on matrices open_in_new

Definition (elementary matrices) open_in_new

There are three types of elementary matrices:

  1. identity with row $i$ and $j$ swapped $$ \begin{align*} T_{i,j} = \pmat{1 \\ &\ddots \\ && 0 && 1 \\ &&& \ddots \\ && 1 && 0 \\ &&&&&\ddots \\ &&&&&&1}, \end{align*} $$

  2. 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*} $$

  3. 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*} $$

Definition (elementary operations) open_in_new

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$:

  1. Right multiply $T_{i,j}$, which swaps $\v c_i$ and $\v c_j$;

  2. Right multiply $E_{i,\lambda}$, which replaces $\v c_i$ by $\lambda \v c_i$ (where $0\neq \lambda\in \mathbb{F}$);

  3. 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$:

  1. Left multiply $T_{i,j}$, which swaps $\v r_i$ and $\v r_j$;

  2. Left multiply $E_{i,\lambda}$, which replaces $\v r_i$ by $\lambda \v r_i$ (where $0\neq \lambda\in \mathbb{F}$);

  3. Left multiply $C_{i,j,\lambda}$, which replaces $\v r_i$ by $\v r_i + \lambda\v r_j$ (where $i\neq j$).

(Note the different indices when left and right multiplying $C_{i,j,\lambda}$.)

  • Elementary matrices are invertible with elementary inverses.

  • Elementary row/column operations preserve the row/column space, and therefore the row/column ranks.

Definition (row and column-reduced echelon form) open_in_new

A matrix $A\in M_{m\times n}(\mathbb{F})$ is said to be in row-reduced echelon form if

  1. every non-zero row of $A$ appears above every zero row;

  2. in a non-zero row, the leftmost non-zero entry (the pivot entry) is 1;

  3. 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

  4. 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.

Lemma (rank of matrices in row-reduced echelon form) open_in_new

If a matrix $A$ is in row-reduced echelon form, then the row rank of $A$ is the number of non-zero rows.

Proof

Proposition (unique row-reduced echelon form) open_in_new

Every matrix can be put uniquely into row-reduced echelon form via elementary row operations.

Proof of existence

Theorem (equivalent conditions for invertible matrices) open_in_new

For $A\in M_{n\times n}(\mathbb{F})$, the following are equivalent:

  1. $\op{rk}$$(A) = n$;

  2. $A$ is a product of elementary matrices;

  3. $A$ is invertible.

  4. $A$ is non-singular, i.e. $\det(A)\neq 0$.

Proof

Gaussian elimination and elementary row operations open_in_new

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*} $$

  1. form the augmented matrix $\big(\begin{array}{c|c}A & \v b\end{array}\big)$;

  2. 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);

  3. then solve $A'\v x = \v b'$.

(Derivation)

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*} $$

Determinant open_in_new

Definition (volume form) open_in_new

An $n$-dimensional volume form is a function $F: M_{n\times n}(\mathbb{F}) \to \mathbb{F}$ satisfying:

  1. 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$.

  2. alternating: if $A$ has two columns that are the same, then $F(A) = 0$.

Lemma (properties of volume forms) open_in_new

Let $A\in M_{n\times n}(\mathbb{F})$ and $F$ be an $n$-dimensional volume form on $M_{n\times n}(\mathbb{F})$.

  1. If $A$ has a zero column, then $F(A) = 0$.

  2. $F(A\cdot$ $T_{ij}$$) = -F(A)$.

  3. $F(A\cdot$ $M_{i,\lambda}$$) = \lambda F(A)$.

  4. $F(A\cdot$ $C_{i,j,\lambda}$$) = F(A)$.

Proof

Theorem (determinant as unique volume form) open_in_new

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.

Proof

Lemma (determinant of transpose) open_in_new

For all $A\in M_{n\times n}(\mathbb{F})$, $\det$$(A^T) = \det(A)$.

Proof

Proposition (determinant of products) open_in_new

For all $A,B\in M_{n\times n}(\mathbb{F})$, $\det(AB) = \det(A) \det(B)$.

Proof

This shows that $\det(A\inv) = \det(A)\inv$ and similar matrices have equal determinants.

Definition (determinant of linear maps) open_in_new

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)

Corollary (equivalent conditions for invertible linear maps) open_in_new

Let $V$ be a finite-dimensional vector space and $\alpha: V\to V$ be a linear map. The following are equivalent:

  1. $\op{rk}$$(\alpha) = \dim(V)$;

  2. $\alpha$ is invertible;

  3. $\alpha$ is non-singular, i.e. $\det$$(\alpha) \neq 0$.

Proof

Proposition (determinant of block-triangular matrix) open_in_new

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*} $$

Proof

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.

Definition (minor) open_in_new

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$.

Lemma (Laplace expansion) open_in_new

Let $A\in M_{n\times n}(\mathbb{F})$.

  1. For any fixed column $j$, $$ \begin{align*} \det(A) = \sum_{i=1}^{n} a_{ij} (-1)^{i+j} \det(A_{\hat{ij}}). \end{align*} $$

  2. For any fixed row $i$, $$ \begin{align*} \det(A) = \sum_{j=1}^{n} a_{ij} (-1)^{i+j} \det(A_{\hat{ij}}). \end{align*} $$

Proof

Definition (adjugate matrix) open_in_new

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*} $$

Theorem (adjugate and inverses) open_in_new

Let $A \in M_{n\times n}(\mathbb{F})$.

  1. $A \op{adj}(A) = \op{adj}(A)\, A = \det(A) \, I_n$.

  2. If $A$ is invertible, the $A\inv = \frac{1}{\det(A)} \op{adj}(A)$.

Proof

Trace open_in_new

Definition (trace of a matrix) open_in_new

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)

Definition (trace of a linear map) open_in_new

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.

Dual spaces open_in_new

Definition (dual vector space) open_in_new

Let $V$ be a vector space.

The dual space of $V$ is defined as $V^\star =$ $\mathcal{L}$$(V,\mathbb{F})$.

An element of $V^\star$ is called a linear functional of $V$.

Proposition (dual basis) open_in_new

Let $B$ be a basis for a vector space $V$.

Define the basis set of $B$ is defined as $B^\star = \sb{b^\star}{b\in B} \subseteq$ $V^\star$, where $b^\star: V\to \mathbb{F}$ is a linear map given by $$ \begin{align*} b^\star\left(\sum_{c\in B} ' \lambda_c c\right) = \lambda_b, \end{align*} $$ or equivalently, $b^\star$ is the unique linear map defined by $b^\star(c) = \delta_{b,c}$ for all $c\in B$.

  1. $B^\star$ is linearly independent.

  2. If $V$ is finite-dimensional, then $B^\star$ is a basis for $V^\star$, called the dual basis of $B$. As a result $V\isom V^\star$.

Proof

  • There exist (infinite-dimensional) vectors spaces $V$ where $V\not\isom V^\star$. (Example)

Definition (annihilator in vector space) open_in_new

Let $V$ be a vector space, and $S\subseteq V$.

The annihilator of $S$ in $V^\star$ is defined as $$ \begin{align*} S^0 = \sb{\theta\in V^\star}{\theta(s) = 0 \text{ for all } s\in S}. \end{align*} $$

Lemma (properties of annihilators) open_in_new

Let $V$ be a vector space, and $S, T\subseteq V$.

  1. $S^0$ $\leq$ $V^\star$.

  2. If $S\subseteq T$, then $T^0 \leq S^0$.

  3. $S^0 =$ $\langle S\rangle$$^0$.

  4. $\set{\v 0_V}^0 = V^\star$ and $V^0 = \set{\v 0_{V^\star}}$.

Proof

Proposition (annilhilator and complement, dimension of annilhilator) open_in_new

Let $V$ be a vector space, and $U, W \leq V$.

If $V = U$ $\oplus$ $W$, then $U^0$ $\isom$ $W^\star$.

In particular, if $V$ is finite-dimensional, then $$ \begin{align*} \dim(V) = \dim(U) + \dim(U^0). \end{align*} $$

Proof

Proposition (sums and annilhilators) open_in_new

Let $V$ be a vector space, and $U,W\leq V$.

  1. $(U$ $+$ $W)$$^0$ $= U^0 \cap W^0$.

  2. $U^0 + W^0 \leq (U\cap W)^0$.

  3. If $V$ is finite-dimensional, then we have equality in 2., i.e. $U^0 + W^0 = (U\cap W)^0$.

Proof

  • Equality holds in 2. for any vector space if we assume the axiom of choice.

Dual maps open_in_new

Definition (dual map) open_in_new

Let $V$ and $W$ be vector spaces, and $\alpha\in \mathcal{L}(V,W)$. The dual map of $\alpha$ is defined as $$ \begin{align*} \alpha^\star: W^\star &\to V^\star \\ \theta &\mapsto \theta\circ\alpha. \end{align*} $$

Illustration

Lemma (properties of dual maps) open_in_new

Let $U,V,W$ be vector spaces, $\alpha\in \mathcal{L}(V,W)$ and $\beta\in \mathcal{L}(U,V)$.

  1. $\alpha^\star$ is linear.

  2. The function $\mathcal{L}(V,W) \to \mathcal{L}(W^\star, V^\star)$ given by $\gamma\mapsto \gamma^\star$ is linear.

  3. $(\alpha\circ\beta)^\star = \beta^\star\circ\alpha^\star$.

  4. If $\alpha$ is an isomorphism, then so is $\alpha^\star$, and $(\alpha^\star)\inv = (\alpha\inv)^\star$.

Proof

Proposition (matrix of dual maps) open_in_new

Let $V$ and $W$ be finite-dimensional vector spaces, and $\alpha\in \mathcal{L}(V,W)$. Further let $B$ be a basis for $V$ and $C$ be a basis for $W$. Then $$ \begin{align*} [\alpha^\star]^{C^\star}_{B^\star} = \big([\alpha]^B_C\big)^T. \end{align*} $$

Proof

Corollary (rank of dual map) open_in_new

Let $\alpha$ as in here. Then $\op{rk}($$\alpha^\star$$) = \op{rk}(\alpha)$.

Proof

Proposition (kernel and image of dual maps) open_in_new

Let $V$ and $W$ be $\mathbb{F}$-vector spaces and $\alpha\in \mathcal{L}(V,W)$. Then

  1. $\ker(\alpha^\star) = \im(\alpha)^0$;

  2. $\im(\alpha^\star) \leq \ker(\alpha)^0$;

  3. If $V$ and $W$ are finite-dimensional, then we have equality in 2., i.e. $\im(\alpha^\star) = \ker(\alpha)^0$.

Proof

Double dual open_in_new

Definition (double dual) open_in_new

For a vector space $V$, the double dual of $V$ is the dual space of the dual space of $V$: $$ \begin{align*} V^{\star\star} = (V^\star)^\star. \end{align*} $$

For $V$ finite-dimensional, it is common to identify $V^{\star\star}=V$: see here.

Theorem (double dual and evaluation) open_in_new

Let $V$ be a vector space.

The evaluation map $\mathcal{E}: V\to V^{\star\star}$ given by $$ \begin{align*} \mathcal{E}(v)(\theta) = \theta(v) \end{align*} $$ is a linear map.

If $V$ is finite-dimensional, then $\mathcal{E}$ is an isomorphism.

Proof

  • $\mathcal{E}$ is also called the natural isomorphism, because it does not require a basis.

  • It is common to identify $\mathcal{E}(V) = V$, so we write $V^{\star\star}=V$.

Proposition (double annihilator) open_in_new

Let $V$ be a finite-dimensional vector space and $U\leq V$. Then $$ \begin{align*} \mathcal{E}(U) = U^{00}. \end{align*} $$

Proof

  • Identifying $\mathcal{E}(U) = U$, we write $U = U^{00}$.

  • For $X\subseteq V^\star$, $X^0 \leq V^{\star\star}$ is identified with $$ \begin{align*} X_0 = \mathcal{E}\inv(X^0) = \sb{v\in V}{\theta(v) = 0 \text{ for all }\theta\in X} = \bigcap_{\theta\in X} \ker(\theta). \end{align*} $$ Then every $U\leq V$ can be written as $U = (U^0)_0$.

Proposition (every basis for dual space is a dual basis) open_in_new

Let $V$ be a finite-dimensional vector space.

Every basis for $V^\star$ is dual to some basis for $V$.

Proof

Eigenvalues and eigenvectors open_in_new

Polynomials open_in_new

Definition (polynomial, degree, monic, polynomial function, root) open_in_new

Let $\mathbb{F}$ be a field.

  • A polynomial over $\mathbb{F}$ is a formal expression $a_nt^n + \ldots + a_1 t + a_0$ for some $n=0,1,2,\ldots$ and coefficients $a_i\in \mathbb{F}$.

  • The degree of $f$ (denoted $\deg(f)$) is the maximal integer $m$ such that $a_m\neq 0$. By convention, $\deg(0) = -\infty$.

  • $a_m$ is called the leading coefficient. $f$ is called monic if $a_m = 1$.

  • Let $\mathbb{F}[t]$ be the set of all polynomials of $\mathbb{F}$, equipped with addition and multiplication: for $f(t) = \sum_{i} ' a_i t^i$ and $g(t) = \sum_{j} ' b_j t^j$,

    • the coefficient of $t^k$ in $(f+g)$ is $a_k+b_k$;

    • the coefficient of $t^k$ in $(f\cdot g)$ is $\sum_{i=0}^{k} a_i b_{k-i}$.

  • The polynomial function $\mathbb{F}\to \mathbb{F}$ is defined by$f(\lambda) = \sum_{i} ' a_i \lambda^i$.

  • $\lambda\in \mathbb{F}$ is a root of $f\in \mathbb{F}[t]$ if $f(\lambda) = 0$.

  • We write $g\mid f$ if there exists $q\in \mathbb{F}[t]$ such that $f(t) = q(t) g(t)$.

Lemma (Euclidean algorithm for polynomials) open_in_new

For all $f,g\in$ $\mathbb{F}[t]$ with $g\neq 0$, there exists $q,r\in \mathbb{F}[t]$ such that $$ \begin{align*} f(t) = q(t) g(t) + r(t) \quad \text{and} \quad \deg(r) < \deg(g). \end{align*} $$

Proof

Corollary (Bézout identity for polynomials) open_in_new

If $f_1, \ldots, f_k\in$ $\mathbb{F}[t]$ have no common factor of degree at least 1, then there exists polynomials $p_1, \ldots, p_k\in \mathbb{F}[t]$ such that $$ \begin{align*} 1 = \sum_{i=1}^{k} p_i(t) f_i(t). \end{align*} $$

Proof

Lemma (factor theorem) open_in_new

Let $f\in$ $\mathbb{F}[t]$.

$\lambda\in \mathbb{F}$ is a root of $f$ iff $(t-\lambda) \mid f(t)$.

Proof

Definition (multiplicity of root) open_in_new

For a root $\lambda$ of $f\in$ $\mathbb{F}[t]$, the multiplicity of $\lambda$ is the largest integer $e$ such that $(t-\lambda)^e\mid f(t)$.

Corollary (most number of roots of polynomials) open_in_new

Let $f\in$ $\mathbb{F}[t]$. If $\deg(f) = n\geq 0$, then $f$ has at most $n$ roots counted with multiplicity.

Proof

Corollary (uniqueness of polynomials agreeing on points) open_in_new

Let $f_1, f_2\in \mathbb{F}[t]$.

If $\deg(f_1), \deg(f_2) < n$ and $f_1(\lambda_i) = f_2(\lambda_i)$ for some distinct $\lambda_1, \lambda_2, \ldots, \lambda_n\in \mathbb{F}$, then $f_1 = f_2$.

Proof

Consequently, if $\mathbb{F}$ is infinite, then $f\in \mathbb{F}[t]$ is uniquely determined by its polynomial function $\lambda\mapsto f(\lambda)$.

  • If $\mathbb{F}$ is finite, then this fails, e.g. if $\mathbb{F}=\set{\lambda_1, \ldots, \lambda_n}$, then $f(t) = \prod_{i=1}^{n} (t-\lambda_i)$ has degree $n$ but $f(\lambda) = 0$ for all $\lambda\in \mathbb{F}$.

Theorem (fundamental theorem of algebra about multiplicity) open_in_new

Any $f\in$ $\C[t]$ of degree $n\geq 1$ has exactly $n$ roots, accounting multiplicity, i.e. $f(t)$ is a product of linear factors.

Definition (eigenvector, eigenvalue, eigenspace) open_in_new

Let $V$ be any $\mathbb{F}$-vector space, and $\alpha\in$ $\mathcal{L}(V,V)$.

  • $\lambda\in \mathbb{F}$ is said to be an eigenvalue of $\alpha$ if there exists $v\in V\setminus \set{\v 0}$ such that $\alpha(v) = \lambda v$.

  • Such $v$ is called a $\lambda$-eigenvector of $\alpha$.

  • The $\lambda$-eigenspace of $\alpha$ is defined as $V_\lambda = \sb{v\in V}{\alpha(v) = \lambda v}$. Equivalently, $V_\lambda = \ker(\alpha - \lambda\,\id_V) \leq V$.

Definition (diagonalisable and triangularisable) open_in_new

Let $V$ be a finite-dimensional vector space on $\mathbb{F}$.

  • $\alpha\in$ $\mathcal{L}(V,V)$ is diagonalisable if there exists $B$ for $V$ such that $[\alpha]^B_B$ is diagonal.

  • $\alpha\in\mathcal{L}(V,V)$ is triangularisable if there exists $B$ for $V$ such that $[\alpha]^B_B$ is upper triangular.

  • $A\in M_{n\times n}(\mathbb{F})$ is diagonalisable if $A$ is similar to a diagonal matrix.

  • $A\in M_{n\times n}(\mathbb{F})$ is triangularisable if $A$ is similar to an upper triangular matrix.

Theorem (distinct eigenvalues imply linearly independent eigenvectors) open_in_new

Let $V$ be a $\mathbb{F}$-vector space and $\alpha\in \mathcal{L}(V,V)$.

If $\lambda_1, \ldots, \lambda_n \in \mathbb{F}$ are distinct, and $v_i \in$ $V_{\lambda_i}$ $\setminus \set{\v 0}$, then $\set{v_1,\ldots,v_n}$ is linearly independent.

Proof

  • If $V$ is finite-dimensional, then $\alpha$ has at most finitely many eigenvalues.

Proposition (direct sum of eigenspaces) open_in_new

Let $V$ be finite-dimensional and $\alpha\in \mathcal{L}(V,V)$. Let $V_{\lambda_1}, \ldots, V_{\lambda_k}$ be all the non-zero eigenspaces for $\alpha$.

  1. $\langle V_{\lambda_1} \cup \ldots \cup V_{\lambda_k}\rangle = V_{\lambda_1} \oplus \ldots \oplus V_{\lambda_k} \leq V$.

  2. $\alpha$ is diagonalisable iff $V = V_{\lambda_1} \oplus \ldots \oplus V_{\lambda_k}$.

Proof

Definition (characteristic polynomial) open_in_new
  • For $A\in M_{n\times n}(\mathbb{F})$, the characteristic polynomial of $A$ is $\chi_A(t) = \det(t\, I_n - A) \in \mathbb{F}[t]$.

  • Let $V$ be a finite-dimensional vector space. For $\alpha\in \mathcal{L}(V,V)$, the characteristic polynomial of $\alpha$ is $\chi_\alpha(t) = \det(t\,\id_V - \alpha)$.

Proposition (triangularisable map and roots of characteristic polynomial) open_in_new

Let $V$ be a finite-dimensional vector space over $\mathbb{F}$, and $\alpha\in \mathcal{L}(V,V)$.

$\alpha$ is triangularisable iff $\chi_\alpha(t)$ is a product of linear factors.

Proof

  • If $\chi_\alpha$ is degree $n$ but does not have $n$ roots, then $\chi_\alpha$ is not a product of linear factors and so $\alpha$ is not triangularisable.

  • If $\mathbb{F}$ is $\mathbb{C}$, then $\chi_\alpha(t)$ is a product of linear factors so all $\alpha\in \mathcal{L}(\C^n, \C^n)$ are triangularisable.

Definition (linear map polynomial, matrix polynomial) open_in_new

Let $p(t) = \sum_{i=1}^{n} a_i t^i \in$ $\mathbb{F}[t]$.

  • Let $V$ be any $\mathbb{F}$-vector space, and $\alpha\in \mathcal{L}(V,V)$. Define $p(\alpha) = \sum_{i=1}^{n} a_i \alpha^i \in \mathcal{L}(V,V)$.

  • Let $A\in M_{n\times n}(\mathbb{F})$. Define $p(A) = \sum_{i=1}^{n} a_i A^i \in M_{n\times n}(\mathbb{F})$.

Proposition (applying linear map polynomial to eigenvector) open_in_new

Let $V$ be a vector space, $\alpha\in \mathcal{L}(V,V)$. For any $v\in$ $V_\lambda$ and $p\in \mathbb{F}[t]$, $$ \begin{align*} p(\alpha)(v) = p(\lambda)\cdot v. \end{align*} $$

Proof

Definition (minimal polynomial) open_in_new

Let $V$ be an $\mathbb{F}$-vector space and $\alpha\in$ $\mathcal{L}(V,V)$.

Let $I_\alpha = \sb{f\in \mathbb{F}[t]}{f(\alpha) = 0}$.

Define the minimal polynomial of $\alpha$ as the monic non-zero polynomial $m_a\in I_\alpha\setminus \set{0}$ of minimal degree.

Lemma (minimal polynomial divides polynomials that send linear map to zero) open_in_new

Let $V$ be an $\mathbb{F}$-vector space and $\alpha\in \mathcal{L}(V,V)$.

For any $f\in$ $I_\alpha$, we have $m_\alpha$ $\mid f$.

Proof

Proposition (existence and uniqueness of minimal polynomials) open_in_new

Let $V$ be an $\mathbb{F}$-vector space and $\alpha\in \mathcal{L}(V,V)$.

  1. The minimal polynomial of $\alpha$ is unique.

  2. If $V$ is finite-dimensional, then the minimal polynomial exists.

Proof

Theorem (Cayley-Hamilton) open_in_new

Let $V$ be a finite-dimensional vector space.

For any $\alpha\in \mathcal{L}(V,V)$, we have $\chi_\alpha$$(\alpha)$ $=0$.

Proof for $\C$

Definition (algebraic and geometric multiplicity) open_in_new

Let $\lambda\in \mathbb{F}$ be an eigenvalue of $\alpha\in \mathcal{L}(V,V)$ where $V$ is a finite-dimensional vector space. Define

  • the algebraic multiplicity $a_\lambda$ of $\lambda$ as the multipliicty of $\lambda$ as a root of $\chi_\alpha(t)$; and

  • the geometric multiplicity $g_\lambda$ of $\lambda$ as $g_\lambda = \dim($$V_\lambda$$)$.

It is common to define $a_\lambda = 0 = g_{\lambda}$ if $\lambda$ is not an eigenvalue of $\alpha$.

Proposition (geometric multiplicity at most algebraic multiplicity) open_in_new

Let $\lambda\in \mathbb{F}$ be an eigenvalue of $\alpha\in \mathcal{L}(V,V)$ where $V$ is a finite-dimensional vector space.

Then the geometric multiplicity $g_\lambda \leq a_{\lambda}$ the algebraic multiplicity.

Proof

Lemma (sum of multiplicities, triangularisability and diagonalisability) open_in_new

Let $V$ be a finite-dimensional vector space, and let the eigenvalues of $\alpha\in \mathcal{L}(V,V)$ be $\lambda_1, \lambda_2,\ldots,\lambda_k$.

  1. $\sum_{i=1}^{k}$ $g_{\lambda_i}$ $\leq V$, with equality iff $\alpha$ is diagonalisable.

  2. $\sum_{i=1}^{k}$ $a_{\lambda_i}$ $\leq V$, with equality iff $\alpha$ is triangularisable.

Proof

Proposition (diagonalisable in C iff algebraic multiplicity equals geometric multiplicity) open_in_new

Let $V$ be a finite-dimensional vector space over $\C$, and $\alpha\in \mathcal{L}(V,V)$.

$\alpha$ is diagonalisable iff $a_\lambda$ $=$ $g_\lambda$ for all $\lambda\in \C$.

Proof

Lemma (characteristic polynomial and minimal polynomial have the same roots) open_in_new

Let $\alpha\in \mathcal{L}(V,V)$ where $V$ is a finite-dimensional $\mathbb{F}$-vector space, and let $\lambda\in \mathbb{F}$.

$\lambda$ is a root of the minimal polynomial $m_\alpha$ iff $\lambda$ is a root of the characteristic polynomial $\chi_\alpha$.

Proof

Notation (multiplicity of root in minimal polynomial) open_in_new

Let $\alpha\in \mathcal{L}(V,V)$ where $V$ is a finite-dimensional $\mathbb{F}$-vector space, and let $\lambda\in \mathbb{F}$.

Define $c_\lambda$ as the multiplicity of $\lambda$ as a root of the minimal polynomial $m_\alpha$.

Example (multiplicity in a Jordan matrix)

Theorem (diagonalisable iff minimal polynomial is a product of distinct linear factors) open_in_new

Let $\alpha\in \mathcal{L}(V,V)$ where $V$ is a finite-dimensional $\mathbb{F}$-vector space.

$\alpha$ is diagonalisable iff

  • the minimal polynomial $m_\alpha$ is a product of distinct linear factors; or equivalently

  • there exists a polynomial $p\in F[t]$ such that $p\neq 0$, $p(\alpha) = 0$, and $p$ is a product of distinct linear factors.

Proof

Definition (simultaneously diagonalisable) open_in_new

Let $V$ be a finite-dimensional vector space, and let $\alpha,\beta\in$ $\mathcal{L}(V,V)$.

We say $\alpha$ and $\beta$ are simultaneously diagonalisable if there exists a basis $B$ for $V$ such that $[\alpha]^B_B$ and $[\beta]^B_B$ are diagonal.

Theorem (simultaneously diagonalisable iff commutes and diagonalisable) open_in_new

Let $V$ be a finite-dimensional vector space, and let $\alpha,\beta\in$ $\mathcal{L}(V,V)$.

$\alpha$ and $\beta$ are simultaneously diagonalisable iff $\alpha$ and $\beta$ are diagonalisable and $\alpha\circ\beta = \beta\circ\alpha$.

Proof

Jordan normal form open_in_new

Definition (Jordan matrix) open_in_new

Let $\lambda\in \C$ and $n\in \N$. The $n\times n$ $\lambda$-Jordan matrix is defined as $$ \begin{align*} \pmat{\lambda & 1 \\ & \lambda & 1 \\ & & \ddots & \ddots \\ & & & \lambda & 1 \\ &&&&\lambda} \in M_{n\times n}(\mathbb{C}). \end{align*} $$

Example (multiplicity in a Jordan matrix)

Definition (Jordan normal form) open_in_new

A matrix $A \in M_{n\times n}(\C)$ is said to be in Jordan normal form if $$ \begin{align*} A = \pmat{J_{n_1}(\lambda_1) \\ & J_{n_2}(\lambda_2) \\ & & \ddots \\ &&& J_{n_{k}}(\lambda_k)} \end{align*} $$ for some $\lambda_i\in \C$ (not necessarily distinct) and $n_i\in \N$ with $n=\sum_{i=1}^{k} n_i$.

Theorem (Jordan normal form) open_in_new

Let $V$ be a vector space over $\mathbb{C}$, and fix an endomorphism $α$, giving an $\mathbb{C}[X]$-module $V_α$.

If $V$ is finite-dimensional, then $$ \begin{align*} V_α \isom \C[X]/((X-λ_1)^{a_1}) \oplus \ldots \oplus \C[X]/((X - λ_r)^{a_r}) \end{align*} $$ where $λ_i\in \C$ may not be distinct.

This gives a basis for $V$ where the matrix of $α$ is in Jordan canonical form $$ \begin{align*} \pmat{J_{a_1}(λ_1) \\ &\ddots \\ &&J_{a_r}(λ_r)}. \end{align*} $$

Proof

Example (possible Jordan normal forms)

Proposition (multiplicity and Jordan blocks) open_in_new

Let $A\in M_{n\times n}(\mathbb{C})$.

Proof

Lemma (uniqueness of Jordan normal form) open_in_new

Let $A\in M_{n\times n}(\C)$ with a Jordan normal form $\mathrm{JNF}(A)$.

For $r\in \N$ and $\lambda\in \C$, define $$ \begin{align*} R_{\lambda,r}(A) := \op{rk}\big((A-\lambda I_n)^{r-1}\big) - \op{rk}\big((A - \lambda I_n)^{r}\big). \end{align*} $$ Then $R_{\lambda,r}(A)$ equals the number of $\lambda$-Jordan blocks $J_l(\lambda)$ of $\mathrm{JNF}(A)$ with $l\geq r$.

Therefore $\mathrm{JNF}(A)$ is unique up to reordering the Jordan blocks.

Proof

Definition (generalised eigenspace) open_in_new

Let $V$ be a finite-dimensional vector space over $\C$ and $\alpha\in \mathcal{L}(V,V)$.

For an eigenvalue $\lambda_i$, define the generalised $\lambda_i$-eigenspace of $\alpha$ as $$ \begin{align*} V_i = \ker\big((\alpha - \lambda_i\,\id_V)^{c_i}) \leq V \end{align*} $$ where $c_i$ is the multiplicity of $\lambda_i$ as a root of the minimal polynomial $m_\alpha$.

Theorem (generalised eigenspace decomposition) open_in_new

Let $V$ be a finite-dimensional vector space over $\C$.

For any $\alpha\in \mathcal{L}(V,V)$, $$ \begin{align*} V = V_1 \oplus V_2 \oplus \ldots \oplus V_k \end{align*} $$ where $V_1, \ldots, V_k$ is the generalised eigenspaces of $\alpha$.

Proof

Bilinear forms and sesquilinear forms open_in_new

Definition (bilinear form) open_in_new

Let $U$ and $V$ be $\mathbb{F}$-vector spaces.

A function $\phi: U\times V\to \mathbb{F}$ is called a bilinear form if for all $u_0\in U$ and $v_0\in V$, both $$ \begin{align*} V &\to \mathbb{F} &&& U &\to \mathbb{F} \\ v &\mapsto \phi(u_0, v) &&\text{and} & u &\mapsto \phi(u, v_0) \end{align*} $$ are linear maps.

Definition (sesquilinear form) open_in_new

Let $U$ and $V$ be $\mathbb{C}$-vector spaces.

A function $\phi: U\times V\to \mathbb{C}$ is called a sesquilinear form if it is

  • linear in the first argument: $\phi(\lambda u + u', v) = \lambda\phi(u, v) + \phi(u', v)$ for all $\lambda\in \C, u,u'\in U, v\in V$; and

  • conjugate-linear in the second argument: $\phi(u, \mu v + v') = \overline{\mu}\phi(u,v) + \phi(u,v')$ for all $\mu\in \C, u\in U, v,v'\in V$.

Definition (symmetric bilinear form) open_in_new

A bilinear form $\phi:V\times V\to \mathbb{F}$ is said to be symmetric if for all $u,v\in V$, $\phi(u,v) = \phi(v,u)$.

Definition (Hermitian sesquilinear form) open_in_new

A sesquilinear form $\phi: V\times V\to \mathbb{F}$ is said to be Hermitian if for all $u,v\in V$, $\phi(u,v) = \overline{\phi(v,u)}$.

Proposition (matrix of bilinear and sesquilinear forms) open_in_new

Let $U$ and $V$ be finite-dimensional vector spaces with bases $B = \set{b_1, \ldots, b_n} \subseteq U$ and $C = \set{c_1, \ldots, c_m} \subseteq V$.

  • For any bilinear form $\phi$, the matrix of $\phi$ with respect to $B$ and $C$ $$ \begin{align*} [\phi]_{B,C} = (\phi(b_i, c_j))_{i,j} \in M_{n\times m}(\mathbb{F}) \end{align*} $$ is the unique matrix satisfying $$ \begin{align*} ([u]_B)^T\, [\phi]_{B,C} \,[v]_C = \phi(u, v) \qquad \text{for all }u\in U, v\in V. \end{align*} $$

  • For any sesquilinear form $\phi$, $[\phi]_{B,C}$ defined the same way is the unique matrix satisfyiing $$ \begin{align*} ([u]_B)^T \, [\phi]_{B,C} \, \overline{[v]_C} = \phi(u,v) \qquad \text{for all } u\in U, v\in V. \end{align*} $$

Proof

  • For $U=V$ and $B=C$, we write $[\phi]_B \equiv [\phi]_{B,B}$.

Proposition (change of bases of bilinear and sesquilinear form) open_in_new

Let $U$ and $V$ be finite-dimensional vector spaces. Suppose $B,B'$ are bases for $U$ and $C,C'$ are bases for $V$.

  • For a bilinear form $\phi$, $$ \begin{align*} [\phi]_{B',C'} = ([\id_U]^{B'}_B)^T \, [\phi]_{B,C} \, [\id_V]^{C'}_C. \end{align*} $$

  • For a sesquilinear form $\phi$, $$ \begin{align*} [\phi]_{B',C'} = ([\id_U]^{B'}_B)^T \, [\phi]_{B,C} \, \overline{[\id_V]^{C'}_C}. \end{align*} $$

Proof

Proposition (matrix of symmetric bilinear and Hermitian sesquilinear form) open_in_new

Let $V$ be a finite-dimensional vector space.

  • A bilinear form $\phi$ is symmetric iff $[\phi]_{B}$ is symmetric (i.e. $[\phi]_{B} = ([\phi]_B)^T$) for some (equivalently all) bases $B$ for $V$.

  • A sesquilinear form $\phi$ is Hermitian iff $[\phi]_{B}$ is Hermitian (i.e. $[\phi]_{B} = \overline{([\phi]_B)^T}$) for some (equivalently all) bases $B$ for $V$.

Proof

Definition (functionals of bilinear form, kernels) open_in_new

Let $U$ and $V$ be $\mathbb{F}$-vector spaces and $\phi: U\times V\to \mathbb{F}$ be a bilinear form. Define the maps $$ \begin{align*} \phi_L: U &\to V^\star & \phi_R: V&\to U^\star \\ u &\mapsto (v'\mapsto \phi(u,v')), & v&\mapsto (u'\mapsto \phi(u',v)). \end{align*} $$

Furthermore, we call

  • $\ker(\phi_L) \leq U$ the left-kernel of $\phi$; and

  • $\ker(\phi_R) \leq V$ the right-kernel of $\phi$.

If $\phi$ is symmetric, then the left and right-kernels equal, and we call this the kernel of $\phi$.

Proposition (matrices of functionals of bilinear form) open_in_new

Let $U,V$ be finite-dimensional $\mathbb{F}$-vector spaces with bases $B\subseteq U$ and $C\subseteq V$. Also let $B^\star\subseteq U^\star$ and $C^\star\subseteq V^\star$ be the dual bases. Then

  1. $[$$\phi_L$$]^B_{C^\star}$ $= ($$[\phi]_{B,C}$$)^T$;

  2. $[\phi_R]^C_{B^\star} = [\phi]_{B,C}$.

Proof

Definition (rank of bilinear form) open_in_new

Let $U$ and $V$ be finite-dimensional.

Define the rank of a bilinear form $\phi: U\times V\to \mathbb{F}$ as $\rk(\phi) = \rk($$[\phi]_{B,C}$$)$ for any basis $B$ for $U$ and $C$ for $V$.

  • This is well-defined, since rank is unchanged when multiplying invertible matrices during base changes.

Corollary (ranks of bilinear form and its functionals) open_in_new

Let $U$ and $V$ be finite-dimensional $\mathbb{F}$-vector spaces.

For any bilinear maps $\phi: U\times V\to \mathbb{F}$, we have $\rk$$(\phi) =$ $\rk$$(\phi_L) = \rk(\phi_R)$

Proof

Definition (orthogonal to set) open_in_new

Let $U$ and $V$ be $\mathbb{F}$-vector spaces and $\phi: U\times V\to \mathbb{F}$ be a bilinear form.

For subsets $S\subseteq U$ and $T\subseteq V$, define

  • $S^\perp = \sb{v\in V}{\phi(s,v)=0 \, \forall s\in S} \leq V$, and

  • $^\perp T = \sb{u\in U}{\phi(u, t)=0 \, \forall t\in T} \leq U$.


  • Inclusion reversing: $S_1 \subseteq S_2 \subseteq U \implies S_2^\perp \leq S_1^\perp$. Similarly in $V$.

  • $U^\perp = \ker($$\phi_R$$)$ and $^\perp V = \ker(\phi_L)$.

Definition (degenerate bilinear form) open_in_new

Following the notation here, $\phi$ is said to be degenerate if either $U^\perp$ or $^\perp V$ is non-trivial.

Proposition (non-degenerate bilinear form iff invertible matrix) open_in_new

Let $U$ and $V$ be finite-dimensional $\mathbb{F}$-vector spaces and $\phi: U\times V\to \mathbb{F}$ be a bilinear form.

$\phi$ is non-degenerate iff $\dim U = \dim V$ and $[\phi]_{B,C}$ is invertible for some (equivalently any) bases $B,C$ for $U,V$.

Proof

Definition (quadratic form) open_in_new

Let $V$ be an $\mathbb{F}$-vector space.

A function $Q: V\to \mathbb{F}$ is said to be a quadratic form if there exists a bilinear form $\phi: V\times V\to \mathbb{F}$ such that $Q(v) = \phi(v,v)$ for all $v\in V$.

Proposition (polarisation identity) open_in_new
  • Let $V$ be an $\mathbb{F}$-vector space and $Q: V\to \mathbb{F}$ be a quadratic form. Suppose $1+1\neq 0$ in $\mathbb{F}$.

    The function $\psi: V\times V\to \mathbb{F}$ given by the polarisation identity $$ \begin{align*} \psi(u,v) = \frac{1}{2}\big(Q(u+v) - Q(u) - Q(v)\big) \end{align*} $$ is the unique symmetric bilinear form such that $Q(v) = \psi(v,v)$ for all $v\in V$.

  • Let $V$ be a $\C$-vector space and $\phi$ be a Hermitian sesquilinear form on $V$.

    $\phi$ is uniquely determined by $Q: V\to\R$ given by $Q(v) = \phi(v,v)\in \R$ via $$ \begin{align*} \phi(u,v) = \frac{1}{4}\big(Q(u+v) - Q(u-v) + iQ(u+iv) - iQ(u-iv)\big). \end{align*} $$

Proof

Definition (congruent matrix) open_in_new

Two matrices $A,A' \in M_{n\times n}(\mathbb{F})$ are said to be congruent if there exists $P\in \mathrm{GL}_n(\mathbb{F})$ such that $A' = P^T A P$.

But over $\C$, $A,A'\in M_{n\times n}(\C)$ are said to be congruent if there exists $P\in \mathrm{GL}_n(\mathbb{C})$ such that $A' = P^T A \overline{P}$.

Theorem (matrix of symmetric bilinear map can be diagonal) open_in_new

Let $V$ be a finite-dimensional $\mathbb{F}$-vector space. Suppose $1+1\neq 0$ in $\mathbb{F}$.

  • For any bilinear form $\phi: V\times V\to \mathbb{F}$, $\phi$ is symmetric iff there exists a basis $B$ for $V$ such that $[\phi]_B$ is diagonal.

  • For any sesquilinear form $\phi: V\times V\to \mathbb{F}$, $\phi$ is Hermitian iff there exists a basis $B$ for $V$ such that $[\phi]_B$ is real and diagonal.

Proof

Corollary (symmetric matrix is congruent to diagonal matrix) open_in_new

Suppose $1+1\neq 0$ in $\mathbb{F}$.

A square matrix over $\mathbb{F}$ is symmetric iff it is congruent to a diagonal matrix.

Proof: apply this and the fact that $[\phi]_{B'} = ([\id_V]^{B'}_{B})^T \, [\phi]_B \, [\id_V]^{B'}_{B}$ gives a congruence relation.

Corollary (normalised diagonal matrix of bilinear form) open_in_new

Let $V$ be a finite-dimensional $\mathbb{F}$-vector space.

  • For any symmetric bilinear form $\phi: V\times V\to \mathbb{F}$, there exists a basis $B$ for $V$ such that

    1. for $\mathbb{F}=\C$: $[\phi]_B$ $= \pmat{I_r & 0 \\ 0 & 0}$ where $r = \rk(\phi)$;

    2. for $\mathbb{F}=\R$: $[\phi]_B = \pmat{I_p & 0 & 0 \\ 0 & -I_q & 0 \\ 0 & 0 & 0}$ where $p+q = \rk(\phi)$.

  • For any Hermitian sesquilinear form $\phi: V\times V\to \C$, there exists a basis $B$ for $V$ such that $[\phi]_B = \pmat{I_p & 0 & 0 \\ 0 & -I_q & 0 \\ 0 & 0 & 0}$.

Proof

Definition (definite bilinear, sesquilinear and quadratic form) open_in_new

Let $V$ be a vector space over $\R$, and $\phi:V\times V\to \mathbb{R}$ be a symmetric bilinear form. We say $\phi$ is

  • positive definite if $\phi(v,v)>0$ for all $v\neq \v 0$;

  • negative definite if $\phi(v,v)<0$ for all $v\neq \v 0$;

  • positive semidefinite if $\phi(v,v)\geq 0$ for all $v\neq \v 0$;

  • negative semidefinite if $\phi(v,v)\leq 0$ for all $v\neq \v 0$;

  • indefinite if otherwise.

Similarly for quadratic form and Hermitian sesquilinear form ($\phi(v,v)$ is real because $\phi(v,v) = \overline{\phi(v,v)}$).

Theorem (inertia of a matrix) open_in_new

Let $V$ be a finite-dimensional vector space over $\R$ and $\phi: V\times V\to \R$ be a symmetric bilinear form.

If $B$ is a basis for $V$ such that $[\phi]_B$ $= \pmat{I_p \\ & -I_q \\ && 0}$, then

  • $p$ is the largest dimension of a subspace $U\leq V$ such that $\phi|_U$ is positive definite; and

  • $q$ is the largest dimension of a subspace $U\leq V$ such that $\phi|_U$ is negative definite.

This also holds for $V$ a finite-dimensional vector space over $\C$ and $\phi: V\times V\to \C$ a Hermitian sesquilinear form.

Proof

  • The fact that $p$ and $q$ are invariant under different bases is known as Sylvester's law of inertia.

  • $\sigma(\phi) \equiv p-q$ is called the signature of $\phi$.

Proposition (maximal dimension of totally isotropic subspace) open_in_new

Let $V$ be a finite-dimensional vector space over $\R$ and $\phi: V\times V\to \R$ be a symmetric bilinear form.

The maximal dimension of a totally isotropic subspace ($T\leq V$ such that $\phi|_T\equiv 0$) is $n-\max\set{p,q}$, where $p,q$ are defined here.

This also holds for $V$ a finite-dimensional vector space over $\C$ and $\phi: V\times V\to \C$ a Hermitian sesquilinear form.

Proof

Inner product spaces in linear algebra open_in_new

Definition (inner product space) open_in_new

Let $V$ be a real (resp. complex) vector space.

An inner product on $V$ is a bilinear form (resp. sesquilinear form) $\langle \cdot,\cdot\rangle$ on $V$ that is

$(V,\langle \cdot,\cdot\rangle)$ is called an inner product space.

Definition (norm in inner product space) open_in_new

Let $(V,\langle \cdot,\cdot\rangle)$ be an inner product space.

Define the norm of a vector $v\in V$ as $\|v\| = \sqrt{\langle v,v\rangle} \geq 0$.

  • $\|v\| = 0$ iff $v=\v 0$.

  • $\|\cdot\|: V\to\R$ uniquely determines $\langle \cdot,\cdot\rangle$ by the polarisation identity.

Lemma (Cauchy-Schwarz) open_in_new

Let $(V,\langle \cdot,\cdot\rangle)$ be an inner product space. For all $u,v\in V$, $$ \begin{align*} |\langle u,v\rangle| \leq \|u\| \,\|v\|. \end{align*} $$ Equality occurs iff $\set{u,v}$ spans a subspace of dimensions $\leq 1$.

Proof

This shows $\langle \cdot ,\cdot \rangle: V\times V \to V$ is continuous with respect to the norm topology.

Corollary (triangle inequality) open_in_new

Let $(V,\langle \cdot,\cdot\rangle)$ be an inner product space. For all $u,v\in V$, $$ \begin{align*} \|u+v\| \leq \|u\| + \|v\|. \end{align*} $$

Proof

Therefore any inner product space $V$ is a normed space.

Definition (orthogonal, orthonormal set) open_in_new

Let $(V,\langle \cdot,\cdot\rangle)$ be an inner product space. A subset $E\subseteq V$ is said to be

  • orthogonal if $\langle d,e\rangle = 0$ for all $d,e\in E$ with $d\neq e$; and

  • orthonormal if $\langle d,e\rangle = \delta_{d,e}$ for all $d,e\in E$.

Lemma (linear combination and inner product) open_in_new

Let $(V,\langle \cdot,\cdot\rangle)$ be an inner product space.

If a subset $E\subseteq V$ is orthogonal and $\v 0 \not\in E$, then

  1. $E$ is linearly independent; and

  2. for all $v\in \langle E\rangle$, $$ \begin{align*} v = \sum_{e\in E} ' \frac{\langle v,e\rangle}{\langle e,e\rangle} e. \end{align*} $$

Proof

Corollary (Parseval identity) open_in_new

Let $(V,\langle \cdot,\cdot\rangle)$ be an inner product space, and $E\subseteq V$ be an orthonormal basis.

For any $u,v\in V$, $$ \begin{align*} \langle u,v\rangle ={}& \sum_{e\in E} ' \langle u,e\rangle \overline{\langle v,e\rangle}. \end{align*} $$

Proof

Theorem (Gram-Schmidt process) open_in_new

Let $V$ be an inner product space.

For any linearly independent (finite or infinite) sequence $v_1, v_2, \ldots\in V$, there exists an orthonormal sequence $e_1, e_2, \ldots \in V$ such that $$ \begin{align*} \langle e_1, \ldots, e_k\rangle = \langle v_1, \ldots, v_k\rangle \qquad \text{for all } k. \end{align*} $$ Moreover if $\set{v_1, \ldots, v_k}$ for some $k$ is already orthonormal, then $e_i = v_i$ for $i\leq k$.

Proof

  • If $V$ is finite-dimensional, then performing Gram-Schmidt on a basis produces an orthonormal basis.

  • If $V$ is finite-dimensional and $E\subseteq V$ is an orthonormal set, then we can extend to a basis for $V$ and perform Gram-Schmidt to obtain an orthonormal basis for $V$ containing $E$.

Proposition (QR factorisation) open_in_new

Define $T(n,\mathbb{F}) \leq \mathrm{GL}_n(\mathbb{F})$ be the subgroup of upper triangular matrices. Then $$ \begin{align*} \mathrm{GL}_n(\R) = O(n) \cdot T(n,\R) \qquad \text{and} \qquad \mathrm{GL}_n(\C) = U(n) \cdot T(n,\C). \end{align*} $$

Proof. For each matrix in $\mathrm{GL}_n(\mathbb{F})$, apply Gram-Schmidt to its columns.

Definition (internal orthogonal direct sum) open_in_new

Let $V$ be an inner product space.

$V$ is the (internal) orthogonal direct sum of two subspaces $U,W\leq V$ (denoted as $V = U\operp W$) if

  1. $V = U+W$; and

  2. $\langle u,w\rangle = 0$ for all $u\in U$ and $w\in W$.

Lemma (orthogonal complement) open_in_new

Let $V$ be a finite-dimensional inner product space.

For any subspace $W\leq V$, we have $V = W$ $\operp$ $W^\perp$.

Proof

  • This is false in infinite dimensions.

  • This shows $\dim(W^\perp) = \dim(V) - \dim(W)$.

Definition (orthogonal projection) open_in_new

Let $V$ be a finite-dimensional inner product space and $W\leq V$ be a subspace.

The orthogonal projection of $V$ onto $W$ is defined as the map $$ \begin{align*} \pi_W: \qquad V&\to V \\ w + u &\mapsto w \end{align*} $$ where $w\in W$ and $u\in W^\perp$.

  • This is well-defined because $V = W\oplus W^\perp$.

  • $\pi_W$ is a linear map.

  • $\im(\pi_W) = W$ and $\ker(\pi_W) = W^\perp$.

  • $\pi_W|_W = \id_W$ so $\pi_W^2 = \pi_W$.

  • $\id_V - \pi_W = \pi_{W^\perp}$.

Proposition (orthogonal projection and basis) open_in_new

Following the notation here, if $\set{e_1, \ldots, e_k}$ is an orthonormal basis for $W$, then $$ \begin{align*} \pi_W(v) = \sum_{i=1}^{k} \langle v, e_i\rangle e_i \qquad \text{for all }v\in V. \end{align*} $$

Proof

Proposition (closest-point projection) open_in_new

Following the notation here, for all $v\in V$ and $w\in W$, $$ \begin{align*} \|v - \pi_W(v)\| \leq \|v - w\| \end{align*} $$ with equality iff $w=\pi_W(v)$.

Proof

Definition (external orthogonal direct sum) open_in_new

Let $(V_1, \langle \cdot,\cdot\rangle_1)$ and $(V_2, \langle \cdot,\cdot\rangle_2)$ be inner product spaces.

Define an inner product on the external direct sum $V_1 \oplus V_2$ via $$ \begin{align*} \big\langle (v_1, v_2), (v_1', v_2')\big\rangle = \langle v_1,v_1'\rangle_1 + \langle v_2, v_2'\rangle_2 \end{align*} $$

Theorem (Riesz representation) open_in_new

Let $V$ be a finite-dimensional inner product space over $\R$. The map $$ \begin{align*} \phi_{\R, V}: V&\to V^\star \\ v &\mapsto (u \mapsto \langle u,v\rangle) \end{align*} $$ is an isomorphism.

Proof

  • We insist the inner product to be real to ensure linearity in both arguments.

  • Surjectivity can fail in infinite-dimensional vector spaces.

Definition (adjoint map) open_in_new

Let $V$ and $W$ be inner product spaces and $\alpha: V\to W$ be a linear map.

A linear map $\alpha^\star: W\to V$ is called an adjoint map to $\alpha$ if $$ \begin{align*} \langle \alpha(v), w\rangle_W = \langle v, \alpha^\star(w)\rangle_V \qquad \text{for all }v\in V, w\in W. \end{align*} $$

  • $(\im T)^\perp = \ker T^\ast$.

Theorem (adjoint map in finite-dimensional spaces) open_in_new

Let $V$ and $W$ be finite-dimensional inner product spaces.

For any linear map $\alpha: V\to W$, its adjoint map $\alpha^\star$ exists and is unique.

Moreover, for any orthonormal bases $B,C$ for $V,W$, $$ \begin{align*} [\alpha^\star]^{C}_B = \overline{[\alpha]^B_C}^T. \end{align*} $$

Proof

  • The adjoint and the dual are related by this commutative diagram: $$ \begin{align*} (\text{adjoint } \alpha^\star) = \phi_{\R,V}\inv\circ(\text{dual }\alpha^\star)\circ\phi_{\R,W} \end{align*} $$

Lemma (adjoint of subspace-preserving map preserves orthogonal complement) open_in_new

Let $V$ be an inner product space and $W\leq V$ be a subspace. Further suppose $\alpha\in \mathcal{L}(V,V)$ has an adjoint $\alpha^\star$.

If $\alpha(W) \leq W$, then $a^\star(W^\perp) \leq W^\perp$.

Proof

Definition (Hermitian, self-adjoint operator) open_in_new

Let $V$ be an inner product space.

$\alpha\in \mathcal{L}(V,V)$ is said to be Hermitian or self-adjoint if $\alpha$ is an adjoint map to itself.

Lemma (matrix of self-adjoint map) open_in_new

Let $V$ be a finite-dimensional inner product space over $\R$ (resp. $\C$), and $\alpha\in \mathcal{L}(V,V)$.

$\alpha$ is self-adjoint iff $[\alpha]_B$ is symmetric (resp. Hermitian) for some (or equivalently any) orthonormal basis $B$ for $V$.

Proof

Definition (isometry in inner product spaces) open_in_new

Let $V$ be an inner product space.

$\alpha\in \mathcal{L}(V,V)$ is said to be an isometry if $$ \begin{align*} \langle \alpha(v), \alpha(w)\rangle = \langle v,w\rangle \qquad \text{for all }v,w\in V. \end{align*} $$

  • By the polarisation identity, $\alpha$ is an isometry iff $\|\alpha(v)\| = \|v\|$ for all $v\in V$.

  • $\alpha$ preserves orthonormality of sets.

Proposition (adjoint of isometry is its inverse) open_in_new

Let $V$ be an inner product space and $\alpha\in \mathcal{L}(V,V)$ . Suppose $\alpha$ has an adjoint map $\alpha^\star$.

$\alpha$ is an isometry iff $\alpha$ is invertible and $\alpha\inv = \alpha^\star$.

Proof

Corollary (matrix of isometry) open_in_new

Let $V$ be a finite-dimensional inner product space over $\R$ (resp. $\C$), and $\alpha\in \mathcal{L}(V,V)$.

$\alpha$ is an isometry iff $[\alpha]_B$ is orthogonal (resp. unitary) for some (or equivalently any) orthonormal basis $B$ for $V$.

Proof

Definition (orthogonal and unitary groups of inner product spaces) open_in_new

Let $V$ be an inner product space over $\mathbb{F}$.

  • For $\mathbb{F}=\R$, define the orthogonal group of $V$ as $O(V) = \{\alpha\in \mathcal{L}(V,V) \ |\ \alpha\text{ is an }$$\text{isometry}$$\}$.

  • For $\mathbb{F}=\C$, define the unitary group of $V$ as $U(V) = \{\alpha\in \mathcal{L}(V,V) \ |\ \alpha\text{ is an }$$\text{isometry}$$\}$.


  • If $V$ has dimension $n$, then by letting an orthonormal basis for $V$, $\alpha\mapsto$ $[\alpha]_B$ is an isomorphism of groups between $O(V) \isom O(n)$ or $U(V) \isom U(n)$.

Proposition (orthogonal projection iff idempotent and self-adjoint) open_in_new

Let $V$ be a finite-dimensional inner product space, and $\alpha\in \mathcal{L}(V,V)$.

$\alpha$ is an orthogonal projection iff $\alpha$ is self-adjoint and $\alpha^2 = \alpha$.

Proof

Theorem (spectral theorem for self-adjoint maps) open_in_new

Let $V$ be a finite-dimensional inner product space.

For any self-adjoint map $\alpha\in \mathcal{L}(V,V)$, $V$ has an orthonormal basis consisting of eigenvectors of $\alpha$ with real eigenvalues.

Proof

Corollary (spectral theorem for real symmetric and Hermitian matrices) open_in_new

Let $A\in M_{n\times n}(\R)$ be symmetric (resp. $A\in M_{n\times n}(\C)$ be Hermitian). Then there exists $P\in O(n)$ (resp. $P\in U(n)$) such that $PAP\inv\in M_{n\times n}(\R)$ is diagonal.

Proof

Corollary (simultaneous diagonalisation) open_in_new

Let $V$ be a finite-dimensional vector space over $\R$ (resp. $\C$).

If $\phi,\psi$ be symmetric bilinear forms (resp. Hermitian sesquilinear forms) and $\phi$ is positive definite, then there exists a basis $B$ for $V$ such that $[\phi]_B = I_n$ and $[\psi]_B$ is real and diagonal.

Proof

Theorem (spectral theorem for unitary maps) open_in_new

Let $V$ be a finite-dimensional inner product space over $\C$.

For any isometry $\alpha\in \mathcal{L}(V,V)$, $V$ has an orthonormal basis consisting of eigenvector of $\alpha$ with eigenvalues of unit modulus.

Proof

  • Not all orthogonal matrices are diagonalisable over $\R$, e.g. $\pmat{\cos\theta & \sin\theta \\ -\sin\theta & \cos\theta}$ for $\theta\in (0,\pi)$ (characteristic polynomial is not a product of linear factors).

Definition (normal map for finite-dimensional inner product space) open_in_new

Let $V$ be a finite-dimensional inner product space.

A map $\alpha\in \mathcal{L}(V,V)$ is said to be normal if it commutes with its adjoint, i.e. $\alpha\alpha^\star = \alpha^\star \alpha$.

Theorem (spectral theorem for normal maps) open_in_new

Let $V$ be a finite-dimensional inner product space over $\C$, and $\alpha\in \mathcal{L}(V,V)$.

$\alpha$ is normal iff $V$ has an orthonormal basis of eigenvectors of $\alpha$.