M8MATH-1.2

Rational & Irrational Numbers

Learn to classify numbers as rational or irrational. Understand why π and √2 never terminate or repeat, and why √9 is rational but √2 is not.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on Rational & Irrational Numbers, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

Every number you've worked with so far fits into one of two categories: rational or irrational. A rational number can be written as a fraction and its decimal either stops or repeats forever in a pattern. An irrational number's decimal goes on forever without repeating—and you can't write it as a simple fraction. In this lesson, you'll learn how to spot the difference and classify numbers like π, √2, and √9. This skill is essential because it helps you understand the structure of the real number system and prepares you to work with square roots and radicals in algebra.

What Is a Rational Number?

A rational number is any number that can be expressed as a fraction ab\frac{a}{b} where aa and bb are integers and b0b \neq 0. When you write a rational number as a decimal, one of two things happens: the decimal terminates (stops), or the decimal repeats in a cycle.

Examples of terminating decimals: 0.5=120.5 = \frac{1}{2}, 0.75=340.75 = \frac{3}{4}, 0.125=180.125 = \frac{1}{8}. These decimals end.

Examples of repeating decimals: 13=0.333...\frac{1}{3} = 0.333... (the 3 repeats forever), 211=0.181818...\frac{2}{11} = 0.181818... (the digits 18 repeat). We write repeating decimals using a bar over the repeating part: 0.30.\overline{3} or 0.180.\overline{18}.

All integers are rational because any integer nn can be written as n1\frac{n}{1}. All fractions are rational by definition. All terminating and repeating decimals are rational. The key idea is that you can always express a rational number exactly as a fraction.

What Is an Irrational Number?

An irrational number is a number whose decimal representation neither terminates nor repeats. No matter how far you write out the decimal, it never stops and never falls into a repeating pattern. Because the decimal never repeats, you cannot write an irrational number as a simple fraction ab\frac{a}{b}.

The most famous irrational numbers are π\pi (pi) and 2\sqrt{2} (the square root of 2). The decimal for π\pi begins 3.14159265358979...3.14159265358979... and continues forever without repeating. The decimal for 2\sqrt{2} begins 1.41421356237...1.41421356237... and never repeats either.

Another irrational number is shown in this pattern: 0.101001000100001...0.101001000100001... Notice that the number of zeros increases each time. This decimal never repeats because the pattern of digits keeps changing. You cannot write this as a fraction.

Once you understand that irrational numbers have non-repeating, non-terminating decimals, you have a clear way to identify them. If someone gives you a decimal that goes on forever in a non-repeating way, it is irrational.

Square Roots: When Are They Rational?

An important rule helps you decide whether a square root is rational or irrational: n\sqrt{n} is rational if and only if nn is a perfect square. A perfect square is a number that is the product of an integer multiplied by itself.

Perfect squares: 1,4,9,16,25,36,49,64,81,100,...1, 4, 9, 16, 25, 36, 49, 64, 81, 100, ...

When nn is a perfect square, n\sqrt{n} is an integer (and therefore rational).

9=3\sqrt{9} = 3 (because 3×3=93 \times 3 = 9), so 9\sqrt{9} is rational.

16=4\sqrt{16} = 4, so 16\sqrt{16} is rational.

100=10\sqrt{100} = 10, so 100\sqrt{100} is rational.

When nn is not a perfect square, n\sqrt{n} is irrational. Its decimal never terminates or repeats.

2\sqrt{2} is irrational because 2 is not a perfect square. Its decimal is 1.41421356...1.41421356... with no repeating pattern.

3\sqrt{3} is irrational because 3 is not a perfect square.

5\sqrt{5} is irrational because 5 is not a perfect square.

This rule is one of the most useful tools for classifying numbers. Any time you see a square root, check whether the number under the radical is a perfect square.

Classifying Mixed Cases

Sometimes you'll encounter numbers that look tricky but become clear once you simplify or convert them.

227\frac{22}{7} is rational because it is already written as a fraction of two integers. Even though 227\frac{22}{7} is often used as an approximation for π\pi, they are not equal. The fraction 227\frac{22}{7} terminates or repeats when written as a decimal (3.142857142857...3.142857142857..., which repeats), while π\pi does not. The fraction itself is always rational.

18\sqrt{18} might look irrational at first, but you can simplify it: 18=9×2=9×2=32\sqrt{18} = \sqrt{9 \times 2} = \sqrt{9} \times \sqrt{2} = 3\sqrt{2}. Since 2\sqrt{2} is irrational and you are multiplying it by 3, the result is irrational.

4\sqrt{4} simplifies to 2, so it is rational, not irrational—even though it has a radical sign.

Always simplify first, and check what is actually under the radical sign after simplification. That is where students often go wrong—they assume any expression with a radical is irrational without simplifying.

The Relationship Between Rational and Irrational Numbers

Together, rational and irrational numbers make up the real number system. Every real number is either rational or irrational—there is no third category.

You can think of rational numbers as "exact and predictable": you can write them as fractions, their decimals follow a pattern, and you can express them precisely. Irrational numbers are "infinite and non-repeating": their decimals never stop or repeat, so you can never write them down completely, yet they are still specific numbers on the number line.

When you graph numbers on a number line, both rational and irrational numbers appear. In fact, between any two rational numbers, there is an irrational number, and between any two irrational numbers, there is a rational number. The real number system is filled densely with both types. Understanding the difference between them is crucial as you move forward in mathematics, where you will work with equations involving irrational numbers and learn why certain solutions cannot be expressed as simple fractions.

Key terms

Rational Number.
A number that can be written as a fraction ab\frac{a}{b} where aa and bb are integers and b0b \neq 0. Its decimal representation either terminates or repeats.
Irrational Number.
A number whose decimal representation neither terminates nor repeats. It cannot be written as a fraction of two integers.
Terminating Decimal.
A decimal number that ends after a finite number of digits, such as 0.50.5 or 0.1250.125.
Repeating Decimal.
A decimal number in which one or more digits repeat infinitely in a pattern, such as 0.30.\overline{3} or 0.180.\overline{18}.
Perfect Square.
A positive integer that is the product of an integer multiplied by itself, such as 9=3×39 = 3 \times 3 or 16=4×416 = 4 \times 4.
Real Numbers.
The set of all rational and irrational numbers combined. Every point on the number line represents a real number.

Worked example

Classify each of the following as rational or irrational. Explain your reasoning.

(a) 25\sqrt{25} (b) 7\sqrt{7} (c) 0.454545...0.454545... (d) π\pi
(a) 25\sqrt{25}: First, determine whether 25 is a perfect square. Since 5×5=255 \times 5 = 25, yes, 25 is a perfect square. Therefore, 25=5\sqrt{25} = 5. Since 5 is an integer, it is rational. You can write it as the fraction 51\frac{5}{1}. Answer: Rational

(b) 7\sqrt{7}: Check whether 7 is a perfect square. The perfect squares near 7 are 4 and 9. Since 7 falls between them and is not equal to either, 7 is not a perfect square. Therefore, 7\sqrt{7} is irrational. Its decimal form is approximately 2.6457513...2.6457513... with no repeating pattern. Answer: Irrational

(c) 0.454545...0.454545...: Notice that the digits 45 repeat indefinitely. We can write this as 0.450.\overline{45}. Because the decimal repeats, this is a rational number. In fact, it equals the fraction 4599=511\frac{45}{99} = \frac{5}{11}. Answer: Rational

(d) π\pi: The symbol π\pi represents the ratio of a circle's circumference to its diameter. Its decimal representation is 3.14159265358979...3.14159265358979... and continues forever without repeating. Since it is non-terminating and non-repeating, π\pi is irrational. Answer: Irrational

Practice questions

Which of the following is an irrational number?
  1. 78\frac{7}{8}
  2. 36\sqrt{36}
  3. 0.333333...0.333333...
  4. 11\sqrt{11}

Answer: 11\sqrt{11}

78\frac{7}{8} is a fraction, so it is rational. 36=6\sqrt{36} = 6, which is an integer and therefore rational. 0.333...0.333... is a repeating decimal, so it is rational (it equals 13\frac{1}{3}). However, 11\sqrt{11} cannot be simplified because 11 is not a perfect square. Its decimal representation is non-terminating and non-repeating, making it irrational. This is the correct answer.
Explain why 50\sqrt{50} is irrational, but 50\sqrt{50} can also be simplified to include a rational number. What is that rational part?

Answer: 50 is not a perfect square, so 50\sqrt{50} is irrational. However, we can factor 50 as 50=25×250 = 25 \times 2, and 25 is a perfect square. Therefore, 50=25×2=25×2=52\sqrt{50} = \sqrt{25 \times 2} = \sqrt{25} \times \sqrt{2} = 5\sqrt{2}. The rational part is 5 (the coefficient in front of the radical). The number 525\sqrt{2} is still irrational overall because it contains 2\sqrt{2}, an irrational number.

This question tests whether you understand that simplifying a radical expression means extracting perfect square factors. The number 5 is rational, but when multiplied by the irrational number 2\sqrt{2}, the result is still irrational. Students often forget that you can simplify square roots by pulling out perfect square factors.
Is 227\frac{22}{7} a good representation of π\pi? Use the definition of rational and irrational numbers to support your answer.

Answer: 227\frac{22}{7} is a good approximation of π\pi for many practical purposes, but it is not equal to π\pi. The fraction 227\frac{22}{7} is rational because it is written as a fraction of two integers; its decimal representation is 3.142857142857...3.142857142857..., which repeats. However, π\pi is irrational, so its decimal never repeats. Therefore, no matter how close 227\frac{22}{7} gets to π\pi, they are not the same number. 227\frac{22}{7} is useful as an approximation, but mathematically, they are fundamentally different types of numbers.

This answer reinforces the distinction between rational and irrational numbers and addresses a common source of confusion. Students often think that 227\frac{22}{7} equals π\pi, but the definition of irrational numbers makes it clear that π\pi cannot equal any fraction. The repeating decimal of 227\frac{22}{7} versus the non-repeating decimal of π\pi are the proof.

FAQ

How do I know if a square root is irrational without using a calculator?
Check whether the number under the radical is a perfect square. Perfect squares are 1,4,9,16,25,36,49,64,81,1001, 4, 9, 16, 25, 36, 49, 64, 81, 100, and so on. If the number under the radical is on this list, the square root is rational (it simplifies to an integer). If it is not on the list, the square root is irrational. For example, 15\sqrt{15} is irrational because 15 is not a perfect square, while 25=5\sqrt{25} = 5 is rational because 25 is a perfect square.
Can an irrational number ever be negative?
Yes. Negative irrational numbers exist. For example, 2-\sqrt{2} and π-\pi are both irrational. The negative sign does not change whether a number is rational or irrational—it only changes the direction on the number line. An irrational number is irrational because its decimal neither terminates nor repeats, regardless of whether it is positive or negative.
Why is it impossible to write down all the digits of an irrational number?
Irrational numbers have non-terminating, non-repeating decimals, which means the digits continue forever without following a pattern you can predict or summarize. Since there is no repeating cycle, you cannot use an abbreviation like 0.450.\overline{45}. Since the decimal never ends, you can never finish writing it completely. You can only write approximations, like writing π3.14159\pi \approx 3.14159. This is why irrational numbers are sometimes said to be "infinite" in a specific sense—not in size, but in the complexity of their decimal representation.
If I simplify 8\sqrt{8} to 222\sqrt{2}, is the result rational or irrational?
The result is irrational. When you simplify 8=4×2=22\sqrt{8} = \sqrt{4 \times 2} = 2\sqrt{2}, you pull out the perfect square (4, which becomes 2), but 2\sqrt{2} remains inside the radical. Since 2\sqrt{2} is irrational, and you are multiplying it by the rational number 2, the overall result 222\sqrt{2} is still irrational. A rational number times an irrational number (when the irrational number is not zero) is always irrational.

Learn this with a teacher, not a page

The Crimsora tutor teaches Rational & Irrational Numbers live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.