8th Grade Math (Common Core) • The Number System

Understand Irrational Numbers

Discover why some decimals repeat forever in a pattern and others never do.

Middle School Math emblem with sigma notation, geometric shapes, and a ruler.
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

Thousands of years ago, people thought every measurement could be written as a fraction. The ancient Greeks used fractions for building, music, and astronomy. They believed the whole universe ran on neat ratios of whole numbers.

Then something shocking happened. A mathematician in ancient Greece discovered a number that could never be written as a fraction. That number was the square root of 2 (√2). This discovery changed math forever and led to the idea of irrational numbers.

~500 BCE • The Pythagorean Discovery

A member of the Pythagorean school proved that √2 cannot be written as a fraction. Legend says this was so upsetting that the discovery was kept secret!

~300 BCE • Euclid's Elements

The Greek mathematician Euclid wrote a famous proof showing √2 is irrational. His method is still taught in schools today.

~250 BCE • Archimedes Estimates π

Archimedes found that π (pi) is between 3 10/71 and 3 1/7. He couldn't write it as an exact fraction because π is also irrational.

1761 • π Proved Irrational

Johann Lambert finally proved that π is irrational. It took over 2,000 years after the Greeks first studied it!

So here's the big question this lesson answers: How can you tell which numbers are rational (can be written as fractions) and which are irrational (cannot)? The key lies in their decimal expansions — the digits you see after the decimal point.

SECTION 2

Core Principles & Definitions

Before we dive in, let's make sure you know the key vocabulary. Every number you can put on a number line has a decimal expansion (the digits that come after the decimal point, going on as far as you need). The question is: what do those digits look like?

1

Rational Number

A number that can be written as a fraction a/b, where a and b are integers and b ≠ 0. Examples: 3/4, −2, 0.5, 7.
2

Irrational Number

A number that CANNOT be written as a fraction of two integers. Its decimal goes on forever without ever repeating a pattern. Examples: √2, π, √3.
3

Terminating Decimal

A decimal that stops (ends). For example, 0.75 stops after two decimal places. Every terminating decimal is rational.
4

Repeating Decimal

A decimal that goes on forever but has a block of digits that repeats in a cycle. For example, 0.333... (the 3 repeats). Every repeating decimal is also rational.
5

Non-Repeating, Non-Terminating

A decimal that goes on forever AND never settles into a repeating cycle. This is the hallmark of an irrational number. Example: 3.14159265...
✦

KEY TAKEAWAY

Think of it like a playlist on repeat. A rational number is like a song playlist that eventually loops back to the beginning and replays the same songs in the same order — over and over, forever. An irrational number is like a playlist on permanent shuffle that NEVER repeats the same sequence. The music never stops, and no pattern ever comes back.

SECTION 3

Visual Explanation — The Number Line

The diagram below shows a number line from 0 to 4. Rational numbers are shown in blue, and irrational numbers are shown in pink. Notice how both types of numbers live on the same number line, filling in different spots.

Rational vs. Irrational Numbers on a Number Line01234½0.5⅔0.666...¾0.75√21.414...√52.236...π3.141...● Rational NumbersDecimals that terminate or repeat.Can be written as a/b.● Irrational NumbersDecimals that go on foreverwith NO repeating pattern.Together, rational + irrational = ALL real numbers on the number lineEvery single point on the line is one type or the other — never both.
Blue dots show rational numbers (fractions) and pink dots show irrational numbers. Notice that both types live on the same number line. Together, they make up all real numbers.

Look at the decimal values underneath each dot. The blue (rational) numbers either stop, like 0.5 and 0.75, or repeat, like 0.666… The pink (irrational) numbers just keep going with no pattern. That's the difference!

SECTION 4

Mathematical Framework — Decimal Expansions

Every number has a decimal expansion. The big idea in this lesson is that you can figure out if a number is rational or irrational just by looking at its decimal. Here are the rules.

TERMINATING DECIMAL → RATIONAL

0.75=75/100=3/40.75 = 75/100 = 3/4

If the decimal stops (terminates), you can write it as a fraction by putting the digits over a power of 10. Then simplify.

REPEATING DECIMAL → RATIONAL

0.333...=1/30.333... = 1/3

If the decimal repeats a block of digits forever, it is also rational. You can convert it to a fraction using algebra (we'll show you how in Section 6).

NON-REPEATING, NON-TERMINATING → IRRATIONAL

√2=1.41421356237...√2 = 1.41421356237...

If the decimal never stops and never repeats, the number is irrational. No fraction of integers will ever equal this number exactly.

💡

Quick Check

Ask yourself two questions: (1) Does the decimal end? If yes → rational. (2) Does the decimal have a repeating block? If yes → rational. If the answer to BOTH is no, then the number is irrational.

Here's one more important detail. When we say a decimal "repeats," we mean a specific block of one or more digits cycles over and over, starting at some point. For example, 1/6 = 0.1666... has a repeating block of just "6." And 1/7 = 0.142857142857... has a repeating block of "142857" — that's six digits long!

SECTION 5

Classifying Numbers — A Closer Look

Let's organize what we know. The diagram below shows how different types of numbers fit together, like boxes inside bigger boxes. This will help you see exactly where rational and irrational numbers belong.

The Real Number SystemREAL NUMBERSEvery point on the number lineRATIONAL NUMBERS (ℚ)Can be written as a/b (b ≠ 0)INTEGERS (..., −2, −1, 0, 1, 2, ...)Decimals: 5.0, −3.0 (terminate at .0)WHOLE: 0,1,2,3...Terminating0.50.752.125✓ RationalRepeating0.333...0.1666...0.142857...✓ RationalDecimal either terminates OR repeatsIRRATIONALCannot be written as a/bNon-repeating,non-terminating√2 = 1.41421...π = 3.14159...√3 = 1.73205...Decimal NEVERterminates or repeatsMore examples:√5, √7, √10, e(non-perfect-square roots)Also includes fractions like−7/3, 22/7, 5/11
This diagram shows the real number system. On the left, rational numbers include integers, whole numbers, and fractions — their decimals always terminate or repeat. On the right, irrational numbers have decimals that never terminate and never repeat.
NumberDecimal ExpansionTypeWhy?
3/40.75RationalTerminates
1/30.333...RationalRepeats (block: 3)
1/110.090909...RationalRepeats (block: 09)
−7−7.000...RationalTerminates (it's an integer)
√21.41421356...IrrationalNever terminates, never repeats
π3.14159265...IrrationalNever terminates, never repeats

Examples of rational and irrational numbers with their decimal expansions

SECTION 6

Worked Example — Converting a Repeating Decimal to a Fraction

One of the most important skills in this standard is converting a repeating decimal back into a fraction. This proves the number is rational. Let's walk through converting 0.272727... into a fraction.

Convert 0.272727... to a Fraction

  1. 1

    Step 1 — Set the decimal equal to a variable

    Let x = 0.272727... The repeating block is "27," which has 2 digits.
    x = 0.272727...
  2. 2

    Step 2 — Multiply both sides by a power of 10

    Since the repeating block has 2 digits, multiply both sides by 100 (that's 10²). This shifts the decimal point two places to the right.
    100x = 27.272727...
  3. 3

    Step 3 — Subtract the original equation

    Now subtract the first equation from the second. The repeating part cancels out! 100x − x = 27.272727... − 0.272727...
    99x = 27
  4. 4

    Step 4 — Solve for x

    Divide both sides by 99 to isolate x.
    x = 27/99
  5. 5

    Step 5 — Simplify the fraction

    Both 27 and 99 are divisible by 9. Divide the numerator and denominator by 9.
    x = 3/11
💡

The Trick to Remember

Count the digits in the repeating block. If 1 digit repeats, multiply by 10. If 2 digits repeat, multiply by 100. If 3 digits repeat, multiply by 1,000. Then subtract and solve!

We just proved that 0.272727... = 3/11. Since we wrote it as a fraction of two integers, it's definitely a rational number. You can use this method on ANY repeating decimal.

SECTION 7

Rational vs. Irrational — Side by Side

Let's put everything together in a clear comparison. Knowing the differences between rational and irrational numbers will help you classify any number you see.

FeatureRational NumbersIrrational Numbers
Fraction formCan be written as a/b (b ≠ 0)CANNOT be written as a/b
DecimalTerminates OR repeatsGoes on forever, never repeats
Examples1/2, 0.75, −3, 0.666...√2, π, √5, √3
On the number lineYes — fills many pointsYes — fills even MORE points!
Square roots√4 = 2, √9 = 3 (perfect squares)√2, √3, √5 (non-perfect squares)
Easy to spot?Usually — check for a pattern or endingLook for non-perfect square roots or π

Key differences between rational and irrational numbers

✦

KEY TAKEAWAY

Think of rational numbers like recipes with exact measurements — you can always write them down perfectly. Irrational numbers are more like trying to measure a coastline: no matter how closely you zoom in, you keep finding more detail and the measurement never "settles down" into a neat pattern.

SECTION 8

Connection to Future Math

Understanding rational and irrational numbers now sets you up for bigger ideas later. Here's a peek at where this knowledge leads.

What You Learn Now (8th Grade)Where It Goes Next
Classify numbers as rational or irrationalIn Algebra 1, you'll simplify expressions with irrational numbers (like 3√2 + 5√2)
Convert repeating decimals to fractionsIn Algebra 2, you'll study geometric series, which explain WHY this conversion works
Know that √2 is irrationalIn Geometry, you'll use √2 constantly when working with right triangles and the Pythagorean theorem
Understand that π is irrationalIn Geometry and beyond, π appears in every circle formula. You'll also learn about the number e (another famous irrational number)
Rational + irrational = real numbersIn Algebra 2, you'll discover imaginary numbers that go BEYOND the number line entirely!

How today's concepts connect to future coursework

Here's a fun fact: there are actually MORE irrational numbers than rational numbers on the number line! Even though fractions seem to be everywhere, the irrational numbers fill in far more of the gaps. Mathematicians proved this in the late 1800s. You might explore this idea if you study advanced math someday.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Is the number 0.454545... rational or irrational? Explain how you know.
Show answer
The number 0.454545... is rational. The block "45" repeats over and over in a cycle. Any decimal that has a repeating pattern can be written as a fraction, which means it's rational. In fact, 0.454545... = 45/99 = 5/11.

Question 2: BASIC CALCULATION

Convert the repeating decimal 0.666... into a fraction. Show your work.
Show answer
Let x = 0.666... Since one digit repeats, multiply both sides by 10: 10x = 6.666... Now subtract: 10x − x = 6.666... − 0.666..., which gives 9x = 6. Divide both sides by 9: x = 6/9. Simplify by dividing numerator and denominator by 3: x = 2/3. So 0.666... = 2/3.

Question 3: INTERMEDIATE

Convert 0.583333... (where only the 3 repeats) into a fraction. Hint: the repeating part doesn't start right away.
Show answer
This one is trickier because the decimal starts with 0.58 and then the 3 repeats. Let x = 0.58333... Multiply by 100 to move past the non-repeating part: 100x = 58.333... Now multiply the original by 1000 to shift one more digit: 1000x = 583.333... Subtract: 1000x − 100x = 583.333... − 58.333..., so 900x = 525. Divide: x = 525/900. Simplify by dividing by 75: x = 7/12. You can check: 7 ÷ 12 = 0.58333...

Question 4: APPLIED

A carpenter measures a piece of wood as √8 feet long. Another piece is exactly 2.8 feet long. Which piece has a rational length and which has an irrational length? Explain your reasoning.
Show answer
The piece that is 2.8 feet long has a rational length because 2.8 is a terminating decimal (it stops). You can write it as 28/10 = 14/5. The piece that is √8 feet long has an irrational length. Since 8 is not a perfect square (no whole number times itself equals 8), √8 is irrational. Its decimal is 2.82842712..., which never terminates and never repeats.

Question 5: CRITICAL THINKING

Marcus says: "I found a pattern in π. The digits 14159 show up near the beginning, so eventually π must start repeating." Is Marcus correct? Explain why or why not, using what you know about rational and irrational numbers.
Show answer
Marcus is not correct. Seeing a short sequence of digits appear once (or even a few times) is not the same as the decimal repeating. For a decimal to be "repeating" in the mathematical sense, a block of digits must cycle over and over without end, starting from some point. π has been calculated to trillions of digits and no repeating block has ever been found. Mathematicians have proven that π is irrational, meaning its decimal expansion goes on forever without ever settling into a repeating cycle. Random-looking patterns may appear, but they never form a permanent cycle.

SUMMARY

Lesson Summary

Summary

Every number on the number line has a decimal expansion. A rational number is any number that can be written as a fraction a/b (where b ≠ 0). Its decimal either terminates (stops, like 0.75) or repeats a block of digits forever (like 0.333...). An irrational number is a number that CANNOT be written as a fraction. Its decimal goes on forever with no repeating pattern — examples include √2 and π.

To convert a repeating decimal to a fraction, use the algebra trick: set the decimal equal to x, multiply by a power of 10 to shift the repeating block, then subtract to eliminate the repeating part and solve for x. Together, rational and irrational numbers make up the entire set of real numbers — every single point on the number line.

Varsity Tutors • 8th Grade Math • Understand Irrational Numbers