Skip to content
๐ŸŽฏโญ INTERACTIVE LESSON

Rational and Irrational Numbers

Learn step-by-step with interactive practice!

Rational and Irrational Numbers - Complete Interactive Lesson

Part 1: What Makes a Number Rational

๐Ÿ”ข Rational and Irrational Numbers

Part 1 of 5 โ€” What Makes a Number Rational


Topics in This Part

Section
The Definition of a Rational Number
Integers and Fractions Are Rational
Terminating and Repeating Decimals

๐Ÿ”‘ Key Concept: A rational number is any number you can write as a fraction ab\dfrac{a}{b} where aa and bb are integers and bโ‰ 0b \ne 0. By the end of this part you'll be able to spot one instantly.

The Definition of a Rational Number

A number is rational if it can be written as a ratio of two integers:

rational=ab,a,bย areย integers,bโ‰ 0\text{rational} = \frac{a}{b}, \quad a, b \text{ are integers}, \quad b \ne 0

The word rational literally contains the word ratio โ€” a fraction. That's the whole idea.

What counts as rational?

NumberWritten as a fractionRational?
7771\dfrac{7}{1}โœ“
โˆ’4-4โˆ’41\dfrac{-4}{1}โœ“
35\dfrac{3}{5}35\dfrac{3}{5}โœ“
0.250.2514\dfrac{1}{4}โœ“
0001\dfrac{0}{1}โœ“

๐Ÿ”‘ Key Idea: Every integer is rational, because any whole number nn equals n1\dfrac{n}{1}. The denominator can never be 00, though โ€” division by zero is undefined.

Concept Check ๐ŸŽฏ

Decimals That Are Rational

A decimal is rational when it either stops or repeats forever in a pattern.

Terminating decimals end after a finite number of digits: 0.5=12,0.75=34,0.125=180.5 = \frac{1}{2}, \qquad 0.75 = \frac{3}{4}, \qquad 0.125 = \frac{1}{8}

Repeating decimals have a block of digits that repeats without end. We draw a bar over the repeating block: 0.3โ€พ=0.3333โ€ฆ=13,0.6โ€พ=0.6666โ€ฆ=230.\overline{3} = 0.3333\ldots = \frac{1}{3}, \qquad 0.\overline{6} = 0.6666\ldots = \frac{2}{3}

DecimalTypeFraction
0.40.4terminating25\dfrac{2}{5}
0.1โ€พ0.\overline{1}repeating19\dfrac{1}{9}
0.7โ€พ0.\overline{7}repeating79\dfrac{7}{9}
0.8โ€พ0.\overline{8}repeating89\dfrac{8}{9}

๐Ÿ’ก Both terminating and repeating decimals are rational. We'll learn to turn a repeating decimal into a fraction in Part 3.

Classify Each Number ๐Ÿ”ฝ

Decide whether each value is rational. (Every number here is rational โ€” choose the reason.)

Write It as a Fraction ๐Ÿงฎ

Every rational number is a ratio of integers. Write each as a fraction in lowest terms. (Type like 3/4.)

1) 6=โ€‰?6 = \,? (use denominator 11) 2) 0.5=โ€‰?0.5 = \,? 3) โˆ’2=โ€‰?-2 = \,? (use denominator 11)

Part 2: Irrational Numbers

๐Ÿ”ข Rational and Irrational Numbers

Part 2 of 5 โ€” Irrational Numbers


๐Ÿ”‘ The Idea: An irrational number cannot be written as a fraction of integers. Its decimal goes on forever with no repeating pattern. The prefix ir- means "not," so irrational = "not a ratio."

What Makes a Number Irrational

A decimal is irrational when it is non-terminating (never ends) and non-repeating (never settles into a pattern).

The three families you'll meet most

1) The square root of a number that isn't a perfect square. 2=1.41421356โ€ฆ3=1.7320508โ€ฆ10=3.16227โ€ฆ\sqrt{2} = 1.41421356\ldots \qquad \sqrt{3} = 1.7320508\ldots \qquad \sqrt{10} = 3.16227\ldots

2) The number ฯ€\pi (ratio of a circle's circumference to its diameter): ฯ€=3.14159265โ€ฆ\pi = 3.14159265\ldots

3) Special constants like e=2.71828โ€ฆe = 2.71828\ldots (you'll meet ee in later courses).

โš ๏ธ Careful: 3.143.14 and 227\dfrac{22}{7} are rational approximations of ฯ€\pi โ€” they are not equal to ฯ€\pi. The true value ฯ€\pi never ends and never repeats, so ฯ€\pi itself is irrational.

Perfect Squares vs. the Rest

A perfect square is a number whose square root is a whole number. Its root is rational. The square root of any non-perfect-square is irrational.

NumberSquare rootRational or irrational?
16\sqrt{16}44rational (perfect square)
25\sqrt{25}55rational (perfect square)
2\sqrt{2}1.4142โ€ฆ1.4142\ldotsirrational
7\sqrt{7}2.6457โ€ฆ2.6457\ldotsirrational
50\sqrt{50}7.071โ€ฆ7.071\ldotsirrational

It helps to know the perfect squares by heart: 1,โ€…โ€Š4,โ€…โ€Š9,โ€…โ€Š16,โ€…โ€Š25,โ€…โ€Š36,โ€…โ€Š49,โ€…โ€Š64,โ€…โ€Š81,โ€…โ€Š100,โ€…โ€Š121,โ€…โ€Š1441,\; 4,\; 9,\; 16,\; 25,\; 36,\; 49,\; 64,\; 81,\; 100,\; 121,\; 144

๐Ÿ”‘ Quick test for n\sqrt{n}: If nn is in the list above (a perfect square), n\sqrt{n} is rational. Otherwise n\sqrt{n} is irrational.

Concept Check ๐ŸŽฏ

Rational or Irrational? ๐Ÿ”ฝ

Label each value.

Evaluate the Perfect Squares ๐Ÿงฎ

Each of these IS a perfect square, so its root is a whole number. Find each value.

1) 49=โ€‰?\sqrt{49} = \,? 2) 81=โ€‰?\sqrt{81} = \,? 3) 144=โ€‰?\sqrt{144} = \,?

Part 3: Turning Repeating Decimals into Fractions

๐Ÿ”ข Rational and Irrational Numbers

Part 3 of 5 โ€” Turning Repeating Decimals into Fractions


๐Ÿ”‘ Why this matters: Every repeating decimal is rational, which means it must equal some fraction. This part shows the algebra trick that finds that fraction every time.

The "Let xx Equal It" Method

To convert a repeating decimal to a fraction:

  1. Let xx equal the decimal.
  2. Multiply by 1010, 100100, or 10001000 โ€” enough to slide the repeating block left by one full block.
  3. Subtract the original equation to cancel the repeating tail.
  4. Solve for xx and simplify.

Worked Example: 0.7โ€พ0.\overline{7} (one repeating digit)

x=0.7777โ€ฆx = 0.7777\ldots

Multiply by 1010 (one repeating digit โ†’ one zero): 10x=7.7777โ€ฆ10x = 7.7777\ldots

Subtract the first equation from the second: 10xโˆ’x=7.7777โ€ฆโˆ’0.7777โ€ฆโ€…โ€Šโ‡’โ€…โ€Š9x=710x - x = 7.7777\ldots - 0.7777\ldots \;\Rightarrow\; 9x = 7

x=79x = \frac{7}{9}

โœ… Check: 7รท9=0.7777โ€ฆ=0.7โ€พ7 \div 9 = 0.7777\ldots = 0.\overline{7} โœ“

Worked Example: 0.36โ€พ0.\overline{36} (two repeating digits)

x=0.363636โ€ฆx = 0.363636\ldots

There are two repeating digits, so multiply by 100100: 100x=36.363636โ€ฆ100x = 36.363636\ldots

Subtract: 100xโˆ’x=36.363636โ€ฆโˆ’0.363636โ€ฆโ€…โ€Šโ‡’โ€…โ€Š99x=36100x - x = 36.363636\ldots - 0.363636\ldots \;\Rightarrow\; 99x = 36

x=3699=411x = \frac{36}{99} = \frac{4}{11}

๐Ÿ’ก Shortcut pattern: For a decimal made of only a repeating block, the fraction is (the block) over as many 99s as there are repeating digits. 0.7โ€พ=790.\overline{7} = \dfrac{7}{9}, โ€…โ€Š0.36โ€พ=3699=411\;0.\overline{36} = \dfrac{36}{99} = \dfrac{4}{11}, โ€…โ€Š0.452โ€พ=452999\;0.\overline{452} = \dfrac{452}{999}.

Order the Steps ๐Ÿ”ฝ

You're converting 0.5โ€พ0.\overline{5} to a fraction. Choose what happens at each stage.

Convert to a Fraction ๐Ÿงฎ

Use the method (or the 99s shortcut). Give each answer in lowest terms (type like 2/3).

1) 0.8โ€พ=โ€‰?0.\overline{8} = \,? 2) 0.45โ€พ=โ€‰?0.\overline{45} = \,? (reduce it!) 3) 0.1โ€พ=โ€‰?0.\overline{1} = \,?

Concept Check ๐ŸŽฏ

Part 4: Estimating & Ordering on a Number Line

๐Ÿ”ข Rational and Irrational Numbers

Part 4 of 5 โ€” Estimating & Ordering on a Number Line


๐Ÿ”‘ Big Payoff: You can't write an irrational like 2\sqrt{2} as an exact decimal, but you can trap it between two whole numbers and place it on a number line. That's how we compare and order real numbers.

Trapping a Square Root Between Whole Numbers

To estimate n\sqrt{n}, find the two nearest perfect squares โ€” one below nn and one above.

Example: Estimate 50\sqrt{50}

The perfect squares around 5050 are 4949 and 6464: 49<50<64โ€…โ€Šโ‡’โ€…โ€Š49<50<64โ€…โ€Šโ‡’โ€…โ€Š7<50<849 < 50 < 64 \;\Rightarrow\; \sqrt{49} < \sqrt{50} < \sqrt{64} \;\Rightarrow\; 7 < \sqrt{50} < 8

Since 5050 is very close to 4949, 50\sqrt{50} is just above 77 (in fact 50โ‰ˆ7.07\sqrt{50} \approx 7.07).

Example: Estimate 20\sqrt{20}

16<20<25โ€…โ€Šโ‡’โ€…โ€Š4<20<516 < 20 < 25 \;\Rightarrow\; 4 < \sqrt{20} < 5

2020 is closer to 1616 than to 2525, so 20โ‰ˆ4.5\sqrt{20} \approx 4.5 (actually 4.474.47).

๐Ÿ’ก To pick which whole number it's nearer to: compare nn to the two perfect squares. Closer to the lower square โ†’ root is nearer the lower whole number.

Trap the Root ๐Ÿงฎ

Each n\sqrt{n} falls between two consecutive whole numbers. Enter the whole number just below each root.

1) 40\sqrt{40} is between ___ and the next whole number. Lower bound =โ€‰?= \,? 2) 30\sqrt{30} โ†’ lower bound =โ€‰?= \,? 3) 8\sqrt{8} โ†’ lower bound =โ€‰?= \,?

Concept Check ๐ŸŽฏ

Ordering Rationals and Irrationals Together

To order a mixed list, turn everything into a decimal estimate, then compare.

Example: Order โ€…โ€Š2.5,โ€…โ€Š8,โ€…โ€Š73,โ€…โ€Šฯ€โ€…โ€Š\;2.5, \;\sqrt{8}, \;\dfrac{7}{3}, \;\pi\; from least to greatest.

ValueDecimal estimate
73\dfrac{7}{3}2.332.33
2.52.52.502.50
8\sqrt{8}2.832.83
ฯ€\pi3.143.14

Reading the estimates in order: 73<2.5<8<ฯ€\frac{7}{3} < 2.5 < \sqrt{8} < \pi

โš ๏ธ Don't guess from the symbols. 8\sqrt{8} looks small but โ‰ˆ2.83\approx 2.83, larger than 2.52.5. Always convert to decimals first, then compare.

Compare Each Pair ๐Ÿ”ฝ

Choose the correct symbol so each statement is true. (Estimate as decimals first.)

Part 5: Mixed Practice & Mastery Check

๐Ÿ”ข Rational and Irrational Numbers

Part 5 of 5 โ€” Mixed Practice & Mastery Check


You can now (1) define and spot rational numbers, (2) recognize irrationals, (3) convert repeating decimals to fractions, and (4) estimate and order roots on a number line. Let's put it all together.

Quick Reference

QuestionHow to decide
Is it rational?Can it be written as ab\frac{a}{b}, integers, bโ‰ 0b \ne 0?
Terminating or repeating decimal?Rational
Non-terminating AND non-repeating?Irrational
n\sqrt{n}, nn a perfect square?Rational (whole-number root)
n\sqrt{n}, nn not a perfect square?Irrational
Repeating decimal โ†’ fractionblock over that many 99s, then reduce
Estimate n\sqrt{n}trap between nearest perfect squares

โš ๏ธ Two classic traps: (1) ฯ€โ‰ 3.14\pi \ne 3.14 and ฯ€โ‰ 227\pi \ne \frac{22}{7} โ€” those are approximations. (2) A square root is only irrational when the radicand is not a perfect square: 9=3\sqrt{9}=3 is rational.

Mixed Practice ๐ŸŽฏ

One More Round ๐Ÿงฎ

1) Convert 0.4โ€พ0.\overline{4} to a fraction in lowest terms. 0.4โ€พ=โ€‰?0.\overline{4} = \,? (type like 2/9) 2) What is the largest whole number less than 75\sqrt{75}? 3) Evaluate 121=โ€‰?\sqrt{121} = \,? (it's a perfect square)

Exit Quiz โœ…

Answer all three to finish the lesson.