Mathematics · Article
Banach and Hilbert spaces
Distinguish Banach completeness from Hilbert geometry. Prove norm equivalence, inner-product identities, closest-point and orthogonal-projection theorems, orthonormal expansions and the Hilbert representation theorem, with complex conventions, general bases, counterexamples and physical error units explicit.
Back to MathematicsAfter reading, you can
- Define normed, Banach, inner-product and Hilbert spaces, and prove the closed-subspace, absolute-series and finite-dimensional completeness facts.
- Prove Cauchy–Schwarz, Pythagoras, polarization and the converse parallelogram characterization with a fixed complex convention.
- Prove closest-point existence, uniqueness, the variational condition and nonexpansiveness, then derive closed-subspace orthogonal decomposition.
- Construct finite projections, complex Gram equations and Gram–Schmidt, separating geometric best approximation from coefficient sensitivity.
- Prove orthonormal-series convergence, Bessel and Parseval, and distinguish separable constructions from arbitrary-index bases and Choice.
- Prove the special Hilbert representation theorem and qualify point observations, Banach nearest-point failures and measure-dependent energy models.
Why completeness changes geometry
The Lp lesson showed that a Cauchy sequence of integral-error classes has a limit in the same Lp space. Completeness lets an approximation process stay inside its mathematical domain. It does not by itself supply angles, orthogonality or a uniquely closest approximation.
Banach spaces capture the complete normed setting. Hilbert spaces add an inner product and completeness in its induced norm. The additional geometry is powerful: every point has a unique nearest point in a nonempty closed convex set.
That conclusion needs all its hypotheses. A nonclosed trial space can approach a missing vector without reaching it. Even a closed subspace of a complete Banach space can lack a closest point, and in another Banach norm there can be many closest points.
We will prove these distinctions and their positive theorems. Finite-dimensional linear algebra provides the coefficient calculations, while infinite-dimensional limits require the completeness and closed-span arguments developed here.
Throughout, state whether the scalar field is ℝ or ℂ. In the complex case we use an inner product linear in its first slot and conjugate-linear in its second. A different convention is valid, but its coefficients and conjugations must be translated consistently.
The scientific connections are approximation and quadratic error or energy. These are mathematical conclusions under a chosen norm and measure; they do not certify a sampling scheme, a stable coordinate basis or an empirical physical law.
Norms and their metrics
A norm on a real or complex vector space V assigns a nonnegative number ||x|| with three properties: ||x||=0 exactly when x=0, ||ax||=|a| ||x||, and ||x+y||≤||x||+||y||.
It defines a metric d(x,y)=||x−y||. Definiteness is inherited from the norm, symmetry uses ||−z||=||z||, and the metric triangle follows by writing x−z=(x−y)+(y−z).
Every statement about convergence or a Cauchy sequence refers to this declared norm. The reverse triangle, | ||x||−||y|| |≤||x−y||, follows by applying the triangle in both directions and proves norm continuity.
Addition is continuous because ||(x+y)−(x′+y′)||≤||x−x′||+||y−y′||. For convergent scalars a_n→a and vectors x_n→x, the estimate ||a_nx_n−ax||≤|a_n| ||x_n−x||+|a_n−a| ||x|| proves scalar-multiplication continuity.
A Banach space is a normed space in which every norm-Cauchy sequence has a limit in the space. The norm is part of this assertion. The same collection of functions with a different norm may fail to be complete.
A norm does not require an inner product. The 1-norm and infinity norm on finite-dimensional coordinate spaces are familiar complete examples whose geometry will fail the inner-product parallelogram test.
Complete and closed subspaces
A subspace inherits its ambient norm. If the ambient space is Banach and the subspace M is closed, then a Cauchy sequence in M has an ambient limit, and closedness keeps that limit in M. Hence M is complete.
Conversely, a complete subspace of any normed ambient space is closed, even if the ambient space itself is not complete. If x_n∈M converges ambiently to x, it is Cauchy, so it has an intrinsic limit y∈M.
The ambient triangle gives ||x−y||≤||x−x_n||+||x_n−y||→0. Thus x=y∈M, proving closedness. The limit has not been allowed to differ according to the surrounding space.
For the closed-implies-complete direction, ambient completeness is essential. The whole incomplete space c00 is closed in itself but not complete, as an explicit series will show.
The zero subspace is closed and complete directly. The closure of a linear subspace is also linear, by continuity of sums and scalar multiples, but the original algebraic subspace need not already contain that closure.
This distinction will recur in basis expansions. A finite linear combination belongs to an algebraic span; an infinite norm limit need only belong to its closed span. Those sets coincide for finite-dimensional spans, which we prove below.
A series criterion for Banach spaces
A normed space is Banach exactly when every series Σ_k g_k with Σ_k||g_k||<∞ converges in the space. This criterion concerns norm-absolute summability of vector terms.
If the space is complete, its partial sums s_n are Cauchy: for m>n, ||s_m−s_n||≤Σ_(k=n+1)^m||g_k||, and these scalar tails tend uniformly to zero. Completeness gives the vector sum.
Passing to the limit in the finite triangle estimate also gives the tail bound ||Σ_(k>n)g_k||≤Σ_(k>n)||g_k||. No infinite triangle rule was assumed before the limit existed.
Conversely, assume that every such series converges and let (x_n) be Cauchy. Choose increasing n_k with ||x_(n_(k+1))−x_(n_k)||≤2^(−k). The series whose first term is x_(n_1) and whose later terms are these differences has finite total norm.
Its partial sums telescope to the subsequence x_(n_k), so the assumed series property makes that subsequence converge to some x. Given ε>0, combine one sufficiently late subsequence error below ε/2 with the original pairwise Cauchy bound below ε/2 to get ||x_n−x||<ε for all late n.
Thus the full sequence converges and the space is Banach. The summable-difference device also appeared in the Lp completeness proof; here it characterizes arbitrary normed-space completeness without any measure structure.
Later, orthogonal series will give a weaker sufficient condition in Hilbert space: square-summable coefficient magnitudes can suffice even when the sum of term norms diverges. That does not contradict this characterization.
Finite-dimensional norm equivalence
Every norm on a fixed finite-dimensional space is equivalent to its coordinate Euclidean norm. Let v1,…,vn be independent and T(a)=Σ_j a_jv_j. For n>0, finite triangle and finite Euclidean Cauchy–Schwarz give ||T(a)−T(b)||≤C|a−b|2, where C=(Σ_j||v_j||²)^(1/2).
Therefore a↦||T(a)|| is continuous on the Euclidean coefficient unit sphere. That sphere is compact by the ordinary finite-dimensional real-analysis theorem, so the function attains a minimum c.
The minimum is positive: if it were zero at a unit vector, the vectors v_j would have a nontrivial linear relation. Scaling now gives c|a|2≤||T(a)||≤C|a|2 for all a.
Apply this comparison to any two norms on the same coordinate space to obtain finite positive upper and lower comparison constants. It follows that the norms have the same convergent and Cauchy sequences, although their numerical lengths differ.
A norm-Cauchy sequence in the finite span has Euclidean-Cauchy coordinates by the lower bound. Coordinate completeness and the upper bound give a vector limit in the span. Hence every finite-dimensional normed space is complete, and every finite-dimensional subspace is closed in any normed ambient space.
For dimension zero, the space is {0} and these conclusions are direct; no empty unit sphere is used in a minimization argument.
The constants depend on the finite-dimensional setting. On c00, the vector with N initial ones has 1-norm N, 2-norm √N and infinity norm one. There are no comparison constants uniform in all N, so this argument cannot prove infinite-dimensional norm equivalence.
Complete function and sequence spaces
The preceding Lp theorem gives Banach spaces Lp(μ) for every 1≤p≤∞ on an arbitrary measure space. It uses measurable classes modulo null sets and does not require sigma-finiteness or completeness of the measure.
For continuous functions on [0,1], the supremum norm gives another Banach space. A uniformly Cauchy sequence f_n has a pointwise scalar limit f, and each pairwise uniform Cauchy bound passes to that limit. Thus f_n→f uniformly.
To prove continuity of f at a point, choose one f_n uniformly within ε/3 of f, then use that f_n’s continuity to make its variation less than ε/3 nearby. The triangle gives variation of f below ε. Hence the limit remains continuous and, on the compact interval, bounded.
The bounded sequence space ℓ∞ is the infinity-norm counting-measure example. Its subspace c0 consists of sequences tending to zero. This subspace is closed: if x^(n)→x uniformly, choose a fixed n with ||x−x^(n)||∞<ε/2 and then a tail on which |x_k^(n)|<ε/2. There |x_k|<ε.
Therefore c0 is Banach by the closed-subspace theorem. Notice the two indices: n labels an approximating sequence of vectors, while k labels a coordinate within one vector. The fixed-n tail argument controls the eventual coordinates of the limit.
For L2, an inner product will produce the already complete norm. Continuous functions with an integrated norm, however, can behave differently from continuous functions with the supremum norm; the next examples show actual missing limits.
When a natural space misses its limit
Let c00 denote finitely supported sequences with the ℓ2 norm. Set x_N=Σ_(k=1)^N2^(−k)e_k. In the larger ℓ2 space the vector x=(2^(−k)) has squared norm Σ4^(−k)=1/3.
The exact tail is ||x−x_N||2²=Σ_(k>N)4^(−k)=4^(−N)/3, so x_N is Cauchy. If it had a c00 norm limit z, each coordinate would tend to z_k because a coordinate error is at most the ℓ2 norm. Thus z_k=2^(−k) for every k, contradicting finite support.
The series even has summable term norms Σ2^(−k)=1. Its failure to converge inside c00 is the concrete obstruction in the Banach series criterion. The missing object belongs to the completion ℓ2, but not to the original space.
For C([0,1]), the expression (∫|g|²)^(1/2) is a genuine norm. If continuous g is nonzero at one point, continuity bounds |g| away from zero on a positive-length relative interval, so its squared integral is positive.
It is nevertheless incomplete. Let f=1_(1/2,1] and let g_δ be zero up to 1/2−δ, increase linearly from zero to one across [1/2−δ,1/2+δ], and equal one afterwards, with 0<δ<1/2.
Each of the two half-transition error integrals is δ/12, so ||g_δ−f||2²=δ/6. The integral triangle makes g_δ a Cauchy family as δ tends to zero.
If a continuous g were its L2 limit, the triangle with f would give ||g−f||2=0. Points outside the exceptional null carrier can approach 1/2 from either side. Continuity would force both g(1/2)=0 and g(1/2)=1, a contradiction.
Set gₙ=0 at and below 1/2−1/(2n), gₙ=1/2+n(x−1/2) between the endpoints, and gₙ=1 at and above 1/2+1/(2n). This is the L¹ variant of the lesson’s function-space example. The Cauchy limit is the step class 1_(1/2,1]. A continuous representative would have to equal each constant on the corresponding open side, which is incompatible with continuity at 1/2. Taking m=2n also shows the ramps are not uniformly Cauchy.
| n | Full transition width | L¹ error to the step |
|---|---|---|
| 4 | 1/4 | 1/16 |
| 8 | 1/8 | 1/32 |
| 16 | 1/16 | 1/64 |
Exact inputs and supporting calculations
| n | m | L¹ distance | Uniform distance |
|---|---|---|---|
| 4 | 8 | 1/32 | 1/4 |
| 4 | 16 | 3/64 | 3/8 |
| 8 | 16 | 1/64 | 1/4 |
| Input | Exact declaration |
|---|---|
| space | C([0,1]) with Lebesgue L1 norm |
| sequence | continuous ramps from 0 to 1 of width 1/n centered at 1/2 |
| indices | [4,8,16] |
Thus neither a natural formula nor a genuine norm guarantees completeness of its chosen domain. Passing to L2 classes admits the missing jump vector, while keeping continuous functions and changing to the supremum norm gives a different complete space.
Choose the complex convention
An inner product ⟨x,y⟩ is positive definite, linear in its first slot and conjugate symmetric: ⟨x,y⟩=conjugate(⟨y,x⟩). Its diagonal ⟨x,x⟩ is nonnegative real and vanishes exactly at x=0.
Conjugate symmetry gives additivity in the second slot and ⟨x,ay⟩=conjugate(a)⟨x,y⟩. In the real case conjugation does nothing. In the complex case it is essential.
On ℂ^n, the standard convention is ⟨x,y⟩=Σ_j x_j conjugate(y_j). On L2(μ), use ⟨f,g⟩=∫f conjugate(g) dμ. Hölder with exponents two makes this product integrable, and null-set invariance makes the pairing well-defined on classes.
The zero-integral theorem gives positive definiteness on those classes. On literal measurable functions, a nonzero null-supported function would instead have zero diagonal. This is why the quotient convention matters.
Set ||x||=√⟨x,x⟩. Positivity and definiteness follow immediately. The two scalar-slot rules give ||ax||²=|a|²||x||², proving homogeneity after taking nonnegative square roots. The triangle is proved next.
Many physical conventions put linearity in the second slot. Reversing the convention conjugates the displayed pairing, and projection and representation coefficients must be rewritten accordingly. The first worked example checks that translation rather than silently changing it.
Cauchy–Schwarz with its equality condition
Cauchy–Schwarz states |⟨x,y⟩|≤||x|| ||y||. No completeness is needed. If y=0, both sides are zero, so assume y≠0 and set a=⟨x,y⟩/||y||².
Expand the nonnegative residual: ||x−ay||²=||x||²−a⟨y,x⟩−conjugate(a)⟨x,y⟩+|a|²||y||²=||x||²−|⟨x,y⟩|²/||y||². Rearranging proves the inequality.
Equality holds exactly when that residual is zero, or x=ay. Including the y=0 case, the precise condition is linear dependence, allowing either vector to be zero. Complex dependence alone need not be a nonnegative real multiple.
For the triangle, ||x+y||²=||x||²+||y||²+2Re⟨x,y⟩≤||x||²+||y||²+2|⟨x,y⟩|≤(||x||+||y||)². Nonnegative square roots prove it.
If both vectors are nonzero, equality requires both Cauchy–Schwarz equality and Re⟨x,y⟩=|⟨x,y⟩|. Thus one vector is a nonnegative real multiple of the other. If either is zero, the one-of-the-vectors formulation still applies directly.
The induced expression is therefore a norm. Cauchy–Schwarz also proves pairing continuity: |⟨x−x′,y⟩|≤||x−x′|| ||y||, with the corresponding bound in the other slot.
The residual formula gives an exact quantitative error, not just an upper bound. For the weighted complex example, it computes the squared residual as 20/3 after the conjugate phase and normalization have been fixed.
Pythagoras and the complex converse
Vectors are orthogonal when their inner product is zero. Hermitian symmetry makes the order irrelevant. If x⊥y, expansion gives Pythagoras: ||x+y||²=||x||²+||y||².
The real converse holds because the same expansion reads ||x+y||²=||x||²+||y||²+2⟨x,y⟩. Equality of the squared norms then forces the real pairing to vanish.
Over ℂ, the expansion contains only 2Re⟨x,y⟩. The scalar vectors x=1 and y=i satisfy |1+i|²=2=|1|²+|i|², yet ⟨1,i⟩=−i≠0. The converse cannot be transferred unchanged to complex space.
Adding the squared expansions for x+y and x−y cancels both cross terms and gives the parallelogram law: ||x+y||²+||x−y||²=2||x||²+2||y||².
This identity holds for every pair in an inner-product space, whether orthogonal or not. It will force Cauchy behavior of minimizing sequences and will also distinguish inner-product norms from other complete norms.
For finite orthogonal sums, repeated Pythagoras gives ||Σ_j c_je_j||²=Σ_j |c_j|² when the e_j are orthonormal. Infinite sums require a separate norm-limit argument; they are not obtained by simply writing an infinite version of this finite identity.
Recovering the pairing from lengths
The norm of an inner-product space determines the pairing uniquely. Write Q(x)=||x||². Expanding Q(x+y)−Q(x−y) gives 4Re⟨x,y⟩.
For real scalars, this already yields ⟨x,y⟩=(Q(x+y)−Q(x−y))/4. For complex scalars, it recovers only the real part.
Under the first-slot convention, ⟨x,iy⟩=−i⟨x,y⟩. Therefore Q(x+iy)−Q(x−iy)=4Im⟨x,y⟩.
Combining the two differences gives ⟨x,y⟩=[Q(x+y)−Q(x−y)+iQ(x+iy)−iQ(x−iy)]/4. The positive sign before the imaginary difference is fixed by the chosen convention.
For the quick sign test x=i,y=1, the first difference is zero and the second is four, giving ⟨i,1⟩=i. The worked example x=1+2i,y=3−i computes all four squared norms and recovers 1+7i.
This is polarization: it reconstructs an already existing inner product from its lengths. The converse question is stronger. Starting from an arbitrary norm, we must show that the reconstructed expression is additive and homogeneous before calling it an inner product.
Which norms come from inner products
Suppose a real norm satisfies the parallelogram identity, and define B(x,y)=(Q(x+y)−Q(x−y))/4. Symmetry follows from Q(−z)=Q(z), and B(0,y)=0.
Apply the parallelogram identity to (x+y,z) and (x−y,z), then subtract. The result is B(x+z,y)+B(x−z,y)=2B(x,y).
Set z=x to obtain B(2x,y)=2B(x,y). Next set x=(u+v)/2 and z=(u−v)/2 in the preceding identity. It gives B(u,y)+B(v,y)=B(u+v,y), proving additivity.
Additivity gives integer homogeneity, and division gives rational homogeneity. The norm is continuous by the reverse triangle, so Q and B are continuous. Approximating a real scalar by rationals gives full real homogeneity. Symmetry provides the same rule in the second slot.
Finally B(x,x)=Q(x), so B is a positive-definite real inner product inducing the original norm. No differentiability of that norm was assumed.
For a complex norm, first make the same construction on its underlying real vector space. Since Q(iz)=Q(z), we have B(ix,iy)=B(x,y), and hence B(ix,y)=−B(x,iy).
Define H(x,y)=B(x,y)+iB(x,iy). Real bilinearity makes H additive and real-homogeneous in the first slot. The displayed relation gives H(ix,y)=iH(x,y), so it is complex-linear there.
Symmetry of B gives H(y,x)=conjugate(H(x,y)). Also B(x,ix)=0 because it equals its own negative, so H(x,x)=Q(x). Thus H is positive definite and conjugate-linear in the second slot, and is a complex inner product with the original norm.
All three norms on R² are complete. An inner-product norm must satisfy the parallelogram identity for every pair, so this single counterexample suffices for each of the endpoint norms. Euclidean norm comes from the standard inner product.
| Norm | ||x±y|| | Left-hand side | Right-hand side | Identity |
|---|---|---|---|---|
| ℓ¹ | 2 | 8 | 4 | Fails |
| ℓ² | √2 | 4 | 4 | Holds |
| ℓ∞ | 1 | 2 | 4 | Fails |
Exact inputs and supporting calculations
| Input | Exact declaration |
|---|---|
| vectors | [["1","0"],["0","1"]] |
| norms | ["1","2","infinity"] |
We have proved the full characterization: a real or complex norm comes from an inner product exactly when it satisfies the parallelogram law. Completeness is a separate question; it was not used in either reconstruction.
Why a Banach norm need not be Hilbert
A complete norm need not pass that characterization. On two counting coordinates, take e1=(1,0) and e2=(0,1). In the finite p-norm, each has norm one while ||e1+e2||p=||e1−e2||p=2^(1/p).
The parallelogram left side is 2·2^(2/p), and its right side is four. For finite p≥1, equality forces 2/p=1, hence p=2.
At p=1, the left side is eight. At p=2, it is four. At p=∞, both diagonal vectors have norm one and the left side is two. The first and last therefore cannot have an inner product inducing those specified norms.
All three finite-dimensional normed spaces are complete by the norm-equivalence theorem. Completeness and the existence of an inducing inner product are consequently distinct properties.
Equivalent norms can share convergence, completeness and finite-dimensional topology while giving different geometric identities. Choosing another equivalent inner-product norm does not make the original norm itself satisfy the parallelogram law.
For subunit powers p<1, the preceding lesson already showed the p-expression fails to be a norm. That is a separate boundary from the present Banach examples, which have genuine complete norms.
Complete inner-product spaces
A Hilbert space is an inner-product space complete in the norm that its inner product induces. Finite-dimensional Euclidean and complex coordinate spaces are Hilbert, and L2(μ) is Hilbert under its integral pairing.
The L2 assertion uses both parts already proved: Hölder and class invariance make the inner product meaningful, and Lp completeness at p=2 gives completeness. No sigma-finiteness or completion of μ is added.
Every closed subspace of a Hilbert space is Hilbert with the restricted pairing, by the closed-subspace completeness theorem. An arbitrary nonclosed subspace may inherit the same formulas while missing limits.
Completeness does not turn every closed bounded set compact. An orthonormal sequence has pairwise distance √2, so it has no Cauchy subsequence and cannot lie in a compact metric unit ball.
In an infinite-dimensional Hilbert space, such a sequence can be built by repeatedly choosing a vector outside the preceding finite span and subtracting its finite orthogonal components. The span is finite-dimensional and proper; the nonzero remainder can be normalized. Thus the compactness failure is not peculiar to one coordinate example.
Finite-dimensional compactness was used only on an ordinary coordinate sphere in the norm-equivalence proof. Infinite-dimensional completeness supplies limits of Cauchy sequences; it does not supply convergent subsequences of all bounded sequences.
A closest point in a closed convex set
Let C be a nonempty closed convex subset of a Hilbert space, and fix x. Set d=inf_(c∈C)||x−c||. The infimum is finite because C is nonempty and each vector has finite norm.
Choose y_n∈C with ||x−y_n||≤d+1/n. Convexity keeps (y_n+y_m)/2 in C, so its distance from x is at least d.
The parallelogram identity now gives ||y_n−y_m||²=2||x−y_n||²+2||x−y_m||²−4||x−(y_n+y_m)/2||²≤2||x−y_n||²+2||x−y_m||²−4d².
The right side tends to zero as both indices grow. Thus the minimizing sequence is Cauchy. Hilbert completeness supplies a norm limit y, and the closedness of C puts that limit in C.
Norm continuity gives ||x−y||=d. Existence used convexity to make the midpoint estimate, completeness to obtain the limit, and closedness to retain it in the admissible set.
If y and v both attained d, the same estimate would give ||y−v||²≤2d²+2d²−4d²=0. Hence y=v. Denote this unique point by P_Cx.
The hypotheses cannot be treated as decoration. The open interval (0,1) need not attain the distance from 2. The closed nonconvex set {−1,1} has two closest points to zero. Later, a closed subspace in another Banach norm will fail existence.
The map P_C is a metric projection onto a convex set. It need not be linear; its variational condition and nonexpansiveness follow next. Linear orthogonal projection is the special case of a closed subspace.
The variational condition and nonexpansiveness
The closest point y=P_Cx is characterized by Re⟨x−y,z−y⟩≤0 for every z∈C. This variational inequality also yields a stronger distance comparison.
For 0<t≤1, convexity puts y+t(z−y) in C. With r=x−y and q=z−y, minimality gives ||r||²≤||r−tq||²=||r||²−2tRe⟨r,q⟩+t²||q||².
Divide by t>0 and let t decrease to zero to obtain the stated sign. Conversely, if y∈C satisfies that sign, expansion gives ||x−z||²≥||x−y||²+||z−y||² for every z∈C, proving minimality and uniqueness.
Let y=P_Cx and v=P_Cw. The two variational inequalities give Re⟨x−y,y−v⟩≥0 and Re⟨w−v,y−v⟩≤0. Subtracting yields ||y−v||²≤Re⟨x−w,y−v⟩.
Cauchy–Schwarz bounds the right side by ||x−w|| ||y−v||. If y=v, the conclusion is immediate; otherwise divide by the positive norm to get ||P_Cx−P_Cw||≤||x−w||.
Thus the projection is nonexpansive. It fixes exactly the points of C and satisfies P_C(P_Cx)=P_Cx, because an element of C has unique distance-zero minimizer itself.
Linearity is not part of this convex-set theorem. Projection onto the nonnegative real half-line is max(x,0). The worked quadrant example checks both variational signs, the exact contraction comparison and a failure of linearity.
Projection onto a closed subspace
For a closed linear subspace M, the closest-point residual is orthogonal to M. Let y=P_Mx and r=x−y. In the variational inequality, put z=y+m and z=y−m for any m∈M. The two signs force Re⟨r,m⟩=0.
In a complex space, use m replaced by im and −im. Since Re⟨r,im⟩=Im⟨r,m⟩ under the first-slot convention, the imaginary part also vanishes. Hence ⟨r,m⟩=0 for every m∈M.
Write M⊥ for the vectors orthogonal to every vector of M; either slot gives the same condition by conjugate symmetry. We have x=P_Mx+(x−P_Mx), with one term in M and the other in M⊥.
Conversely, if y∈M and x−y∈M⊥, then for every m∈M, Pythagoras gives ||x−m||²=||x−y||²+||y−m||². Thus y is the unique closest point.
The decomposition is unique because M∩M⊥={0}: a vector in the intersection is orthogonal to itself and has zero norm. Sums and scalar multiples of decompositions are still decompositions, so uniqueness proves P_M is linear over the chosen scalar field.
Pythagoras gives ||P_Mx||≤||x||. If M≠{0}, equality on any nonzero vector of M makes the projection’s operator norm sup_(||x||≤1)||P_Mx|| equal one. If M={0}, the projection is zero and its norm is zero.
The projection is idempotent, and I−P_M is the projection onto M⊥. Their two components have squared norms summing to ||x||². These facts follow from the decomposition rather than from an assumed matrix formula.
Divide the Euclidean inner product with the direction by its squared length. The orthogonal residual gives the Pythagorean split, and projecting again leaves the subspace vector fixed.
| Quantity | Exact value |
|---|---|
| Coefficient | 1 |
| Projection | (1,2) |
| Residual | (2,−1) |
| Residual dot direction | 0 |
| Distance | √5 |
| Second projection | (1,2) |
Exact inputs and supporting calculations
| Quantity | Exact value |
|---|---|
| Matrix | [[1/5,2/5],[2/5,4/5]] |
| Squared projection norm | 5 |
| Squared residual norm | 5 |
| Squared target norm | 10 |
| Input | Exact declaration |
|---|---|
| space | R^2 Euclidean |
| target | ["3","1"] |
| span | [["1","2"]] |
Closedness is necessary for this full-space assertion. Inside ℓ2, the nonclosed subspace c00 has distance zero from x=(2^(−k)), by finite truncations, but no closest point: attaining zero would require the missing vector itself.
Orthogonal complements and density
The orthogonal complement of any subset is a linear closed subspace. Linearity follows from the slot rules; closedness follows from Cauchy–Schwarz continuity of each pairing. Orthogonality to a subspace is equivalent to orthogonality to its closure.
Let M now be a subspace of a Hilbert space. Its closure lies in (M⊥)⊥, because every approximating vector is orthogonal to M⊥ and the pairing is continuous.
For x∈(M⊥)⊥, decompose x=u+r with u∈closure(M) and r∈M⊥. Since x and u both belong to the double complement, so does r. It is therefore orthogonal to itself and must vanish.
This proves (M⊥)⊥=closure(M). In particular M is dense exactly when M⊥={0}. A closed span can thus be tested by whether it misses a nonzero orthogonal direction.
Hilbert completeness is material. Consider the incomplete inner-product space c00 with its ℓ2 norm, and the functional F(x)=Σ_k2^(−k)x_k. Each sum is finite on c00, and finite Cauchy–Schwarz gives |F(x)|≤(1/√3)||x||2.
Its kernel M is closed in this ambient c00, and is proper because F(e1)=1/2. Every e_k−2e_(k+1) belongs to M.
If y∈c00 is orthogonal to M, those vectors give conjugate(y_k)−2conjugate(y_(k+1))=0 for every k. Finite support forces the last possible nonzero coordinate to vanish, and then all preceding ones vanish. Thus M⊥={0}.
Nevertheless closure(M)=M is proper, while (M⊥)⊥ is all of c00. The Hilbert double-complement and density conclusion fails in this incomplete ambient space.
This is different from treating c00 as a nonclosed subspace of ℓ2. Here the kernel is closed in its own incomplete ambient space. Keeping those two ambient spaces distinct identifies the actual missing hypothesis.
Finite orthonormal approximation and Bessel
Let e1,…,en be orthonormal. Finite expansion gives ||Σ_j c_je_j||²=Σ_(j,k)c_j conjugate(c_k)⟨e_j,e_k⟩=Σ_j|c_j|².
For a given x, set p=Σ_j⟨x,e_j⟩e_j. Pairing x−p with each e_i gives zero, so the residual is orthogonal to their span.
For any y in that span, Pythagoras gives ||x−y||²=||x−p||²+||p−y||². Therefore p is the unique best approximation, and the exact residual identity is ||x−p||²=||x||²−Σ_j|⟨x,e_j⟩|².
Nonnegativity yields finite Bessel: Σ_j|⟨x,e_j⟩|²≤||x||². Every calculation was finite, so no completeness hypothesis was needed for this particular construction.
The empty orthonormal list has span {0}, projection zero and coefficient sum zero. It fits the same formulas directly.
For an arbitrary orthonormal family, define the coefficient square sum as the supremum over finite subsets. Each finite Bessel bound then gives the same upper bound for that supremum. Infinite vector expansions still need the convergence argument below.
The quadratic-profile worked example computes the exact best approximation and residual energy. Its finite coefficient calculation can be done in a nonorthogonal basis as well, provided the Gram equations use the correct complex convention.
A nonorthogonal basis and its Gram system
Take a finite spanning list v1,…,vn and seek y=Σ_j c_jv_j with residual orthogonal to its span. Pairing the residual with v_i gives Σ_j c_j⟨v_j,v_i⟩=⟨x,v_i⟩.
Thus the first-slot convention gives G_ij=⟨v_j,v_i⟩, b_i=⟨x,v_i⟩ and Gc=b. The conjugate placement is determined by the convention, rather than by an interchangeable row notation.
The Gram matrix is Hermitian. Its quadratic form conjugate(c)^T Gc equals ||Σ_j c_jv_j||². If the list is independent, this is positive for every nonzero c, so G is invertible and the coefficients are unique.
If the list is dependent, G is singular. The finite span is still closed and has a unique projected vector. Every coefficient representation of that vector solves the Gram equations, and any solution gives the same orthogonal residual. Coefficient vectors can differ by a representation-kernel vector.
For v1=(1,0),v2=(i,1), the matrix is [[1,i],[−i,2]]. The worked example solves its complex data equations and verifies the reconstructed vector directly.
A nearly dependent basis can amplify coefficient errors. For v2=(i,η) with η>0, G=[[1,i],[−i,1+η²]], with determinant η². For data x=(1,1), the coefficients are c2=1/η and c1=1−i/η.
Perturb the data by (0,η). The coefficient change is (−i,1), with norm √2, although the data change has norm η. The amplification ratio √2/η becomes large as η decreases.
For every positive η, the span is all of ℂ² and its orthogonal projection is the identity. The sensitivity here belongs to the coefficients in the chosen basis; it does not make that geometric projection expansive.
The rows of the Gram system are the Euclidean inner products with the two spanning vectors. Unlike an orthonormal system, the raw right-hand-side values are not the expansion coefficients.
| Quantity | Exact result |
|---|---|
| Gram matrix | [[2,1],[1,2]] |
| Right-hand side | (3,1) |
| Determinant | 3 |
| Coefficients | (5/3,−1/3) |
| Projection | (5/3,−1/3,4/3) |
| Residual | (1/3,1/3,−1/3) |
| Pairing of residual with each basis vector | 0 and 0 |
Exact inputs and supporting calculations
| Input | Exact declaration |
|---|---|
| space | R^3 |
| vectors | [["1","0","1"],["0","1","1"]] |
| target | ["2","0","1"] |
At η=0 the rank changes and the span is only the first coordinate axis. That is a separate dependent case, not a justification for silently replacing a small positive η by zero or for claiming the same full-span approximation.
Gram–Schmidt without division by zero
Gram–Schmidt constructs an orthonormal list from a finite input list. Suppose e1,…,er have already been retained. For the next input a_j, form q=a_j−Σ_(k=1)^r⟨a_j,e_k⟩e_k.
The finite projection calculation proves q is orthogonal to every retained e_k. If q=0, the new input already lies in their span and is skipped. If q≠0, append e_(r+1)=q/||q||.
Induction shows that the span of the retained orthonormal list is exactly the span of all inputs processed so far. Independent input vectors therefore produce an orthonormal basis of their finite span.
The zero input and a dependent remainder require a branch, rather than division by a zero norm. In the zero space the result is the empty list. A finite-dimensional space can make a countable input process terminate after finitely many nonzero remainders.
For v1=(1,0) and v2=(i,1), the first vector is already unit, and subtraction of ⟨v2,v1⟩v1=i(1,0) leaves (0,1). This checks the first-slot coefficient explicitly.
The theorem uses exact dependence. Numerical implementations need a separate treatment of small residuals and rounding; the exact construction alone does not promise that one floating-point pass produces a stable orthonormal basis.
Square-summable orthonormal series
Let (e_k) be a countable orthonormal system in a Hilbert space. A coefficient series Σ_k a_ke_k converges in norm exactly when Σ_k|a_k|²<∞.
For sufficiency, the squared norm of a partial-sum difference is exactly the corresponding coefficient square tail. Those tails tend to zero, so the partial sums are Cauchy and Hilbert completeness gives a limit y.
Passing to the norm limit in the finite identity gives ||y||²=Σ_k|a_k|². Pairing continuity gives ⟨y,e_j⟩=a_j for every j.
For necessity, a convergent partial-sum sequence has bounded norms. The increasing finite square sums are therefore bounded and have a finite limit, proving square summability.
For any x, Bessel makes its coefficients ⟨x,e_k⟩ square-summable. Let y be their vector sum. It belongs to the closed span, and pairing continuity makes x−y orthogonal to each e_k, hence to that closed span.
Therefore y is exactly the projection onto the closed span. This conclusion does not require the system to be total in the whole Hilbert space.
Every square-summable coefficient sequence gives one such vector, and its coefficients are recovered uniquely. Thus the closed span is isometric to the corresponding ℓ2 coefficient space. The completeness in this step supplies vector limits, not a formal license to sum arbitrary coefficients.
Totality and Parseval’s identity
An orthonormal system is total when its closed linear span is the whole Hilbert space. It is then called an orthonormal basis. The word basis here allows norm-convergent expansions and is not the same as an algebraic basis of finite combinations.
For a total countable system, the preceding projection is x itself: x=Σ_k⟨x,e_k⟩e_k. Its norm identity becomes Parseval: ||x||²=Σ_k|⟨x,e_k⟩|².
Conversely, if this norm equality holds for every x, the orthogonal residual from the closed span has zero norm for every x. The span is therefore dense and the system is total. For a single x, the same equality says only that this x belongs to that closed span.
Pairing the norm expansion of x with z and using continuity gives ⟨x,z⟩=Σ_k⟨x,e_k⟩conjugate(⟨z,e_k⟩). The scalar series is absolutely convergent by Cauchy–Schwarz for the two square-summable coefficient sequences.
Orthogonality alone does not imply totality. The even coordinate vectors in ℓ2 form an orthonormal system but miss every odd coordinate direction. Their expansion produces a projection, not every original vector.
Likewise a finite trigonometric calculation can prove orthogonality and finite best approximation without proving a full Fourier basis theorem. Completeness of that particular system requires a separate density argument, which is not imported here from an unread later chapter.
Unordered convergence and absolute convergence
A general orthonormal family may have an arbitrary index set I. Define Σ_(i∈I)|a_i|² as the supremum of its finite partial sums. This nonnegative square sum makes sense without choosing an order.
If the supremum S is finite, the set {|a_i|>1/n} is finite for every positive integer n; otherwise finite subsets would have arbitrarily large square sums. Every nonzero coefficient belongs to one of these sets, so the support is countable.
For unordered vector convergence, require one vector y such that for every ε>0 there is finite F⊂I with ||y−Σ_(i∈F′)a_ie_i||<ε for every finite F′ containing F. The quantifier includes all larger finite subsets, not one selected enumeration alone.
Choose finite F with Σ_F|a_i|²>S−ε². Every disjoint finite remainder has square sum at most ε², because its union with F has sum at most S. The finite orthogonal norm identity gives the same uniform vector-tail bound.
Enumerate the countable support and use the countable series theorem to obtain y. For any finite F′ containing the chosen core F, the omitted coefficient square mass is at most ε². Passing through the countable tail estimate proves the literal unordered convergence condition.
Conversely, unordered convergence bounds the norms of finite sums containing one fixed finite core. Adjoin that core to any other finite set and use nonnegativity of the coefficient squares to bound all finite square sums. Thus their supremum is finite. The squared norm of the sum is S.
Norm-absolute convergence is stronger. For a_k=1/√(k(k+1)), the squares telescope to one and the exact tail norm after N terms is 1/√(N+1). Yet Σ|a_k|≥Σ1/(k+1)=∞. This series converges unordered in Hilbert space without a summable series of term norms.
Orthogonality gives the square sum, and the decreasing positive function x^(-2) gives the strict bounds 1/(N+1) < Σ_(n>N) 1/n² < 1/N. The terms are not absolutely summable in Hilbert norm, although any ordering converges.
| N | Partial squared norm | Lower squared-tail bound | Upper squared-tail bound |
|---|---|---|---|
| 1 | 1 | 1/2 | 1 |
| 2 | 5/4 | 1/3 | 1/2 |
| 4 | 205/144 | 1/5 | 1/4 |
| 8 | 1077749/705600 | 1/9 | 1/8 |
Exact inputs and supporting calculations
| Quantity | Result |
|---|---|
| Squared limit norm | ζ(2) = π²/6 |
| Actual square tail | Σ_(n>N) 1/n² |
| Unordered convergence | Yes |
| Sum of term norms Σ 1/n | Diverges |
| Input | Exact declaration |
|---|---|
| space | ell^2 |
| system | standard unit vectors e_n, n>=1 |
| coefficient | 1/n |
| indices | [1,2,4,8] |
For a total arbitrary family, Bessel supplies each vector’s square-summable coefficient family and its unordered expansion. The coefficient map is an isometry onto ℓ2(I); surjectivity is the orthonormal-series construction, with countable support for each individual vector.
Separable Hilbert bases
A Hilbert space is separable exactly when it has a finite or countable orthonormal basis, allowing the empty basis for the zero space.
Given a countable dense list a1,a2,…, process its inputs by Gram–Schmidt, skipping zero remainders. Every a_j enters the span after its own finite processing stage, so the closed span of the retained family contains the dense list and is the whole space.
If only finitely many nonzero remainders occur, that finite span already contains the whole dense list and, being closed, equals the space. Otherwise the retained list is countably infinite. If the space is zero, every input is skipped.
Conversely, finite combinations of basis vectors with rational real coefficients, or rational real and imaginary parts, form a countable set. Norm partial-sum approximation followed by approximation of finitely many coefficients proves this set is dense.
In a separable Hilbert space, every orthonormal family is countable. Its unit vectors have mutual distance √2, and disjoint balls of radius less than √2/2 each require a different point of a countable dense set.
For uncountable I, ℓ2(I) has the uncountable separated coordinate family (e_i), so it is nonseparable. Every individual vector still has countable support by the finite-square-supremum argument. Countability of one support does not make the entire space countable-dimensional.
It is complete: a Cauchy sequence of vectors has supports whose countable union is countable. Work in the ordinary complete ℓ2 space on that union to obtain its limit, then extend by zero outside it. General Hilbert spaces therefore require the arbitrary-index basis argument next.
General bases and the Choice principle
For a general Hilbert space, assume Zorn’s lemma: a nonempty partially ordered set in which every chain has an upper bound has a maximal element. This is an explicit use of a Choice principle.
Order all orthonormal subsets of H by inclusion. The collection is nonempty because it contains the empty set. For a chain of such subsets, take their union L.
Every vector in L has norm one. Any two distinct vectors in L occur in two chain members, one of which contains the other, so they occur together in an orthonormal member and are orthogonal. Thus L is an upper bound in the same collection.
The empty chain also has an upper bound, for example the empty orthonormal subset. Zorn therefore supplies a maximal orthonormal subset Γ.
If its closed span M were proper, choose z outside M and use closed-subspace projection. The nonzero residual r=z−P_Mz is orthogonal to M, so adjoining r/||r|| would strictly enlarge Γ. This contradicts maximality.
Hence Γ is total and is an orthonormal basis. Conversely, a total family cannot be enlarged by an orthogonal unit vector, because any vector orthogonal to its closed span is zero.
This proves general existence without claiming a countable algorithm or a countable basis. In the zero Hilbert space, the empty family is already maximal and total. The arbitrary-index square-sum and unordered-expansion results apply to the resulting basis.
The Hilbert representation theorem
For a fixed y in a Hilbert space, F_y(x)=⟨x,y⟩ is a bounded linear functional. Here bounded means |F_y(x)|≤C||x|| for a finite constant C. Cauchy–Schwarz gives C=||y||, and the unit test x=y/||y|| gives equality in the functional norm when y≠0.
The Hilbert Riesz theorem states that every bounded linear functional F has a unique representing vector y with F(x)=⟨x,y⟩ and ||F||=||y||. We prove it from projection, without choosing a basis.
If F=0, take y=0. Otherwise, its bound makes F continuous and M=ker F a closed proper subspace. Choose z with Fz≠0 and put u=z−P_Mz. Then u⊥M, u≠0 and Fu=Fz≠0.
For every x, the vector x−(Fx/Fu)u belongs to M. Pairing with u gives ⟨x,u⟩=(Fx/Fu)||u||².
Set y=conjugate(Fu)u/||u||². Conjugate homogeneity in the second slot now gives ⟨x,y⟩=(Fu/||u||²)⟨x,u⟩=Fx. All divisors are positive norms or the already nonzero scalar Fu.
If y and y′ both represented F, then ⟨x,y−y′⟩=0 for every x. Testing x=y−y′ gives y=y′. Cauchy–Schwarz gives ||F||≤||y||, and if y≠0, the test y/||y|| gives the reverse bound. The zero case has both norms zero.
The representing-vector map is additive but conjugate-linear: cF is represented by conjugate(c)y. This is dictated by the first-slot convention. The complex worked example checks the conjugated coefficients and maximizing unit vector explicitly.
This is a special Hilbert theorem. It does not say that every Banach space is self-dual or that all Banach functionals are integral pairings. General duals, operators and spectral results retain their later lesson. The proof above also did not need a countable basis or a sigma-finite measure.
Point observations and function classes
A point observation can be a different mathematical object from an integral-error class. On [−1,1], take f_δ(x)=max(1−|x|/δ,0), with 0<δ<1.
Each triangular half has squared integral ∫_0^δ(1−t/δ)²dt=δ/3, so ||f_δ||2²=2δ/3. Yet f_δ(0)=1 for every δ.
If evaluation at zero were bounded on continuous functions with their L2 norm, a fixed C would satisfy 1≤C√(2δ/3) for every δ. Letting δ tend to zero gives a contradiction.
On the full quotient L2 space, evaluation is not even well-defined: zero and the indicator of the singleton {0} are the same class but have different values at zero.
These are different domain issues. Continuous representatives have meaningful point values but no L2 bound of this form; arbitrary L2 classes have no invariant literal point value. Riesz does not represent an unbounded functional or an operation that is not defined on the space.
Using a point-atomic measure changes the normed space and can control that point. It does not establish bounded evaluation for the original length-measure L2 space. An empirical sample and a continuum measure must therefore be distinguished.
The two representatives differ on a null singleton, so literal evaluation depends on the chosen representative. Integration agrees for both and is the bounded L² pairing with the constant one.
| Quantity | Exact result |
|---|---|
| L² distance between representatives | 0 |
| Point values at x=1/2 | 0 and 1 |
| Literal evaluation on the quotient | Undefined |
| Both representative integrals | 0 |
| G(f)=∫₀¹ f(x) dx | Well-defined; norm 1 |
| Equality witness for G | f=1 |
Exact inputs and supporting calculations
| Input | Exact declaration |
|---|---|
| space | Lebesgue L2([0,1]) |
| functional | value at x=1/2 |
| representatives | ["0","1_{1/2}"] |
What fails in other Banach spaces
Hilbert nearest-point geometry does not follow from Banach completeness alone. In the complete supremum-norm space c0, define F(z)=Σ_(k≥1)2^(−k)z_k. Absolute convergence gives |F(z)|≤||z||∞.
The vectors with N initial ones have norm one and F-value 1−2^(−N), so ||F||=1. Its kernel M is a closed linear subspace by continuity.
For x=e1 and every m∈M, F(x−m)=1/2, hence ||x−m||∞≥1/2. To approach this bound, set w_N=[2(1−2^(−N))]^(−1)Σ_(k=1)^N e_k and m_N=x−w_N.
Then F(w_N)=1/2, so m_N∈M, and ||x−m_N||∞=1/[2(1−2^(−N))]→1/2. Thus the distance is exactly 1/2.
If some m attained it, w=x−m would have norm 1/2 and ReF(w)=1/2. The nonnegative weighted gaps 1/2−Re(w_k) would sum to zero, forcing every Re(w_k)=1/2. Together with |w_k|≤1/2, this forces w_k=1/2 for every k, impossible in c0.
Uniqueness can fail in another Banach example. In ℝ² with the infinity norm, the distance from (0,1) to the closed x-axis is max(|t|,1) at (t,0). Every |t|≤1 attains the same minimum one.
The first example has no minimizer, while the second has many. Both ambient spaces are complete and both subspaces closed. Their norms do not have the Hilbert geometry required by the proved theorem.
The earlier nonclosed c00 example and the closed kernel in an incomplete inner-product space identify different missing hypotheses. Preserve the ambient norm, completeness and closedness when assessing an approximation claim.
Energy, approximation and model limits
For a fixed inner product, projection onto a closed trial subspace minimizes squared norm error. Its resolved and orthogonal residual components split the total squared norm by Pythagoras. The meaning of that quantity depends on the chosen measure and weight.
Take v(x)=A(1−x/L) on 0<x<L, with real A in m/s and L>0 in m. Projection onto constants requires ∫_0^L(v−c)dx=0, so c=A/2. The probability measure dx/L gives the same coefficient.
Direct integration gives total squared norm A²L/3, resolved squared norm A²L/4 and residual squared norm A²L/12. The identity 1/3=1/4+1/12 is exactly the orthogonal split. It includes negative A, and all terms are zero when A=0.
Under dx, the squared norm has unit (m/s)²m and the norm has unit (m/s)√m. Under dx/L, divide all three squared quantities by L and obtain velocity-squared units. Normalization changes the measure scale even though it leaves this projection coefficient unchanged.
For a fixed uniform line density ρ>0 in kg/m, specify the quadratic energy model E(v)=ρ∫v²dx/2. The three energy terms are ρA²L/6, ρA²L/8 and ρA²L/24, with unit kg m²/s², and the last two sum to the first.
The density is held fixed in that model. A different spatial weight changes the inner product and can change the best constant; a density or law depending on the field needs its own analysis. The projection identity is not an independent empirical validation of the chosen profile or energy law.
Computationally, a small field residual differs from a small coefficient error in a nearly dependent basis. Statistically, an empirical finite sum differs from a continuum or population measure. Point values, unresolved spikes, correlated samples and distribution change need their own assumptions.
The next operator lesson builds on these Banach and Hilbert foundations. Retain the distinctions proved here: complete versus incomplete, closed versus algebraic span, geometric projection versus coordinates, and a mathematical error estimate versus an observed scientific model.
Choose a declared case to compare norms, projections, series or bounded linear functionals. The figures display finite illustrations with their domains and units. The tables give the exact quantities and hypotheses.
Completeness and norm comparisons
Three distances on R²
For z=(a,b), the largest absolute coordinate is at most the Euclidean norm and the sum of absolute coordinates. The Euclidean norm is at most the sum because a²+b² ≤ (|a|+|b|)². For the upper factors, a²+b² ≤ 2 max(|a|,|b|)², (|a|+|b|)² ≤ 2(a²+b²) by (|a|−|b|)² ≥ 0, and |a|+|b| ≤ 2 max(|a|,|b|). The vector (1,1) attains the upper factors, and (1,0) attains the lower factor one. All three norms define complete spaces on R².
| Norm | ||x|| | ||y|| | ||x−y|| |
|---|---|---|---|
| ℓ¹ | 3 | 3 | 6 |
| ℓ² | √5 | √5 | 3√2 |
| ℓ∞ | 2 | 2 | 3 |
Exact inputs and supporting calculations
| Lower bound | Quantity | Upper bound |
|---|---|---|
| ||z||∞ | ||z||₂ | √2 ||z||∞ |
| ||z||₂ | ||z||₁ | √2 ||z||₂ |
| ||z||∞ | ||z||₁ | 2 ||z||∞ |
| Input | Exact declaration |
|---|---|
| vectors | [["2","-1"],["-1","2"]] |
| norms | ["1","2","infinity"] |
| spaces | ["R^2"] |
Complex pairings and norm geometry
Recover a complex pairing from four lengths
Use the standard coordinate inner product ⟨x,y⟩=Σ xⱼ conjugate(yⱼ), linear in the first argument. The reconstruction is [7−11+i(3−15)]/4=−1−3i.
| Vector | Squared norm |
|---|---|
| x+y | 7 |
| x−y | 11 |
| x+iy | 3 |
| x−iy | 15 |
Exact inputs and supporting calculations
| Quantity | Exact result |
|---|---|
| Pairing | −1−3i |
| Pairing magnitude | √10 |
| ||x||² | 6 |
| ||y||² | 3 |
| Product of norms | √18 |
| Cauchy–Schwarz | Strict |
| Input | Exact declaration |
|---|---|
| convention | linear in the first argument |
| vectors | [["1+i","2"],["i","-1+i"]] |
Orthogonal and convex projection
Project onto a Euclidean line
Divide the Euclidean inner product with the direction by its squared length. The orthogonal residual gives the Pythagorean split, and projecting again leaves the subspace vector fixed.
| Quantity | Exact value |
|---|---|
| Coefficient | 1 |
| Projection | (1,2) |
| Residual | (2,−1) |
| Residual dot direction | 0 |
| Distance | √5 |
| Second projection | (1,2) |
Exact inputs and supporting calculations
| Quantity | Exact value |
|---|---|
| Matrix | [[1/5,2/5],[2/5,4/5]] |
| Squared projection norm | 5 |
| Squared residual norm | 5 |
| Squared target norm | 10 |
| Input | Exact declaration |
|---|---|
| space | R^2 Euclidean |
| target | ["3","1"] |
| span | [["1","2"]] |
Gram systems and finite approximation
A nonorthogonal Gram system
The rows of the Gram system are the Euclidean inner products with the two spanning vectors. Unlike an orthonormal system, the raw right-hand-side values are not the expansion coefficients.
| Quantity | Exact result |
|---|---|
| Gram matrix | [[2,1],[1,2]] |
| Right-hand side | (3,1) |
| Determinant | 3 |
| Coefficients | (5/3,−1/3) |
| Projection | (5/3,−1/3,4/3) |
| Residual | (1/3,1/3,−1/3) |
| Pairing of residual with each basis vector | 0 and 0 |
Exact inputs and supporting calculations
| Input | Exact declaration |
|---|---|
| space | R^3 |
| vectors | [["1","0","1"],["0","1","1"]] |
| target | ["2","0","1"] |
Orthonormal series and completeness of a system
Square summability without absolute convergence
Orthogonality gives the square sum, and the decreasing positive function x^(-2) gives the strict bounds 1/(N+1) < Σ_(n>N) 1/n² < 1/N. The terms are not absolutely summable in Hilbert norm, although any ordering converges.
| N | Partial squared norm | Lower squared-tail bound | Upper squared-tail bound |
|---|---|---|---|
| 1 | 1 | 1/2 | 1 |
| 2 | 5/4 | 1/3 | 1/2 |
| 4 | 205/144 | 1/5 | 1/4 |
| 8 | 1077749/705600 | 1/9 | 1/8 |
Exact inputs and supporting calculations
| Quantity | Result |
|---|---|
| Squared limit norm | ζ(2) = π²/6 |
| Actual square tail | Σ_(n>N) 1/n² |
| Unordered convergence | Yes |
| Sum of term norms Σ 1/n | Diverges |
| Input | Exact declaration |
|---|---|
| space | ell^2 |
| system | standard unit vectors e_n, n>=1 |
| coefficient | 1/n |
| indices | [1,2,4,8] |
Representation and function classes
A complex functional and its representing vector
Under ⟨x,y⟩=Σ xⱼ conjugate(yⱼ), the second-slot coefficient must be conjugated to recover i in the functional. Cauchy–Schwarz gives the upper bound, and the displayed unit vector attains it.
| Quantity | Exact result |
|---|---|
| Representer | (−i,2) |
| Representer norm and functional norm | √5 |
| Unit maximizer | (−i,2)/√5 |
| F(g) | 5 |
| F(g/||g||) | √5 |
Exact inputs and supporting calculations
| Input | Exact declaration |
|---|---|
| space | C^2 with inner product linear in the first argument |
| functional | F(x)=i*x_1+2*x_2 |
Worked examples
A weighted complex inner product
On C² define ⟨x,y⟩=x1 conjugate(y1)+2x2 conjugate(y2), linear in the first slot. For x=(1+i,2) and y=(2−i,1+2i), compute the inner product, both norms, the Cauchy–Schwarz comparison and the exact squared norm of x−⟨x,y⟩y/||y||². State what changes if the convention is reversed.
- The weighted pairing is (1+i)(2+i)+4(1−2i)=(1+3i)+(4−8i)=5−5i. The squared norms are |1+i|²+2|2|²=10 and |2−i|²+2|1+2i|²=15.
- The squared Cauchy–Schwarz comparison is |5−5i|²=50≤10·15=150. The first-slot projection coefficient is a=⟨x,y⟩/||y||²=(1−i)/3.
- The orthogonal residual formula gives ||x−ay||²=||x||²−|⟨x,y⟩|²/||y||²=10−50/15=20/3. In particular ⟨x−ay,y⟩=0.
- Reversing the inner-product convention conjugates the displayed pairing to 5+5i. The geometric projection is unchanged, but its coefficient is then written with the slots reversed, ⟨y,x⟩/||y||². The norms and Cauchy–Schwarz comparison do not change.
⟨x, y⟩=5−5i, ||x||=√10, ||y||=√15, and the squared residual is 20/3.
Polarization and the parallelogram test
In the scalar complex Hilbert space take x=1+2i and y=3−i. Compute the four squared norms in the linear-first polarization identity and recover ⟨x,y⟩. Separately test the parallelogram law on e1,e2 in the two-dimensional 1,2 and infinity norms.
- Here x+y=4+i and x−y=−2+3i, so their squared norms are 17 and 13.
- Also iy=1+3i, giving x+iy=2+5i and x−iy=−i. Their squared norms are 29 and 1.
- Linear-first polarization gives [(17−13)+i(29−1)]/4=1+7i. Direct multiplication (1+2i)conjugate(3−i)=(1+2i)(3+i) confirms the sign.
- For e1,e2, the right side of the parallelogram law is 4 in all three norms. The left sides are 8 in the 1-norm, 4 in the 2-norm and 2 in the infinity norm. Thus the first and last cannot be induced by an inner product.
The four squared norms are 17, 13, 29 and 1, giving ⟨x, y⟩=1+7i. Only the 2-norm passes the stated parallelogram tests.
A Cauchy sequence outside its own space
In c00 with the ℓ2 norm let x_N=Σ_(k=1)^N 2^(−k)e_k. Identify its limit in ℓ2 and compute its exact ℓ2 tail norm. Explain why the same sequence has no limit in c00 even though its defining series is absolutely summable in that norm.
- Finite partial sums have the prospective coordinate limit x_k=2^(−k). This vector lies in ℓ2 because Σ_(k≥1)4^(−k)=1/3.
- The squared tail after N terms is Σ_(k>N)4^(−k)=4^(−N)/3, so ||x−x_N||2=2^(−N)/√3. The same bound makes the sequence Cauchy.
- If x_N converged in c00 to z, each coordinate would converge to z_k because a coordinate error is bounded by the ℓ2 norm. Therefore z_k=2^(−k) for every k, contradicting finite support.
- The defining series has term norms 2^(−k), whose sum is one. Its failure to converge inside c00 shows exactly why the norm-summable-series property characterizes completeness rather than holding in every normed space.
The ℓ2 limit is (2^(−k))_(k≥1), with exact tail 2^(−N)/√3. It is not in c00.
Projection onto an affine plane
In Euclidean R³ project x=(2,−1,4) onto C={(u,v,w):u+v+w=1}. Compute the closest point, residual and distance, verify the variational condition, and determine whether this affine projection is linear.
- The plane normal is n=(1,1,1). Since the coordinate sum of x is 5, subtract ((5−1)/||n||²)n=(4/3)n to reach the plane.
- This gives y=(2/3,−7/3,8/3), whose coordinate sum is one. The residual is r=(4/3,4/3,4/3), with squared norm 16/3 and distance 4/√3.
- For every z in C, the coordinate sum of z−y is zero, so ⟨r,z−y⟩=0. The variational criterion, or Pythagoras in each tangent direction, proves y is the unique closest point.
- The formula is P_Cu=u−((u1+u2+u3−1)/3)n. It sends zero to (1/3,1/3,1/3), so it is affine and fails linearity.
The closest point is (2/3, −7/3, 8/3), with residual (4/3, 4/3, 4/3) and distance 4/√3. The affine projection is not linear.
A convex projection is nonexpansive
In Euclidean R² let C be the closed nonnegative quadrant, x=(−3,4) and w=(2,−1). Find both closest points and distances, verify the variational conditions, and compare the exact squared distances ||P_Cx−P_Cw||² and ||x−w||². Test linearity.
- Coordinatewise minimization of squared Euclidean distance clamps each negative coordinate to zero. Thus the closest points are y=(0,4) and v=(2,0), with residuals (−3,0) and (0,−1).
- For any z in the quadrant, ⟨x−y,z−y⟩=−3z1≤0 and ⟨w−v,z−v⟩=−z2≤0. These are exactly the two variational inequalities.
- The projected difference is (−2,4), with squared norm 20. The original difference is (−5,5), with squared norm 50. This exact witness satisfies nonexpansiveness.
- The map is not linear: P_C(−x)=(3,0), whereas −P_Cx=(0,−4). Nonexpansiveness does not require linearity for a convex-set projection.
P_Cx=(0, 4), P_Cw=(2, 0); their distances are 3 and 1, and the compared squared distances are 20≤50.
Best linear fit to a quadratic profile
In L2([0,1],dx), find the best approximation to x² in span{1,x}. Derive and solve the Gram system, verify orthogonality of the residual, and compute its exact squared L2 error.
- For basis (1,x), the Gram matrix is [[1,1/2],[1/2,1/3]] and the data vector is (∫x²,∫x³)=(1/3,1/4). Its determinant is 1/12>0.
- Solving gives coefficients c0=−1/6 and c1=1. The candidate is y=x−1/6, with residual r=x²−x+1/6.
- Its two orthogonality checks are ∫r=1/3−1/2+1/6=0 and ∫xr=1/4−1/3+1/12=0. The closed finite-span projection theorem therefore proves best approximation and uniqueness.
- Expanding r² gives x⁴−2x³+(4/3)x²−x/3+1/36. Its integral is 1/5−1/2+4/9−1/6+1/36=1/180. Taking the square root gives 1/(6√5).
The best fit is x−1/6. Its squared error is 1/180 and its error norm is 1/(6√5).
A complex Gram matrix
In C² with the standard linear-first inner product take v1=(1,0), v2=(i,1) and x=(1+i,2−i). Form G_ij=⟨v_j,v_i⟩ and b_i=⟨x,v_i⟩, solve Gc=b, and perform Gram–Schmidt on v1,v2. Explain the role of the conjugations.
- Under the declared indexing, G12=⟨v2,v1⟩=i and G21=⟨v1,v2⟩=−i; the diagonal entries are 1 and 2. The data pairings are b1=1+i and b2=(1+i)(−i)+(2−i)=3−2i.
- The coefficient vector c1=−i,c2=2−i satisfies both rows: −i+i(2−i)=1+i and (−i)(−i)+2(2−i)=3−2i. Directly c1v1+c2v2=(1+i,2−i)=x.
- For Gram–Schmidt, e1=v1. Subtract ⟨v2,e1⟩e1=i(1,0) from v2 to obtain (0,1), already a unit vector.
- The off-diagonal conjugations follow from G_ij=⟨v_j,v_i⟩ with first-slot linearity. Using the opposite convention without changing the equations would give a different matrix and wrong coefficients; the stated convention keeps the formulas consistent.
G=[[1, i], [−i, 2]], b=(1+i, 3−2i), and c=(−i, 2−i). Gram–Schmidt gives (1, 0), (0, 1).
Unordered convergence without absolute convergence
For an orthonormal sequence (e_k) in a Hilbert space, set a_k=1/√(k(k+1)), k≥1. Prove convergence of Σ a_k e_k independently of ordering, compute the total squared norm and exact tail norm after N terms, and decide whether Σ||a_ke_k|| converges.
- The coefficient squares telescope: Σ_(k=1)^N1/(k(k+1))=1−1/(N+1), so their infinite sum is one.
- Orthogonality makes every finite squared tail the corresponding square sum. Hilbert completeness gives a norm limit, and the squared tail after the first N terms is exactly 1/(N+1).
- For any finite partial sum containing the first N indices, the omitted squared mass is at most 1/(N+1). This proves the finite-subset definition of unordered convergence, and every permutation converges to the same vector.
- Yet Σ||a_ke_k||=Σ1/√(k(k+1))≥Σ1/(k+1)=∞. Unordered vector convergence is therefore weaker than norm-absolute summability in this Hilbert example.
The unordered sum has squared norm one and exact tail norm 1/√(N+1). Its series of term norms diverges.
A closed Banach subspace without a nearest point
In c0 with the supremum norm let F(z)=Σ_(k≥1)2^(−k)z_k, M=ker F and x=e1. Determine ||F|| and distance(x,M). Use w_N=[2(1−2^(−N))]^(−1)Σ_(k=1)^N e_k to construct approximating points, and prove that the distance is not attained.
- Absolute convergence gives |F(z)|≤||z||∞Σ2^(−k)=||z||∞. The finite initial-one vectors have norm one and F-value 1−2^(−N), so ||F||=1. The kernel is closed by this continuity.
- For any m∈M, F(e1−m)=1/2, so ||e1−m||∞≥1/2. The specified w_N has F(w_N)=1/2, hence m_N=e1−w_N lies in M.
- Its error norm is ||w_N||∞=1/[2(1−2^(−N))], tending to 1/2. This proves the exact infimum.
- If m attained it, w=e1−m would have norm 1/2 and ReF(w)=1/2. The weighted nonnegative gaps 1/2−Re(w_k) must all vanish, forcing w_k=1/2 for every k, contrary to w∈c0. The ambient c0 is Banach because a uniform limit of vanishing-tail sequences again has vanishing tails.
The functional norm is one and distance(e1, M)=1/2. The distance is not attained.
The complex representing vector
On standard C² let F(x1,x2)=(2−i)x1+(1+3i)x2. Find the unique y with F(x)=⟨x,y⟩ under the linear-first convention, compute ||F||, exhibit a maximizing unit vector, and describe ker F as an orthogonal complement.
- First-slot linearity gives ⟨x,y⟩=x1 conjugate(y1)+x2 conjugate(y2). Matching coefficients requires y1=2+i and y2=1−3i.
- Its squared norm is |2+i|²+|1−3i|²=5+10=15. Cauchy–Schwarz gives ||F||≤√15.
- The vector x=y/√15 has norm one and F(x)=⟨y/√15,y⟩=√15, proving equality. Uniqueness follows by testing a difference of two proposed representing vectors against itself.
- The kernel is {x:⟨x,y⟩=0}={y}⊥. The map from F to y conjugates its scalar coefficients; it is conjugate-linear under this convention.
The representing vector is y=(2+i, 1−3i), the functional norm is √15, and y/√15 is a maximizing unit vector.
A point value is a different observation
On [−1,1] let f_δ(x)=max(1−|x|/δ,0), with 0<δ<1. Compute its squared L2 norm and its value at zero. Decide boundedness of evaluation on continuous functions with the L2 norm, and decide whether evaluation is well-defined on L2 classes.
- On each side of zero, the triangular profile contributes ∫_0^δ(1−t/δ)²dt=δ/3. The total squared L2 norm is 2δ/3.
- Its value at zero is one for every δ. If evaluation were bounded by C times the L2 norm, 1≤C√(2δ/3) would hold for every positive δ, impossible as δ tends to zero.
- On L2 classes, the zero function and the singleton indicator at zero are equal almost everywhere but have different literal values at zero. Thus evaluation is not a class function there at all.
- These are distinct failures: lack of a bound on the specified continuous domain, and lack of well-definedness on the quotient domain. Introducing a point-atomic measure changes the space instead of validating evaluation on the original one.
The squared norm is 2δ/3 while f_δ(0)=1. Evaluation is unbounded on the continuous-function L2 norm and is not well-defined on quotient L2.
A velocity profile and its resolved energy
On 0<x<L let v(x)=A(1−x/L), with real A in m/s and L>0 in m. Find its projection onto constant fields under dx and under dx/L. Compute total, resolved and residual squared norms, including A=0 and units. For fixed line density ρ>0 in kg/m, split the specified energy model E(v)=ρ∫v²dx/2 and state its modeling limits.
- Orthogonality to constants requires ∫_0^L(v−c)dx=0, giving c=A/2. Dividing the measure by L leaves the same equation and coefficient.
- Direct integration gives total squared norm A²L/3, resolved norm squared A²L/4 and residual norm squared A²L/12. The identity 1/3=1/4+1/12 is the Pythagorean split. All are zero when A=0.
- Under dx, each squared norm has unit (m/s)²m; its square root has unit (m/s)√m. Under dx/L, divide all three squared quantities by L and obtain velocity-squared units. The infinity or pointwise scale is a different quantity.
- Multiplication by the fixed ρ/2 gives total energy ρA²L/6, resolved energy ρA²L/8 and residual energy ρA²L/24, each in kg m²/s². This is a consequence of the specified uniform-density quadratic energy model, not evidence that sampling, coefficients or the physical profile law are accurate.
Both projections are the constant A/2. Under dx the three squared norms are A²L/3, A²L/4, A²L/12; the energy split is ρA²L/6=ρA²L/8+ρA²L/24.
Try it yourself
Prove that a normed space is Banach if and only if every series with summable term norms converges. Include the Cauchy-subsequence argument and the recovery of the whole sequence.
Show the answer and reasoning
Finite triangle makes absolute-series partial sums Cauchy; a summable-difference subsequence proves the converse and recovers every Cauchy sequence.
A normed space is Banach exactly when every series Σ_k g_k with Σ_k||g_k||<∞ converges in the space. This criterion concerns norm-absolute summability of vector terms. If the space is complete, its partial sums s_n are Cauchy: for m>n, ||s_m−s_n||≤Σ_(k=n+1)^m||g_k||, and these scalar tails tend uniformly to zero. Completeness gives the vector sum. Passing to the limit in the finite triangle estimate also gives the tail bound ||Σ_(k>n)g_k||≤Σ_(k>n)||g_k||. No infinite triangle rule was assumed before the limit existed. Conversely, assume that every such series converges and let (x_n) be Cauchy. Choose increasing n_k with ||x_(n_(k+1))−x_(n_k)||≤2^(−k). The series whose first term is x_(n_1) and whose later terms are these differences has finite total norm. Its partial sums telescope to the subsequence x_(n_k), so the assumed series property makes that subsequence converge to some x. Given ε>0, combine one sufficiently late subsequence error below ε/2 with the original pairwise Cauchy bound below ε/2 to get ||x_n−x||<ε for all late n. Thus the full sequence converges and the space is Banach. The summable-difference device also appeared in the Lp completeness proof; here it characterizes arbitrary normed-space completeness without any measure structure. Later, orthogonal series will give a weaker sufficient condition in Hilbert space: square-summable coefficient magnitudes can suffice even when the sum of term norms diverges. That does not contradict this characterization.
Prove the closed-subspace/completeness equivalence inside a Banach ambient space and finite-dimensional norm equivalence using the compact coefficient sphere. Handle the zero-dimensional case and explain why the same argument does not prove infinite-dimensional equivalence.
Show the answer and reasoning
A complete subspace is closed in any normed ambient space; a closed subspace is complete when the ambient space is Banach. Compact finite coefficient spheres give norm equivalence and finite-span closedness, with the zero space separate.
A subspace inherits its ambient norm. If the ambient space is Banach and the subspace M is closed, then a Cauchy sequence in M has an ambient limit, and closedness keeps that limit in M. Hence M is complete. Conversely, a complete subspace of any normed ambient space is closed, even if the ambient space itself is not complete. If x_n∈M converges ambiently to x, it is Cauchy, so it has an intrinsic limit y∈M. The ambient triangle gives ||x−y||≤||x−x_n||+||x_n−y||→0. Thus x=y∈M, proving closedness. The limit has not been allowed to differ according to the surrounding space. For the closed-implies-complete direction, ambient completeness is essential. The whole incomplete space c00 is closed in itself but not complete, as an explicit series will show. The zero subspace is closed and complete directly. The closure of a linear subspace is also linear, by continuity of sums and scalar multiples, but the original algebraic subspace need not already contain that closure. This distinction will recur in basis expansions. A finite linear combination belongs to an algebraic span; an infinite norm limit need only belong to its closed span. Those sets coincide for finite-dimensional spans, which we prove below. Every norm on a fixed finite-dimensional space is equivalent to its coordinate Euclidean norm. Let v1,…,vn be independent and T(a)=Σ_j a_jv_j. For n>0, finite triangle and finite Euclidean Cauchy–Schwarz give ||T(a)−T(b)||≤C|a−b|2, where C=(Σ_j||v_j||²)^(1/2). Therefore a↦||T(a)|| is continuous on the Euclidean coefficient unit sphere. That sphere is compact by the ordinary finite-dimensional real-analysis theorem, so the function attains a minimum c. The minimum is positive: if it were zero at a unit vector, the vectors v_j would have a nontrivial linear relation. Scaling now gives c|a|2≤||T(a)||≤C|a|2 for all a. Apply this comparison to any two norms on the same coordinate space to obtain finite positive upper and lower comparison constants. It follows that the norms have the same convergent and Cauchy sequences, although their numerical lengths differ. A norm-Cauchy sequence in the finite span has Euclidean-Cauchy coordinates by the lower bound. Coordinate completeness and the upper bound give a vector limit in the span. Hence every finite-dimensional normed space is complete, and every finite-dimensional subspace is closed in any normed ambient space. For dimension zero, the space is {0} and these conclusions are direct; no empty unit sphere is used in a minimization argument. The constants depend on the finite-dimensional setting. On c00, the vector with N initial ones has 1-norm N, 2-norm √N and infinity norm one. There are no comparison constants uniform in all N, so this argument cannot prove infinite-dimensional norm equivalence.
Derive Cauchy–Schwarz from a squared residual, with all zero cases and its exact equality condition. Prove the inner-product triangle inequality and identify its equality condition over both real and complex scalars.
Show the answer and reasoning
The squared orthogonal residual proves Cauchy–Schwarz; equality means linear dependence, including zeros. Triangle equality requires a nonnegative real multiple when both vectors are nonzero.
Cauchy–Schwarz states |⟨x,y⟩|≤||x|| ||y||. No completeness is needed. If y=0, both sides are zero, so assume y≠0 and set a=⟨x,y⟩/||y||². Expand the nonnegative residual: ||x−ay||²=||x||²−a⟨y,x⟩−conjugate(a)⟨x,y⟩+|a|²||y||²=||x||²−|⟨x,y⟩|²/||y||². Rearranging proves the inequality. Equality holds exactly when that residual is zero, or x=ay. Including the y=0 case, the precise condition is linear dependence, allowing either vector to be zero. Complex dependence alone need not be a nonnegative real multiple. For the triangle, ||x+y||²=||x||²+||y||²+2Re⟨x,y⟩≤||x||²+||y||²+2|⟨x,y⟩|≤(||x||+||y||)². Nonnegative square roots prove it. If both vectors are nonzero, equality requires both Cauchy–Schwarz equality and Re⟨x,y⟩=|⟨x,y⟩|. Thus one vector is a nonnegative real multiple of the other. If either is zero, the one-of-the-vectors formulation still applies directly. The induced expression is therefore a norm. Cauchy–Schwarz also proves pairing continuity: |⟨x−x′,y⟩|≤||x−x′|| ||y||, with the corresponding bound in the other slot. The residual formula gives an exact quantitative error, not just an upper bound. For the weighted complex example, it computes the squared residual as 20/3 after the conjugate phase and normalization have been fixed.
Prove Pythagoras and the parallelogram identity. Prove the real converse to Pythagoras, and give a complex counterexample in which the squared-norm equality holds but the vectors are not orthogonal.
Show the answer and reasoning
Expansion proves both identities. Pythagorean equality forces orthogonality over the reals but only zero real part over C; 1 and i provide the counterexample.
Vectors are orthogonal when their inner product is zero. Hermitian symmetry makes the order irrelevant. If x⊥y, expansion gives Pythagoras: ||x+y||²=||x||²+||y||². The real converse holds because the same expansion reads ||x+y||²=||x||²+||y||²+2⟨x,y⟩. Equality of the squared norms then forces the real pairing to vanish. Over ℂ, the expansion contains only 2Re⟨x,y⟩. The scalar vectors x=1 and y=i satisfy |1+i|²=2=|1|²+|i|², yet ⟨1,i⟩=−i≠0. The converse cannot be transferred unchanged to complex space. Adding the squared expansions for x+y and x−y cancels both cross terms and gives the parallelogram law: ||x+y||²+||x−y||²=2||x||²+2||y||². This identity holds for every pair in an inner-product space, whether orthogonal or not. It will force Cauchy behavior of minimizing sequences and will also distinguish inner-product norms from other complete norms. For finite orthogonal sums, repeated Pythagoras gives ||Σ_j c_je_j||²=Σ_j |c_j|² when the e_j are orthonormal. Infinite sums require a separate norm-limit argument; they are not obtained by simply writing an infinite version of this finite identity.
Prove the linear-first polarization identities and the converse parallelogram characterization. Establish real additivity and homogeneity of the reconstructed pairing, then its complex sesquilinearity; do not assume differentiability of the norm.
Show the answer and reasoning
The norm differences recover real and imaginary pairing parts. The parallelogram law makes the reconstructed real pairing additive/continuous/homogeneous and its complex version sesquilinear.
The norm of an inner-product space determines the pairing uniquely. Write Q(x)=||x||². Expanding Q(x+y)−Q(x−y) gives 4Re⟨x,y⟩. For real scalars, this already yields ⟨x,y⟩=(Q(x+y)−Q(x−y))/4. For complex scalars, it recovers only the real part. Under the first-slot convention, ⟨x,iy⟩=−i⟨x,y⟩. Therefore Q(x+iy)−Q(x−iy)=4Im⟨x,y⟩. Combining the two differences gives ⟨x,y⟩=[Q(x+y)−Q(x−y)+iQ(x+iy)−iQ(x−iy)]/4. The positive sign before the imaginary difference is fixed by the chosen convention. For the quick sign test x=i,y=1, the first difference is zero and the second is four, giving ⟨i,1⟩=i. The worked example x=1+2i,y=3−i computes all four squared norms and recovers 1+7i. This is polarization: it reconstructs an already existing inner product from its lengths. The converse question is stronger. Starting from an arbitrary norm, we must show that the reconstructed expression is additive and homogeneous before calling it an inner product. Suppose a real norm satisfies the parallelogram identity, and define B(x,y)=(Q(x+y)−Q(x−y))/4. Symmetry follows from Q(−z)=Q(z), and B(0,y)=0. Apply the parallelogram identity to (x+y,z) and (x−y,z), then subtract. The result is B(x+z,y)+B(x−z,y)=2B(x,y). Set z=x to obtain B(2x,y)=2B(x,y). Next set x=(u+v)/2 and z=(u−v)/2 in the preceding identity. It gives B(u,y)+B(v,y)=B(u+v,y), proving additivity. Additivity gives integer homogeneity, and division gives rational homogeneity. The norm is continuous by the reverse triangle, so Q and B are continuous. Approximating a real scalar by rationals gives full real homogeneity. Symmetry provides the same rule in the second slot. Finally B(x,x)=Q(x), so B is a positive-definite real inner product inducing the original norm. No differentiability of that norm was assumed. For a complex norm, first make the same construction on its underlying real vector space. Since Q(iz)=Q(z), we have B(ix,iy)=B(x,y), and hence B(ix,y)=−B(x,iy). Define H(x,y)=B(x,y)+iB(x,iy). Real bilinearity makes H additive and real-homogeneous in the first slot. The displayed relation gives H(ix,y)=iH(x,y), so it is complex-linear there. Symmetry of B gives H(y,x)=conjugate(H(x,y)). Also B(x,ix)=0 because it equals its own negative, so H(x,x)=Q(x). Thus H is positive definite and conjugate-linear in the second slot, and is a complex inner product with the original norm. We have proved the full characterization: a real or complex norm comes from an inner product exactly when it satisfies the parallelogram law. Completeness is a separate question; it was not used in either reconstruction.
Prove completeness of C([0,1]) in its supremum norm and explain the L2 Hilbert example using the earlier Lp theorem. Give full Cauchy/no-limit proofs for c00 in ℓ2 and continuous functions in an L2 norm; explain the role of closedness.
Show the answer and reasoning
Uniform Cauchy limits remain continuous, while c00 and the continuous L2 space miss their demonstrated limits. L2 classes are Hilbert by the earlier complete Lp theorem.
The preceding Lp theorem gives Banach spaces Lp(μ) for every 1≤p≤∞ on an arbitrary measure space. It uses measurable classes modulo null sets and does not require sigma-finiteness or completeness of the measure. For continuous functions on [0,1], the supremum norm gives another Banach space. A uniformly Cauchy sequence f_n has a pointwise scalar limit f, and each pairwise uniform Cauchy bound passes to that limit. Thus f_n→f uniformly. To prove continuity of f at a point, choose one f_n uniformly within ε/3 of f, then use that f_n’s continuity to make its variation less than ε/3 nearby. The triangle gives variation of f below ε. Hence the limit remains continuous and, on the compact interval, bounded. The bounded sequence space ℓ∞ is the infinity-norm counting-measure example. Its subspace c0 consists of sequences tending to zero. This subspace is closed: if x^(n)→x uniformly, choose a fixed n with ||x−x^(n)||∞<ε/2 and then a tail on which |x_k^(n)|<ε/2. There |x_k|<ε. Therefore c0 is Banach by the closed-subspace theorem. Notice the two indices: n labels an approximating sequence of vectors, while k labels a coordinate within one vector. The fixed-n tail argument controls the eventual coordinates of the limit. For L2, an inner product will produce the already complete norm. Continuous functions with an integrated norm, however, can behave differently from continuous functions with the supremum norm; the next examples show actual missing limits. Let c00 denote finitely supported sequences with the ℓ2 norm. Set x_N=Σ_(k=1)^N2^(−k)e_k. In the larger ℓ2 space the vector x=(2^(−k)) has squared norm Σ4^(−k)=1/3. The exact tail is ||x−x_N||2²=Σ_(k>N)4^(−k)=4^(−N)/3, so x_N is Cauchy. If it had a c00 norm limit z, each coordinate would tend to z_k because a coordinate error is at most the ℓ2 norm. Thus z_k=2^(−k) for every k, contradicting finite support. The series even has summable term norms Σ2^(−k)=1. Its failure to converge inside c00 is the concrete obstruction in the Banach series criterion. The missing object belongs to the completion ℓ2, but not to the original space. For C([0,1]), the expression (∫|g|²)^(1/2) is a genuine norm. If continuous g is nonzero at one point, continuity bounds |g| away from zero on a positive-length relative interval, so its squared integral is positive. It is nevertheless incomplete. Let f=1_(1/2,1] and let g_δ be zero up to 1/2−δ, increase linearly from zero to one across [1/2−δ,1/2+δ], and equal one afterwards, with 0<δ<1/2. Each of the two half-transition error integrals is δ/12, so ||g_δ−f||2²=δ/6. The integral triangle makes g_δ a Cauchy family as δ tends to zero. If a continuous g were its L2 limit, the triangle with f would give ||g−f||2=0. Points outside the exceptional null carrier can approach 1/2 from either side. Continuity would force both g(1/2)=0 and g(1/2)=1, a contradiction. Thus neither a natural formula nor a genuine norm guarantees completeness of its chosen domain. Passing to L2 classes admits the missing jump vector, while keeping continuous functions and changing to the supremum norm gives a different complete space. A Hilbert space is an inner-product space complete in the norm that its inner product induces. Finite-dimensional Euclidean and complex coordinate spaces are Hilbert, and L2(μ) is Hilbert under its integral pairing. The L2 assertion uses both parts already proved: Hölder and class invariance make the inner product meaningful, and Lp completeness at p=2 gives completeness. No sigma-finiteness or completion of μ is added. Every closed subspace of a Hilbert space is Hilbert with the restricted pairing, by the closed-subspace completeness theorem. An arbitrary nonclosed subspace may inherit the same formulas while missing limits.
Prove existence and uniqueness of a closest point to a nonempty closed convex set in a Hilbert space. Derive the variational inequality and prove nonexpansiveness. Name the separate uses of convexity, closedness and completeness.
Show the answer and reasoning
The midpoint parallelogram estimate makes a minimizing sequence Cauchy; completeness and closedness give its limit in the set. The variational inequality proves uniqueness and nonexpansiveness.
Let C be a nonempty closed convex subset of a Hilbert space, and fix x. Set d=inf_(c∈C)||x−c||. The infimum is finite because C is nonempty and each vector has finite norm. Choose y_n∈C with ||x−y_n||≤d+1/n. Convexity keeps (y_n+y_m)/2 in C, so its distance from x is at least d. The parallelogram identity now gives ||y_n−y_m||²=2||x−y_n||²+2||x−y_m||²−4||x−(y_n+y_m)/2||²≤2||x−y_n||²+2||x−y_m||²−4d². The right side tends to zero as both indices grow. Thus the minimizing sequence is Cauchy. Hilbert completeness supplies a norm limit y, and the closedness of C puts that limit in C. Norm continuity gives ||x−y||=d. Existence used convexity to make the midpoint estimate, completeness to obtain the limit, and closedness to retain it in the admissible set. If y and v both attained d, the same estimate would give ||y−v||²≤2d²+2d²−4d²=0. Hence y=v. Denote this unique point by P_Cx. The hypotheses cannot be treated as decoration. The open interval (0,1) need not attain the distance from 2. The closed nonconvex set {−1,1} has two closest points to zero. Later, a closed subspace in another Banach norm will fail existence. The map P_C is a metric projection onto a convex set. It need not be linear; its variational condition and nonexpansiveness follow next. Linear orthogonal projection is the special case of a closed subspace. The closest point y=P_Cx is characterized by Re⟨x−y,z−y⟩≤0 for every z∈C. This variational inequality also yields a stronger distance comparison. For 0<t≤1, convexity puts y+t(z−y) in C. With r=x−y and q=z−y, minimality gives ||r||²≤||r−tq||²=||r||²−2tRe⟨r,q⟩+t²||q||². Divide by t>0 and let t decrease to zero to obtain the stated sign. Conversely, if y∈C satisfies that sign, expansion gives ||x−z||²≥||x−y||²+||z−y||² for every z∈C, proving minimality and uniqueness. Let y=P_Cx and v=P_Cw. The two variational inequalities give Re⟨x−y,y−v⟩≥0 and Re⟨w−v,y−v⟩≤0. Subtracting yields ||y−v||²≤Re⟨x−w,y−v⟩. Cauchy–Schwarz bounds the right side by ||x−w|| ||y−v||. If y=v, the conclusion is immediate; otherwise divide by the positive norm to get ||P_Cx−P_Cw||≤||x−w||. Thus the projection is nonexpansive. It fixes exactly the points of C and satisfies P_C(P_Cx)=P_Cx, because an element of C has unique distance-zero minimizer itself. Linearity is not part of this convex-set theorem. Projection onto the nonnegative real half-line is max(x,0). The worked quadrant example checks both variational signs, the exact contraction comparison and a failure of linearity.
Prove orthogonal decomposition and linearity of the projection onto a closed subspace. Determine its norm for both the zero and nonzero subspace, and give a nonclosed-subspace example with distance zero but no closest point.
Show the answer and reasoning
The residual is orthogonal to the closed subspace, giving a unique linear decomposition. Projection norm is zero for {0} and one otherwise; dense nonclosed c00 has a zero distance it cannot attain.
For a closed linear subspace M, the closest-point residual is orthogonal to M. Let y=P_Mx and r=x−y. In the variational inequality, put z=y+m and z=y−m for any m∈M. The two signs force Re⟨r,m⟩=0. In a complex space, use m replaced by im and −im. Since Re⟨r,im⟩=Im⟨r,m⟩ under the first-slot convention, the imaginary part also vanishes. Hence ⟨r,m⟩=0 for every m∈M. Write M⊥ for the vectors orthogonal to every vector of M; either slot gives the same condition by conjugate symmetry. We have x=P_Mx+(x−P_Mx), with one term in M and the other in M⊥. Conversely, if y∈M and x−y∈M⊥, then for every m∈M, Pythagoras gives ||x−m||²=||x−y||²+||y−m||². Thus y is the unique closest point. The decomposition is unique because M∩M⊥={0}: a vector in the intersection is orthogonal to itself and has zero norm. Sums and scalar multiples of decompositions are still decompositions, so uniqueness proves P_M is linear over the chosen scalar field. Pythagoras gives ||P_Mx||≤||x||. If M≠{0}, equality on any nonzero vector of M makes the projection’s operator norm sup_(||x||≤1)||P_Mx|| equal one. If M={0}, the projection is zero and its norm is zero. The projection is idempotent, and I−P_M is the projection onto M⊥. Their two components have squared norms summing to ||x||². These facts follow from the decomposition rather than from an assumed matrix formula. Closedness is necessary for this full-space assertion. Inside ℓ2, the nonclosed subspace c00 has distance zero from x=(2^(−k)), by finite truncations, but no closest point: attaining zero would require the missing vector itself.
For a linear subspace M of a Hilbert space, prove (M⊥)⊥=closure(M) and the density criterion. In c00 with its ℓ2 inner product, take M={x:Σ2^(−k)x_k=0}; prove M is closed and proper but M⊥={0}, and explain the missing Hilbert hypothesis.
Show the answer and reasoning
Projection onto closure(M) proves the double-orthogonal identity in Hilbert space. The explicit closed kernel in incomplete c00 has trivial complement but is proper, so completeness matters.
The orthogonal complement of any subset is a linear closed subspace. Linearity follows from the slot rules; closedness follows from Cauchy–Schwarz continuity of each pairing. Orthogonality to a subspace is equivalent to orthogonality to its closure. Let M now be a subspace of a Hilbert space. Its closure lies in (M⊥)⊥, because every approximating vector is orthogonal to M⊥ and the pairing is continuous. For x∈(M⊥)⊥, decompose x=u+r with u∈closure(M) and r∈M⊥. Since x and u both belong to the double complement, so does r. It is therefore orthogonal to itself and must vanish. This proves (M⊥)⊥=closure(M). In particular M is dense exactly when M⊥={0}. A closed span can thus be tested by whether it misses a nonzero orthogonal direction. Hilbert completeness is material. Consider the incomplete inner-product space c00 with its ℓ2 norm, and the functional F(x)=Σ_k2^(−k)x_k. Each sum is finite on c00, and finite Cauchy–Schwarz gives |F(x)|≤(1/√3)||x||2. Its kernel M is closed in this ambient c00, and is proper because F(e1)=1/2. Every e_k−2e_(k+1) belongs to M. If y∈c00 is orthogonal to M, those vectors give conjugate(y_k)−2conjugate(y_(k+1))=0 for every k. Finite support forces the last possible nonzero coordinate to vanish, and then all preceding ones vanish. Thus M⊥={0}. Nevertheless closure(M)=M is proper, while (M⊥)⊥ is all of c00. The Hilbert double-complement and density conclusion fails in this incomplete ambient space. This is different from treating c00 as a nonclosed subspace of ℓ2. Here the kernel is closed in its own incomplete ambient space. Keeping those two ambient spaces distinct identifies the actual missing hypothesis.
Prove finite Bessel and best approximation, derive the linear-first Gram equations, and distinguish uniqueness of a projected vector from uniqueness of dependent-basis coefficients. For v1=(1,0),v2=(i,η),η>0, compute the coefficient change caused by data perturbation (0,η) and explain why large coefficient amplification does not make the orthogonal projection expansive.
Show the answer and reasoning
Finite orthogonality gives the exact residual identity and Gram equations. For v2=(i,η), the perturbation changes coefficients by (−i,1), with amplification √2/η although the projection is the identity.
Let e1,…,en be orthonormal. Finite expansion gives ||Σ_j c_je_j||²=Σ_(j,k)c_j conjugate(c_k)⟨e_j,e_k⟩=Σ_j|c_j|². For a given x, set p=Σ_j⟨x,e_j⟩e_j. Pairing x−p with each e_i gives zero, so the residual is orthogonal to their span. For any y in that span, Pythagoras gives ||x−y||²=||x−p||²+||p−y||². Therefore p is the unique best approximation, and the exact residual identity is ||x−p||²=||x||²−Σ_j|⟨x,e_j⟩|². Nonnegativity yields finite Bessel: Σ_j|⟨x,e_j⟩|²≤||x||². Every calculation was finite, so no completeness hypothesis was needed for this particular construction. The empty orthonormal list has span {0}, projection zero and coefficient sum zero. It fits the same formulas directly. For an arbitrary orthonormal family, define the coefficient square sum as the supremum over finite subsets. Each finite Bessel bound then gives the same upper bound for that supremum. Infinite vector expansions still need the convergence argument below. The quadratic-profile worked example computes the exact best approximation and residual energy. Its finite coefficient calculation can be done in a nonorthogonal basis as well, provided the Gram equations use the correct complex convention. Take a finite spanning list v1,…,vn and seek y=Σ_j c_jv_j with residual orthogonal to its span. Pairing the residual with v_i gives Σ_j c_j⟨v_j,v_i⟩=⟨x,v_i⟩. Thus the first-slot convention gives G_ij=⟨v_j,v_i⟩, b_i=⟨x,v_i⟩ and Gc=b. The conjugate placement is determined by the convention, rather than by an interchangeable row notation. The Gram matrix is Hermitian. Its quadratic form conjugate(c)^T Gc equals ||Σ_j c_jv_j||². If the list is independent, this is positive for every nonzero c, so G is invertible and the coefficients are unique. If the list is dependent, G is singular. The finite span is still closed and has a unique projected vector. Every coefficient representation of that vector solves the Gram equations, and any solution gives the same orthogonal residual. Coefficient vectors can differ by a representation-kernel vector. For v1=(1,0),v2=(i,1), the matrix is [[1,i],[−i,2]]. The worked example solves its complex data equations and verifies the reconstructed vector directly. A nearly dependent basis can amplify coefficient errors. For v2=(i,η) with η>0, G=[[1,i],[−i,1+η²]], with determinant η². For data x=(1,1), the coefficients are c2=1/η and c1=1−i/η. Perturb the data by (0,η). The coefficient change is (−i,1), with norm √2, although the data change has norm η. The amplification ratio √2/η becomes large as η decreases. For every positive η, the span is all of ℂ² and its orthogonal projection is the identity. The sensitivity here belongs to the coefficients in the chosen basis; it does not make that geometric projection expansive. At η=0 the rank changes and the span is only the first coordinate axis. That is a separate dependent case, not a justification for silently replacing a small positive η by zero or for claiming the same full-span approximation.
Prove the finite Gram–Schmidt construction and its extension from a countable dense list. Skip zero/dependent remainders, treat finite-dimensional termination and the zero Hilbert space, and justify totality.
Show the answer and reasoning
Subtract each finite orthogonal component and normalize only nonzero remainders. A countable dense list gives totality, with zero/dependent inputs skipped and finite/empty termination retained.
Gram–Schmidt constructs an orthonormal list from a finite input list. Suppose e1,…,er have already been retained. For the next input a_j, form q=a_j−Σ_(k=1)^r⟨a_j,e_k⟩e_k. The finite projection calculation proves q is orthogonal to every retained e_k. If q=0, the new input already lies in their span and is skipped. If q≠0, append e_(r+1)=q/||q||. Induction shows that the span of the retained orthonormal list is exactly the span of all inputs processed so far. Independent input vectors therefore produce an orthonormal basis of their finite span. The zero input and a dependent remainder require a branch, rather than division by a zero norm. In the zero space the result is the empty list. A finite-dimensional space can make a countable input process terminate after finitely many nonzero remainders. For v1=(1,0) and v2=(i,1), the first vector is already unit, and subtraction of ⟨v2,v1⟩v1=i(1,0) leaves (0,1). This checks the first-slot coefficient explicitly. The theorem uses exact dependence. Numerical implementations need a separate treatment of small residuals and rounding; the exact construction alone does not promise that one floating-point pass produces a stable orthonormal basis. A Hilbert space is separable exactly when it has a finite or countable orthonormal basis, allowing the empty basis for the zero space. Given a countable dense list a1,a2,…, process its inputs by Gram–Schmidt, skipping zero remainders. Every a_j enters the span after its own finite processing stage, so the closed span of the retained family contains the dense list and is the whole space. If only finitely many nonzero remainders occur, that finite span already contains the whole dense list and, being closed, equals the space. Otherwise the retained list is countably infinite. If the space is zero, every input is skipped. Conversely, finite combinations of basis vectors with rational real coefficients, or rational real and imaginary parts, form a countable set. Norm partial-sum approximation followed by approximation of finitely many coefficients proves this set is dense.
Prove convergence and norm equality for square-summable coefficients of a countable orthonormal system. Show that its series projects onto the closed span, and prove precisely when Parseval holds for every vector.
Show the answer and reasoning
Square-sum tails are exactly squared vector-norm tails. Their Hilbert limit is the closed-span projection, and full Parseval holds exactly for a total system.
Let (e_k) be a countable orthonormal system in a Hilbert space. A coefficient series Σ_k a_ke_k converges in norm exactly when Σ_k|a_k|²<∞. For sufficiency, the squared norm of a partial-sum difference is exactly the corresponding coefficient square tail. Those tails tend to zero, so the partial sums are Cauchy and Hilbert completeness gives a limit y. Passing to the norm limit in the finite identity gives ||y||²=Σ_k|a_k|². Pairing continuity gives ⟨y,e_j⟩=a_j for every j. For necessity, a convergent partial-sum sequence has bounded norms. The increasing finite square sums are therefore bounded and have a finite limit, proving square summability. For any x, Bessel makes its coefficients ⟨x,e_k⟩ square-summable. Let y be their vector sum. It belongs to the closed span, and pairing continuity makes x−y orthogonal to each e_k, hence to that closed span. Therefore y is exactly the projection onto the closed span. This conclusion does not require the system to be total in the whole Hilbert space. Every square-summable coefficient sequence gives one such vector, and its coefficients are recovered uniquely. Thus the closed span is isometric to the corresponding ℓ2 coefficient space. The completeness in this step supplies vector limits, not a formal license to sum arbitrary coefficients. An orthonormal system is total when its closed linear span is the whole Hilbert space. It is then called an orthonormal basis. The word basis here allows norm-convergent expansions and is not the same as an algebraic basis of finite combinations. For a total countable system, the preceding projection is x itself: x=Σ_k⟨x,e_k⟩e_k. Its norm identity becomes Parseval: ||x||²=Σ_k|⟨x,e_k⟩|². Conversely, if this norm equality holds for every x, the orthogonal residual from the closed span has zero norm for every x. The span is therefore dense and the system is total. For a single x, the same equality says only that this x belongs to that closed span. Pairing the norm expansion of x with z and using continuity gives ⟨x,z⟩=Σ_k⟨x,e_k⟩conjugate(⟨z,e_k⟩). The scalar series is absolutely convergent by Cauchy–Schwarz for the two square-summable coefficient sequences. Orthogonality alone does not imply totality. The even coordinate vectors in ℓ2 form an orthonormal system but miss every odd coordinate direction. Their expansion produces a projection, not every original vector. Likewise a finite trigonometric calculation can prove orthogonality and finite best approximation without proving a full Fourier basis theorem. Completeness of that particular system requires a separate density argument, which is not imported here from an unread later chapter.
Define arbitrary-index unordered sums through finite subsets. Prove countable support of a square-summable coefficient family, unordered orthonormal convergence and the ℓ2(I) identification. Explain why unordered vector convergence need not be norm-absolute convergence.
Show the answer and reasoning
A finite square supremum gives countable support and a uniform finite-subset tail bound. The resulting map is isometric to ℓ2(I); the telescoping-coefficient example is unordered-convergent but not norm-absolutely summable.
Let (e_k) be a countable orthonormal system in a Hilbert space. A coefficient series Σ_k a_ke_k converges in norm exactly when Σ_k|a_k|²<∞. For sufficiency, the squared norm of a partial-sum difference is exactly the corresponding coefficient square tail. Those tails tend to zero, so the partial sums are Cauchy and Hilbert completeness gives a limit y. Passing to the norm limit in the finite identity gives ||y||²=Σ_k|a_k|². Pairing continuity gives ⟨y,e_j⟩=a_j for every j. For necessity, a convergent partial-sum sequence has bounded norms. The increasing finite square sums are therefore bounded and have a finite limit, proving square summability. A general orthonormal family may have an arbitrary index set I. Define Σ_(i∈I)|a_i|² as the supremum of its finite partial sums. This nonnegative square sum makes sense without choosing an order. If the supremum S is finite, the set {|a_i|>1/n} is finite for every positive integer n; otherwise finite subsets would have arbitrarily large square sums. Every nonzero coefficient belongs to one of these sets, so the support is countable. For unordered vector convergence, require one vector y such that for every ε>0 there is finite F⊂I with ||y−Σ_(i∈F′)a_ie_i||<ε for every finite F′ containing F. The quantifier includes all larger finite subsets, not one selected enumeration alone. Choose finite F with Σ_F|a_i|²>S−ε². Every disjoint finite remainder has square sum at most ε², because its union with F has sum at most S. The finite orthogonal norm identity gives the same uniform vector-tail bound. Enumerate the countable support and use the countable series theorem to obtain y. For any finite F′ containing the chosen core F, the omitted coefficient square mass is at most ε². Passing through the countable tail estimate proves the literal unordered convergence condition. Conversely, unordered convergence bounds the norms of finite sums containing one fixed finite core. Adjoin that core to any other finite set and use nonnegativity of the coefficient squares to bound all finite square sums. Thus their supremum is finite. The squared norm of the sum is S. Norm-absolute convergence is stronger. For a_k=1/√(k(k+1)), the squares telescope to one and the exact tail norm after N terms is 1/√(N+1). Yet Σ|a_k|≥Σ1/(k+1)=∞. This series converges unordered in Hilbert space without a summable series of term norms. For a total arbitrary family, Bessel supplies each vector’s square-summable coefficient family and its unordered expansion. The coefficient map is an isometry onto ℓ2(I); surjectivity is the orthonormal-series construction, with countable support for each individual vector. For uncountable I, ℓ2(I) has the uncountable separated coordinate family (e_i), so it is nonseparable. Every individual vector still has countable support by the finite-square-supremum argument. Countability of one support does not make the entire space countable-dimensional. It is complete: a Cauchy sequence of vectors has supports whose countable union is countable. Work in the ordinary complete ℓ2 space on that union to obtain its limit, then extend by zero outside it. General Hilbert spaces therefore require the arbitrary-index basis argument next.
Prove that a Hilbert space is separable exactly when it has a finite or countable orthonormal basis, allowing the empty basis. Show that ℓ2(I) for uncountable I is nonseparable even though every individual vector has countable support.
Show the answer and reasoning
Gram–Schmidt and rational finite combinations prove the equivalence. An uncountable coordinate family in ℓ2(I) is separated although each individual vector has countable support.
A Hilbert space is separable exactly when it has a finite or countable orthonormal basis, allowing the empty basis for the zero space. Given a countable dense list a1,a2,…, process its inputs by Gram–Schmidt, skipping zero remainders. Every a_j enters the span after its own finite processing stage, so the closed span of the retained family contains the dense list and is the whole space. If only finitely many nonzero remainders occur, that finite span already contains the whole dense list and, being closed, equals the space. Otherwise the retained list is countably infinite. If the space is zero, every input is skipped. Conversely, finite combinations of basis vectors with rational real coefficients, or rational real and imaginary parts, form a countable set. Norm partial-sum approximation followed by approximation of finitely many coefficients proves this set is dense. In a separable Hilbert space, every orthonormal family is countable. Its unit vectors have mutual distance √2, and disjoint balls of radius less than √2/2 each require a different point of a countable dense set. For uncountable I, ℓ2(I) has the uncountable separated coordinate family (e_i), so it is nonseparable. Every individual vector still has countable support by the finite-square-supremum argument. Countability of one support does not make the entire space countable-dimensional. It is complete: a Cauchy sequence of vectors has supports whose countable union is countable. Work in the ordinary complete ℓ2 space on that union to obtain its limit, then extend by zero outside it. General Hilbert spaces therefore require the arbitrary-index basis argument next.
Assuming Zorn’s lemma, prove that every Hilbert space has an orthonormal basis. Check chain upper bounds including the empty chain, then use orthogonal projection to show maximality implies totality. State the Choice dependence.
Show the answer and reasoning
Chain unions are orthonormal upper bounds; Zorn supplies a maximal family, and a nonzero orthogonal residual would enlarge it. The Choice principle and empty cases are explicit.
For a general Hilbert space, assume Zorn’s lemma: a nonempty partially ordered set in which every chain has an upper bound has a maximal element. This is an explicit use of a Choice principle. Order all orthonormal subsets of H by inclusion. The collection is nonempty because it contains the empty set. For a chain of such subsets, take their union L. Every vector in L has norm one. Any two distinct vectors in L occur in two chain members, one of which contains the other, so they occur together in an orthonormal member and are orthogonal. Thus L is an upper bound in the same collection. The empty chain also has an upper bound, for example the empty orthonormal subset. Zorn therefore supplies a maximal orthonormal subset Γ. If its closed span M were proper, choose z outside M and use closed-subspace projection. The nonzero residual r=z−P_Mz is orthogonal to M, so adjoining r/||r|| would strictly enlarge Γ. This contradicts maximality. Hence Γ is total and is an orthonormal basis. Conversely, a total family cannot be enlarged by an orthogonal unit vector, because any vector orthogonal to its closed span is zero. This proves general existence without claiming a countable algorithm or a countable basis. In the zero Hilbert space, the empty family is already maximal and total. The arbitrary-index square-sum and unordered-expansion results apply to the resulting basis.
Prove the Hilbert Riesz representation theorem from closed-kernel projection for bounded linear functionals. Include the zero functional, norm, uniqueness and conjugate-linearity of the representing-vector map. Distinguish this result from an assertion that every Banach space is self-dual.
Show the answer and reasoning
A nonzero bounded functional has a closed kernel; its orthogonal residual gives the unique conjugated representing vector with equal norm. The zero functional is direct and general Banach self-duality is not implied.
For a fixed y in a Hilbert space, F_y(x)=⟨x,y⟩ is a bounded linear functional. Here bounded means |F_y(x)|≤C||x|| for a finite constant C. Cauchy–Schwarz gives C=||y||, and the unit test x=y/||y|| gives equality in the functional norm when y≠0. The Hilbert Riesz theorem states that every bounded linear functional F has a unique representing vector y with F(x)=⟨x,y⟩ and ||F||=||y||. We prove it from projection, without choosing a basis. If F=0, take y=0. Otherwise, its bound makes F continuous and M=ker F a closed proper subspace. Choose z with Fz≠0 and put u=z−P_Mz. Then u⊥M, u≠0 and Fu=Fz≠0. For every x, the vector x−(Fx/Fu)u belongs to M. Pairing with u gives ⟨x,u⟩=(Fx/Fu)||u||². Set y=conjugate(Fu)u/||u||². Conjugate homogeneity in the second slot now gives ⟨x,y⟩=(Fu/||u||²)⟨x,u⟩=Fx. All divisors are positive norms or the already nonzero scalar Fu. If y and y′ both represented F, then ⟨x,y−y′⟩=0 for every x. Testing x=y−y′ gives y=y′. Cauchy–Schwarz gives ||F||≤||y||, and if y≠0, the test y/||y|| gives the reverse bound. The zero case has both norms zero. The representing-vector map is additive but conjugate-linear: cF is represented by conjugate(c)y. This is dictated by the first-slot convention. The complex worked example checks the conjugated coefficients and maximizing unit vector explicitly. This is a special Hilbert theorem. It does not say that every Banach space is self-dual or that all Banach functionals are integral pairings. General duals, operators and spectral results retain their later lesson. The proof above also did not need a countable basis or a sigma-finite measure.
Give a complete closed-Banach-subspace example in which a nearest point does not exist, and a finite-dimensional Banach example in which nearest points are not unique. Explain why neither contradicts the Hilbert theorem or the simpler failure for a nonclosed subspace.
Show the answer and reasoning
The closed c0 kernel has distance 1/2 not attained; the infinity-norm x-axis has many closest points to (0,1). Closedness alone in a Banach space does not supply Hilbert nearest-point geometry.
The bounded sequence space ℓ∞ is the infinity-norm counting-measure example. Its subspace c0 consists of sequences tending to zero. This subspace is closed: if x^(n)→x uniformly, choose a fixed n with ||x−x^(n)||∞<ε/2 and then a tail on which |x_k^(n)|<ε/2. There |x_k|<ε. Therefore c0 is Banach by the closed-subspace theorem. Notice the two indices: n labels an approximating sequence of vectors, while k labels a coordinate within one vector. The fixed-n tail argument controls the eventual coordinates of the limit. Hilbert nearest-point geometry does not follow from Banach completeness alone. In the complete supremum-norm space c0, define F(z)=Σ_(k≥1)2^(−k)z_k. Absolute convergence gives |F(z)|≤||z||∞. The vectors with N initial ones have norm one and F-value 1−2^(−N), so ||F||=1. Its kernel M is a closed linear subspace by continuity. For x=e1 and every m∈M, F(x−m)=1/2, hence ||x−m||∞≥1/2. To approach this bound, set w_N=[2(1−2^(−N))]^(−1)Σ_(k=1)^N e_k and m_N=x−w_N. Then F(w_N)=1/2, so m_N∈M, and ||x−m_N||∞=1/[2(1−2^(−N))]→1/2. Thus the distance is exactly 1/2. If some m attained it, w=x−m would have norm 1/2 and ReF(w)=1/2. The nonnegative weighted gaps 1/2−Re(w_k) would sum to zero, forcing every Re(w_k)=1/2. Together with |w_k|≤1/2, this forces w_k=1/2 for every k, impossible in c0. Uniqueness can fail in another Banach example. In ℝ² with the infinity norm, the distance from (0,1) to the closed x-axis is max(|t|,1) at (t,0). Every |t|≤1 attains the same minimum one. The first example has no minimizer, while the second has many. Both ambient spaces are complete and both subspaces closed. Their norms do not have the Hilbert geometry required by the proved theorem. The earlier nonclosed c00 example and the closed kernel in an incomplete inner-product space identify different missing hypotheses. Preserve the ambient norm, completeness and closedness when assessing an approximation claim. Closedness is necessary for this full-space assertion. Inside ℓ2, the nonclosed subspace c00 has distance zero from x=(2^(−k)), by finite truncations, but no closest point: attaining zero would require the missing vector itself.
Derive the physical-unit and normalized-measure energy split for the linear velocity profile projected onto constants. Distinguish its norm estimate from point evaluation, sampling accuracy, coefficient stability and validation of the assumed physical model.
Show the answer and reasoning
The constant coefficient is A/2; integrate the total and residual squares, then rescale the measure and apply the stated density weight. Point observation, sampling, coefficient sensitivity and empirical model validity remain separate.
For a fixed inner product, projection onto a closed trial subspace minimizes squared norm error. Its resolved and orthogonal residual components split the total squared norm by Pythagoras. The meaning of that quantity depends on the chosen measure and weight. Take v(x)=A(1−x/L) on 0<x<L, with real A in m/s and L>0 in m. Projection onto constants requires ∫_0^L(v−c)dx=0, so c=A/2. The probability measure dx/L gives the same coefficient. Direct integration gives total squared norm A²L/3, resolved squared norm A²L/4 and residual squared norm A²L/12. The identity 1/3=1/4+1/12 is exactly the orthogonal split. It includes negative A, and all terms are zero when A=0. Under dx, the squared norm has unit (m/s)²m and the norm has unit (m/s)√m. Under dx/L, divide all three squared quantities by L and obtain velocity-squared units. Normalization changes the measure scale even though it leaves this projection coefficient unchanged. For a fixed uniform line density ρ>0 in kg/m, specify the quadratic energy model E(v)=ρ∫v²dx/2. The three energy terms are ρA²L/6, ρA²L/8 and ρA²L/24, with unit kg m²/s², and the last two sum to the first. The density is held fixed in that model. A different spatial weight changes the inner product and can change the best constant; a density or law depending on the field needs its own analysis. The projection identity is not an independent empirical validation of the chosen profile or energy law. Computationally, a small field residual differs from a small coefficient error in a nearly dependent basis. Statistically, an empirical finite sum differs from a continuum or population measure. Point values, unresolved spikes, correlated samples and distribution change need their own assumptions. The next operator lesson builds on these Banach and Hilbert foundations. Retain the distinctions proved here: complete versus incomplete, closed versus algebraic span, geometric projection versus coordinates, and a mathematical error estimate versus an observed scientific model. A point observation can be a different mathematical object from an integral-error class. On [−1,1], take f_δ(x)=max(1−|x|/δ,0), with 0<δ<1. Each triangular half has squared integral ∫_0^δ(1−t/δ)²dt=δ/3, so ||f_δ||2²=2δ/3. Yet f_δ(0)=1 for every δ. If evaluation at zero were bounded on continuous functions with their L2 norm, a fixed C would satisfy 1≤C√(2δ/3) for every δ. Letting δ tend to zero gives a contradiction. On the full quotient L2 space, evaluation is not even well-defined: zero and the indicator of the singleton {0} are the same class but have different values at zero. These are different domain issues. Continuous representatives have meaningful point values but no L2 bound of this form; arbitrary L2 classes have no invariant literal point value. Riesz does not represent an unbounded functional or an operation that is not defined on the space. Using a point-atomic measure changes the normed space and can control that point. It does not establish bounded evaluation for the original length-measure L2 space. An empirical sample and a continuum measure must therefore be distinguished. A nearly dependent basis can amplify coefficient errors. For v2=(i,η) with η>0, G=[[1,i],[−i,1+η²]], with determinant η². For data x=(1,1), the coefficients are c2=1/η and c1=1−i/η. Perturb the data by (0,η). The coefficient change is (−i,1), with norm √2, although the data change has norm η. The amplification ratio √2/η becomes large as η decreases. For every positive η, the span is all of ℂ² and its orthogonal projection is the identity. The sensitivity here belongs to the coefficients in the chosen basis; it does not make that geometric projection expansive. At η=0 the rank changes and the span is only the first coordinate axis. That is a separate dependent case, not a justification for silently replacing a small positive η by zero or for claiming the same full-span approximation.
What to carry forward
- Completeness depends on the specified norm. Closed subspaces of a Banach space are complete, while incomplete natural spaces can miss the limits of Cauchy sequences.
- An inner product determines a norm and is recovered by polarization. The parallelogram law characterizes such norms; a general Banach norm need not satisfy it.
- Hilbert completeness and convex geometry give unique nearest points to nonempty closed convex sets. Closed-subspace projections are linear orthogonal decompositions.
- Finite orthonormal approximations minimize norm error. A nonorthogonal Gram system describes the same projected vector, but its coefficients can be sensitive to the basis.
- Square-summable orthonormal coefficients give norm and unordered convergence. Parseval requires totality; general Hilbert bases can be uncountable and their existence uses an explicit Choice principle.
- Hilbert Riesz representation respects the chosen complex convention. Point evaluation, empirical sampling, physical units and model validity require their own domain and assumptions.
References
Sources for the concepts and teaching approaches in this article.