Exponents & Roots · Grades 8, 9

Rational and Irrational Numbers

Quick answer

A rational number can be written as a fraction of two integers, and its decimal either stops or repeats forever. An irrational number can do neither, so its decimal runs on with no pattern — √2 and π are the two you meet first. To compare or place irrationals, approximate them with rationals: √2 sits between 1.41 and 1.42, which is enough to position it.

What you'll learn

  • Tell a rational number from an irrational one
  • Explain why every rational number has a terminating or repeating decimal
  • Approximate an irrational number and place it on a number line

The dividing line

Every real number is one or the other.

Can be written as ab\tfrac{a}{b}?Decimal
rationalyesstops or repeats
irrationalnoruns on with no pattern
34,  7,  −2.5,  0.333…rational\tfrac{3}{4}, \; 7, \; -2.5, \; 0.333\ldots \quad \text{rational} 2,  π,  10irrational\sqrt{2}, \; \pi, \; \sqrt{10} \quad \text{irrational}

The name comes from ratio. A rational number is one expressible as a ratio of two integers; an irrational number is not.

Why a rational number’s decimal must stop or repeat

This is the part worth understanding rather than accepting, and the reason is short.

Divide 33 by 77 by long division. At each step you take a remainder and divide again. The possible remainders are 0,1,2,3,4,50, 1, 2, 3, 4, 5 or 66 — only seven of them, because a remainder is always less than the divisor.

So within at most seven steps, either:

  • a remainder of 00 appears and the decimal stops, or
  • a remainder repeats, and from there the whole sequence of digits repeats with it.
37=0.428571 428571…\tfrac{3}{7} = 0.428571\,428571\ldots

There is no third possibility. A finite set of remainders cannot produce an endless pattern-free decimal, which is exactly why an irrational number can never be written as a fraction.

Repeating decimals are rational

A decimal that never ends can still be rational, provided it repeats:

0.333…=130.142857 142857…=170.1666…=160.333\ldots = \tfrac{1}{3} \qquad 0.142857\,142857\ldots = \tfrac{1}{7} \qquad 0.1666\ldots = \tfrac{1}{6}

The repetition is what makes the fraction findable, and the equality is exact rather than approximate. 0.333…0.333\ldots is not slightly less than 13\tfrac{1}{3}; it is 13\tfrac{1}{3}.

A bar over the repeating digits is the usual notation:

0.3‾=130.142857‾=170.\overline{3} = \tfrac{1}{3} \qquad 0.\overline{142857} = \tfrac{1}{7}

Which square roots are irrational

The roots of perfect squares are whole numbers, so they are rational:

9=3144=12\sqrt{9} = 3 \qquad \sqrt{144} = 12

Every other square root is irrational. 2\sqrt{2}, 3\sqrt{3}, 5\sqrt{5}, 10\sqrt{10} all run forever without repeating.

That 2\sqrt{2} is irrational is provable, and the proof is one of the oldest in mathematics: assume 2=ab\sqrt{2} = \tfrac{a}{b} in lowest terms, and a short argument shows aa and bb must both be even — contradicting “lowest terms”. So no such fraction exists.

Approximating to compare and place

An irrational number’s decimal cannot be written out, so working with one means approximating it with a rational.

Where does 2\sqrt{2} sit?

1.42=1.961.52=2.251.4^2 = 1.96 \qquad 1.5^2 = 2.25

So 2\sqrt{2} is between 1.41.4 and 1.51.5. Narrow it:

1.412=1.98811.422=2.01641.41^2 = 1.9881 \qquad 1.42^2 = 2.0164 1.41<2<1.421.41 < \sqrt{2} < 1.42
Where the square root of 2 sits A number line from 1 to 2 marked in tenths, with a dot at about 1.41 between 1.4 and 1.5. 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 √2
Where the square root of 2 sits

Two decimal places is enough to plot it, order it against other numbers, or answer any practical question. Squaring the candidate is the check, and it needs no calculator.

Comparing irrationals

Approximate each one, then compare the approximations.

Which is larger, 7\sqrt{7} or 2.52.5?

2.52=6.25and(7)2=72.5^2 = 6.25 \qquad \text{and} \qquad (\sqrt{7})^2 = 7

7>6.257 > 6.25, so 7>2.5\sqrt{7} > 2.5.

Squaring both is quicker than approximating, and it is exact. Comparing 7\sqrt{7} with 8\sqrt{8} is quicker still — the larger radicand gives the larger root.

Why the distinction matters

An exact answer keeps the radical. 2\sqrt{2} is exact; 1.4141.414 is not, and neither is any decimal you could write.

That is why answers to the Pythagorean theorem and the quadratic formula are so often left as roots. A diagonal of 2\sqrt{2} meters is a precise length; rounding it to 1.411.41 throws information away, and errors from rounding early compound through later steps.

Irrational numbers also settle a question the number line raises. The rationals leave gaps — there is no fraction at the diagonal of a unit square — and the irrationals are what fill them. Between any two rationals lies an irrational, and between any two irrationals lies a rational.

Worked examples

Common mistakes

Sums and products

Add or multiply two rational numbers and the result is rational. Write them as fractions and look:

ab+cd=ad+bcbdab⋅cd=acbd\frac{a}{b} + \frac{c}{d} = \frac{ad + bc}{bd} \qquad \frac{a}{b} \cdot \frac{c}{d} = \frac{ac}{bd}

The tops and bottoms are sums and products of whole numbers, so they are whole numbers too. The bottom is not zero, since neither bb nor dd was. That makes each answer a fraction of integers, which is what rational means.

Mix in an irrational number and the answer changes.

A rational plus an irrational is irrational. Suppose rr is rational and xx is irrational, and suppose r+xr + x came out rational — call it qq. Then

x=q−rx = q - r

and a difference of two rationals is rational. That says xx is rational, which it is not. So r+xr + x cannot be rational.

A nonzero rational times an irrational is irrational. The same move works. If r⋅x=qr \cdot x = q with qq rational, then x=qrx = \tfrac{q}{r}, a quotient of rationals, which is rational — impossible. The word nonzero matters, because 0⋅2=00 \cdot \sqrt{2} = 0.

CombinationResult
rational ++ rationalalways rational
rational ×\times rationalalways rational
rational ++ irrationalalways irrational
nonzero rational ×\times irrationalalways irrational
irrational ++ irrationalcould be either
irrational ×\times irrationalcould be either

The last two rows really do go both ways. 2+(−2)=0\sqrt{2} + (-\sqrt{2}) = 0 and 2⋅8=16=4\sqrt{2} \cdot \sqrt{8} = \sqrt{16} = 4 are rational. But 2+2=22\sqrt{2} + \sqrt{2} = 2\sqrt{2} is irrational, by the rule for a nonzero rational times an irrational.

Practice problems

  1. Is 58\tfrac{5}{8} rational?

    Answer

    Yes

    Full solution

    It is already a fraction of two integers.

  2. Is 36\sqrt{36} rational?

    Answer

    Yes

    Full solution

    3636 is a perfect square, so 36=6\sqrt{36} = 6.

  3. Is 7\sqrt{7} rational?

    Answer

    No

    Full solution

    77 is not a perfect square, so its root is irrational.

  4. Is 0.45‾0.\overline{45} rational?

    Answer

    Yes

    Full solution

    It repeats, and every repeating decimal can be written as a fraction.

  5. Is π\pi rational?

    Answer

    No

    Full solution

    Its decimal runs forever with no repeating block, so no fraction equals it.

  6. Place 5\sqrt{5} between two consecutive whole numbers.

    Answer

    Between 22 and 33

    Full solution

    22=42^2 = 4 and 32=93^2 = 9, and 55 lies between them.

  7. Which is larger, 11\sqrt{11} or 3.33.3?

    Answer

    11\sqrt{11}

    Full solution

    3.32=10.893.3^2 = 10.89, which is less than 1111, so 11\sqrt{11} is the larger.

  8. Place 30\sqrt{30} between two numbers one decimal place apart.

    Hint

    Try squaring 5.45.4 and 5.55.5.

    Answer

    Between 5.45.4 and 5.55.5

    Full solution

    5.42=29.165.4^2 = 29.16 and 5.52=30.255.5^2 = 30.25, so 30\sqrt{30} falls between them.

  9. Why must the decimal for 49\tfrac{4}{9} stop or repeat?

    Answer

    Only nine remainders are possible, so one must recur.

    Full solution

    Dividing by 99 can leave a remainder of 00 through 88 — nine possibilities.

    Within at most nine steps either a remainder of 00 appears and the decimal stops, or a remainder repeats and the digits repeat with it.

    Here it repeats immediately: 49=0.4‾\tfrac{4}{9} = 0.\overline{4}.

  10. Asked whether 0.121212…0.121212\ldots is irrational, Nia says yes because it never ends. Assess her answer.

    Hint

    What exactly makes a decimal irrational?

    Answer

    No. It repeats, so it is rational.

    Full solution

    Never ending is not the test. Never ending and never repeating is.

    0.121212…0.121212\ldots repeats the block “12” forever, which makes it rational — it equals 1299=433\tfrac{12}{99} = \tfrac{4}{33}.

    The long-division argument explains why a repeating decimal always comes from a fraction: dividing by 3333 leaves at most 3333 possible remainders, so the digits are forced into a cycle.

    An irrational decimal such as 2=1.41421356…\sqrt{2} = 1.41421356\ldots never settles into any cycle, which is precisely why no fraction produces it.

  11. Is 7+57 + \sqrt{5} rational or irrational? Explain without a calculator.

    Answer

    Irrational.

    Full solution

    77 is rational and 5\sqrt{5} is irrational, since 55 is not a perfect square.

    If 7+57 + \sqrt{5} were some rational number qq, then 5=q−7\sqrt{5} = q - 7 would be rational too. It is not, so 7+57 + \sqrt{5} is irrational.

  12. Find two irrational numbers whose product is rational.

    Hint

    Look for two roots whose product is a perfect square.

    Answer

    One pair is 3\sqrt{3} and 12\sqrt{12}, whose product is 66.

    Full solution

    3⋅12=36=6\sqrt{3} \cdot \sqrt{12} = \sqrt{36} = 6, which is rational.

    Neither factor is rational, because 33 and 1212 are not perfect squares. Any pair whose product under the root is a perfect square works, such as 2\sqrt{2} and 8\sqrt{8}, or 5\sqrt{5} and 5\sqrt{5}.

Frequently asked questions

What makes a number irrational?

It cannot be written as a fraction of two integers. Its decimal runs forever without ever settling into a repeating pattern.

Is a repeating decimal rational?

Yes. 0.333... is exactly 1/3, and every repeating decimal can be written as a fraction, so all of them are rational.

Is √2 irrational?

Yes. There is a classic proof that no fraction squares to 2, so √2 cannot be written as one.

Are all square roots irrational?

No. The roots of perfect squares are whole numbers, so √9 = 3 is rational. Roots of everything else are irrational.

How do I put √2 on a number line?

Approximate it. Since 1.41² = 1.9881 and 1.42² = 2.0164, √2 sits between them, which locates it closely enough to plot.

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.8.NS.A.1The Number SystemKnow that numbers that are not rational are called irrational. Understand informally that every number has a decimal expansion; for rational numbers show that the decimal expansion repeats eventually, and convert a decimal expansion which repeats eventually into a rational number.
  • CCSS.MATH.CONTENT.8.NS.A.2The Number SystemUse rational approximations of irrational numbers to compare the size of irrational numbers, locate them approximately on a number line diagram, and estimate the value of expressions (e.g., π²).
  • CCSS.MATH.CONTENT.HSN.RN.B.3The Real Number SystemExplain why the sum or product of two rational numbers is rational; that the sum of a rational number and an irrational number is irrational; and that the product of a nonzero rational number and an irrational number is irrational.