Math glossary

Rational Numbers: Definition, Fractions, and Examples

Identify rational numbers, convert repeating decimals, reduce fractions, and practise comparison and arithmetic with six worked examples.

TL;DR

A rational number can be written as an integer divided by a nonzero integer. Rational numbers include integers, terminating decimals, and repeating decimals. In standard form, reduce the fraction and use a positive denominator.

Key Points

  • The denominator in p/qp/q cannot equal zero.
  • A rational number may be positive, negative, or zero.
  • Equivalent fractions represent the same point on the number line.
  • A reduced fraction terminates in base 10 only when the denominator has no prime factors besides 2 and 5.
  • Rational numbers are closed under addition, subtraction, multiplication, and division by a nonzero rational number.

What are rational numbers?

A rational number is any number that can be expressed as p/qp/q, where pp and qq are integers and q≠0q\ne0. The set is often written ℚ\mathbb{Q}. An integer qualifies because you can divide it by 1. Zero qualifies because 0/1=00/1=0.

Value Rational? Reason
−8-8 Yes −8/1-8/1
0.1250.125 Yes 125/1000=1/8125/1000=1/8
0.3―0.\overline3 Yes It equals 1/31/3
49\sqrt{49} Yes It simplifies to 7
2\sqrt2 No It cannot be written as a ratio of integers
3/03/0 Undefined It does not represent a number

Check the value, not just its appearance. A square root can simplify to an integer, and a decimal can be an exact fraction. The comparison with irrational numbers goes further into how to classify real values. OpenStax, Rational and Irrational Numbers

The number line shows positive and negative rational numbers, and three different names for one-half
The values 1/21/2, 2/42/4, and 0.5 share the same point on the line.

How do you write a rational number in standard form?

Start with an integer numerator and a nonzero integer denominator. Divide both by their positive greatest common factor. If the denominator is negative, multiply both by −1-1 so the denominator is positive.

For example, 18/(−24)18/(-24) reduces to 3/(−4)3/(-4) after dividing both by 6. Move the minus sign to the numerator to obtain −3/4-3/4. This is standard form because 3 and 4 have no common positive factor besides 1 and the denominator is positive. If the numerator is zero, the reduced form is 0/10/1. Use the greatest common factor guide to reduce larger values. OpenStax, Real Numbers: Algebra Essentials

Why are terminating and repeating decimals rational?

A terminating decimal has a finite number of places. Those place values come from a power of ten. For instance, 0.125=125/10000.125=125/1000. Reduce the fraction after converting.

A repeating decimal can be converted by multiplying by a power of ten that shifts the repeating part by a full cycle. If x=0.36―x=0.\overline{36}, then 100x=36.36―100x=36.\overline{36}. Subtract the two equations. The repeated tails cancel, leaving 99x=3699x=36 and x=4/11x=4/11.

A rational decimal either terminates or repeats. When you divide by a positive integer qq, each remainder is one of 0,1,…,q−10,1,\ldots,q-1. If a remainder is zero, the decimal ends. Otherwise some remainder returns, and all subsequent digits repeat. In lowest terms, the fraction terminates precisely when qq divides a power of ten. A power of ten has only 2 and 5 as prime factors. The terminating decimals guide shows this test on more denominators. OpenStax, Decimals

How do you compare and calculate with rational numbers?

Use a common positive denominator to compare values or combine numerators. On a number line, an amount farther right is greater, including when both values are negative. If the denominators are already positive, the cross products also preserve the comparison.

Operation Method
Addition or subtraction Match denominators, then combine the signed numerators
Multiplication Multiply the numerators and denominators, then reduce
Division Multiply by the reciprocal of the nonzero divisor
Comparison Express them with a common positive denominator or compare their number-line positions

The operations keep integer numerators and nonzero denominators after appropriate restrictions. That is why the resulting values remain rational. OpenStax, Add and Subtract Fractions

Worked Rational Number Examples

Example 1

Write 18/(−24)18/(-24) in standard form.

  1. The greatest common factor of 18 and 24 is 6.
  2. Divide by 6 to get 3/(−4)3/(-4).
  3. Move the sign to the numerator to obtain −3/4-3/4.

Example 2

Convert 2.16―2.1\overline6 to a fraction.

  1. Let x=2.1666…x=2.1666\ldots. Then 10x=21.6666…10x=21.6666\ldots.
  2. Also, 100x=216.6666…100x=216.6666\ldots. Subtract to get 90x=19590x=195.
  3. Divide and reduce, giving x=195/90=13/6x=195/90=13/6.

Example 3

Does 7/407/40 terminate in base 10?

  1. The fraction is in lowest terms.
  2. Its denominator 40=23·540=2^3\cdot5 contains only 2 and 5.
  3. Multiply by 25/2525/25 to get 175/1000=0.175175/1000=0.175.

Example 4

Which is greater, −5/8-5/8 or −2/3-2/3?

  1. Use the common denominator 24.
  2. They become −15/24-15/24 and −16/24-16/24.
  3. −15>−16-15>-16, so −5/8-5/8 is greater.

Example 5

Find −2/3+5/6-2/3+5/6.

  1. The common denominator is 6.
  2. Rewrite the first fraction as −4/6-4/6.
  3. Add to get (−4+5)/6=1/6(-4+5)/6=1/6.

Example 6

Find (−3/4)/(9/10)(-3/4)/(9/10).

  1. The divisor 9/109/10 is nonzero.
  2. Multiply by its reciprocal, 10/910/9.
  3. The product is −30/36=−5/6-30/36=-5/6 after reduction.

Mistakes That Change a Rational Number Answer

Mistake 1: Allowing a zero denominator

One can use zero in the numerator. Division by zero is undefined.

Mistake 2: Adding the denominators

A denominator sets the size of each fractional part. Use a common denominator before adding numerators.

Mistake 3: Assuming every decimal that goes on forever is irrational

A decimal that repeats is rational. The deciding question is whether the decimal eventually has a repeating block or terminates.

Try It Yourself

  1. Write −42/(−56)-42/(-56) in standard form.
  2. Convert 0.27―0.\overline{27} to a reduced fraction.
  3. Does 3/143/14 have a terminating decimal?

Answers and Reasoning

  1. The result is 3/43/4. Both signs cancel, and dividing top and bottom by 14 reduces the fraction.
  2. Multiply by 100 and subtract the starting value to get 99x=2799x=27, so x=3/11x=3/11.
  3. No. The reduced denominator has a factor of 7, so its decimal repeats.

Frequently Asked Questions

Are all whole numbers rational?

Yes. Any whole number nn equals n/1n/1.

Is there a rational number between two different rational numbers?

Yes. Their average lies between them and is rational because addition and division by 2 preserve rationality.

Can a negative number be rational?

Yes. For example, −3/5-3/5 uses an integer numerator and a nonzero integer denominator.

Conclusion

  • Classify a value by whether it is a ratio of integers with nonzero denominator.
  • Reduce the fraction and keep its denominator positive.
  • Use place value or a repeating-tail equation when converting a decimal.

Read More

Research Behind This Article

  1. OpenStax, Prealgebra 2e: Rational and Irrational Numbers. OpenStax
  2. OpenStax, Algebra and Trigonometry 2e: Real Numbers, Algebra Essentials. OpenStax
  3. OpenStax, Intermediate Algebra 2e: Decimals. OpenStax
  4. OpenStax, Prealgebra 2e: Add and Subtract Fractions with Common Denominators. OpenStax