Chapter 4 · Rational and irrational numbers
Rational and Irrational Numbers
Learn what makes a number rational or irrational. Use fraction form and decimal behavior to tell the two kinds apart.
Look at four numbers you already know: , , 25% and . They look different, but they share one feature. You can write each of them as a fraction with an integer on top and a nonzero integer on the bottom. (An integer is a whole number or the opposite of a whole number: )
Mathematicians call numbers like these rational, a name that comes from the word ratio. Here is the surprise: some numbers on the number line have no fraction like that at all. In this lesson, you'll learn what separates the two kinds and how to tell which kind a number is.
A rational number is a number that you can write as a fraction , where and are integers and .
Why can't be ? Dividing by has no meaning. No number multiplied by gives , so doesn't name any number. The numerator has no such limit. It can be , and it can be negative.
Notice the words can write. A number doesn't have to look like a fraction to be rational. It only has to equal some integer over a nonzero integer. Here are the three numbers from above that didn't look like fractions, plus :
In each case, the numerator and the denominator are integers, and the denominator is not . So , 25%, and are all rational.
A number's decimal form gives you a second way to check. Every number on the number line has a decimal form, and that form does one of three things:
- It terminates: the digits stop, as in .
- It repeats: the digits never stop, but from some point on, one fixed block of digits repeats forever with nothing in between. A bar marks the block, so means with 3s forever, and means with 6s forever.
- It does neither: the digits never stop, and no fixed block repeats forever.
Rational numbers are exactly the numbers whose decimal form terminates or repeats. For example, and . A number whose decimal form does neither is an irrational number: no integer over a nonzero integer equals it.
Key concept
What makes a number rational or irrational
Every number on the number line is either rational or irrational, never both.
- You can write a rational number as , where and are integers and . Its decimal form terminates or repeats.
- You cannot write an irrational number as for any integers and with . Its decimal form neither terminates nor repeats.
So you can identify a rational number in two ways: find an integer over a nonzero integer that equals it, or see that its decimal form terminates or repeats. A number is irrational when its decimal form never terminates and never repeats.
Worked example
A decimal that stops
Is rational or irrational?
Read the decimal. Its digits stop at the hundredths place, so the decimal terminates. That lets you read the number as negative 275 hundredths.
Move the negative sign into the numerator. A negative fraction has the same value as the fraction with a negative numerator and the same positive denominator, so only the way of writing it changes.
Check both conditions of the definition. The numerator and the denominator are integers, and the denominator is not 0. You don't need to simplify, because any integer over a nonzero integer is enough.
Answer
is rational, because it equals , which is an integer over a nonzero integer.
Worked example
Two decimals that never end
Both of these decimals go on forever: (a) and (b) , in which each 4 is followed by one more 5 than the 4 before it. Classify each one as rational or irrational.
Decide what to check. Neither decimal terminates, so each number is rational only if one fixed block of digits repeats forever.
Read the bar in (a). It covers 45, so the block 45 repeats forever with nothing in between. This decimal repeats.
Classify (a). A repeating decimal is the decimal form of a rational number, so some integer over a nonzero integer equals it. Here that fraction has numerator 5 and denominator 11.
Look for a repeating block in (b). The digits follow a pattern, but the groups of 5s keep growing: one 5, then two, then three, and so on. A repeating block must stay exactly the same every time, so no fixed block repeats forever.
Classify (b). Its decimal form never terminates and never repeats, so no integer over a nonzero integer equals it.
Answer
is rational, because its decimal form repeats the block 45 forever. The number in (b) is irrational, because its decimal form neither terminates nor repeats.
Two famous irrational numbers are , which you use to measure circles, and . The square root of 2, written , is the positive number that gives 2 when you multiply it by itself. Mathematicians have proved that no integer over a nonzero integer equals or , so their decimal forms never terminate and never repeat.
You can't write all the digits of a number like that. You can only write an approximation: a value that is close to the number but not equal to it. The symbol means is approximately equal to, so you write and . A calculator can't settle the question either. Its screen has room for only a few digits, so it can't show whether a decimal goes on to repeat.
A square root sign doesn't make a number irrational by itself. For example, because , and is rational.
Worked example
Exact value or approximation?
Classify each number as rational or irrational: , and .
Classify 3.14. Its digits stop at the hundredths place, so it equals 314 hundredths. That is an integer over a nonzero integer, so 3.14 is rational.
Classify 22/7. It is already an integer over a nonzero integer, so it is rational. Its decimal form repeats the block 142857.
Compare both numbers with π to five decimal places. All three agree in the first two decimal places and differ after that, so neither 3.14 nor 22/7 equals π. They are approximations of π.
Classify π itself. Mathematicians have proved that no integer over a nonzero integer equals π, so its decimal form neither terminates nor repeats.
Answer
and are rational, and is irrational. The two rational numbers are approximations of , not equal to it: and .
| Number | What its decimal form does | Rational or irrational? | How you know |
|---|---|---|---|
Terminates: | Rational | , an integer over a nonzero integer | |
15% | Terminates: | Rational | 15% means , an integer over a nonzero integer |
Repeats: | Rational | It is already an integer over a nonzero integer | |
Repeats: the 3 repeats forever | Rational | A repeating decimal is rational; this one equals | |
Terminates: | Rational | , an integer over a nonzero integer | |
Neither: | Irrational | Proved: no integer over a nonzero integer equals it | |
Neither: | Irrational | Proved: no integer over a nonzero integer equals it | |
, where each group of 1s is one digit longer than the last | Neither: it never ends, and the groups of 1s keep growing | Irrational | No fixed block of digits repeats forever |
The big idea: a number is rational when you can write it as , where and are integers and . Its decimal form then terminates or repeats. A number on the number line with no such fraction is irrational, and its decimal form neither terminates nor repeats. Always classify the exact number, not an approximation of it.
Next, you'll use long division to write fractions as decimals, sort those decimals into terminating and repeating, and see why the decimal form of a rational number has to do one or the other.