Rational and Irrational Numbers: What They Are, Differences, Examples, and Exercises

 

Rational and Irrational Numbers: What They Are, Differences, Examples, and Exercises

Español | English

Rational and irrational numbers are part of the real number system and appear constantly in mathematics. Although they may initially seem difficult to distinguish, there is a fundamental idea that allows us to classify them: a rational number can be expressed as the quotient of two integers, whereas an irrational number cannot be represented in this way.

This difference can also be observed in their decimal representations. Rational numbers may have terminating or repeating decimals, while irrational numbers have an infinite decimal expansion that does not follow a repeating pattern.

In this article, you will learn what rational and irrational numbers are, how to recognize them, how they differ, what happens with square roots, and how to classify them using examples and exercises.

What Are Rational Numbers?

A rational number is any number that can be written as the quotient of two integers, provided that the denominator is not zero.

a / b, where a, b ∈ ℤ and b ≠ 0

The set of rational numbers is represented by the letter .

For example:

1/2     −3/4     7/5     8     −5

All of these numbers are rational.

But why is the number 8 rational if it is not written as a fraction?

Because any integer can be written as a fraction with a denominator of 1:

8 = 8/1

Likewise:

−5 = −5/1

Therefore, all integers are also rational numbers.

Examples of Rational Numbers

Consider the following numbers:

3     −7     0     2/5     −11/4     0.75     0.3333...

All of them are rational.

For example:

0.75 = 75/100 = 3/4

And:

0.3333... = 1/3

Key idea: If a number can be written exactly as a fraction whose numerator and denominator are integers, it is rational.

What Are Irrational Numbers?

Irrational numbers are real numbers that cannot be expressed exactly as the quotient of two integers.

An important characteristic is that their decimal representation is infinite and non-repeating. In other words, the digits continue indefinitely, and there is no block of digits that repeats regularly.

Some well-known examples are:

π = 3.1415926535...

√2 = 1.4142135623...

e = 2.7182818284...

These numbers have infinite decimal expansions that do not contain a repeating pattern.

For example, we can use 3.14 as an approximation of π, but 3.14 is not exactly equal to π.

This distinction is important: using an approximate decimal value in a calculation does not mean that the original number has ceased to be irrational.

Examples of Irrational Numbers

Some examples include:

√2     √3     √5     π     e

There are also many other irrational numbers. Therefore, we should not think that irrational numbers are limited to π and certain square roots.

What Is the Difference Between Rational and Irrational Numbers?

The fundamental difference can be summarized as follows:

Characteristic Rational Numbers Irrational Numbers
Can be expressed as the quotient of two integers Yes No
Terminating decimal Yes No
Infinite repeating decimal Yes No
Infinite non-repeating decimal No Yes
Belong to the real numbers Yes Yes
Example 1/2 √2

The key is not simply to ask whether a number has decimal places.

Having decimal places does not make a number irrational.

For example:

0.5 = 1/2

Therefore, 0.5 is rational.

Also:

0.7777... = 7/9

Therefore, 0.7777... is also rational.

On the other hand:

√2 = 1.41421356237...

is irrational because its decimal expansion is infinite and non-repeating.

Fundamental rule:

Terminating decimal = rational.

Infinite repeating decimal = rational.

Infinite non-repeating decimal = irrational.

How Can You Identify Whether a Number Is Rational or Irrational?

We can follow a simple procedure to classify a number.

Step 1. Look for a Fraction

If the number is expressed as a fraction of two integers and the denominator is not zero, then the number is rational.

For example:

7/8

This is a rational number.

Step 2. If It Is an Integer, It Is Also Rational

For example:

−12 = −12/1

Therefore, −12 is rational.

Step 3. Examine the Decimal Representation

If the decimal terminates, it is rational.

For example:

2.75 = 11/4

A number is also rational if its decimal is infinite and repeating:

0.121212...

This number can be expressed as:

0.121212... = 12/99 = 4/33

Therefore, it is rational.

Step 4. Analyze Square Roots

Here we encounter one of the most common misconceptions: not all square roots are irrational.

When the radicand is a positive integer, if it is a perfect square, its square root is an integer and, therefore, rational. If it is not a perfect square, its square root is irrational.

For example:

√4 = 2

Since 2 is an integer, it is also rational.

In contrast, √2 is irrational.

Another example:

√25 = 5 is rational, whereas √10 is irrational.

Practical rule: When the radicand is a positive integer, if it is a perfect square, its square root is rational. If it is not a perfect square, its square root is irrational.

Rational and Irrational Numbers Make Up the Real Numbers

Rational and irrational numbers are both part of the set of real numbers.

Within the number systems, we have the following relationship:

ℕ ⊂ ℤ ⊂ ℚ ⊂ ℝ

This means that the natural numbers are contained within the integers; the integers are contained within the rational numbers; and the rational numbers are part of the real numbers.

Irrational numbers also belong to the set of real numbers, but they do not belong to the set of rational numbers.

Together, the real numbers consist of rational and irrational numbers.

For example, between 1 and 2 we can find the rational number:

1.5

and also the irrational number:

√2 ≈ 1.4142...

Moreover, between any two distinct real numbers, there are infinitely many rational numbers and infinitely many irrational numbers.

An Important Observation

Rational numbers are not limited to fractions that are written explicitly in fractional form.

For example:

2.5     −4     0.125

are also rational.

We can convert them as follows:

2.5 = 5/2

−4 = −4/1

0.125 = 1/8

Therefore, the way a number is written does not, by itself, determine its classification. What matters is whether it can be expressed as the quotient of two integers, with a denominator different from zero.

Exercises on Rational and Irrational Numbers

Exercise 1

Classify the following number:

−7/3

Answer: Rational.

It is expressed as a fraction of two integers, and the denominator is not zero.

Exercise 2

Classify: 0.25

Answer: Rational.

We can write:

0.25 = 25/100 = 1/4

Exercise 3

Classify:

0.6666...

Answer: Rational.

It is a repeating decimal:

0.6666... = 2/3

Exercise 4

Classify:

√36

Answer: Rational.

Since:

√36 = 6

and 6 is an integer, the answer is rational.

Exercise 5

Classify:

√7

Answer: Irrational.

7 is not a perfect square, and √7 cannot be expressed as the quotient of two integers.

Exercise 6

Classify:

π

Answer: Irrational.

π has an infinite, non-repeating decimal expansion and cannot be expressed exactly as the quotient of two integers.

Exercise 7

Classify:

−15

Answer: Rational.

It can be expressed as:

−15 = −15/1

Exercise 8

Classify the number √2.

√2 ≈ 1.41421356237...

Answer: Irrational.

√2 is irrational because its decimal expansion continues indefinitely and does not contain a repeating period. The decimal value shown is only an approximation.

A Common Mistake: Thinking That All Infinite Decimals Are Irrational

This is one of the most important misconceptions when studying rational and irrational numbers.

Consider:

1/3 = 0.333333...

The decimal is infinite, but it is repeating because the digit 3 repeats indefinitely.

Therefore, 1/3 is rational.

In contrast:

√2 = 1.41421356237...

is irrational because its digits continue indefinitely without forming a repeating period.

The difference is not simply that the decimal is infinite.

What matters is whether the infinite decimal is repeating or non-repeating.

Do Irrational Numbers Appear in Real-World Problems?

Yes. Irrational numbers appear in geometry, physics, calculus, and many other areas of mathematics.

For example, the number π appears when working with circles.

The formula for the circumference of a circle is:

C = 2πr

While the formula for the area of a circle is:

A = πr²

In these cases, we can use a decimal approximation of π for practical calculations, but the exact mathematical value remains π.

Irrational square roots also appear when calculating lengths. For example, using the Pythagorean theorem:

c² = a² + b²

Therefore:

c = √(a² + b²)

If the result does not correspond to an exact square root, an irrational number may appear.

This demonstrates that irrational numbers are not simply a theoretical category: they are part of mathematical procedures used to represent quantities.

Frequently Asked Questions About Rational and Irrational Numbers

What are rational numbers?

They are numbers that can be expressed as the quotient of two integers, with a denominator different from zero. They include fractions, integers, terminating decimals, and repeating decimals.

What are irrational numbers?

They are real numbers that cannot be expressed exactly as the quotient of two integers. Their decimal representation is infinite and non-repeating.

What is the difference between rational and irrational numbers?

The fundamental difference is that a rational number can be written as the quotient of two integers, whereas an irrational number cannot be represented in this way.

Is π rational or irrational?

π is irrational. Its decimal representation is infinite and non-repeating.

Is a square root always irrational?

No. For example:

√25 = 5 is rational.

In contrast:

√2 is irrational.

Are integers rational?

Yes. Any integer can be written as a fraction with a denominator of 1.

7 = 7/1

Is 0 a rational number?

Yes. It can be expressed as:

0 = 0/1

Is 0.5 rational or irrational?

It is rational because:

0.5 = 1/2

Conclusion

Understanding rational and irrational numbers is essential for progressing to topics such as real numbers, algebra, roots, equations, geometry, and calculus.

The essential idea can be summarized in three rules:

1. If a number can be expressed as the quotient of two integers, with a denominator different from zero, it is rational.

2. A terminating or repeating decimal is rational.

3. An infinite, non-repeating decimal is irrational.

It is also important to remember that not all square roots are irrational. A square root such as:

√36 = 6

produces a rational number, whereas:

√2

produces an irrational number.

True mathematical skill does not consist only of memorizing definitions, but of recognizing the characteristics of a number and justifying why it belongs to a particular set. This ability is especially useful when solving school exercises and admission exam questions.


Continue Learning with Frecuencia Educativa

This topic is part of the episode:

T2E2 | Fundamentals of Arithmetic: Rational and Irrational Numbers, Fractions, Decimals, Ratios, and Proportions | Frecuencia Educativa

In this episode, you will find an integrated explanation of four fundamental topics in Arithmetic: rational and irrational numbers, fractions, decimal numbers, and ratios and proportions. The episode connects these concepts to help you understand how they relate to one another within the study of numbers.

This article explores the first topic of the episode in greater depth: rational and irrational numbers.

🎙️ Listen to the full episode here:

▶️ T2E2 EPISODE LINK


Module Infographic

Also check out the infographic for this topic, where you will find a visual summary of the main concepts related to rational and irrational numbers.

The infographic will allow you to quickly review the definitions, characteristics, differences, examples, and criteria used to identify rational and irrational numbers.

🖼️ VIEW INFOGRAPHIC




Short Video

Would you prefer a quick review?

Watch this Short, where we explain what rational and irrational numbers are and how to distinguish them in less than one minute.

▶️ WATCH SHORT


Academic Resource Information

Collection

Mathematics

Knowledge Center

Arithmetic

Knowledge Area

Rational and Irrational Numbers

Topic

Rational and Irrational Numbers

Level

Basic

Estimated Reading Time

10–12 minutes

Resource Type

Master Article

Skills Developed

  • Identify rational and irrational numbers.
  • Recognize the characteristics of each set.
  • Distinguish between terminating, repeating, and non-repeating decimals.
  • Classify numbers using different representations.
  • Identify rational and irrational square roots.
  • Relate rational and irrational numbers to the real numbers.
  • Justify the classification of a number using mathematical criteria.

Library Path

Digital Library → Mathematics Collection → Knowledge Center: Arithmetic → Knowledge Area: Rational and Irrational Numbers


You Are Here

Digital Library → Mathematics Collection → Knowledge Center: Arithmetic → Knowledge Area: Rational and Irrational Numbers → Topic: Rational and Irrational Numbers


Related Articles

Comentarios

Entradas populares

Recta numérica: cómo ubicar números paso a paso con ejemplos y ejercicios resueltos

Propiedades de la suma y la multiplicación: explicación completa con ejemplos y ejercicios resueltos

Números Naturales: qué son, características, ejemplos y ejercicios explicados paso a paso