This lecture is about generalization of the dot product on \(\mathbb{R}^n\) to any vector space over \(\mathbb{C}^n\).
- Bilinearity: \[ \langle cu + dv,w \rangle = c\langle u,w \rangle + d\langle v,w \rangle, \] \[ \langle u,cv + dw \rangle = \overline{c}\langle u,v \rangle + \overline{d}\langle u,w \rangle. \]
- Conjugate symmetry: \[ \langle v,w \rangle = \overline{\langle w,v \rangle}. \]
- Positive definiteness: \[ \langle v,v \rangle \in \mathbb{R}_{\geq 0}, \qquad \langle v,v \rangle = 0 \iff v = 0. \]
Examples
- On \(\mathbb{R}^n\), the standard inner product is the dot product: \[\langle \mathbf{v},\mathbf{w}\rangle = \mathbf{v}\cdot\mathbf{w} = v_1w_1 + v_2w_2 + \cdots + v_nw_n.\]
- On \(\mathbb{C}^n\), the standard inner product is: \[\langle \mathbf{v},\mathbf{w}\rangle = v_1\overline{w_1} + v_2\overline{w_2} + \cdots + v_n\overline{w_n}.\]
- On \(C_{\mathrm{per}}[0,2\pi]\), the continuous periodic functions on \([0,2\pi]\) or the Reimann integrable functions with period \(2\pi\), the following defines an inner product inner product: \[ \langle f,g\rangle = \frac{1}{2\pi}\int_0^{2\pi} f(x)\overline{g(x)}\,dx. \] For example: \[ \langle \sin x,\cos x\rangle = \frac{1}{2\pi}\int_0^{2\pi}\sin x\cos x\,dx = 0. \]
Consequences of the Inner Product: (1) Norm
An inner product defines notions of length in our vector space. Precisely, every inner product defines a norm. For an inner product space \(V\) and \(\mathbf{v}\in V\), define:
This is called the norm induced by the inner product. The inner product axioms guarantee that it satisfies all the norm axioms. For example, on \(\mathbb{R}^n\) with the standard inner product:
On \(C[0,2\pi]\) with the normalized integral inner product:
However note that not every norm comes from an inner product. This norm can act as a metric for the inner product space \(V\). To show this, we need the second consequence of the inner product: Orthogonality. This will be discussed here. Once we have Cauchy Schwarz, we can show that \((V,d)\) is a metric space using the norm we defined. In particular, let
Recall that a space is a metric space if
- Non-negativity: \(d(x,y) \geq 0\). It's clear that we get this from the inner product axioms.
- \(d(x, y) = 0\) if and only if \(x = y\).
- Symmetry: We also get this from the inner product axioms
- Triangle Inequality: \(d(x, z) \leq d(x, y) + d(y, z)\)
We show (4) is true as follows: we claim that
Observe that
Taking the square root of both sides we obtain
Now we can write
Note how we use the Pythagorean Theorem to show the Cauchy-Schwarz inequality and use Cauchy-Schwarz to prove the triangle inequality here!
Consequences of the Inner Product: (3) Orthonormal Basis and Orthogonal Projection
First let’s define an orthonormal basis
- The vectors are mutually orthogonal and have norm one so \( \langle e_i,e_j\rangle=0\) for \(i\neq j\) and \(\|e_i\|=1\) for all \(i\).
- \(d=\dim(W)\).
An orthonormal basis of \(W\) always exists by the Gram–Schmidt process. This implies that every \(w\in W\) can be written as
Let’s return now specifically to the space of continuous \(2\pi\)-periodic functions, with inner product
We already have an orthonormal set in this space:
Distinct functions in this set are orthogonal, and each has norm (1). Hence we already satisfy property (1) in the conditions above. But what about property (2)? How do we find a spanning set for an infinite dimensional space? Consider instead a finite dimensional subspace \(W\) and define
So \(W^\perp\) is the set of all vectors in \(V\) that are orthogonal to every vector in \(W\). So if \(W\) was the horizontal axis in \(\mathbb{R}^2\), then \(W^\perp\) is the vertical axis. Now, assuming that \(W\) is finite
So we can define the projection of \(x\) onto \(W\) this way but we need to justify
- Existence: some vector in \(W\) satisfies them.
- Uniqueness: at most one vector in \(W\) satisfies them.
Proof. First note that given a vector \(\mathbf{x}\). Then by definition, an orthogonal projection \(\mathbf{u}\) of \(\mathbf{x}\) onto \(W\) must satisfy both:
for every \(\mathbf{w}\in W\). Let’s prove uniqueness first. Suppose that \(\mathbf{u}_1,\mathbf{u}_2\in W\) satisfy
for all \(\mathbf{w}\in W\). Since \(W\) is a subspace, then \(\mathbf{u_1}-\mathbf{u_2}\) is also in \(W\). Hence if we first subtract the two equalities to get
If we particularly choose \(\mathbf{w}=\mathbf{u}_1-\mathbf{u}_2\in W\), then
Hence, \(\mathbf{u}_1=\mathbf{u}_2\).
To prove existence, let \(\{\mathbf{e}_1,\ldots,\mathbf{e}_n\}\) be an orthonormal basis for \(W\), where \(n=\dim W\). Such a basis exists by the Gram–Schmidt process. Define
We claim that \(u\) is the orthogonal projection of \(\mathbf{x}\) onto \(W\). To show this, we need to prove
- \(\mathbf{u}\in W\).
- \(\langle \mathbf{x}-\mathbf{u},\mathbf{w}\rangle=0\) for every \(\mathbf{w}\in W\).
Note that \(\mathbf{u} \in W\) since it’s a linear combination of the basis vectors. To show property \(2\). Let \(\mathbf{w} \in W\). Then we can write \(\mathbf{w}=\sum_{k=1}^{n}a_k\mathbf{e}_k\in W\) (any \(w\) is a linear combination of the basis vectors). Then
Note that
Moreover,
Therefore,
for every \(\mathbf{w}\in W\). Thus, \(\mathbf{u}\) is the unique orthogonal projection of \(\mathbf{x}\) onto \(W\). Finally, for every \(\mathbf{w}\in W\), the vector \(\mathbf{w}\) itself satisfies the defining conditions, so \(\operatorname{proj}_W(\mathbf{w})=\mathbf{w}\). Hence, \(\operatorname{proj}_W\) maps \(V\) onto \(W\).
The following identities may be useful later for an orthonormal set:
\begin{align}
\left\langle
\sum_{i=1}^{n}a_i\mathbf{e}_i,
\sum_{i=1}^{n}b_i\mathbf{e}_i
\right\rangle
&= \sum_{i=1}^{n}a_i\overline{b_i},
\left|a_1\mathbf{e}_1+\cdots+a_n\mathbf{e}_n\right|^2
&= \sum_{i=1}^{n}|a_i|^2.
\end{align}
Finally, we can apply these results to Fourier series.
Let \(V=L^2[0,2\pi]\) and define
\begin{align}
W_N
&= \operatorname{span}\left{
e^{inx}: n=-N,\ldots,-1,0,1,\ldots,N
\right}.
\end{align}
With the normalized inner product
\begin{align}
\langle f,g\rangle
&= \frac{1}{2\pi}\int_0^{2\pi}f(x)\overline{g(x)}\,dx,
\end{align}
the functions \(\{e^{inx}\}_{n=-N}^{N}\) form an orthonormal basis
for \(W_N\). Therefore, for every \(f\in V\),
\begin{align}
\operatorname{proj}_{W_N}f
&= \sum_{n=-N}^{N}\langle f,e^{inx}\rangle e^{inx}
&= \sum_{n=-N}^{N}\widehat{f}(n)e^{inx}
&= S_Nf(x).
\end{align}
Now, if \(W\) is finite dimensional, then for any vector \(v \in V\), we can write \(v\) uniquely as
In fact, \(p=\operatorname{proj}_W v\). So \(r = v-\operatorname{proj}_W v\in W^\perp\) and equivalently,
Consider
So \(W_N\) consists of all functions of the form
It’s a finite-dimensional subspace of our continuous periodic function space, with dimension \(2N+1\). Next, we’ll define
This leads to the following theorem:
Proof. First let
- \(v\) is the original vector in \(V\), which might not belong to \(W\).
- \(e_1,\ldots,e_d\) are the orthonormal basis vectors for \(W\).
- \(\langle v,e_i\rangle\) is a scalar measuring the component of \(v\) along \(e_i\).
- \(p=\sum_i\langle v,e_i\rangle e_i\) adds those components together. This is the vector we’re trying to prove is the projection.
- \(w=\sum_i b_i e_i\) is an arbitrary vector in \(W\). The \(b_i\) are its coordinates.
Define
Since each \(e_i\in W\), we have \(p\in W\). Every vector \(w\in W\) can be written as \(w=\sum_{i=1}^{d}b_i e_i.\) Therefore,
Thus \(v-p\) is orthogonal to every vector in \(W\), so \(v-p\in W^\perp\). Since \(p\in W\), it is the orthogonal projection of \(v\) onto \(W\):
References
- SFSU Fourier Analysis by Professor Chun-Kit Lai
- Fourier Analysis: An Introduction by Elias M.Stein and Rami Shakarchi