A real number is any number that can be used to represent a physical quantity.
Intuitively, real numbers are any number that can be found between two integers, such as $~$0,$~$ $~$1,$~$ $~$-1,$~$ $~$\frac{3}{2},$~$ $~$\frac{-7}{2},$~$ [49r $~$\pi,$~$] [e $~$e$~$], $~$100 \cdot \sqrt{2},$~$ and so on. The set of real numbers is written $~$\mathbb R.$~$ You can think of $~$\mathbb R$~$ as [4zq $~$\mathbb Q$~$] extended to include the irrational numbers like $~$\pi$~$ and $~$e$~$ which can be found between rational numbers but which cannot be completely written out in Decimal notation.
Definitions of the real numbers
The most commonly used definitions of the real numbers are constructions as extensions of the rational numbers, which involve either Cauchy sequences or [dedekind_cut Dedekind cuts].
Cauchy sequences
Broadly speaking, a Cauchy sequence is a sequence where as the sequence goes on, all the elements past that point get closer and closer together. In the real numbers, every Cauchy sequence [convergence_analysis converges] to a real number. However, in the set of rational numbers, not all Cauchy sequences converge to a rational number. In the set of rationals, a Cauchy sequence which does not converge to a rational number cannot really be said to "converge" at all: the set of rationals is "missing some of the points" that would be required to make every Cauchy sequence converge.
For example, the sequence of fractions of consecutive Fibonacci numbers $~$1/1, 2/1, 3/2, 5/3, 8/5, \ldots$~$ gets closer and closer to $~$\frac{1 + \sqrt{5}}{2}$~$, but cannot be said to converge to that number because it is not in the set of rational numbers.
For each of these non-convergent Cauchy sequences, we define a new irrational number to "fill in the gap", and for the Cauchy sequences that do converge, we define a real number equal to that rational number.
Dedekind cuts
A Dedekind cut of a Totally ordered set is a [-partition] of that set into two sets so that every element in the first set is [ less than] every element in the second set, and the second set has no smallest element. The latter restriction requires that the set also be a [ perfect set] (have no [isolated_point isolated points]), in the sense used in topology.
In the real numbers, such a partition will always have the first set having a greatest element, which is known as the least-upper-bound property. However, in the rational numbers, we might come across a partition where the first set does not have such an element.
For example, define a Dedekind cut $~$(A, B)$~$ of the rational numbers such that $~$B = \{x \in \mathbb{Q} \ | \ x > 0 \wedge x^2 > 2\}$~$ and $~$A$~$ is the complement of $~$B$~$. In plainer language, $~$B$~$ consists of all the numbers greater than $~$\sqrt{2}$~$, but because $~$\sqrt{2}$~$ doesn't exist in the space of rational numbers, we can't use that to formulate our definition. Obviously every element of $~$A$~$ is less than every element of $~$B$~$, but $~$A$~$ has no greatest element either, because we can create a sequence of numbers in $~$A$~$ that gets bigger and bigger (as it approaches $~$\sqrt{2}$~$) but never stops at a maximum value.
For each of these "strict cuts" where neither set has a "boundary element", we define a new irrational number to "fill in the gap", just like with the Cauchy sequences. For the Dedekind cuts where one of the sets does have a least or greatest element, we define a real number equal to that rational number.
This definition has the advantage that each real number is represented by a unique Dedekind cut, unlike the Cauchy sequences where multiple sequences can converge to the same number.
Comments
Eric Bruylant
Approved, but the summary could do with a bit of improvement, make it something that a non-mathematician will get something out of. Give examples of things that are and are not real numbers.
Kevin Clancy
I'm pretty tired right now, but this definition seems kind of circular to me. It involves an infinite sum, and infinite sums are defined in terms of limits. But a limit of rational numbers is defined in terms of the set of real numbers. Maybe it would be better to present the definition of real numbers that one would find in a real analysis text.
Michael Cohen
Hey Kevin. I think I accidentally clicked ignore on your query. I'll look into that definition. I think potentially this definition isn't circular, but you might be right. I don't know quite how to put it, but it seems like this criticism could be directed at any algorithm that attempts to point towards all real numbers. The algorithm, it seems, would have to keep gesturing closer and closer to the real number it is trying to indicate. It's not as if the algorithm can take the set of real numbers for granted, and then say that we just need to find the number in the set of real numbers that satisfies the condition that we keep getting closer and closer to it, and then finally we add that to the set of real numbers. And yet, any algorithm that doesn't have a set in mind that it can pull the answer from, I think it will involve something along the lines of pointing towards a number that doesn't yet come from a well-defined spot. Otherwise, the algorithm can't create the well-defined spot. That might all be utter nonsense though.
Kevin Clancy
I understand what you're saying and I think it's a good point. The problem is that you're developing an algorithm (a non-terminating one) that finds real numbers rather than providing a definition of them. It turns out that providing a definition of real numbers is not a simple as it may at first seem. This presentation is somewhat similar constructive analysis, in which a real number is defined as regularly converging sequence of rational numbers; importantly, constructive analysis does not define real numbers as infinite sums of these sequences, because as I've said, that would be a circular definition.
If you want to learn more about rigorous foundations for real numbers and related topics, I think that the book Calculus by Michael Spivak is a very approachable and well respected introduction to the topic.
Michael Cohen
Is an infinite sum of rationals isomorphic with a regularly converging sequence of rationals (something along the lines of 1/2, 5/8, 11/16, etc.), where each rational in the sequence is the sum of all the addends up until then? I agree it is probably worth putting up a different definition anyway. I'm not sure I'll be able to do that for a little bit, since I haven't studied real analysis yet, but if you want to do that sooner, go for it. This is a fun conversation!
Joe Zeng
This definition of the real numbers has a bigger problem with it than just circular logic — it also runs into the 0.9999… = 1 paradox. The sets $~$\mathbb{N} \setminus \{1, 2, 3, 4, 5\}$~$ and the set $~${5}$~$ both encode the number $~$1/8$~$.
Normally the real numbers are defined using either Dedekind cuts or Cauchy sequences of rational numbers. Could we please use one of those definitions instead, as they're the standard ones used by most mathematicians?
Michael Cohen
Sorry about my inactivity on Arbital, and thanks for going ahead and fixing it!
Alexei Andreev
This is not a very good summary, since it relies on the reader understanding what a "complete number line" is.
Joe Zeng
I thought so too when I wrote it up; I put it there as a placeholder for a Wikipedia-style initial definition once we find one that's more suitable, because I'm having a hard time thinking of one.