Free for your classroom: you may copy, adapt and share worksheets, exercises, texts and graphics with your class without asking (terms (in German)).

Ad-free in class: How it works (in German)

Rational Numbers

A rational number is any number you can write as a fraction of two integers. Learn the definition, the number sets from natural to real numbers, how to tell rational from irrational numbers, and how to convert repeating decimals to fractions.

A rational number is any number that can be written as a fraction p/q, where p and q are integers and q is not 0. So 3/4, −2/5, 7 (= 7/1), 0 (= 0/1), 0.25 (= 1/4) and 0.333… (= 1/3) are all rational. Numbers that cannot be written this way, such as √2 and π, are irrational. The name comes from ratio: a rational number is a ratio of two integers.

Below you find the sets of numbers and how they fit together, a quick test for rational and irrational numbers, the link between fractions and decimals, a step-by-step method for converting repeating decimals to fractions, and calculations with negative fractions. Practice problems with answers are at the end.

What is a rational number?

To show that a number is rational, you only need to find one way to write it as a fraction of integers. Some examples:

A number has many fraction forms (1/2 = 2/4 = −3/−6), and that is fine: one form is enough. The only thing that is never allowed is a 0 in the denominator, because division by zero is undefined.

Anzeige

The number sets: natural, whole, integers, rational, irrational, real

Each set of numbers was created to make an operation possible that did not work before. Subtraction needs negative numbers, division needs fractions, and square roots like √2 need the irrational numbers.

The sets of numbers used in school math
SetSymbolWhat it containsExamples
Natural numbersℕthe counting numbers1, 2, 3, 4, …
Whole numbers(no standard symbol)natural numbers and 00, 1, 2, 3, …
Integersℤwhole numbers and their negatives…, −2, −1, 0, 1, 2, …
Rational numbersℚall fractions of integers−3/4, 0.5, 0.333…, 7
Irrational numbers(no standard symbol)real numbers that are not rational√2, √5, π, e
Real numbersℝrational and irrational numbers togetherevery point on the number line

Careful with the first two rows: in many US textbooks the natural numbers start at 1 and the whole numbers start at 0. Some books, especially at college level, count 0 as a natural number. Check which convention your class uses.

Real numbers ℝ Rational numbers ℚ 3/4, −0.5, 0.333… Integers ℤ −3, −2, −1 Whole numbers 0 Natural numbers ℕ: 1, 2, 3, … Irrational numbers √2 π e √5
Each set contains the ones inside it. Rational and irrational numbers do not overlap; together they make up the real numbers.

The nesting explains statements that look surprising at first: −4 is an integer, a rational number and a real number at the same time. More about counting systems and number sets is on the page number systems.

Rational vs. irrational numbers: how to tell

Look at the decimal form. Every rational number has a decimal that either terminates (stops) or repeats a block of digits forever. An irrational number has a decimal that does neither.

  • Terminating: 3/8 = 0.375. Rational.
  • Repeating: 2/11 = 0.181818… Rational.
  • Neither: √2 = 1.41421356… and π = 3.14159265… Irrational.

Square roots are a common test case. The square root of a perfect square is an integer and therefore rational: √9 = 3, √16 = 4. The square root of a whole number that is not a perfect square is irrational: √2, √3, √5, √10. A decimal built from a pattern that keeps changing, such as 1.010010001… (one more zero each time), never repeats a fixed block, so it is irrational as well.

Why √2 is irrational

Suppose √2 = p/q as a fully simplified fraction. Squaring gives 2 = p2/q2, so p2 = 2q2. Then p2 is even, so p is even, say p = 2k. Substituting gives 4k2 = 2q2, so q2 = 2k2 and q is even too. But then p/q could be simplified by 2, which contradicts the start. So √2 is not a fraction.

Fractions to decimals: terminating or repeating?

To turn a fraction into a decimal, divide the numerator by the denominator. You can predict the result before dividing: simplify the fraction and factor the denominator. If its only prime factors are 2 and 5, the decimal terminates. If any other prime appears, the decimal repeats.

Repeating decimals are written with a bar over the block that repeats: 2/11 = 0.18‾ and 5/6 = 0.83‾. Some books use dots over the digits instead.

Anzeige

Converting decimals to fractions

Terminating decimals

Write the digits after the decimal point over 10, 100, 1,000, … (one zero for each decimal place) and simplify.

Repeating decimals to fractions

For a repeating decimal, use a little algebra:

  1. Call the number x.
  2. Multiply by 10 if one digit repeats, by 100 if two digits repeat, by 1,000 if three repeat.
  3. Subtract the original equation so that the endless tails cancel.
  4. Solve for x and simplify the fraction.

A shortcut follows from these examples: a block of n repeating digits that starts right after the decimal point is that block over n nines. 0.888… = 8/9, 0.1212… = 12/99 = 4/33, 0.123123… = 123/999 = 41/333.

Adding, multiplying and dividing rational numbers

Rational numbers follow the rules for fractions combined with the sign rules for integers: find a common denominator to add or subtract, multiply straight across, and divide by multiplying with the reciprocal. Same signs give a positive product or quotient, different signs a negative one.

Sums, differences, products and quotients of rational numbers are always rational again (except division by 0). Mathematicians say the rational numbers are closed under these operations. The integers are not closed under division: 1 ÷ 2 is not an integer.

A rational number between any two

Between any two different rational numbers there is always another one, for example their average. Between 1/3 and 1/2 lies (1/3 + 1/2) ÷ 2 = (5/6) ÷ 2 = 5/12. Check with twelfths: 4/12 < 5/12 < 6/12. Repeating this forever shows that there are infinitely many rational numbers between any two of them.

Common mistakes

  • Thinking 0 is not rational: 0 = 0/1, so it is rational. Only a 0 in the denominator is a problem.
  • Calling every long decimal irrational: 0.142857142857… looks random but repeats; it is 1/7.
  • Calling every square root irrational: √25 = 5 and √(4/9) = 2/3 are rational.
  • Using 22/7 as the value of π: 22/7 is a rational approximation. π itself is irrational.
  • Multiplying by the wrong power of 10: for 0.3636… two digits repeat, so use 100x, not 10x.
Anzeige

Practice problems

Frequently asked questions

Is 0 a rational number?

Yes. Zero can be written as 0/1 (or 0/2, 0/7, …), a fraction of two integers with a non-zero denominator. It is also an integer and a whole number.

Is pi a rational number?

No. π is irrational: its decimal 3.14159… never ends and never repeats. Fractions like 22/7 or 355/113 are only approximations. The history of pi tells how people found ever better values.

Are all integers rational numbers?

Yes. Any integer n equals n/1. The reverse is not true: 1/2 is rational but not an integer.

What is the difference between rational and irrational numbers?

A rational number can be written as a fraction of integers, and its decimal terminates or repeats. An irrational number cannot be written as such a fraction, and its decimal goes on forever without repeating.

Is 0.999… equal to 1?

Yes. Let x = 0.999… Then 10x = 9.999…, and subtracting gives 9x = 9, so x = 1. Another way: 1/3 = 0.333…, and three times that is 0.999… = 3/3 = 1.

Anzeige

Keep learning

Anzeige

Spotted a mistake or have a request? Send us a short message and we will take care of it.

Spotted a mistake or have a request?

Your message about the page “Rational Numbers”. We send the page address along automatically.

Please do not include any other personal data. More in our privacy policy (in German).