Rational and Irrational Numbers
When you write or you are using a rational number , a fraction of two integers. When you write or , you are using something different. Both kinds of numbers live on the same line, and together they form the real numbers. This lesson sorts out what each kind is, how to spot one, and how to find many of them in any tiny stretch of the line.
Definitions
A rational number is a number that can be written in the form Examples: .
A real number that is not rational is called irrational. So an irrational number is one that cannot be expressed as for any integers and . Examples include , and (each block of zeros one longer than the last).
The set of rationals is denoted , the set of irrationals has no standard one-letter name, and together they form the real numbers, .
Concept and structure
Rationals are dense. Between any two distinct rationals there are infinitely many other rationals. The cheapest way to find one is the mean (or average): Now repeat with to get another rational between them. This trick produces as many rationals as you like in any open interval.
There are many irrationals too. A famous theorem of Cantor says that, even though both kinds are infinite, there are strictly more irrationals than rationals. Geometrically this means the rationals, dense as they are, still leave gaps that the irrationals fill.
Why is irrational. Suppose in lowest terms. Squaring gives , so is even, hence is even, say . Then , so , hence is also even. But then wasn't in lowest terms , contradiction. So is not rational. The same argument, with "even" replaced by "divisible by ", proves is irrational for every prime . (We will revisit this proof in Chapter X.)
A practical way to spot irrationals. Numbers like or are rational because the square root is an integer. The number is irrational precisely when is a positive integer that is not a perfect square. Thus are all irrational.
A famous non-surd irrational: . The number is the ratio of a circle's circumference to its diameter. It is irrational (and, more strongly, transcendental), although the proof is much harder than the one for . Be careful: is just an approximation to , not equal to it.
Constructing irrationals between two rationals. Suppose you want an irrational between and . Pick the rational mid-point and add a tiny known irrational, say . Since (rational) (small irrational) is irrational and we kept the change small, the result still lies between and .
Worked examples
Example 1. Find three rationals between and .
Take averages repeatedly. Mid-point: . Between and : . Between and : . So work.
Example 2. Find a rational and an irrational between and .
Rational: . Irrational: , non-terminating, non-repeating, and clearly between and .
Example 3. Is rational or irrational? Why?
. Since is not a perfect square, is irrational, and a non-zero rational times an irrational is irrational. So is irrational.
Example 4. Show that is irrational, given is irrational.
If were rational, then would also be rational (difference and quotient of rationals are rational). That contradicts the irrationality of .
Example 5. Find one rational and one irrational between and .
Use decimals: , . Rational lies between them. Irrational: also lies between them.
Try it yourself
- Insert five rationals between and .
- Are the following rational or irrational? .
- Give two examples of irrationals whose sum is rational.
- Give two examples of irrationals whose product is rational.
- Find an irrational between and .
- Show that is irrational.
- Is rational or irrational? Justify.
- Insert three rationals and three irrationals between and .
- State whether true or false: "The product of two irrationals is always irrational." Give a reason.
- If were rational, derive a contradiction.
Pitfalls / Insight
- "Rational" does not mean "with a nice decimal". never terminates but is rational.
- Irrational irrational need not be irrational. .
- Be precise about . ; the latter is a handy approximation only.
Insight. Think of rationals as "fractions you can write" and irrationals as "fractions you cannot , only approximate". The number line is so full that almost every point you randomly pick is irrational; the rationals are only the labelled points.