Lesson 1.1 · Real Numbers
Rational and irrational numbers
You already know how to work with fractions, decimals and negative numbers. In 8th grade you meet a surprising fact: some numbers on the number line can never be written as a fraction. This lesson shows you how to tell the two kinds of numbers apart.
Rational numbers
The word rational comes from ratio. A rational number is any number you can write as a ratio (a fraction) of two integers.
Definition
Rational number
A rational number is a number that can be written as , where and are integers and .
The key word is can. A number doesn't have to look like a fraction to be rational. You just need to be able to rewrite it as one.
| number | written as a fraction |
|---|---|
So every integer, every terminating decimal and every mixed number is rational.
Decimals of rational numbers
To turn a fraction into a decimal, divide the numerator by the denominator. Only two things can happen:
- The division ends (terminates): .
- The division repeats forever:
We write a repeating decimal with a bar over the digits that repeat: .
Why must it end or repeat? When you divide by , each remainder is one of . If you ever get a remainder of , the decimal ends. If not, you only have possible remainders, so sooner or later a remainder comes back. From that point on, the same steps (and the same digits) happen again and again.
Worked example: Fractions to decimals
Write each fraction as a decimal. Does it terminate or repeat?
Solutions.
- . It terminates.
- . It repeats.
- . Only the repeats, so the bar goes over the alone.
Irrational numbers
Some decimals go on forever and never fall into a repeating pattern. Since every fraction's decimal ends or repeats, these numbers cannot be fractions.
Definition
Irrational number
An irrational number is a number that cannot be written as with integers and (). Its decimal never ends and never repeats.
The most famous examples are:
- , the ratio of a circle's circumference to its diameter.
- , the number that gives when you multiply it by itself.
- The square root of any whole number that is not a perfect square, such as , or .
A decimal can also be built to never repeat, like (one more each time). There is a pattern, but no block of digits repeats, so it is irrational.
Together, the rational and irrational numbers make up the real numbers, which fill the whole number line. Every real number is exactly one of the two: rational or irrational, never both.
How to decide
- Ends or repeats? Rational.
- Goes on forever with no repeating block? Irrational.
- A square root? Check whether the number inside is a perfect square. is rational; is irrational.
Common mistake
A calculator shows only about 10 digits, so it can't tell you whether a decimal repeats forever. shows as , which looks random, but it really is , which is rational. Decide by what the number is (a fraction? a square root of a non-perfect square? ?), not by what the screen shows.
Worked example: Classifying numbers
Is each number rational or irrational?
Solutions.
- . Rational.
- is not a perfect square (, ). Irrational.
- The decimal repeats. Rational. (You'll learn how to write it as a fraction later in this unit.)
- Half of still never ends or repeats. Irrational.
- It is already a fraction of integers. Rational. It is close to , but it is not equal to : while
Practice
Which number is irrational?
Write as a decimal.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which is the correct way to write as a decimal?
Which statement is true?
How many of these numbers are irrational?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Maya's calculator shows . She says, "I see no pattern, so is irrational." What is wrong with her reasoning?
The decimal keeps adding one more before each . What kind of number is it?