Inner product spaces in linear algebra

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

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