I understand the main principles of Cauchy sequences and metric spaces, but I have a particular question about determining whether or not a space is a complete space. If a space has all cauchy sequences converge to a point contained within that space, then it is a complete space.
My question is: How do you determine if there is a cauchy sequence that doesn't converge?
I realize this is a rather vague question, so let me clarify a bit using an example, and you can just provide an answer to this particular example. For the space containing all real numbers $\mathbb R^1$, if our space is defined as the interval $(0,1)$ then it is not a complete space since there is a Cauchy sequence $x_n = \frac{1}{n}$ for which the limit converges to $0$, which is not contained in the space.
- How did they come up with this sequence $x_n = \frac{1}{n}$? Is it just from experience working in the field of complete spaces and you start recognizing things like this? Or is there a more formal way to find it?
- For that sequence, if $n \le 1 $ then $x_n$ is not in the given space. Do we need to specify that $n \gt 1$ when defining the sequence?
Thanks! If you can answer those two bullet points I think I'd understand this a bit more thoroughly =).
In my experience, coming up with counterexamples is something of an art, and sometimes much more difficult than proving a theorem! As you seem to agree, when proving theorems and solving problems, there is often some vague direction as to where you need to go; however, with these counterexamples, there does not usually seem like there is a well-defined route!
But this does not mean that counterexamples come out of nowhere. Instead, counterexamples tend to arise when you begin understanding the the object at hand a lot more. A complete space, for example, is an object in which sequences that clump together must eventually arrive at some destination. But in the set $(0, 1)$, no matter how close you get to the end points, you cannot get to the endpoint! So there is no way that $(0,1)$ can be a complete space. Formalizing this into the language of sequences gives us the sequence $x_n = 1/n$.
In short, the key is to really understand what you are dealing with. Also, when looking for counterexamples to certain theorems, you might want to examine the assumptions used in the proof, and exploit those weak spots when thinking up a counterexample.
When talking about sequences, we usually only consider $n \geq 1$---in particular, the positive integers---as indices. So unless otherwise stated, you can assume that $n \in \mathbb{Z}^+$. Formally, sequences are usually defined as functions $\mathbf{x}: \mathbb{Z}^+ \to X$, where $X$ is some space. For convenience, however, we often write $\mathbf{x}(n) = x_n$, and denote the set of all $\mathbf{x}(n)$ by $\{x_n\}_{n=1}^\infty$, or something alike.