Lesson Explainer: Real Numbers | Nagwa Lesson Explainer: Real Numbers | Nagwa

Lesson Explainer: Real Numbers Mathematics • Second Year of Preparatory School

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

In this explainer, we will learn how to identify the relationships between the subsets of the real numbers and how to represent real numbers on number lines.‌

We recall that the set of rational numbers is the set of all quotients of integers. In other words, it contains all numbers of the form 𝑎𝑏 where 𝑎, 𝑏 and 𝑏 is nonzero. We have also seen that there are numbers such as 2 that cannot be written as the quotients of integers; we call numbers like this irrational numbers. Since it is not rational, it must be an element of the complement of . We call this the set of irrational numbers. We can use this set to construct a new set of numbers called the real numbers.

Definition: Real Numbers and the Set of Real Numbers

The set of real numbers, denoted , is given by =.

A real number is any element in the set ; this includes all numbers that can be represented on the number line such as the integers, rational numbers, and irrational numbers.

To explore this concept in more detail, let’s move on to the first example.

Example 1: Finding the Union of the Rational and Irrational Numbers

What is ?

Answer

We recall that =𝑎𝑏𝑎,𝑏,𝑏0. This is known as the set of rational numbers; it is the set of all quotients of integers. We can take the complement of this set to represent all numbers that are not rational. In other words, is the set of all numbers that cannot be represented as the quotients of two integers. We call these the irrational numbers.

Finally, we can take the union of these sets to construct the set of real numbers. We have =.

In our next example, we consider whether nonintegers are all rational numbers.

Example 2: Verifying a Statement about the Set of Integers

Is every noninteger number a rational number?

Answer

We recall that a rational number is one that can be written as the quotient of integers that is equivalent to saying that it has either a terminating decimal expansion or a repeating decimal expansion. We can then recall that numbers like 𝜋 do not have a repeating or finite decimal expansion and are, hence, not rational.

This is enough to answer the question. However, it may be useful to see a formal proof of this fact. Let’s assume that 2 is a rational number. This means that 2=𝑎𝑏 for some integers 𝑎 and 𝑏 where 𝑏 is nonzero. We can note that 2 is not an integer, since there is no integer whose square is 2. If 𝑎 and 𝑏 share any factors, we can cancel them, so we can assume 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𝑘; substituting this in 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, we must have that 𝑏 is even. 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 irrational.

Hence, we were able to show that it is not true that every noninteger number is a rational number, so the answer is no.

There are many different subsets of the real numbers: we have the irrational numbers , the rational numbers , the integers , the natural numbers , and many more. Often, we will need to categorize given numbers into each of these sets. However, this can be difficult since some numbers appear in multiple sets. For example, 2 is a natural number, an integer, and a rational number.

To get around this problem we can consider a Venn diagram containing all of these sets. Our outermost set would be . Next, we know that =, and we note that there is no number that is both rational and not rational. So, is composed of the disjoint sets and . Finally, . This gives us the following Venn diagram.

We can now use this to classify any real number. For example, we already showed that 2, 2, 2 and 2. We can represent this on the Venn diagram by writing 2 inside all of these sets as follows.

Let’s now see an example of using a Venn diagram to classify a list of given real numbers.

Example 3: Placing Real Numbers in a Venn Diagram

For the numbers 9, 7, 1.25, 13, 3, 2, 8, and 2, which of the following Venn diagrams is true?

Answer

To determine which of the Venn diagrams is correct, we first recall that we need to write each number inside the correct subsets. If a number is encircled by the set, this indicates that it is a member of the set.

The easiest way to answer this question is to eliminate options. We can do this by determining which subset each of the given numbers is a member of and which subsets they are not members of.

Let’s start by recalling what is meant by each set. We will go from the innermost subset outward: 9,7,1.25,13,3,2,8,2.and

First, the set of natural numbers, , is the set of counting numbers; it is given by ={0,1,2,}. We can immediately see that 7. We might stop here; however, 9 is a perfect square. So, 9=3. Hence, 9. Similarly, 8 is a perfect cube, so 8=2. Hence, 8. We can use this to eliminate option C, since it does not include 9 and options D and E, since they state that 3 is a natural number.

Second, we recall that is the set of integers that is any whole number including negatives. We can see that 3. However, the remaining numbers are not integers, so we move on to the next subset.

Third, we recall that is the set of rational numbers: that is the set of all quotients of integer values. Thus, 13. We also know that any decimal with a finite number of digits is a rational number. In particular, we have that 1.25=125100=54, so 1.25. This allows us to eliminate option B, which states that these are not rational numbers.

We could stop here; however, let’s verify that option A is correct. The remaining two numbers, 2 and 2, cannot be written as the quotient of two integers. To see why this is the case, we first recall that the square root of a nonsquare number is irrational. Since 2 is not a square number, 2 is not rational. This means it is an element of , which is the set of irrational numbers. We also note that =, so 2. Similarly, we can recall that the cube root of a nonperfect cube is irrational. Thus, 2 and 2.

This gives us the following Venn diagram.

We can see that it exactly matches option A.

Before we move on to our next example, let’s look at classifying numbers given in different forms into the correct subsets of the real numbers. We can do this by writing these numbers in a table with the possible subsets as columns.

NumberNatural NumberIntegerRational NumberIrrational NumberReal Number
8
0.̇3
9
3
06

The first step in classifying each of the given numbers is to recall the definitions of each of the sets:

  • The set of natural numbers is the set of counting numbers; it is given by ={0,1,2,}.
  • The set of integers is the set of whole numbers including negatives: ={3,2,1,0,1,2,3,}.
  • The set of rational numbers is the set of quotients of integer values: =𝑎𝑏𝑎,𝑏,𝑏0.
  • The set of irrational numbers is the complement of the set of rational numbers. It includes all numbers that cannot be written as the quotients of integers.
  • The set of real numbers includes the sets of the rational and irrational numbers: =.

We can then recall that all of these sets are subsets of the real numbers. In particular, .

We can use this to simplify the process of filling in the table.

To determine which set each number is in, we will want to simplify the given expression for each number.

First, we note that (2)=8, so 8=2. We can see that this is not a counting number; however, it is an integer. We then note that , so it is also a rational and a real number. It is not an irrational number since it is rational; this gives us the following.

NumberNatural NumberIntegerRational NumberIrrational NumberReal Number
8××

Second, we note that 0.̇3 is a decimal with a repeating decimal expansion. In particular, we can note that this is equivalent to 13, so this is a rational number. It is not a counting number nor is it an integer. Finally, since it is rational it is not irrational and it is a real number. This gives us the following entries in the table.

NumberNatural NumberIntegerRational NumberIrrational NumberReal Number
0.̇3×××

Third, we want to simplify the expression 9. We can do this by noting that 3=9, so 9=3. This is a natural number, and by using the fact that , we can see that it is also an integer, a rational number, and a real number. We have shown the following entries.

NumberNatural NumberIntegerRational NumberIrrational NumberReal Number
9×

Fourth, we note that 3 is not a square number. We then recall that the square root of a nonsquare number is irrational. Since an irrational number cannot be a natural number, an integer, or a rational number and all irrational numbers are real numbers, we get the following entries.

NumberNatural NumberIntegerRational NumberIrrational NumberReal Number
3×××

Finally, we can rewrite 06 as 0. This is a natural number, so we get the following entries.

NumberNatural NumberIntegerRational NumberIrrational NumberReal Number
06×

This gives us the following final table.

NumberNatural NumberIntegerRational NumberIrrational NumberReal Number
8××
0.̇3×××
9×
3×××
06×

In our next example, we will consider what happens when we add numbers from different subsets of the real numbers.

Example 4: Understanding Real Numbers

If 𝑎, 𝑏, and 𝑐, then 𝑎+𝑏+𝑐.

Answer

To answer this question, let’s first try some possible values of 𝑎, 𝑏, and 𝑐. We can do this by recalling the following:

  • The set of integers is the set of whole numbers including negatives: ={3,2,1,0,1,2,3,}.
  • The set of rational numbers is the set of quotients of integer values: =𝑎𝑏𝑎,𝑏,𝑏0.
  • The set of irrational numbers is the complement of the set of rational numbers. It includes all numbers that cannot be written as the quotients of integers such as 2.
  • The set of real numbers includes the sets of the rational and irrational numbers: =.

Thus, we could have 𝑎=0, 𝑏=0, and 𝑐=0. Then, we have 𝑎+𝑏+𝑐=0+0+0=0. However, we want to know what happens in general, so let’s try another triplet of values.

Let’s say 𝑎=0, 𝑏=2, 𝑐=0. Now we have 𝑎+𝑏+𝑐=0+2+0=2. We see in this that the sum of these numbers is irrational.

We can use any real value of 𝑏 along side 𝑎=0 and 𝑐=0, so our set must contain all real values. Hence, the answer is .

In general, the sum of numbers in some of the subsets of the real numbers is a closed operation. For example, the sum of two integers is always an integer, the sum of two rational numbers is a rational number, and the sum of two real numbers is a real number.

The same is not true for all of these subsets of . For example, 2 and 2, but 2+2=0.

This means, in general, we need to treat 𝑎, 𝑏, and 𝑐 as elements of , since this is the largest subset containing all three numbers. Therefore, summing three elements of gives us a real number.

Hence, the answer is .

There is one final way of visualizing the set of real numbers, and this involves using a number line. To represent a real number on a number line, we start with a point for zero and then denote the right direction as positive and the left direction as negative. Then, we say that a point 𝐴 on the number line represents the real number 𝑎 if its displacement from 0 is 𝑎 units.

For example, we can represent some real numbers on a number line as shown.

We say that two real numbers are equal if the points that represent them on the number line are the same. It is also worth noting that, since these points are based on a displacement, we can determine the displacement from point 𝐴 to point 𝐵 representing real numbers 𝑎 and 𝑏 by calculating 𝑏𝑎. We can determine the distance between the points by using the formula |𝑏𝑎|.

Example 5: Placing Real Numbers on a Number Line

If point 𝐴 on the number line represents 27 and point 𝐵 represents 9, which of the following line segments has a greater length?

  1. 𝐴𝐶
  2. 𝐶𝐵
  3. 𝐴𝐵

Answer

We can start by evaluating the two given expressions. We note that 27=(3), so 27=(3)=3.

Similarly, we note that 9=3, so 9=3=3.

We can use these values to mark 𝐴 and 𝐵 on the number line.

There are now many different ways to determine which line segment is the longest. We can see in the diagram that 𝐴 and 𝐵 are the furthest distance apart, so 𝐴𝐵 must be the longest.

It can also be worth recalling how to find the length of the line segment between two points on a number line in general. The distance between values 𝑥 and 𝑦 on a number line is given by |𝑥𝑦|. That is the absolute value of the displacement from point 𝑋 to point 𝑌.

If we label the values represented by 𝐴, 𝐵, and 𝐶 as 𝑎, 𝑏, and 𝑐, we could calculate |𝑎𝑏|, |𝑎𝑐|, and |𝑏𝑐| to determine the lengths of the line segments.

However, this is not necessary in this case, since we can see that 𝐴𝐵 is the longest of the line segments, which is option C.

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

Key Points

  • The set of real numbers, denoted , is given by =.
  • There are many subsets of the real numbers. In particular, .
  • Every real number can be represented by a point on a number line.

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