That is, what are some good examples of vector spaces which are inner product spaces but in which not every Cauchy sequence converges?
3 Answers
Any non-closed subspace of a Hilbert space will do. For example, the linear span of a Hilbert basis of an infinite-dimensional Hilbert space.
For an explicit example, take $H = \ell^2(\mathbb{R})$, the vector space of square summable sequences of real numbers with pointwise operations and inner product $$\Bigl\langle \{a_n\},\{b_n\}\Bigr\rangle = \sum_{k=1}^{\infty} a_kb_k.$$ Let $\mathbf{e}_i$ be the sequence that has a $1$ in the $i$th coordinate and $0$s elsewhere. Then $\{\mathbf{e}_i\mid i\in\mathbb{N}\}$ is a Hilbert basis for $H$, and its linear span (the vector space of all almost null sequences) is an inner product space that is not complete.

- 398,050
-
1Why is this space not complete? What makes it not complete? – Dapianoman Aug 10 '17 at 08:19
-
1@Dapianoman: The obvious thing: there are Cauchy sequences that do not converge. E.g., the sequence ${\mathbf{x}k}$ with $\mathbf{x}_n = \sum{i=1}^n \frac{1}{i}\mathbf{e}_i$. Verify that you can make $\lVert \mathbf{x}_n - \mathbf{x}_m\rVert^2$ as small as you want; however, its limit does not lie in the span of the $\mathbf{e}_i$. – Arturo Magidin Aug 10 '17 at 17:03
-
So how would you make this space complete? Could you take a different kind of span? Thanks – Dapianoman Aug 11 '17 at 04:49
-
1It's a Hilbert basis, so the completion is the entire space $\ell^2(\mathbb{R})$. Linear spans just don't do it in Hilbert spaces. You take the closure of the linear span. – Arturo Magidin Aug 11 '17 at 07:16
-
@ArturoMagidin What is the difference between linear spans and the closure of linear span? – MoneyBall May 08 '21 at 23:57
-
1@MoneyBall: The linear span contains the finite linear combinations of the elements; the closure of the linear span also contains limits of sequences of elements in the linear span, which need not be linear combinations themselves. E.g., the $\mathbb{Q}$-linear span of $1$ in $\mathbb{R}$ is $\mathbb{Q}$, but the closure of the linear span is all of $\mathbb{R}$. – Arturo Magidin May 09 '21 at 00:14
-
@ArturoMagidin Hmm, in the above example where you have the sequence ${x_k}$ with $x_n = \sum_{i=1}^n {1 \over i} e_i$, the limit is an infinitely many linear combinations of $e_i$. Is that why the limit does not lie in the span of $e_i$? – MoneyBall May 09 '21 at 00:27
-
1@MoneyBall: There is not such gthing as “infinitely many linear combination”. Linear combinations are, by definition, finite. – Arturo Magidin May 09 '21 at 00:40
-
Is there any such thing as a closed, but not complete, subspace in a hilbert space? – william_grisaitis Mar 16 '23 at 20:24
-
1@william_grisaitis: closed requires that the limit of any sequence of vectors in the subspace, if it exists, be in the subspace; complete requires that every Cauchy sequence have a limit. If $H$ is a Hilbert space (and therefore complete), and $W$ is a closed subspace, then every Cauchy sequence of elements of $W$ has a limit in $H$, and because $W$ is closed this limit has to be in $W$. So then $W$ is itself complete. – Arturo Magidin Mar 16 '23 at 20:51
-
thank you so much @ArturoMagidin – william_grisaitis Mar 16 '23 at 20:53
Lots of natural subspaces of Hilbert spaces aren't Hilbert spaces (which is the same thing as saying they're not closed). Two examples that come to mind are the subspace of sequences in $\ell^2(\mathbb{Z})$ at most finitely many terms of which are nonzero (the compactly supported sequences) and the continuous functions $C([0, 1])$ under the $L^2$-norm. (Note that you don't have to quotient out by anything here because it's already true that a continuous function with zero $L^2$-norm is identically zero.)

- 419,620
-
Can you give an example on a nonconvergent Cacuhy sequence of continuous functions on $C([0,1])$? – Gadi A May 18 '11 at 07:39
-
3@Gadi A: The sequence of continuous functions given by $u_n (x) = max( (2 x)^n, 1)$ is a Cauchy sequence in $L^2$, but converges in $L^2$ norm to the non-continuous function that is 0 on (0, 1/2), and 1 on (1/2, 1). – Michael Ulm May 18 '11 at 07:51
-
-
2@gary: no. In $L^2$ it just converges to the (equivalence class of the) zero function. – Qiaochu Yuan May 19 '11 at 06:47
-
A slightly different example than already mentioned would be a (sub-) vector space over the rationals. You can take any real or complex Hilbert space, for example, and consider the linear subspace over the rational numbers.
Edit: Sorry for the confusion: It would seem that "inner product space" is usually defined to be over the real or complex numbers, although the definition also works if one uses the rational numbers instead (or any other normed field). So, strictly speaking, the restriction of the ground field to the rational numbers is not an example of an inner product space that is incomplete.

- 60,406

- 5,230
-
1This won't be a (real or complex) inner product space. I've never heard of anyone considering inner product spaces over $\mathbb{Q}$. – Qiaochu Yuan May 18 '11 at 08:19
-
1Tim: strictly speaking, there is no meaning to "the linear subspace over Q" of a Hilbert space since there is no one "linear subspace over Q". The construction depends on a choice of basis. – KCd May 18 '11 at 08:51
-
1Qiaochu: Perhaps the term "inner product space" is usually applied over R or C, but vector spaces over other fields with nondegenerate bilinear forms on them (perhaps pos. definite) definitely get used when you study quadratic forms over different fields. – KCd May 18 '11 at 08:52
-
1@Qiaochu: Also for me, when I hear "incomplete" my mind turns to the rationals. It seems $\mathbb{Q}^n$ satisfies the axioms of an inner product space with the inner product inherited from $\mathbb{R}^n$, though Wikipedia demands that the field be $\mathbb{R}$ or $\mathbb{C}$. – Ross Millikan May 18 '11 at 13:44
-
@KCd: sure, but in my experience the particular term "inner product space" refers to one over $\mathbb{R}$ or $\mathbb{C}$ (maybe over $\mathbb{H}$). – Qiaochu Yuan May 18 '11 at 13:46
-
Can't we just use any $L^p$ space for p not 2? All these spaces have an inner-product defined on them, but only in $L^2$ the norm is generated by the inner-product. – gary May 19 '11 at 06:39