Skip to main content

Section 4.2 Rational Numbers

In this section we introduce the formal definition of a rational number and use it practice with the technique of direct proof.

Definition 4.2.1.

A real number, r, is rational if there exist a,bZ such that r=ab and b0. Notation: Q is the set of rational numbers.

Definition 4.2.2.

A real number, r, that is not rational is irrational. There is not a nice notation for the irrational numbers. We will use RQ, which is the set of real numbers “minus” the set of rationals.
To determine if a given number is rational, we need to be able to find a way to write it as a fraction of integers. To prove a number is rational is really a type of existence proof--we need to show a,bZ exist. To prove a number is not rational, we need to show there is no possible way to write it as a fraction of integers. Also, keep in mind that rational and irrational numbers first need to be real numbers. It is possible that a number that is not rational is not a real number, and thus, not irrational either.

Example 4.2.3. Rational Numbers.

Is O is rational?
Answer 1.
0=0/1.
Is 2 rational?
Answer 2.
2=2/1.
Is 9/5 rational?
Answer 3.
Is 2/0 rational?
Answer 4.
2/0
You have seen some common examples of irrational numbers in previous courses: 2,π,e. It is, in fact, challenging to prove these are irrational. We will see the proof that 2 is irrational later in this course.
In your previous experience with rational and irrational numbers, you may have seen the property that rational numbers are ones with terminating or repeating decimal expansions, while irrational numbers have non-terminating and non-repeating decimal expansions. The next couple of examples explore this property.

Example 4.2.4. 0.2345 is Rational.

Show 0.2345 is a rational number.
We need to find a,bZ such that 0.2345=ab and b0. We can use what we know about decimals: for example, 0.1=1/10;0.01=1/100; etc. Thus, 0.2345=2345/10000. Letting a=2345,b=10000, we can see that a,bZ,b0.

Example 4.2.5. 0.123 is Rational.

Show the repeating decimal 0.123 is a rational number.
We need to find a,bZ such that 0.123=ab and b0. This one is trickier than the last example and requires a new technique. First, let x=0.123=0.123123. Then multiply both sides of x=0.123123 by 1000, so that 1000x=123.123123. We chose 1000 in order to get one set of the repeated digits in front of the decimal point. Now we subtract the two equations from each other:
123.123123=1000x(0.123123=x)
Resulting in 123=999x. Now we just solve for x: x=123/999.
Letting a=123,b=999, we can see that a,bZ,b0.

Activity 4.2.1.

Prove the following numbers, x, are rational by finding integers, a and b so that x=ab.
The next theorem gives us an example of how to prove more general statements with rational numbers.

Proof.

Let r,s be rational. Show r+s is rational.
Since r is rational, it can be written as ab for some a,bZ,b0. Similarly, since s is rational, it can be written as pq for some p,qZ,q0. (Note, we need to use different letters since r and s are not necessarily the same.) Now,
r+s=ab+pq.
Finding a common denominator,
r+s=aq+bppq.
Then aq+pb,pqZ and, since p,q0,pq0. Therefore, r+s is rational.
Once we have proven a theorem, we can use it to prove additional statements. Note, a corollary is just a theorem that follows almost directly from a previous theorem.

Proof.

Let r be a rational number. We want to show 2r is rational. But 2r=r+r. By Theorem 4.2.6, r+r is rational.

Activity 4.2.2.

Let r,s be rational numbers.

(c)

Prove or disprove 1r is rational.

Reading Questions Check Your Understanding

1.

    True or false: 9 is rational.
  • True.

  • False.

2.

    True or false: 613 is rational.
  • True.

  • False.

3.

    True or false: 0.3 is rational.
  • True.

  • False.

4.

    True or false: 60 is rational.
  • True.

  • False.

5.

    True or false: 60 is irrational.
  • True.

  • 60 is not a real number.
  • False.

  • 60 is not a real number.

6.

    True or false: 14.5467 is rational.
  • True.

  • False.

7.

    True or false: 49.112245 is rational.
  • True.

  • False.

8.

    True or false: 0.9 is rational.
  • True.

  • False.

9.

    True or false: 3 is rational.
  • True.

  • Although this is false, we need more proof techniques to prove it.
  • False.

  • Although this is false, we need more proof techniques to prove it.

10.

    True or false: 4 is rational.
  • True.

  • 4=2
  • False.

  • 4=2

Exercises Exercises

1.

Prove the following numbers are rational by writing them as a ratio of two integers.
  1. 37+59
  2. 351.549249249

2.

The zero product property says that if a product of two real numbers is 0 then one of the numbers must be zero.
  1. Write this property formally using quantifiers and variables.
  2. Write the contrapositive of your answer in (a).
  3. Write an informal version (without symbols and variables) of your answer to part (b).

3.

Prove every integer is a rational number.

4.

Find the mistakes in the following “proof.”
Theorem: The sum of any two rational numbers is rational.
“Proof”: Suppose r and s are rational numbers. If r+s is rational, then by definition of rational r+s=a/b for integers a and b with b0. Since r and s are rational, r=i/j and s=m/n for integers i,j,m and n with j0 and n0. Thus
r+s=ij+mn=ab,
which is the quotient of two integers with nonzero denominator. Thus, it is rational.

5.

Consider the statement: The square of any rational number is a rational number.
  1. Write the statement formally using a quantifier and a variable.
  2. Determine whether the statement is true or false and justify your answer.

6.

Determine if the following statements are true or false. For true statements provide a proof. For false statements provide a counterexample and determine if a small change would make the statement true. If so, correct the statement and provide a proof of the new statement.
  1. The quotient of any two rational numbers is a rational number.
  2. If r and s are rational numbers then r+s2 is a rational number.

7.

Suppose a, b, c, and d are integers and ac. Suppose also that x is a real number that satisfies the equation
ax+bcx+d=1.
Must x be rational? If so, express x as a ratio of two integers. Is the condition ac important?
Hint.
Solve for x.
You have attempted 1 of 11 activities on this page.