Skip to content

Inner Product Spaces and Hilbert Spaces

An inner product space is a vector space HH with an inner product ⟨⋅,⋅⟩:H×H→C\langle \cdot, \cdot \rangle : H \times H \to \mathbb{C} satisfying:

  1. ⟨x,x⟩≥0\langle x, x\rangle \geq 0 with equality iff x=0x = 0.
  2. ⟨x,y⟩=⟨y,x⟩‾\langle x, y\rangle = \overline{\langle y, x\rangle}.
  3. ⟨αx+βy,z⟩=α⟨x,z⟩+β⟨y,z⟩\langle \alpha x + \beta y, z\rangle = \alpha\langle x, z\rangle + \beta\langle y, z\rangle.

Every inner product induces a norm: ∥x∥=⟨x,x⟩\|x\| = \sqrt{\langle x, x\rangle}. That this really is a norm follows from the properties below: homogeneity is immediate from axiom 3, and the triangle inequality is Cauchy—Schwarz (Theorem 2.4):

∥x+y∥2=∥x∥2+⟨x,y⟩+⟨y,x⟩+∥y∥2≤∥x∥2+2∥x∥∥y∥+∥y∥2=(∥x∥+∥y∥)2.\|x + y\|^2 = \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2 \leq \|x\|^2 + 2\|x\|\|y\| + \|y\|^2 = (\|x\| + \|y\|)^2.

So every inner product space is a normed space in the sense of the previous page.

Example 1. Cn\mathbb{C}^n with ⟨x,y⟩=∑i=1nxiyi‾\langle x, y\rangle = \sum_{i=1}^n x_i \overline{y_i}.

Example 2. L2(μ)L^2(\mu) with ⟨f,g⟩=∫fg‾ dμ\langle f, g\rangle = \int f \overline{g}\, d\mu.

Example 3. ℓ2\ell^2 with ⟨x,y⟩=∑i=1∞xiyi‾\langle x, y\rangle = \sum_{i=1}^\infty x_i \overline{y_i}.

Vectors x,y∈Hx, y \in H are orthogonal (written x⊥yx \perp y) if ⟨x,y⟩=0\langle x, y\rangle = 0.

Theorem 2.1 (Pythagorean Theorem). If x⊥yx \perp y, then ∥x+y∥2=∥x∥2+∥y∥2\|x + y\|^2 = \|x\|^2 + \|y\|^2.

Proof. Expand and apply ⟨x,y⟩=⟨y,x⟩‾=0\langle x, y \rangle = \overline{\langle y, x \rangle} = 0:

∥x+y∥2=⟨x+y,x+y⟩=∥x∥2+⟨x,y⟩+⟨y,x⟩+∥y∥2.\|x+y\|^2 = \langle x + y, x + y \rangle = \|x\|^2 + \langle x, y \rangle + \langle y, x \rangle + \|y\|^2.

■\blacksquare

Theorem 2.2 (Parallelogram Law). In any inner product space:

∥x+y∥2+∥x−y∥2=2∥x∥2+2∥y∥2\|x + y\|^2 + \|x - y\|^2 = 2\|x\|^2 + 2\|y\|^2

Proof. Expand both terms; all cross terms cancel:

∥x+y∥2=∥x∥2+⟨x,y⟩+⟨y,x⟩+∥y∥2,∥x−y∥2=∥x∥2−⟨x,y⟩−⟨y,x⟩+∥y∥2.\begin{aligned} \|x+y\|^2 &= \|x\|^2 + \langle x, y\rangle + \langle y, x\rangle + \|y\|^2, \\ \|x-y\|^2 &= \|x\|^2 - \langle x, y\rangle - \langle y, x\rangle + \|y\|^2. \end{aligned}

Adding, the ±(⟨x,y⟩+⟨y,x⟩)\pm(\langle x, y\rangle + \langle y, x\rangle) terms cancel. ■\blacksquare

This identity is characteristic: a norm comes from an inner product if and only if it satisfies the parallelogram law; the polarisation identity reconstructs the inner product from the norm, so any inner-product norm must obey the law, and conversely Jordan and von Neumann showed the law is sufficient.

Theorem 2.3 (Polarization Identity). In a complex inner product space:

⟨x,y⟩=14(∥x+y∥2−∥x−y∥2+i∥x+iy∥2−i∥x−iy∥2)\langle x, y\rangle = \frac{1}{4}\left(\|x + y\|^2 - \|x - y\|^2 + i\|x + iy\|^2 - i\|x - iy\|^2\right)

Proof. With the abbreviation Q(z)=∥z∥2=⟨z,z⟩Q(z) = \|z\|^2 = \langle z, z \rangle, expand each term and cancel: ∥x+y∥2−∥x−y∥2=2⟨x,y⟩+2⟨y,x⟩\|x+y\|^2 - \|x-y\|^2 = 2\langle x, y \rangle + 2\langle y, x \rangle, and

∥x+iy∥2−∥x−iy∥2=2i⟨y,x⟩−2i⟨x,y⟩,\|x+iy\|^2 - \|x-iy\|^2 = 2i\langle y, x\rangle - 2i\langle x, y\rangle,

using ⟨x,±iy⟩=∓i⟨x,y⟩\langle x, \pm iy \rangle = \mp i \langle x, y \rangle (conjugate-linearity in the second argument). So the bracket equals

2⟨x,y⟩+2⟨y,x⟩+i(2i⟨y,x⟩−2i⟨x,y⟩)=2⟨x,y⟩+2⟨y,x⟩−2⟨y,x⟩+2⟨x,y⟩=4⟨x,y⟩.2\langle x, y\rangle + 2\langle y, x\rangle + i\left(2i\langle y, x\rangle - 2i\langle x, y\rangle\right) = 2\langle x, y\rangle + 2\langle y, x\rangle - 2\langle y, x\rangle + 2\langle x, y\rangle = 4\langle x, y\rangle.

■\blacksquare

Theorem 2.4 (Cauchy-Schwarz Inequality). ∣⟨x,y⟩∣≤∥x∥⋅∥y∥|\langle x, y\rangle| \leq \|x\| \cdot \|y\| with equality iff xx and yy are linearly dependent.

Proof. The case y=0y = 0 is trivial. For y≠0y \neq 0, consider the quadratic in t∈Ct \in \mathbb{C},

0≤∥x−ty∥2=∥x∥2−tˉ⟨x,y⟩−t⟨y,x⟩+∣t∣2∥y∥2,0 \leq \|x - t y\|^2 = \|x\|^2 - \bar{t}\langle x, y\rangle - t\langle y, x\rangle + |t|^2 \|y\|^2,

which follows from conjugate-linearity in the second argument. Choose t=⟨y,x⟩/∥y∥2t = \langle y, x \rangle / \|y\|^2, so that tˉ=⟨x,y⟩/∥y∥2\bar{t} = \langle x, y \rangle / \|y\|^2; then the middle terms combine and

0≤∥x−ty∥2=∥x∥2−2∣⟨x,y⟩∣2∥y∥2+∣⟨x,y⟩∣2∥y∥2=∥x∥2−∣⟨x,y⟩∣2∥y∥2,0 \leq \|x - ty\|^2 = \|x\|^2 - 2\frac{|\langle x, y \rangle|^2}{\|y\|^2} + \frac{|\langle x, y \rangle|^2}{\|y\|^2} = \|x\|^2 - \frac{|\langle x, y \rangle|^2}{\|y\|^2},

which is the inequality after rearranging (and taking square roots).

Equality. If xx and yy are linearly dependent, x=λyx = \lambda y, both sides equal ∣λ∣∥y∥2|\lambda| \|y\|^2. Conversely, equality forces ∥x−ty∥2=0\|x - ty\|^2 = 0 at the chosen tt, i.e. x=tyx = ty. ■\blacksquare

A Hilbert space is a complete inner product space.

Theorem 2.5 (Orthogonal Projection). Let MM be a closed subspace of a Hilbert space HH. For every x∈Hx \in H, there exists a unique y∈My \in M (the orthogonal projection of xx onto MM) such that x−y⊥Mx - y \perp M. We write y=PM(x)y = P_M(x).

Proof. Existence. Let d=inf⁡m∈M∥x−m∥d = \inf_{m \in M} \|x - m\|, the distance from xx to MM. Choose mn∈Mm_n \in M with ∥x−mn∥→d\|x - m_n\| \to d. Apply the parallelogram law to the vectors x−mnx - m_n and x−mkx - m_k; using u+v=2x−mn−mku + v = 2x - m_n - m_k and u−v=mk−mnu - v = m_k - m_n:

∥2x−mn−mk∥2+∥mk−mn∥2=2∥x−mn∥2+2∥x−mk∥2.\|2x - m_n - m_k\|^2 + \|m_k - m_n\|^2 = 2\|x - m_n\|^2 + 2\|x - m_k\|^2.

Divide by 22 and use ∥x−mn+mk2∥≥d\|x - \tfrac{m_n + m_k}{2}\| \geq d (the midpoint is in MM):

∥mk−mn∥2=2∥x−mn∥2+2∥x−mk∥2−4∥x−mn+mk2∥2≤2∥x−mn∥2+2∥x−mk∥2−4d2.\|m_k - m_n\|^2 = 2\|x - m_n\|^2 + 2\|x - m_k\|^2 - 4\Bigl\| x - \frac{m_n + m_k}{2} \Bigr\|^2 \leq 2\|x - m_n\|^2 + 2\|x - m_k\|^2 - 4d^2.

The right side tends to 00 as n,k→∞n, k \to \infty, so (mn)(m_n) is Cauchy. Since HH is complete and MM is closed, mn→y∈Mm_n \to y \in M. By continuity of the norm, ∥x−y∥=d\|x - y\| = d.

Orthogonality. For m∈Mm \in M and λ∈C\lambda \in \mathbb{C}, the point y+λm∈My + \lambda m \in M, so

d2≤∥x−y−λm∥2=∥x−y∥2−λˉ⟨x−y,m⟩−λ⟨m,x−y⟩+∣λ∣2∥m∥2.d^2 \leq \|x - y - \lambda m\|^2 = \|x - y\|^2 - \bar{\lambda}\langle x - y, m \rangle - \lambda \langle m, x - y \rangle + |\lambda|^2 \|m\|^2.

This holds for all λ\lambda; a quadratic with minimum at λ=0\lambda = 0 has vanishing linear term, so ⟨x−y,m⟩=0\langle x - y, m \rangle = 0 (take λ=ε⟨x−y,m⟩‾\lambda = \varepsilon \overline{\langle x-y, m\rangle} with ε>0\varepsilon > 0 and let ε→0+\varepsilon \to 0^+ if a direct argument is preferred). So x−y⊥Mx - y \perp M.

Uniqueness. If y,y′∈My, y' \in M both work, then x−y⊥Mx - y \perp M and x−y′⊥Mx - y' \perp M, so their difference y−y′∈My - y' \in M is orthogonal to every element of MM; including itself: ∥y−y′∥2=⟨y−y′,y−y′⟩=0\|y - y'\|^2 = \langle y - y', y - y' \rangle = 0. ■\blacksquare

Theorem 2.6 (Orthogonal Decomposition). If MM is a closed subspace of HH, then H=M⊕M⊥H = M \oplus M^\perp, where M⊥={x∈H:x⊥M}M^\perp = \{x \in H : x \perp M\}.

Proof. Let x∈Hx \in H. Set y=PM(x)∈My = P_M(x) \in M and z=x−yz = x - y. Then z⊥Mz \perp M by Theorem 2.5, so z∈M⊥z \in M^\perp and x=y+zx = y + z: the sum M+M⊥M + M^\perp is all of HH. For the directness, if w∈M∩M⊥w \in M \cap M^\perp then ⟨w,w⟩=0\langle w, w \rangle = 0, so w=0w = 0. So the decomposition x=PM(x)+(x−PM(x))x = P_M(x) + (x - P_M(x)) is unique. ■\blacksquare

One fact worth recording from the proof: M⊥M^\perp is always a closed subspace; an intersection of kernels of the continuous maps x↦⟨x,m⟩x \mapsto \langle x, m \rangle; even when MM itself is not closed. And a remark for later pages: the operator PMP_M is linear, self-adjoint, and idempotent, with PM2=PM=P_M^2 = P_M = the identity on MM; these projections are the building blocks of the spectral theory developed later in this track.

A set {ei}i∈I⊆H\{e_i\}_{i \in I} \subseteq H is an orthonormal system if ⟨ei,ej⟩=δij\langle e_i, e_j\rangle = \delta_{ij}.

Theorem 2.7 (Bessel’s Inequality). If {ei}i=1n\{e_i\}_{i=1}^n is an orthonormal set, then ∑i=1n∣⟨x,ei⟩∣2≤∥x∥2\sum_{i=1}^n |\langle x, e_i\rangle|^2 \leq \|x\|^2.

Proof. Let s=∑i=1n⟨x,ei⟩eis = \sum_{i=1}^n \langle x, e_i \rangle e_i and set w=x−s⊥sw = x - s \perp s; indeed ⟨w,ej⟩=⟨x,ej⟩−∑i⟨x,ei⟩⟨ei,ej⟩=⟨x,ej⟩−⟨x,ej⟩=0\langle w, e_j \rangle = \langle x, e_j \rangle - \sum_i \langle x, e_i \rangle \langle e_i, e_j \rangle = \langle x, e_j \rangle - \langle x, e_j \rangle = 0 for each jj, so ww is orthogonal to each eie_i, hence to their span ss. Pythagoras:

∥x∥2=∥s∥2+∥w∥2≥∥s∥2=∑i=1n∣⟨x,ei⟩∣2,\|x\|^2 = \|s\|^2 + \|w\|^2 \geq \|s\|^2 = \sum_{i=1}^n |\langle x, e_i \rangle|^2,

where ∥s∥2=⟨s,s⟩=∑i,j⟨x,ei⟩⟨x,ej⟩‾⟨ei,ej⟩=∑i∣⟨x,ei⟩∣2\|s\|^2 = \langle s, s \rangle = \sum_{i,j} \langle x, e_i \rangle \overline{\langle x, e_j \rangle} \langle e_i, e_j \rangle = \sum_i |\langle x, e_i \rangle|^2 by orthonormality. ■\blacksquare

Theorem 2.8. A Hilbert space is separable if and only if it admits a countable orthonormal basis.

Proof. (⇐\Leftarrow) If {en}\{e_n\} is a countable orthonormal basis in the sense that span⁡‾{en}=H\overline{\operatorname{span}}\{e_n\} = H, then the set of finite linear combinations with rational-complex coefficients (rational real and imaginary parts) is countable and dense in the span, hence in HH.

(⇒\Rightarrow) Let {ei}i∈I\{e_i\}_{i \in I} be an orthonormal basis. For distinct i,ji, j the open balls B(ei,1/2)B(e_i, 1/2) and B(ej,1/2)B(e_j, 1/2) are disjoint; ∥ei−ej∥=2>1\|e_i - e_j\| = \sqrt{2} > 1 by Pythagoras. A dense set must meet every one of these disjoint balls, so it has at least as many points as II; separability forces II countable. ■\blacksquare

Theorem 2.9 (Parseval’s Identity). If {en}\{e_n\} is an orthonormal basis for HH, then for every x∈Hx \in H:

∥x∥2=∑n=1∞∣⟨x,en⟩∣2andx=∑n=1∞⟨x,en⟩en\|x\|^2 = \sum_{n=1}^{\infty} |\langle x, e_n\rangle|^2 \quad \text{and} \quad x = \sum_{n=1}^{\infty} \langle x, e_n\rangle e_n

Proof. For each NN, let sN=∑n=1N⟨x,en⟩ens_N = \sum_{n=1}^N \langle x, e_n \rangle e_n (the Fourier partial sum). The argument of Bessel’s theorem shows x−sN⊥sNx - s_N \perp s_N, so

∥x∥2=∥sN∥2+∥x−sN∥2=∑n=1N∣⟨x,en⟩∣2+∥x−sN∥2.(∗)\|x\|^2 = \|s_N\|^2 + \|x - s_N\|^2 = \sum_{n=1}^N |\langle x, e_n \rangle|^2 + \|x - s_N\|^2. \tag{$*$}

By Bessel, ∑n=1∞∣⟨x,en⟩∣2≤∥x∥2\sum_{n=1}^{\infty} |\langle x, e_n \rangle|^2 \leq \|x\|^2, so the increasing partial sums of squared coefficients are bounded and converge to some ℓ≤∥x∥2\ell \leq \|x\|^2.

It remains to show ∥x−sN∥→0\|x - s_N\| \to 0; then (∗)(*) with N→∞N \to \infty gives Parseval’s identity ∥x∥2=ℓ\|x\|^2 = \ell and convergence of sNs_N to xx at once. Suppose not; then some ε>0\varepsilon > 0 and a subsequence have ∥x−sNk∥≥ε\|x - s_{N_k}\| \geq \varepsilon. But {en}\{e_n\} is an orthonormal basis: span⁡‾{en}=H\overline{\operatorname{span}}\{e_n\} = H, so there is v∈span⁡{e1,…,eM}v \in \operatorname{span}\{e_1, \dots, e_M\} with ∥x−v∥<ε/2\|x - v\| < \varepsilon/2. Choose Nk>MN_k > M. The key property of the Fourier partial sum: sNs_N is the best approximation to xx in span⁡{e1,…,eN}\operatorname{span}\{e_1, \dots, e_N\}; indeed x−sNx - s_N is orthogonal to that span, so for any uu in it, Pythagoras on x−u=(x−sN)+(sN−u)x - u = (x - s_N) + (s_N - u) gives ∥x−u∥2=∥x−sN∥2+∥sN−u∥2≥∥x−sN∥2\|x - u\|^2 = \|x - s_N\|^2 + \|s_N - u\|^2 \geq \|x - s_N\|^2. Applying this with u=vu = v (valid since Nk>MN_k > M):

ε≤∥x−sNk∥≤∥x−v∥<ε2,\varepsilon \leq \|x - s_{N_k}\| \leq \|x - v\| < \frac{\varepsilon}{2},

a contradiction. ■\blacksquare

Theorem 2.10 (Riesz Representation). Let HH be a Hilbert space. For every bounded linear functional φ∈H∗\varphi \in H^*, there exists a unique y∈Hy \in H such that φ(x)=⟨x,y⟩\varphi(x) = \langle x, y\rangle for all x∈Hx \in H. Moreover, ∥φ∥H∗=∥y∥H\|\varphi\|_{H^*} = \|y\|_H.

Proof. If φ=0\varphi = 0, take y=0y = 0 (and uniqueness below forces it). Otherwise let M=ker⁡(φ)M = \ker(\varphi); a closed subspace, being the kernel of a continuous map, and proper since φ≠0\varphi \neq 0. Pick z∈M⊥z \in M^\perp with ∥z∥=1\|z\| = 1: it exists because M⊊HM \subsetneq H, so M⊥≠{0}M^\perp \neq \{0\} (else H=M⊕{0}=MH = M \oplus \{0\} = M by Theorem 2.6), and normalise.

Every x∈Hx \in H decomposes as x=x0+αzx = x_0 + \alpha z with x0∈Mx_0 \in M and α=⟨x,z⟩\alpha = \langle x, z \rangle (Theorem 2.6), so

φ(x)=φ(x0)+αφ(z)=αφ(z)=φ(z)⟨x,z⟩.\varphi(x) = \varphi(x_0) + \alpha \varphi(z) = \alpha \varphi(z) = \varphi(z) \langle x, z \rangle.

Set y=φ(z)‾ zy = \overline{\varphi(z)}\, z. Then for every xx, using conjugate-linearity in the second argument and ∥z∥=1\|z\| = 1:

⟨x,y⟩=⟨x,φ(z)‾ z⟩=φ(z)⟨x,z⟩=φ(x).\langle x, y \rangle = \langle x, \overline{\varphi(z)}\, z \rangle = \varphi(z) \langle x, z \rangle = \varphi(x).

Norm identity. Cauchy—Schwarz gives ∥φ∥=sup⁡∥x∥≤1∣⟨x,y⟩∣≤∥y∥\|\varphi\| = \sup_{\|x\| \leq 1} |\langle x, y \rangle| \leq \|y\|. Conversely, evaluate at x=y/∥y∥x = y/\|y\| (assuming y≠0y \neq 0): φ(y/∥y∥)=⟨y/∥y∥,y⟩=∥y∥\varphi(y/\|y\|) = \langle y/\|y\|, y \rangle = \|y\|, so ∥φ∥≥∥y∥\|\varphi\| \geq \|y\|. Hence ∥φ∥=∥y∥\|\varphi\| = \|y\|; with the trivial reading when y=0y = 0.

Uniqueness. If ⟨x,y⟩=⟨x,y′⟩\langle x, y \rangle = \langle x, y' \rangle for all xx, then ⟨x,y−y′⟩=0\langle x, y - y' \rangle = 0 for all xx; take x=y−y′x = y - y' and get ∥y−y′∥2=0\|y - y'\|^2 = 0. ■\blacksquare

Corollary 2.11. Every Hilbert space is isometrically isomorphic to its dual: H≅H∗H \cong H^* (anti-linearly).

Proof. Define Φ:H→H∗\Phi : H \to H^* by Φ(y)=φy\Phi(y) = \varphi_y where φy(x)=⟨x,y⟩\varphi_y(x) = \langle x, y \rangle. By Theorem 2.10, Φ\Phi is bijective and isometric: ∥φy∥=∥y∥\|\varphi_y\| = \|y\|. It is anti-linear; Φ(αy+βy′)=αˉΦ(y)+βˉΦ(y′)\Phi(\alpha y + \beta y') = \bar{\alpha}\Phi(y) + \bar{\beta}\Phi(y'): because of the conjugate-linearity of the inner product in its second argument, which is the structural price of the isomorphism. ■\blacksquare

StructureAxioms addedCompleteness?
Inner product spaceVector space + inner productNot required
Hilbert spaceInner product space + completenessYes
Banach spaceNormed vector space + completenessNorm may not come from inner product

Every Hilbert space is a Banach space, but the converse fails: LpL^p for p≠2p \neq 2 is Banach but not Hilbert. The parallelogram law characterises normed spaces whose norm comes from an inner product.

Inner product spaces generalise the dot product to abstract vector spaces, enabling notions of angle and orthogonality. An inner product measures how aligned two vectors are, with zero indicating perpendicularity. The Cauchy-Schwarz inequality bounds this alignment, and the parallelogram law characterises exactly which norms arise from inner products. Hilbert spaces are complete inner product spaces, and the Riesz representation theorem guarantees that every continuous linear functional on a Hilbert space is itself given by an inner product. This self-referential structure, where a space is isometrically isomorphic to its dual, is what makes Hilbert spaces the natural home for quantum states, Fourier series, and least-squares approximation.

  • Assuming every Cauchy sequence converges in an inner product space. Completeness is an extra requirement. For example, C([0,1])C([0,1]) with the L2L^2 inner product is not complete.
  • Confusing orthogonality with linear independence. Orthogonal vectors are always linearly independent, but linearly independent vectors need not be orthogonal.
  • Forgetting that M⊥M^\perp is closed even when MM is not. The orthogonal complement is always a closed subspace, regardless of whether MM itself is closed.
  • Assuming ⟨x,y⟩=⟨y,x⟩\langle x, y\rangle = \langle y, x\rangle in complex spaces. Conjugate symmetry means ⟨x,y⟩=⟨y,x⟩‾\langle x, y\rangle = \overline{\langle y, x\rangle}, not equality.
  • Quantum mechanics: States are vectors in a Hilbert space; observables are self-adjoint operators; inner products give probability amplitudes.
  • Signal processing: L2(R)L^2(\mathbb{R}) is the space of finite-energy signals; orthonormal bases (Fourier, wavelet) enable efficient compression and denoising.
  • Machine learning: Kernel methods map data into a reproducing kernel Hilbert space (RKHS) where inner products correspond to kernel evaluations.
  • Numerical analysis: The Galerkin method projects PDE solutions onto finite-dimensional subspaces using orthogonal projection.

Problem 1. Let H=L2([0,1])H = L^2([0,1]) with inner product ⟨f,g⟩=∫01f(x)g(x)‾ dx\langle f,g\rangle = \int_0^1 f(x)\overline{g(x)}\,dx. Show that {e2πinx}n∈Z\{e^{2\pi i n x}\}_{n\in\mathbb{Z}} is an orthonormal system.

Solution. ⟨e2πinx,e2πimx⟩=∫01e2πi(n−m)x dx=δnm\langle e^{2\pi i n x}, e^{2\pi i m x}\rangle = \int_0^1 e^{2\pi i (n-m)x}\,dx = \delta_{nm} by orthogonality of complex exponentials. So the system is orthonormal. Completeness (that it forms a basis) is the statement of the Fourier series convergence theorem. ■\blacksquare

Problem 2. Let M={f∈L2([0,1]):∫01f(x) dx=0}M = \{f \in L^2([0,1]) : \int_0^1 f(x)\,dx = 0\}. Find M⊥M^\perp.

Solution. M⊥={g∈L2([0,1]):⟨f,g⟩=0 for all f∈M}M^\perp = \{g \in L^2([0,1]) : \langle f,g\rangle = 0 \text{ for all } f \in M\}. The constant function h(x)=ch(x) = c satisfies ⟨f,h⟩=c∫01f=0\langle f, h\rangle = c\int_0^1 f = 0 for all f∈Mf \in M. Conversely, if g∈M⊥g \in M^\perp, write g=gˉ+cg = \bar{g} + c where gˉ∈M\bar{g} \in M and c=∫01gc = \int_0^1 g. Then 0=⟨gˉ,g⟩=∥gˉ∥2+c∫gˉ=∥gˉ∥20 = \langle \bar{g}, g\rangle = \|\bar{g}\|^2 + c\int \bar{g} = \|\bar{g}\|^2, so gˉ=0\bar{g}=0 and gg is constant. Hence M⊥M^\perp is the 1-dimensional space of constant functions. ■\blacksquare