Skip to content
MathsMaths
Start learning

Maths · Lesson 1.1

The Real Number System

Natural, integer, rational and irrational numbers, order properties and intervals on the real line.

Core syllabus0 linked experiments
01

Learning objectives

By the end of this lesson, you should be able to:

  • Classify numbers as natural, integer, rational, irrational or real.
  • Prove that √2 is irrational by contradiction.
  • Apply the order, density and absolute-value properties of real numbers.
  • Write solution sets as intervals and mark them on the real line.
02

Lesson

Every calculation in this book starts from the same place: a number system that is large enough to solve equations, ordered enough to compare values, and precise enough to describe limits. The real numbers are that system. They contain the counting numbers, the integers, all fractions, and the irrational numbers such as √2 and π that cannot be written as fractions.

This lesson builds the real line carefully. You will see how the number sets are nested, why some numbers are irrational, and how order and absolute value turn the line into a tool for solving inequalities.

A number line showing positive and negative values with zero in the centre.
The real line orders every number

The nested number sets

The natural numbers N = {1, 2, 3, ...} are used for counting. Including zero and the negatives gives the integers Z = {..., -2, -1, 0, 1, 2, ...}. Ratios of integers give the rational numbers Q = {p/q : p, q ∈ Z, q ≠ 0}. Every rational number has either a terminating or a repeating decimal expansion, and every such decimal is rational.

Numbers that are not rational are called irrational. The classic proof that √2 is irrational assumes √2 = p/q in lowest terms, squares both sides to get p2 = 2q2, and deduces that both p and q must be even. That contradicts the assumption that the fraction was in lowest terms, so no such fraction exists. Together, the rational and irrational numbers form the real numbers R.

Order, density and absolute value

The real line is ordered: for any two distinct real numbers a and b, exactly one of a < b or b < a is true. It is also dense: between any two real numbers there is another real number, and in fact infinitely many. This is why we can talk about an interval such as (2, 5) without a smallest or largest element.

Absolute value measures distance from zero. The statement |x| < 3 means that x lies within 3 units of zero, so -3 < x < 3. The triangle inequality |a + b| ≤ |a| + |b| says that travelling directly from 0 to a + b is never longer than travelling via a. These ideas are used constantly in calculus and in error analysis.

03

Worked example

Prove that √2 is irrational.

Assume, for contradiction, that √2 = p/q where p and q are integers with no common factor and q ≠ 0.

Squaring gives 2 = p2/q2, so p2 = 2q2. Therefore p2 is even, which forces p to be even. Write p = 2k.

Substituting gives 4k2 = 2q2, so q2 = 2k2. Hence q is also even.

Both p and q are even, contradicting the assumption that they have no common factor. Therefore √2 cannot be written as a fraction, so it is irrational.

04

Equations

Rational numbersQ = { p/q : p, q ∈ Z, q ≠ 0 }
Absolute value|x| = x if x ≥ 0; |x| = −x if x < 0
Triangle inequality|a + b| ≤ |a| + |b|
05

Key points

  • N ⊂ Z ⊂ Q ⊂ R: each set contains the previous one.
  • A rational number has a terminating or repeating decimal; an irrational number has neither.
  • The real line is ordered and dense, so intervals can be described with inequalities.
  • |x - a| is the distance between x and a on the number line.
06

Common misconceptions

Common mistake

Every decimal is rational because it can be written down.

Correct understanding

Only terminating and repeating decimals are rational. A non-repeating decimal such as 0.1010010001... is irrational.

07

Check your understanding

1. Which of the following is irrational?

2. Solve |x - 2| < 5.

08

Frequently asked questions

Why is 0.999... equal to 1?

Let x = 0.999... Then 10x = 9.999..., so 9x = 9 and x = 1. The two decimals are two representations of the same real number.

Is zero a natural number?

In this course N usually starts at 1. Some books include 0 in N; the context or the notation N0 makes that clear.

NERDLYY · FEEDBACK

Help shape Nerdlyy

Your feedback goes directly to the team. We read every submission.

No reply needed — you can send feedback without sharing contact details.