Lesson Explainer: Rational and Irrational Numbers | Nagwa Lesson Explainer: Rational and Irrational Numbers | Nagwa

Lesson Explainer: Rational and Irrational Numbers Mathematics • 8th Grade

In this explainer, we will learn how to identify and tell the difference between rational and irrational numbers.

We recall that the set of rational numbers β„š is the set of all numbers that can be written as the quotient of integers. More formally, we have β„š=ο«π‘Žπ‘βˆΆπ‘Ž,π‘βˆˆβ„€,𝑏≠0.

It is also worth noting that we can cancel any shared factors between π‘Ž and 𝑏. This means we can write any rational number as a quotient that cannot be simplified. In other words, we can write any rational number in the form π‘π‘ž where the highest common factor of 𝑝 and π‘ž is 1. We can then ask this question: Are all numbers rational?

The answer to this question is no; an example of a number that is not rational is √2. To see why this is the case, let’s assume that √2 is a rational number. This means that √2=π‘π‘ž for some integers 𝑝 and π‘ž, where π‘ž is nonzero and their highest common factor is 1. We now square both sides of the equation to get 2=π‘π‘ž.

If we multiply through by π‘žοŠ¨, we have 2π‘ž=𝑝.

The left-hand side of the equation is even, so the right-hand side must also be even. However, 𝑝 is an integer, so 𝑝 must be even. Let’s say 𝑝=2π‘˜ for some integer π‘˜. Substituting this into the equation and simplifying gives 2π‘ž=(2π‘˜),2π‘ž=4π‘˜π‘ž=2π‘˜.

Now, the right-hand side of the equation is even, so the left-hand side must also be even. Since π‘ž is an integer, then π‘ž must be even. This means both 𝑝 and π‘ž share a factor of 2. But we assumed that 𝑝 and π‘ž have no common factors. This shows that our original assumption that √2 is a rational number cannot be true. Therefore, √2 is not rational.

This exact same reasoning can be used to show that the square root of any number that is not a perfect square is not rational.

We can now define irrational numbers as follows.

Definition: The Set of Irrational Numbers

An irrational number is one that cannot be written in the form π‘Žπ‘, where π‘Ž and 𝑏 are integers and 𝑏 is nonzero. Since this set contains every number that is not rational, we can write this set as the complement of β„šβˆΆβ„šβ€².

We have therefore shown the following property and we can also extend this property to cube roots.

Property: Square Roots and Cube Roots of Non-Perfect Squares and Non-Perfect Cubes

If 𝑛 is a positive integer and not a perfect square, then βˆšπ‘› is irrational.

If 𝑛 is an integer and not a perfect cube, then οŽ’βˆšπ‘› is irrational.

In general, it is very difficult to determine if a number is rational or irrational. There are a few properties of the rational and irrational numbers that we can use to help us to determine if a number is rational or irrational.

Property: Properties of Rational and Irrational Numbers

  • If a number has a finite (or terminating) decimal expansion, then it is rational.
  • If a number has a repeating decimal expansion (e.g., 0.Μ‡12Μ‡3=0.123123…), then it is rational.
  • If a number has a decimal expansion that does not terminate or repeat, then it is irrational.

The reverse of these properties is also true: all rational numbers either have a terminating or repeating decimal expansion, and all irrational numbers have a nonterminating nonrepeating decimal expansion.

These properties allow us to determine if some numbers are rational or irrational. For example, it is known that the digits of πœ‹ never end and do not have a repeating pattern; therefore, πœ‹ is irrational.

Let’s now see an example of determining if a number is rational or irrational.

Example 1: Identifying Whether an Integer is Rational or Irrational

Is 7 a rational or an irrational number?

Answer

We recall that rational numbers are ones that can be written in the form π‘Žπ‘, where π‘Ž and 𝑏 are integers and 𝑏 is nonzero. Irrational numbers are ones that are not rational. We can see that 7=71, so it is a rational number. All integers can be written in this way. Hence, all integers are rational.

In particular, 7 is rational.

In our next example, we will consider the possibility of a number being both rational and irrational.

Example 2: Finding the Intersection of the Rational and Irrational Numbers

What is β„šβˆ©β„šβ€²?

Answer

We can answer this question in terms of only set operations. We know that the intersection of any set with its complement is empty. In particular, β„šβˆ©β„šβ€²=βˆ….

However, it can be useful to think about this in terms of numbers. We recall that β„š is the set of rational numbers, that is, the set of numbers that can be written as the quotient of two integers. Similarly, we recall that β„šβ€² is the set of irrational numbers, that is, all the numbers that cannot be written as the quotient of two integers.

We see that a number cannot be both in β„š and β„šβ€² as either the number can be written as a quotient of two integers or it cannot. Hence, β„šβˆ©β„šβ€²=βˆ….

Let’s now see an example of determining if a given number is rational or irrational.

Example 3: Identifying Whether a Number with a Recurring Decimal Is Rational or Irrational

Is 0.Μ‡45Μ‡6 a rational or an irrational number?

Answer

We recall that all numbers with a recurring decimal expansion are rational. Since 0.Μ‡45Μ‡6 has a recurring decimal expansion, we can conclude that the number is rational.

We can find the exact of the rational number 0.Μ‡45Μ‡6 by using a calculator. If we write 0.Μ‡45Μ‡6 into a calculator, we get 0.Μ‡45Μ‡6=152333.

In our next example, we will determine whether the cube root of a given number is rational or irrational.

Example 4: Identifying Whether a Cube Root is Rational or Irrational

Is √27 a rational or an irrational number?

Answer

We recall that rational numbers are ones that can be written as the quotient of two integers and that if 𝑛 is an integer and not a perfect cube, then οŽ’βˆšπ‘› is irrational.

Therefore, we should start by checking if 27 is a perfect cube. We note that 27=3Γ—3Γ—3.

So, √27=√3=3.

Since all integers are rational, we know that 3 is rational.

Hence, √27 is rational.

In our next example, we will determine if the solution to an equation is rational or irrational.

Example 5: Identifying Whether the Solution to an Equation is Rational or Irrational

If π‘₯ is a solution to the equation (π‘₯+1)=8, determine if π‘₯βˆˆβ„š or π‘₯βˆˆβ„šβ€².

Answer

We can solve this equation by taking the square roots of both sides of the equation, where we note we will have a positive and a negative root. So, we get π‘₯+1=√8π‘₯+1=βˆ’βˆš8.or

In both cases, we can subtract 1 from both sides of the equation to get π‘₯=βˆ’1+√8π‘₯=βˆ’1βˆ’βˆš8.or

We can then recall that the square root of any non-perfect square is irrational. So, √8 is irrational. This tells us that the decimal expansion of √8 is nonrepeating and nonterminating. Multiplying √8 by βˆ’1 will not change the decimal expansion; it will only change the sign. Similarly, subtracting 1 will only change the unit digit. Hence, both βˆ’1βˆ’βˆš8 and βˆ’1+√8 have nonrepeating and nonterminating decimal expansions; they are both irrational.

It is worth noting that we did not need to find the value of this solution. We could have just noted that √8 is irrational and then found that the solution π‘₯ only involves subtracting and multiplying by nonzero rational numbers to this irrational number. This is enough to show that π‘₯ is irrational.

Another way of saying this is that since there is no rational number whose square is 8, there is no rational number we can add 1 to and then square to get 8.

Therefore, π‘₯βˆˆβ„šβ€².

In our final example, we will use the area of a square to determine if its length is rational or irrational.

Example 6: Identifying Whether the Side of a Square is Irrational given the Area

A square of side length π‘₯ cm has an area of 280 cm2. Which of the following is true about π‘₯?

  1. It is an integer number.
  2. It is a rational number.
  3. It is an irrational number.
  4. It is a natural number.
  5. It is a negative number.

Answer

We recall that the area of a square of side length π‘₯ is given by area=π‘₯.

We are told that the area of this square is 280 cm2. Substituting this value into the equation gives 280=π‘₯.

We can solve for π‘₯ by taking the square root of both sides of the equation, where we note that π‘₯ cm is a length and so it must be positive. This gives us π‘₯=√280.

We then recall that if 𝑛 is a positive integer and not a perfect square, then βˆšπ‘› is irrational. We check the square numbers to see that 280 is not a perfect square. Therefore, √280 is irrational.

Hence, the answer is C: it is an irrational number.

Let’s finish by recapping some of the important points from this explainer.

Key Points

  • An irrational number is one that cannot be written in the form π‘Žπ‘, where π‘Ž and 𝑏 are integers and 𝑏 is nonzero.
  • The set of irrational numbers is written as β„šβ€².
  • A number cannot be both rational and irrational. In particular, β„šβˆ©β„šβ€²=βˆ….
  • If 𝑛 is a positive integer and not a perfect square, then βˆšπ‘› is irrational.
  • If 𝑛 is an integer and not a perfect cube, then οŽ’βˆšπ‘› is irrational.
  • If a number has a finite (or terminating) decimal expansion, then it is rational.
  • If a number has a repeating decimal expansion, then it is rational.
  • If a number has a decimal expansion that does not terminate or repeat, then it is irrational.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy