Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 11 Specialist (Unit 1 & 2) Introduction to proof

Rational and irrational numbers

20 practice questions 0 video lessons Theory + worked examples

Get on top of rational and irrational numbers for Year 11 Specialist Mathematics in Queensland (QCAA). A rational number is a ratio of two integers; an irrational number, such as the square root of two, is not.

You will convert terminating and recurring decimals to fractions, prove a number is irrational by contradiction, and combine rationals and irrationals with confidence — key skills for the proof topic ahead.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Rational and irrational numbers split the real numbers in two for Year 11 Specialist Mathematics. A rational number is a ratio \(\dfrac{a}{b}\) of integers; an irrational number, such as \(\sqrt{2}\) or \(\pi\), is a real number that is not a ratio of integers. This page shows how to convert between fractions and decimals and how to prove a number is irrational.

A number is rational if it can be written as \(\dfrac{a}{b}\), where \(a\) and \(b\) are integers and \(b\neq 0\). The rationals are written \(\mathbb{Q}\); an irrational number is a real number that is not rational.

The decimal expansion is the quick test. A number is rational exactly when its decimal terminates (like \(0.75\)) or eventually recurs (like \(0.\overline{3}=\tfrac{1}{3}\)). An irrational decimal, such as \(\sqrt{2}=1.41421\ldots\), never ends and never repeats.

Roots follow one rule: \(\sqrt{n}\) is rational exactly when \(n\) is a perfect square. So \(\sqrt{9}=3\) is rational, but \(\sqrt{7}\) is irrational.

Combining the two kinds obeys closure facts: a rational \(\pm\) an irrational is always irrational, and a non-zero rational \(\times\) an irrational is always irrational — but two irrationals can combine to a rational, for example \(\sqrt{2}\times\sqrt{2}=2\).

Rational and irrational numbers on a number line A number line from 1 to 3. Root 2 is about 1.41 and root 5 is about 2.24, both irrational and marked in gold-orange. Seven quarters equals 1.75 and five halves equals 2.5 are rational, marked in navy. The surds fall between whole numbers. x 1 1.5 2 2.5 3 √2 7/4 √5 5/2 gold = irrational, navy = rational
Sample numbers on a line: the surds \(\sqrt{2},\sqrt{5}\) are irrational; \(\tfrac{7}{4},\tfrac{5}{2}\) are rational.
Turning a recurring decimal into a fraction Let x equal zero point four five recurring. Multiplying by one hundred gives one hundred x equals forty five point four five recurring. Subtracting x removes the tail, so ninety nine x equals forty five, giving x equals forty five over ninety nine, which simplifies to five elevenths. Let x = 0.4545… 100x = 45.4545… 100x − x = 45 99x = 45 x = 45/99 = 5/11
The \(10^{k}\) algebra turns a recurring decimal into a fraction: \(0.\overline{45}=\dfrac{45}{99}=\dfrac{5}{11}\).
Proof by contradiction that root 2 is irrational Four steps flow downward. First assume root 2 equals a over b in lowest terms. Then a squared equals 2 b squared, so a is even. Then a equals 2c gives b squared equals 2 c squared, so b is even. Finally a and b share the factor 2, contradicting lowest terms, so root 2 is irrational. Assume √2 = a/b in lowest terms a² = 2b², so a is even a = 2c ⇒ b² = 2c², so b is even a, b share factor 2: √2 is irrational
Proof by contradiction that \(\sqrt{2}\) is irrational: the lowest-terms assumption forces a shared factor.

The rationals are the ratios of integers, defined in set-builder notation as:

\[ \mathbb{Q}=\left\{\dfrac{a}{b} : a,b\in\mathbb{Z},\ b\neq 0\right\} \]
ℚ={ab:a,b∈ℤ,b≠0}

To convert a pure recurring decimal with a \(k\)-digit repeating block, multiply by \(10^{k}\) and subtract:

\[ x=0.\overline{d_1\cdots d_k}\ \Rightarrow\ (10^{k}-1)\,x = d_1\cdots d_k \]
(10k−1)x=d
The perfect-square test. \(\sqrt{n}\) is rational if and only if \(n\) is a perfect square. Terminating decimals are the fractions whose denominator (in lowest terms) has no prime factor other than \(2\) or \(5\); any other denominator gives a recurring decimal.

How to classify or convert a number

  1. Simplify first: evaluate any root or reduce any fraction, e.g. \(\sqrt{16}=4\) or \(\dfrac{6}{9}=\dfrac{2}{3}\).
  2. Read the decimal: if it terminates or recurs the number is rational; if it never ends and never repeats it is irrational.
  3. Convert a recurring decimal: set \(x\) equal to it, multiply by the right power of \(10\) so the tails line up, subtract, then solve for \(x\) and simplify.
  4. Prove irrationality by contradiction: assume the number equals \(\dfrac{a}{b}\) in lowest terms, deduce a common factor, and reach a contradiction.
Example 1 — Recurring decimal to a fraction
Write \(0.\overline{8}=0.888\ldots\) as a fraction in simplest form.
Solution

Set \(x\) equal to the decimal, multiply by \(10\) to shift one digit, then subtract to clear the recurring tail:

\(x\)\(=\)\(0.888\ldots\)
\(10x\)\(=\)\(8.888\ldots\)
\(10x-x\)\(=\)\(8.888\ldots-0.888\ldots\)
\(9x\)\(=\)\(8\)
\(x\)\(=\)\(\dfrac{8}{9}\)

\(0.\overline{8}=\dfrac{8}{9}\), a ratio of integers, so it is rational.

Example 2 — An eventually recurring decimal
Write \(0.5\overline{3}=0.5333\ldots\) as a fraction in simplest form.
Solution

One digit sits before the repeating block, so shift by \(10\) and by \(100\) to line the tails up, then subtract:

\(x\)\(=\)\(0.5333\ldots\)
\(10x\)\(=\)\(5.333\ldots\)
\(100x\)\(=\)\(53.333\ldots\)
\(100x-10x\)\(=\)\(53.333\ldots-5.333\ldots\)
\(90x\)\(=\)\(48\)
\(x\)\(=\)\(\dfrac{48}{90}\)
\(=\)\(\dfrac{8}{15}\)

\(0.5\overline{3}=\dfrac{8}{15}\).

Example 3 — Which roots are rational
For how many of \(\sqrt{20}\), \(\sqrt{49}\), \(\sqrt{72}\) and \(\sqrt{100}\) is the value rational?
Solution

A root \(\sqrt{n}\) is rational exactly when \(n\) is a perfect square; test each in turn:

\(\sqrt{20}\)\(=\)\(4.472\ldots\notin\mathbb{Q}\)
\(\sqrt{49}\)\(=\)\(7\in\mathbb{Q}\)
\(\sqrt{72}\)\(=\)\(8.485\ldots\notin\mathbb{Q}\)
\(\sqrt{100}\)\(=\)\(10\in\mathbb{Q}\)
\(\text{count}\)\(=\)\(2\)

\(2\) of the values (\(\sqrt{49}\) and \(\sqrt{100}\)) are rational.

Example 4 — Closure facts
Classify \(4+\sqrt{3}\); then evaluate \(\sqrt{2}\times\sqrt{2}\) and \(\sqrt{2}+(-\sqrt{2})\).
Solution

Apply the closure rules one at a time, computing each combination exactly:

\(4+\sqrt{3}\)\(=\)\(\text{rational}+\text{irrational}\)
\(\Rightarrow\)\(\text{irrational}\)
\(\sqrt{2}\times\sqrt{2}\)\(=\)\(2\in\mathbb{Q}\)
\(\sqrt{2}+(-\sqrt{2})\)\(=\)\(0\in\mathbb{Q}\)

\(4+\sqrt{3}\) is irrational, yet two irrationals can combine to a rational (here \(2\) and \(0\)).

Common pitfalls

Calling every never-ending decimal irrational. A recurring decimal such as \(0.\overline{6}=\tfrac{2}{3}\) goes on forever but repeats, so it is rational. Only a decimal that never ends and never repeats is irrational.
Assuming every root is irrational. \(\sqrt{n}\) is only irrational when \(n\) is not a perfect square. \(\sqrt{16}=4\) and \(\sqrt{25}=5\) are whole numbers, hence rational.
Thinking two irrationals must give an irrational. The closure rules are one-sided: rational \(\pm\) irrational is always irrational, but \(\sqrt{2}\times\sqrt{2}=2\) and \(\sqrt{2}+(-\sqrt{2})=0\) are rational.
Forgetting to line the tails up. For an eventually recurring decimal such as \(0.5\overline{3}\), you must shift by both \(10\) and \(100\) so the repeating parts cancel; multiplying by a single power will not clear the tail.

Frequently asked questions

What is the difference between a rational and an irrational number?

A rational number can be written as a fraction \(\dfrac{a}{b}\) of integers, so its decimal terminates or recurs. An irrational number cannot — its decimal never ends and never repeats, like \(\sqrt{2}\) or \(\pi\).

How do you turn a recurring decimal into a fraction?

Set \(x\) equal to the decimal, multiply by the power of \(10\) that lines the repeating blocks up, subtract to remove the tail, then solve for \(x\). For example \(0.\overline{45}=\dfrac{45}{99}=\dfrac{5}{11}\).

How do you prove that \(\sqrt{2}\) is irrational?

Assume \(\sqrt{2}=\dfrac{a}{b}\) in lowest terms. Then \(a^2=2b^2\), so \(a\) is even; writing \(a=2c\) makes \(b\) even too. Now \(a\) and \(b\) share the factor \(2\), contradicting lowest terms, so \(\sqrt{2}\) is irrational.

Is the square root of a number always irrational?

No. \(\sqrt{n}\) is rational when \(n\) is a perfect square, so \(\sqrt{9}=3\) is rational. It is irrational only when \(n\) is not a perfect square, such as \(\sqrt{7}\).

Is a rational plus an irrational always irrational?

Yes. If a rational \(r\) plus an irrational \(s\) were rational, then \(s=(r+s)-r\) would be a difference of rationals, hence rational — a contradiction. So \(r+s\) is always irrational.

Can two irrational numbers add or multiply to a rational number?

Yes. \(\sqrt{2}\times\sqrt{2}=2\) and \(\sqrt{2}+(-\sqrt{2})=0\) are both rational, so the sum or product of two irrationals is not always irrational.