Rational and Irrational Numbers

Rational and irrational numbers are the two kinds of real numbers. A rational number is any number you can write as a fraction of two integers, like \frac{3}{4} or -5 = \frac{-5}{1}. Its decimal either ends or repeats. An irrational number cannot be written as a fraction. Its decimal goes on forever with no repeating pattern, like \sqrt{2} and \pi.

Before this lesson: You should know how to convert fractions and decimals and how to find a square root. It also helps to know negative numbers.

What Makes a Number Rational?

The word “rational” comes from “ratio.” A rational number is a ratio of two integers. The bottom integer cannot be 0.

Whole numbers and integers are rational too. You can write any integer over 1. For example, 7 = \frac{7}{1} and 0 = \frac{0}{1}.

Decimals that end, like 0.75, are rational, because 0.75 = \frac{3}{4}. Decimals that repeat, like 0.333…, are rational too, because 0.\overline{3} = \frac{1}{3}. The bar shows the digits that repeat.

What Makes a Number Irrational?

An irrational number has a decimal that never ends and never repeats. No fraction of integers equals it exactly.

  • Square roots of numbers that are not perfect squares, like \sqrt{2} = 1.41421356\ldots and \sqrt{50}.
  • Pi, the number \pi = 3.14159265\ldots from circles.
  • Decimals with a pattern that never repeats, like 1.010010001…, where one more 0 is added each time.

You can round an irrational number, like \pi \approx 3.14. But a rounded value is only close. It is not exactly equal.

The Real Number System

Rational and irrational numbers together make up the real numbers. Each real number is one kind or the other, never both. The rational numbers hold three smaller sets:

  • Natural numbers (counting numbers): 1, 2, 3, 4, …
  • Whole numbers: 0, 1, 2, 3, …
  • Integers: …, −2, −1, 0, 1, 2, …
A large box labeled Real Numbers holds two parts. The rational part has nested boxes for integers, whole numbers and natural numbers, with examples 1, 2, 3, 100, then 0, then −3 and −1, plus 1/2, 0.75, −2.5 and 0.333… The irrational part, beside it, has examples √2, π, √50 and 1.010010001…
Every real number is either rational or irrational. Integers, whole numbers and natural numbers are all rational.

How to Tell If a Number Is Rational or Irrational

  1. If it is an integer or a fraction of integers, it is rational.
  2. If it is a decimal, check whether it ends or repeats. If it does, it is rational.
  3. If it is a square root, check whether the number inside is a perfect square. If it is, the root is rational. If not, it is irrational.
  4. If it is \pi, it is irrational.

Worked Examples

Example 1: Show that numbers are rational

Show that 0.125 and −0.4 are rational.

Step 1. 0.125 is 125 thousandths: 0.125 = \frac{125}{1000} = \frac{1}{8}.

Step 2. −0.4 is 4 tenths, negative: -0.4 = -\frac{4}{10} = -\frac{2}{5}.

Answer: Both are rational, because each one is a fraction of integers.

Example 2: Square roots

Is \sqrt{49} rational or irrational? What about \sqrt{20}?

Step 1. 49 is a perfect square, since 7 \times 7 = 49. So \sqrt{49} = 7, which is rational.

Step 2. 20 is not a perfect square. It is between 16 and 25. So \sqrt{20} \approx 4.472\ldots never ends or repeats.

Answer: \sqrt{49} is rational, and \sqrt{20} is irrational.

Example 3: A repeating decimal

Is \frac{2}{3} rational, even though its decimal goes on forever?

Step 1. Divide: 2 \div 3 = 0.666\ldots. The 6 repeats forever, so we write 0.\overline{6}.

Step 2. A decimal that goes on forever is still rational if it repeats.

Answer: Yes, \frac{2}{3} = 0.\overline{6} is rational. It is already a fraction of integers.

Example 4: Sort a list of numbers

Sort these numbers into rational and irrational: -6, \pi, \frac{5}{9}, \sqrt{36}, \sqrt{8}, 2.75.

Step 1. −6 is an integer, so it is rational. \frac{5}{9} is a fraction, so it is rational.

Step 2. \sqrt{36} = 6, so it is rational. 2.75 ends, so it is rational.

Step 3. \pi is irrational. 8 is not a perfect square, so \sqrt{8} is irrational.

Answer: Rational: −6, \frac{5}{9}, \sqrt{36}, 2.75. Irrational: \pi, \sqrt{8}.

Example 5: Word problem with a square patio

A square patio has an area of 20 square meters. Is its side length rational or irrational? About how long is each side?

Step 1. The side of a square is the square root of its area. So the side is \sqrt{20} meters.

Step 2. 20 is not a perfect square, so \sqrt{20} is irrational.

Step 3. Round it. \sqrt{20} \approx 4.47.

Answer: The side length is irrational. Each side is about 4.47 meters.

Common Mistakes with Rational and Irrational Numbers

MistakeExample of the errorFix
Thinking every endless decimal is irrational“0.\overline{3} goes on forever, so it is irrational.”A repeating decimal is rational: 0.\overline{3} = \frac{1}{3}.
Thinking every square root is irrational“\sqrt{36} is irrational.”\sqrt{36} = 6. Roots of perfect squares are rational.
Treating a rounded value as exact\pi = 3.14 or \pi = \frac{22}{7}These are only close: \pi \approx 3.14. Pi is irrational.
Thinking negatives can’t be rational“−4 is not rational.”-4 = \frac{-4}{1}, so it is rational.
Thinking integers aren’t real numbers“5 is rational, so it is not real.”All rational and irrational numbers are real numbers.

Practice Problems

  1. Is 0.6 rational or irrational? Write it as a fraction if you can.
  2. Is \sqrt{81} rational or irrational?
  3. Is \sqrt{15} rational or irrational?
  4. Is 0.\overline{27} rational or irrational?
  5. Is −12 rational? Explain.
  6. Is \frac{\pi}{2} rational or irrational?
  7. Name the smallest set that contains 0: natural, whole or integers.
  8. A square rug has an area of 100 square feet. Is its side length rational or irrational?
Show answers
  1. Rational. 0.6 = \frac{6}{10} = \frac{3}{5}.
  2. Rational. \sqrt{81} = 9.
  3. Irrational. 15 is not a perfect square, so \sqrt{15} \approx 3.87\ldots never ends or repeats.
  4. Rational. The digits 27 repeat, and every repeating decimal is rational.
  5. Yes. -12 = \frac{-12}{1}, a fraction of integers.
  6. Irrational. Half of pi still never ends or repeats.
  7. Whole numbers. 0 is a whole number but not a natural number.
  8. Rational. \sqrt{100} = 10, so each side is 10 feet.

Rational and Irrational Numbers FAQ

Is 0 a rational number?

Yes. Zero can be written as \frac{0}{1}, which is a fraction of integers. So 0 is rational.

Is pi a rational number?

No, pi is irrational. Its decimal, 3.14159…, never ends and never repeats. Values like 3.14 and \frac{22}{7} are only close to pi.

Is the square root of 2 rational or irrational?

The square root of 2 is irrational. Its decimal is 1.41421356… and never repeats, because 2 is not a perfect square.

Summary

  • A rational number can be written as a fraction of two integers. Its decimal ends or repeats.
  • An irrational number cannot be written as a fraction. Its decimal never ends and never repeats.
  • Integers, whole numbers and natural numbers are all rational.
  • Square roots of perfect squares are rational. Other square roots are irrational.
  • Pi is irrational. The value 3.14 is only close to pi.
  • Rational and irrational numbers together make up the real numbers.

Previous lesson: Scientific Notation

Next lesson: Order of Operations

Back to the Pre-Algebra (Math Basics) Index

Similar Posts

  • Unit Rates

    A unit rate tells how much of one thing there is for exactly 1 unit of another, like 60 miles per hour or $3 per pound. To find a unit rate, divide the first amount by the second amount. For example, $12 for 4 pounds of apples is 12 ÷ 4 = $3 per pound….

  • Least Common Multiple

    The least common multiple (LCM) of two numbers is the smallest number that both of them divide into with no remainder. To find it, list the multiples of each number until you find one they share, or use prime factorization. For example, the LCM of 4 and 6 is 12. Before this lesson: You should…

  • Square Root

    A square root of a number is a value that you multiply by itself to get that number. The square root of 25 is 5, because . We write this as . You can find exact square roots of perfect squares and estimate all the others. Before this lesson: You should know what squaring means…

  • Scientific Notation

    Scientific notation is a short way to write very large or very small numbers. You write the number as a value from 1 up to (but not including) 10, times a power of 10. For example, 4,500,000 in scientific notation is , and 0.00032 is . Before this lesson: You should know powers of 10…

  • Nested Fractions

    Nested fractions, also called complex fractions, have a fraction in the top, the bottom or both. To simplify one, remember that the main fraction bar means divide. Simplify the top and the bottom, then divide the top by the bottom. For example, . Before this lesson: You should know how to add and subtract fractions…