I am a physics major and would like to clear a confusion regarding complete metric spaces. I am quoting the definition of a Cauchy sequence from wikipedia below
Formally, given a metric space $(X, d)$, a sequence $x_1, x_2, x_3, \ldots$ is Cauchy, if for every positive real number $\epsilon > 0$ there is a positive integer $N$ such that for all positive integers $m, n > N$, the distance
$$d(x_m, x_n) < \epsilon$$
Now, if we have sequence like $x_1=3, x_2=3.1, x_3=3.14, \ldots$ converging to $\pi$, I do not understand how all distances $d(x_m, x_n)$ will be less than all positive real numbers. Since irrational numbers do not terminate and continue forever, how can the distance ever be less than the smallest real number or infinitesimal (hyperreal) as the distance can never become $0$. Does this definition of completeness apply where $\epsilon$ is infinitesimal (hypperreal) ?
Kindly excuse my ignorance as I am not a mathematics major.
Thanks
The subject line currently reads “How can a Cauchy Sequence converge to an irrational number?”.
If we construe that literally, then one easy way a Cauchy sequence (lower-case initial "s") can converge to $\pi$ is that every term of the Cauchy sequence is $\pi$. Thus: $x_1=\pi, x_2=\pi, x_3=\pi,\ldots\,{}$. I suspect you meant “How can a Cauchy sequence of rational numbers converge to an irrational number?”.
Consider your sequence $3,\ 3.1,\ 3.14,\ 3.141,\ \ldots\,$.
The definition DOES NOT say that all distances between members of this sequence are less than all positive numbers. That would happen only with a constant sequence like my first example above. It says:
Notice that $N$ depends on $\varepsilon$. In fact as $\varepsilon$ gets smaller, typically $N$ must get bigger. Suppose $\varepsilon = 0.01$. Then for your example sequence, $N=3$ is big enough: every pair of numbers in the sequence at or after the third place in the sequence differ from each other by less than $\varepsilon=0.01$. Thus $3.14$ and $3.141$ differ by less than $0.01$. But now suppose $\varepsilon=0.00001$. Then you need a bigger value of $N$. If each term of the sequence has one more digit or $\pi$, then $N=5$ would be big enough for that value of $\varepsilon$.
Notice that the definition of convergence to $\pi$ differs from the definition of "Cauchy sequence". It says for every $\varepsilon>0$ there is a positive integer $N$ such that for every positive integer $n\ge N$ we have $|x_n-\pi|<\varepsilon$. Again, $N$ depends on $\varepsilon$. If $\varepsilon=0.00001$, then $N=5$ would be enough: every term at or beyond the $5$th one differs from $\pi$ by less than $\varepsilon=0.00001$.
There is nothing in either of these definitions that says that the distance between two different members of the sequence or the distance between $\pi$ and a member of the sequence is $0$.
You wrote:
Let's be clear on a definition.
It is certainly not correct that numbers whose decimal expansions do not terminate are necessarily irrational. For example, $1/7 = 0.\ 142857\ 142857\ 142857\ \ldots$ has a non-terminating decimal expansion and is rational.
Nor is it the case that "rational number" is defined as one whose decimal expansion repeats or terminates. Euclid and other ancient Greeks proved some numbers are irrational without ever thinking about decimal expansions. That $\pi$ is irrational means $\pi$ is not a quotient of two integers, like $22/7$. Proving $\pi$ is irrational is so difficult that it was not done until the 18th century. Some numbers are far easier to prove to be irrational. For example, if $\log_2 3 = m/n$ and $m,n$ are positive integers, then $2^m=3^n$, but that can't happen because an even number cannot be equal to an odd number.
The fact that a number is rational if and only if its decimal expansion repeats or terminates takes a bit of work to prove, but it's elementary enough that high-school students will understand it.