Counting numbers were enough for the first questions people asked: how many cows, how many days? But each new question needed new numbers. What kinds of numbers are there, and how do they fit together? This lesson builds the number system and two of its most useful tools, prime factorisation and the HCF and LCM.
The family of numbers
- Natural numbers 1, 2, 3, … answer “how many?”
- Whole numbers add 0: 0, 1, 2, 3, …
- Integers add negatives: …, −2, −1, 0, 1, 2, …, so that 3 − 5 has an answer.
- Rational numbers can be written as p/q, where p and q are integers and q ≠ 0: 3/4, −7/2, and 5 (= 5/1). They make division possible.
- Irrational numbers cannot be written as p/q: √2, √3 and π are examples.
- Rational and irrational numbers together form the real numbers, which fill the whole number line.
The decimal form tells you which kind you have. A rational number’s decimal either terminates (3/8 = 0.375) or recurs, repeating a block of digits for ever (1/3 = 0.333…, 22/7 = 3.142857142857…). An irrational number’s decimal never ends and never repeats. A fraction in lowest terms terminates exactly when its denominator has no prime factors other than 2 and 5.
Turning a recurring decimal into a fraction
Let x = 0.272727… The repeating block “27” has two digits, so multiply by 100: 100x = 27.272727… Subtracting the first line gives 99x = 27, so x = 27/99 = 3/11. Check: 3 ÷ 11 = 0.2727…
π is not 22/7
22/7 = 3.142857… is a handy approximation, but π = 3.14159… is irrational. The two agree only to two decimal places.
Why √2 is irrational
Here is a classic proof by contradiction. Suppose √2 = p/q, a fraction in lowest terms, so p and q have no common factor. Squaring gives p² = 2q². So p² is even, which means p is even (the square of an odd number is odd). Write p = 2k. Then 4k² = 2q², so q² = 2k², and q is even too. Now p and q share the factor 2, which contradicts “lowest terms”. The assumption must be false: √2 cannot be written as a fraction.
Primes and factorisation
A prime is a natural number greater than 1 whose only factors are 1 and itself: 2, 3, 5, 7, 11, 13, … A number greater than 1 that is not prime is composite. The number 1 is neither, and 2 is the only even prime. Euclid proved over two thousand years ago that the primes never run out.
The fundamental theorem of arithmetic says that every integer greater than 1 can be written as a product of primes in exactly one way, apart from order. For example, 360 = 2³ × 3² × 5.
To test whether n is prime, divide only by primes up to √n: if n = a × b, one of a and b must be at most √n. For 221, √221 ≈ 14.9, so try 2, 3, 5, 7, 11 and 13. Since 221 = 13 × 17, it is composite.
HCF and LCM
The HCF (highest common factor, also called the GCD) of two numbers is the largest number that divides both. The LCM (lowest common multiple) is the smallest positive number that both divide. From prime factorisations:
- HCF = product of the common primes, each with its smallest power;
- LCM = product of all the primes, each with its largest power.
HCF and LCM of 72 and 120
72 = 2³ × 3² and 120 = 2³ × 3 × 5.
- HCF = 2³ × 3 = 24
- LCM = 2³ × 3² × 5 = 360
- Check: HCF × LCM = 24 × 360 = 8,640 = 72 × 120.
For any two numbers, HCF × LCM = product of the numbers (this fails for three numbers). HCF answers “largest equal pieces” questions: ropes of 84 cm and 126 cm cut into the longest possible equal pieces give pieces of HCF(84, 126) = 42 cm. LCM answers “when together again” questions: temple bells ringing every 12, 15 and 20 minutes, together at 8:00 am, next ring together after LCM(12, 15, 20) = 60 minutes, at 9:00 am.
Key points
- Natural numbers ⊂ whole numbers ⊂ integers ⊂ rationals ⊂ reals; irrationals are the reals that are not rational.
- Rationals have terminating or recurring decimals; irrationals never end or repeat.
- √2 is irrational, proved by contradiction; π is irrational and only roughly 22/7.
- Every integer above 1 factorises into primes in exactly one way.
- HCF uses the smallest powers of common primes, LCM the largest powers of all primes, and HCF × LCM = product for two numbers.