Chapter 1
Real Numbers
Every whole number above 1 is built from primes in exactly one way. This chapter shows, step by step, how to break any number into its primes, why the way is unique (the Fundamental Theorem of Arithmetic), and how that one fact answers questions such as whether 4ⁿ can ever end in 0. It uses the primes to find HCFs and LCMs, and then proves what Class 9 only stated: that √2, √3 and √5 are irrational. More than thirty worked examples, every exercise solved in full, and two "going further" sections complete it.
- Primes and composite numbers, and a quick test for whether a number is prime
- Why there are infinitely many primes (Euclid's argument)
- Breaking a number into primes with a factor tree or a division ladder
- The Fundamental Theorem of Arithmetic: every composite number is a product of primes in exactly one way
- Using unique factorisation: last digits, zeros at the end, perfect squares and counting factors
- HCF and LCM by prime factorisation, HCF × LCM = a × b for two numbers, and the formulas for three numbers
- Why √2, √3, √5 and √p for any prime p are irrational, by proof by contradiction
- Why 5 − √3, 3√2 and 3 + 2√5 are irrational, and when two irrationals give a rational
- Going further: Euclid's division algorithm, and which fractions give terminating decimals
StartBefore you start: twelve ideas you already know
This chapter is about whole numbers and the numbers built from them. It looks at how every whole number is made from smaller pieces, called primes. Then it uses that knowledge to prove facts about numbers such as √2.
The chapter uses twelve ideas from earlier classes. Each one is refreshed below with a small example. If an idea feels unfamiliar, slow down on it now. It will save you time later.
1. Factors and multiples
A factor of a number divides it exactly, with nothing left over. A multiple of a number is that number times a whole number.
Example: 12 = 3 × 4. So 3 and 4 are factors of 12, and 12 is a multiple of 3 and of 4. All the factors of 12 are 1, 2, 3, 4, 6 and 12. The multiples of 12 are 12, 24, 36, 48, and so on, without end.
2. "Divides"
We say "3 divides 12" when 12 ÷ 3 leaves no remainder. It means the same as "3 is a factor of 12" and "12 is a multiple of 3". The book writes this in words. Some other books use a short sign, 3 | 12, read "3 divides 12".
Example: 5 divides 35, because 35 = 5 × 7. But 5 does not divide 36, because 36 ÷ 5 = 7 with 1 left over.
3. Quick tests for dividing
These tests save long divisions:
- By 2: the last digit is even (0, 2, 4, 6 or 8). Example: 3518.
- By 3: the sum of the digits is a multiple of 3. Example: 4095 has digit sum 4 + 0 + 9 + 5 = 18, so 3 divides 4095.
- By 5: the last digit is 0 or 5. Example: 455.
- By 9: the sum of the digits is a multiple of 9. Example: 4095 again, since 18 = 2 × 9.
- By 10: the last digit is 0. Example: 32,760.
- By 11: add and subtract the digits in turn from the right; the result is a multiple of 11 (0 counts). Example: 5005 gives 5 − 0 + 0 − 5 = 0, so 11 divides 5005.
4. Prime and composite numbers
A prime number has exactly two factors: 1 and itself. The first primes are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. A composite number has more than two factors. For example, 15 = 3 × 5 is composite. The number 1 is neither prime nor composite. Section 1.1 looks at this more closely.
5. Powers
A power is a short way to write a number multiplied by itself. 2³ means 2 × 2 × 2 = 8. It is read "2 cubed" or "2 to the power 3". In 2³, the 2 is the base and the small raised 3 is the exponent (also called the index). Two more facts: 2¹ = 2, and any non-zero number to the power 0 is 1, so 5⁰ = 1.
Example: 3² × 5 = 9 × 5 = 45.
6. Three laws of exponents
- Multiplying powers of the same base adds the exponents: 2² × 2³ = 2⁵. Check: 4 × 8 = 32 = 2⁵.
- A power of a power multiplies the exponents: (2²)³ = 2⁶. Check: 4³ = 64 = 2⁶.
- A power of a product is the product of the powers: (2 × 3)² = 2² × 3². Check: 6² = 36 and 4 × 9 = 36.
The chapter uses these to write numbers such as 4ⁿ and 6ⁿ in terms of primes. Here n stands for any natural number, and 4ⁿ is read "4 to the power n".
7. HCF and LCM by listing
The HCF (highest common factor) of two numbers is the largest number that divides both. The LCM (lowest common multiple) is the smallest positive number that both divide.
Example: the factors of 12 are 1, 2, 3, 4, 6, 12, and the factors of 18 are 1, 2, 3, 6, 9, 18. The largest common one is 6, so HCF(12, 18) = 6. The multiples of 4 are 4, 8, 12, 16, … and of 6 are 6, 12, 18, …. The first common one is 12, so LCM(4, 6) = 12.
8. The family of numbers (Class 9)
Natural numbers are 1, 2, 3, …. Whole numbers add 0. Integers add the negatives: …, −2, −1, 0, 1, 2, …. Rational numbers can be written as a fraction p/q of two integers with q ≠ 0, like ¾ or −5. Irrational numbers, such as √2 and π, cannot. Rational and irrational numbers together are the real numbers.
9. Lowest terms and coprime numbers
A fraction is in lowest terms when its top and bottom have no common factor except 1. Two numbers with no common factor except 1 are called coprime.
Example: 18/24 is not in lowest terms, because 6 divides both. Dividing both by 6 gives 3/4. Now 3 and 4 are coprime, so 3/4 is in lowest terms. Every fraction can be brought to lowest terms like this.
10. Squares and square roots
The square of a number is the number times itself: 7² = 49. The square root undoes it: √49 = 7, because 7 × 7 = 49. A perfect square is the square of a whole number: 1, 4, 9, 16, 25, 36, ….
Example: 2 is not a perfect square. Its square root is about 1.414, since 1.414 × 1.414 = 1.999396, which is very close to 2.
11. Doing the same thing to both sides
An equation stays true if we do the same thing to both sides: add, subtract, multiply, divide by a non-zero number, or square.
Example: from x + 3 = 10, subtract 3 from both sides to get x = 7. From 2x = a, square both sides to get 4x² = a².
12. Division with a remainder
When 17 sweets are shared among 5 children, each gets 3 and 2 are left over. We write 17 ÷ 5 = 3 remainder 2, or 17 = 5 × 3 + 2. The remainder is always smaller than the number we divide by.
By the end of this chapter you will be able to
- tell primes from composite numbers, and test a number for being prime quickly;
- break any composite number into primes with a factor tree or a division ladder;
- state the Fundamental Theorem of Arithmetic and explain what "unique" means in it;
- use the theorem to answer questions such as "can 4ⁿ end in 0?";
- find the HCF and LCM of two or three numbers by prime factorisation, and use HCF × LCM = a × b for two numbers;
- prove that √2, √3, √5 and √p for any prime p are irrational, by contradiction;
- prove that numbers such as 5 − √3, 3√2 and 3 + 2√5 are irrational;
- (going further) use Euclid's division algorithm, and tell which fractions have terminating decimals.
1.1Introduction: the real numbers, and the primes inside them
In Class 9 you explored the world of real numbers and met irrational numbers. This chapter continues that story. It begins with the positive integers 1, 2, 3, …, and asks a simple question: how is each of them built?
First, let us recall the whole family. The picture below shows how the members sit inside one another.
- Natural numbers: 1, 2, 3, 4, …. These are the counting numbers. They are also called the positive integers.
- Whole numbers: 0, 1, 2, 3, …. These are the natural numbers with 0 added.
- Integers: …, −3, −2, −1, 0, 1, 2, 3, …. These are the whole numbers with the negatives added.
- Rational numbers: every number that can be written as p/q, where p and q are integers and q ≠ 0. Examples: ½, −¾ = −0.75, ⅓ = 0.333…, 22/7, and also 5 = 5/1 and 0 = 0/1.
- Irrational numbers: numbers that cannot be written as p/q, such as √2, √3 and π. Their decimals go on for ever without repeating a block.
- Real numbers: the rational and irrational numbers together. Every point on the number line is a real number.
Read "p/q" as "p over q". The sign ≠ means "is not equal to", so "q ≠ 0" says the bottom number is never zero. Division by zero has no meaning, so it is always ruled out.
What this chapter does
There are two big ideas, and the second stands on the first.
- The Fundamental Theorem of Arithmetic (section 1.2). Every composite number breaks into primes in exactly one way. With it we find HCFs and LCMs quickly. We also answer questions such as "can 4ⁿ ever end in 0?"
- Proving that numbers are irrational (section 1.3). In Class 9 you were told that √2 is irrational. Now you will prove it. The proof stands on the Fundamental Theorem.
The book's introduction also mentions two more ideas: Euclid's division algorithm (dividing with a remainder, used to find the HCF), and when the decimal of p/q stops. The present edition has no sections or exercises on these two. They complete the chapter, though, so both are explained near the end, under "Going further".
Prime and composite numbers
Why we need them. Chemists build every substance from a small set of elements. In the same way, every whole number above 1 is built by multiplying primes. Primes are the building blocks of multiplication.
The idea in plain words. Some numbers can be split into a product of two smaller whole numbers: 12 = 3 × 4. Others cannot be split at all: 13 can only be written as 1 × 13. The numbers that cannot be split are the primes.
The exact statement. A prime number is a natural number greater than 1 whose only factors are 1 and itself. A composite number is a natural number greater than 1 that has at least one other factor. The number 1 is neither prime nor composite.
See it with counters. Take 12 counters and try to lay them out in a rectangle with more than one row. You can make 2 rows of 6, 3 rows of 4, 4 rows of 3 or 6 rows of 2. So 12 is composite. Now try 13 counters. Every attempt leaves counters over. The only rectangle is a single row of 13. That is what being prime looks like.
| Number | Factors | How many factors | Kind |
|---|---|---|---|
| 1 | 1 | 1 | neither |
| 2 | 1, 2 | 2 | prime |
| 9 | 1, 3, 9 | 3 | composite |
| 12 | 1, 2, 3, 4, 6, 12 | 6 | composite |
| 13 | 1, 13 | 2 | prime |
| 91 | 1, 7, 13, 91 | 4 | composite |
Two facts are worth remembering. First, 2 is the only even prime. Every other even number has 2 as a factor besides 1 and itself. Second, 1 is not a prime. It has only one factor, and section 1.2 shows another reason, a deeper one.
How to test whether a number is prime
To test a number n, you do not need to try every number below it. Try only the primes up to √n. If none of them divides n, then n is prime.
Why this works. Suppose n = a × b with both a and b bigger than √n. Then a × b would be bigger than √n × √n = n. That is impossible, since a × b is n. So if n splits at all, one of its factors is at most √n. That smaller factor has a prime factor of its own, which is also at most √n.
Worked example 1
Is 97 a prime number?
What we know: n = 97.
What we need: Decide whether any number other than 1 and 97 divides 97.
The plan: Find √97, then try every prime up to it.
- √97 is a little less than 10, because 10² = 100 and 9² = 81. So we only need the primes 2, 3, 5 and 7.
- 2: 97 is odd, so 2 does not divide it.
- 3: the digit sum is 9 + 7 = 16, which is not a multiple of 3. So 3 does not divide it.
- 5: 97 does not end in 0 or 5.
- 7: 7 × 13 = 91 and 7 × 14 = 98. So 97 lies between two multiples of 7, and 7 does not divide it.
No prime up to √97 divides 97, so 97 is prime.
Check: Four short tests settled it. Testing all 95 numbers from 2 to 96 would give the same answer, but much more slowly.
Worked example 2
Is 91 a prime number?
What we know: n = 91. It is odd and does not end in 5, so it looks prime at first sight.
The plan: √91 is less than 10, so try 2, 3, 5 and 7.
- 2: 91 is odd. No.
- 3: the digit sum is 9 + 1 = 10. No.
- 5: it ends in 1. No.
- 7: 7 × 13 = 91. Yes.
91 is composite: 91 = 7 × 13.
91 is a famous trap. It is odd, it does not end in 5, and its digit sum is not a multiple of 3. Many people call it prime. Only the test with 7 catches it.
Worked example 3
A teacher has 29 chairs. Can she set them out in equal rows, with more than one row and more than one chair in each row? What if she had 30 chairs?
What we know: 29 chairs, then 30 chairs. Equal rows need the number of chairs to split as (rows) × (chairs per row).
What we need: Whether 29 and 30 split into two factors, both more than 1.
The plan: Equal rows are possible exactly when the number is composite. Test each number for being prime.
- √29 is between 5 and 6 (5² = 25, 6² = 36). Try 2, 3 and 5: none divides 29. So 29 is prime.
- A prime has no factors except 1 and itself. So 29 chairs make only 1 row of 29, or 29 rows of 1.
- 30 = 2 × 15 = 3 × 10 = 5 × 6. So 30 chairs can make 2 rows of 15, 3 rows of 10, 5 rows of 6, and the other way round.
With 29 chairs, no: 29 is prime. With 30 chairs, yes, in six ways: 2 × 15, 3 × 10, 5 × 6, 6 × 5, 10 × 3 and 15 × 2.
Check: Count the chairs in each layout: 2 × 15, 3 × 10 and 5 × 6 all give 30.
Common mistakes with primes
"1 is a prime." It is not. A prime has exactly two factors, and 1 has only one.
"Every odd number is prime." No: 9 = 3 × 3, 15 = 3 × 5, 21 = 3 × 7 and 91 = 7 × 13 are odd and composite.
"2 is not prime, because it is even." 2 has exactly two factors, 1 and 2, so it is prime. It is the only even prime.
"51 is prime." Its digit sum is 5 + 1 = 6, a multiple of 3, so 51 = 3 × 17.
When you are stuck: is this number prime or not?
Use the quick tests first. The tests for 2, 3, 5 and 11 take seconds, and they catch most composite numbers.
Stop at √n. Find the largest prime whose square is at most n. You never need to try beyond it.
Try the primes in order, not every number. If 2 does not divide n, then 4, 6 and 8 cannot either. So skip them.
If a division is awkward, use a nearby multiple. For 7 and 221: 7 × 30 = 210, and 221 − 210 = 11, which is not a multiple of 7. So 7 does not divide 221.
Your turn
1. Sort these into prime, composite or neither: 1, 2, 9, 17, 21, 29, 51, 97.Tap to reveal
The plan: Find the factors of each, using the quick tests.
- 1 has only one factor, so it is neither.
- 2, 17, 29 and 97 have no factors except 1 and themselves, so they are prime. (For 97, see the worked example above.)
- 9 = 3 × 3, 21 = 3 × 7 and 51 = 3 × 17 are composite.
Prime: 2, 17, 29, 97. Composite: 9, 21, 51. Neither: 1.
2. Is 143 prime?Tap to reveal
The plan: √143 is just under 12 (11² = 121, 12² = 144), so try 2, 3, 5, 7 and 11.
- 2, 3 and 5 fail: 143 is odd, its digit sum is 8, and it ends in 3.
- 7: 7 × 20 = 140, and 143 − 140 = 3. No.
- 11: the test gives 3 − 4 + 1 = 0, a multiple of 11. Yes: 143 = 11 × 13.
No: 143 = 11 × 13, so it is composite.
3. 37 students must be split into equal teams of more than one student, with more than one team. Is it possible?Tap to reveal
The plan: Equal teams are possible exactly when 37 is composite.
- √37 is a little more than 6 (6² = 36), so try 2, 3 and 5.
- 37 is odd, its digit sum is 10, and it ends in 7. None of the three divides it.
- So 37 is prime, and its only factors are 1 and 37.
No. 37 is prime, so the only choices are one team of 37 or 37 teams of one.
In one line
A prime has exactly two factors, 1 and itself. To test n, try only the primes up to √n.
1.2The Fundamental Theorem of Arithmetic
In earlier classes you wrote numbers as products of their prime factors. For instance, 2 = 2, 4 = 2 × 2 and 253 = 11 × 23. Each time, you started with a number and broke it into primes.
Now let us look from the other direction. Can every natural number be built by multiplying primes together? To find out, we first build some numbers, and then break some numbers down.
Building numbers from primes
Take any collection of primes, say 2, 3, 7, 11 and 23. Multiply some or all of them, and repeat any of them as often as you like. You can produce a large collection of numbers. In fact you can produce infinitely many, because you may repeat a prime as many times as you wish. The book lists a few:
| Product of primes | Number | How to work it out |
|---|---|---|
| 7 × 11 × 23 | 1771 | 7 × 11 = 77, and 77 × 23 = 1771 |
| 3 × 7 × 11 × 23 | 5313 | 3 × 1771 = 5313 |
| 2 × 3 × 7 × 11 × 23 | 10,626 | 2 × 5313 = 10,626 |
| 2³ × 3 × 7³ | 8232 | 2³ = 8 and 7³ = 343, so 8 × 3 × 343 = 24 × 343 = 8232 |
| 2² × 3 × 7 × 11 × 23 | 21,252 | 2² = 4, and 4 × 5313 = 21,252 |
Notice how the table saves work. Each row reuses the row above it: 5313 is 3 times 1771, and 10,626 is 2 times 5313.
How many primes are there?
Suppose your collection includes all the primes. How big is it? Does it stop somewhere, or does it go on for ever? In fact, there are infinitely many primes. The Greek mathematician Euclid proved this about 2300 years ago, with an argument short enough to follow in a few steps.
Worked example 4
Show that no list of primes can ever be complete.
What we know: Someone claims to have a complete list of all the primes.
What we need: A prime that is missing from the list.
The plan: Build a new number N from the list, and show that N has a prime factor that is not on the list.
- Multiply every prime on the list together, and add 1. Call the result N.
- Divide N by any prime on the list. That prime divides the product exactly, so dividing N leaves a remainder of exactly 1. So no prime on the list divides N.
- N is bigger than 1. So either N is itself a prime, or N has a prime factor (by breaking it down, as we do below).
- Either way, there is a prime that divides N. By step 2, that prime is not on the list.
Every list of primes misses at least one prime. So there are infinitely many primes.
Check: Try the list 2, 3, 5, 7. Then N = 2 × 3 × 5 × 7 + 1 = 211, and 211 is itself a new prime. Try 2, 3, 5, 7, 11, 13. Then N = 30,031 = 59 × 509. This N is not prime, but its primes 59 and 509 are new, exactly as step 4 says.
So the collection of all primes is infinite. Multiplying them in all possible ways gives an infinite collection of numbers: all the primes and all possible products of primes. The real question is this. Do we get every composite number in this way? Or could some composite number fail to be a product of powers of primes? Before we answer, let us do the opposite of what we have done so far, and break numbers down.
Breaking a number into primes: the factor tree
We use the factor tree you already know. Take a large number, say 32,760. Split it into two factors. Then split each factor that is not prime. Stop when every end of the tree is a prime.
- 32,760 is even, so 32,760 = 2 × 16,380.
- 16,380 is even: 16,380 = 2 × 8190. And 8190 is even: 8190 = 2 × 4095.
- 4095 is odd. Its digit sum is 4 + 0 + 9 + 5 = 18, a multiple of 3. So 4095 = 3 × 1365.
- 1365 has digit sum 1 + 3 + 6 + 5 = 15, a multiple of 3. So 1365 = 3 × 455.
- 455 ends in 5, so 455 = 5 × 91.
- 91 = 7 × 13, and both 7 and 13 are prime. Every end is now a prime, so we stop.
So 32,760 = 2 × 2 × 2 × 3 × 3 × 5 × 7 × 13 as a product of primes. Grouping equal primes into powers, 32,760 = 2³ × 3² × 5 × 7 × 13 as a product of powers of primes.
The same work can be set out as a division ladder. Divide by the smallest prime that goes, again and again, until you reach 1. The primes down the left side are the answer.
| Divide by | Number |
|---|---|
| 2 | 32,760 |
| 2 | 16,380 |
| 2 | 8190 |
| 3 | 4095 |
| 3 | 1365 |
| 5 | 455 |
| 7 | 91 |
| 13 | 13 |
| 1 |
The ladder and the tree give the same primes. The ladder is tidier for big numbers, because it always uses the smallest prime first.
A much bigger number
Try another number, 12,34,56,789. It can be written as 3² × 3803 × 3607. Before trusting this, you have to check two things: that the product really is 12,34,56,789, and that 3803 and 3607 really are primes.
Worked example 5
Check that 12,34,56,789 = 3² × 3803 × 3607, and that 3803 and 3607 are prime.
What we know: The claimed factorisation 3² × 3803 × 3607.
What we need: That the product is right, and that each factor is prime.
The plan: Multiply back. Then test 3803 and 3607 with the primes up to their square roots.
- 3² = 9, and 9 × 3803 = 34,227.
- 34,227 × 3607 = 12,34,56,789. The product is right.
- √3803 is about 61.7 (61² = 3721 and 62² = 3844). So try the 18 primes from 2 to 61. None of them divides 3803, so 3803 is prime.
- √3607 is just above 60 (60² = 3600). So try the 17 primes from 2 to 59. None of them divides 3607, so 3607 is prime.
12,34,56,789 = 3² × 3803 × 3607, with 3803 and 3607 both prime.
Check: The digit sum of 12,34,56,789 is 45, a multiple of 9, so 9 = 3² must divide it. That agrees with the 3² in front.
Try the same with several other natural numbers yourself. Every composite number you try breaks into primes. This leads to a conjecture: a statement we believe from evidence, but have not yet proved. Here the conjecture is that every composite number can be written as a product of powers of primes.
The conjecture is true. It is so basic to the study of whole numbers that it has a grand name: the Fundamental Theorem of Arithmetic. "Fundamental" means it is a foundation that much else stands on. "Arithmetic" here means the study of whole numbers. A theorem is a statement that has been proved.
The theorem
Every composite number can be expressed (factorised) as a product of primes, and this factorisation is unique, apart from the order in which the prime factors occur.
The theorem says two separate things. It is worth reading slowly.
- It can be done. Every composite number breaks into primes. This part is called existence.
- It can be done in only one way. However you split the number, you end with the same primes, each the same number of times. This part is called uniqueness. "Unique" means "one and only one".
The words "apart from the order" matter. We regard 2 × 3 × 5 × 7 as the same factorisation as 3 × 5 × 7 × 2, or any other order of the same primes. Multiplication does not care about order, so the order is not counted as a difference. The book says this in one line: the prime factorisation of a natural number is unique, except for the order of its factors.
See it. Start the tree for 32,760 in a different way: 32,760 = 40 × 819. Keep splitting.
Here 40 = 4 × 10 = 2 × 2 × 2 × 5, and 819 = 9 × 91 = 3 × 3 × 7 × 13. The primes at the ends are 2, 2, 2, 5, 3, 3, 7, 13. Put them in order: 2, 2, 2, 3, 3, 5, 7, 13. These are exactly the primes of the first tree. Two different trees, one set of primes: that is uniqueness at work.
Why the theorem is true
Existence can be seen by thinking about the factor tree. Take any composite number. Split it into two factors, each smaller than the number itself. If a factor is composite, split it again into smaller factors. The numbers keep getting smaller, but they are always whole numbers bigger than 1. So the splitting cannot go on for ever. When it stops, every end is a number that cannot be split, which is a prime.
Uniqueness is harder to prove, and the book does not prove it. The first correct proof was given by Carl Friedrich Gauss, as the box below tells. In this class we accept it as a theorem and use it. You can test it as often as you like: no one has ever found a number with two different prime factorisations.
From Euclid to Gauss
A version of this theorem was probably first recorded as Proposition 14 of Book IX of Euclid's Elements, before it came to be called the Fundamental Theorem of Arithmetic. The first correct proof was given by Carl Friedrich Gauss (1777 to 1855) in his book Disquisitiones Arithmeticae.
Gauss is often called the "Prince of Mathematicians". He is counted, with Archimedes and Newton, among the three greatest mathematicians of all time. He made fundamental contributions to both mathematics and science.
A note on the book: its box says "Theorem 1.2" here. It means Theorem 1.1, the Fundamental Theorem. Theorem 1.2 in the book is a different theorem, met in section 1.3.
One standard way to write it
To write the factorisation in a single standard form, we put the primes in ascending order, from the smallest to the largest. For a composite number x we write:
Read it as "x equals p one times p two, and so on up to p n, where p one is at most p two, and so on up to p n". Here p₁, p₂, …, pₙ are primes, and n is how many there are. The sign ≤ means "is less than or equal to". Equal primes may repeat, which is why it is ≤ and not <.
Combining the same primes gives powers, as in 32,760 = 2³ × 3² × 5 × 7 × 13. Once we agree to write the primes in ascending order, the factorisation is unique, with no "apart from the order" needed.
Why 1 is not called a prime
If 1 counted as a prime, uniqueness would break at once. We could write 6 = 2 × 3 = 1 × 2 × 3 = 1 × 1 × 2 × 3, and so on: endless different factorisations of 6.
Leaving 1 out of the primes keeps the theorem true and simple. This is the deeper reason, promised in section 1.1.
Worked example 6
Write 3780 as a product of powers of primes.
What we know: n = 3780.
The plan: Use a division ladder: divide by the smallest prime that goes, again and again.
- 3780 ends in 0, so 2 divides it: 3780 = 2 × 1890.
- 1890 is even: 1890 = 2 × 945.
- 945 has digit sum 9 + 4 + 5 = 18, so 3 divides it: 945 = 3 × 315.
- 315 has digit sum 9: 315 = 3 × 105. Then 105 = 3 × 35, since 1 + 0 + 5 = 6.
- 35 = 5 × 7, and both are prime.
3780 = 2 × 2 × 3 × 3 × 3 × 5 × 7 = 2² × 3³ × 5 × 7.
Check: Multiply back: 4 × 27 = 108, 108 × 5 = 540, and 540 × 7 = 3780.
Worked example 7
A sweet shop owner packs 2520 laddoos. She notices that 2520 can be shared equally among any number of children from 1 to 10. Write 2520 as a product of primes, and use it to explain why 9 and 8 both divide it.
What we know: 2520 laddoos.
What we need: The prime factorisation of 2520, and a reason why 8 and 9 divide it.
The plan: Break 2520 into primes. Then look for 8 = 2³ and 9 = 3² inside the factorisation.
- 2520 = 2 × 1260 = 2 × 2 × 630 = 2 × 2 × 2 × 315.
- 315 = 3 × 105 = 3 × 3 × 35 = 3 × 3 × 5 × 7.
- So 2520 = 2³ × 3² × 5 × 7.
- 8 = 2³, and 2520 contains 2³. So 2520 = 8 × (3² × 5 × 7) = 8 × 315.
- 9 = 3², and 2520 contains 3². So 2520 = 9 × (2³ × 5 × 7) = 9 × 280.
2520 = 2³ × 3² × 5 × 7. The factorisation contains 2³ = 8 and 3² = 9, so both divide 2520.
Check: 2520 ÷ 8 = 315 and 2520 ÷ 9 = 280, both whole numbers. Every child gets the same share for any number of children from 1 to 10.
Another way: Read the factorisation for every number from 1 to 10: each one (such as 6 = 2 × 3 or 10 = 2 × 5) is made from primes found in 2³ × 3² × 5 × 7.
Common mistakes when factorising
Stopping too early. 32,760 = 8 × 9 × 5 × 7 × 13 is a true product, but it is not a prime factorisation, because 8 and 9 are not primes. Keep splitting until every factor is prime.
Losing a repeated prime. 72 = 2³ × 3², not 2 × 3. Each split adds one prime to the list, so count them all.
Writing 1 as a factor. 1 is not a prime, so it never appears in a prime factorisation.
Not checking. Always multiply back. A slip in one division spoils the whole answer.
When you are stuck: breaking a number into primes
Start with the smallest prime. Take out all the 2s first, then all the 3s, then the 5s. The number left gets smaller each time.
Use the quick tests for 2, 3, 5 and 11 before any long division.
If the number left is large and odd, and 3, 5, 7, 11 and 13 fail, go on to 17, 19, 23 and so on. Stop when the prime passes the square root of the number left: that number is then prime.
Remember a few products: 91 = 7 × 13, 143 = 11 × 13, 221 = 13 × 17 and 1001 = 7 × 11 × 13. They come up often.
Check by multiplying back. If the product is wrong, a division went wrong; redo the ladder one step at a time.
Your turn
1. Write 1001 as a product of primes.Tap to reveal
The plan: Test the primes in order.
- 1001 is odd, its digit sum is 2, and it does not end in 0 or 5. So 2, 3 and 5 fail.
- 7: 7 × 143 = 1001. Yes.
- 143 = 11 × 13, as found in section 1.1.
1001 = 7 × 11 × 13.
Check: 7 × 11 = 77, and 77 × 13 = 1001.
2. Draw two different factor trees for 72, one starting 72 = 8 × 9 and one starting 72 = 6 × 12. Do they end with the same primes?Tap to reveal
The plan: Finish each tree, then compare the primes.
- First tree: 8 = 2 × 2 × 2 and 9 = 3 × 3. Primes: 2, 2, 2, 3, 3.
- Second tree: 6 = 2 × 3 and 12 = 2 × 6 = 2 × 2 × 3. Primes: 2, 3, 2, 2, 3.
Yes. Both give 2, 2, 2, 3, 3, so 72 = 2³ × 3², as uniqueness promises.
3. Write 9240 as a product of powers of primes.Tap to reveal
The plan: Use a division ladder.
- 9240 = 2 × 4620 = 2 × 2 × 2310 = 2 × 2 × 2 × 1155.
- 1155 has digit sum 12, so 3 divides it: 1155 = 3 × 385.
- 385 = 5 × 77 = 5 × 7 × 11.
9240 = 2³ × 3 × 5 × 7 × 11.
Check: 8 × 3 = 24, 24 × 5 = 120, 120 × 7 = 840 and 840 × 11 = 9240.
In one line
Every composite number is a product of primes in exactly one way, apart from the order of the factors.
1.2Using unique factorisation
The Fundamental Theorem of Arithmetic has many uses, both within mathematics and in other fields. Most of them rest on one simple consequence of uniqueness:
The key consequence
A prime divides a number exactly when it appears in the number's prime factorisation.
If a prime is not in the factorisation, no way of rewriting the number can bring it in, because the factorisation is unique.
For example, 32,760 = 2³ × 3² × 5 × 7 × 13. So 13 divides 32,760, but 11 does not. We can say this without dividing at all.
Numbers that end in zero
A number ends in the digit 0 exactly when it is a multiple of 10. And 10 = 2 × 5. So a number ends in 0 exactly when its prime factorisation contains both 2 and 5. This one fact answers a whole family of questions. The book's Example 1 is the first of them.
Example 1 (from the book)
Consider the numbers 4ⁿ, where n is a natural number. Check whether there is any value of n for which 4ⁿ ends with the digit zero.
What we know: 4ⁿ means 4 multiplied by itself n times, for n = 1, 2, 3, ….
What we need: Whether 4ⁿ can ever end in 0, for any n at all.
The plan: A number ending in 0 must have the prime 5 in its factorisation. Find the primes of 4ⁿ and look for a 5.
- If 4ⁿ ended with the digit 0, it would be divisible by 10, and so by 5. Then the prime factorisation of 4ⁿ would contain the prime 5.
- But 4 = 2 × 2 = 2². So 4ⁿ = (2²)ⁿ = 2²ⁿ, by the law "a power of a power multiplies the exponents". The only prime in the factorisation of 4ⁿ is 2.
- By the uniqueness part of the Fundamental Theorem of Arithmetic, there are no other primes in the factorisation of 4ⁿ. No way of writing 4ⁿ can bring in a 5.
There is no natural number n for which 4ⁿ ends with the digit 0.
Check: The first few powers are 4, 16, 64, 256, 1024 and 4096. Their last digits go 4, 6, 4, 6, 4, 6, and never 0. This agrees with the proof.
Checking is not proving
Looking at 4, 16, 64 and 256 tells us only about those few powers. Nobody can check all of them, because there are infinitely many.
The proof above covers every n at once, even n = 1000, which no one will ever write out. That is why the reasoning, not the checking, is the answer.
Worked example 8
Can 12ⁿ end with the digit 0 for any natural number n?
The plan: Break 12 into primes, raise to the power n, and look for both 2 and 5.
- 12 = 2² × 3.
- So 12ⁿ = (2² × 3)ⁿ = 2²ⁿ × 3ⁿ, using "a power of a product is the product of the powers".
- The primes of 12ⁿ are 2 and 3 only. There is no 5, and uniqueness says no 5 can ever appear.
No. 12ⁿ never ends in 0.
Check: 12, 144, 1728, 20,736: the last digits are 2, 4, 8, 6. None is 0.
Worked example 9
Does 30ⁿ end with the digit 0 for every natural number n?
The plan: Find the primes of 30ⁿ and check for both 2 and 5.
- 30 = 2 × 3 × 5.
- So 30ⁿ = 2ⁿ × 3ⁿ × 5ⁿ.
- For every n ≥ 1, this contains at least one 2 and at least one 5, so it contains 2 × 5 = 10.
Yes: 30ⁿ always ends in 0.
Check: 30, 900, 27,000: all end in 0.
Watch the difference between the two examples. To end in 0 a number needs both 2 and 5. Having just one of them is not enough. The next example shows a number that has the 5 but not the 2.
Worked example 10
Can 15ⁿ end in 0? What digit does it always end in?
The plan: Find the primes of 15ⁿ.
- 15 = 3 × 5, so 15ⁿ = 3ⁿ × 5ⁿ.
- There is a 5 but no 2. A number ending in 0 needs a 2 as well, so 15ⁿ never ends in 0.
- Every power of 15 is odd (no factor 2) and is a multiple of 5. An odd multiple of 5 ends in 5.
15ⁿ never ends in 0; it always ends in 5.
Check: 15, 225, 3375: all end in 5.
How many zeros at the end?
The same idea counts zeros. Each 0 at the end of a number comes from one factor 10 = 2 × 5. So the number of zeros at the end is the number of 2 × 5 pairs in the factorisation. That is the smaller of the power of 2 and the power of 5.
Worked example 11
How many zeros does 2⁵ × 3 × 5³ end with?
The plan: Count the pairs of 2 and 5.
- There are five 2s and three 5s.
- Each 0 needs one 2 and one 5. So only three pairs can be made: 2³ × 5³ = 10³.
- The number is 10³ × (2² × 3) = 1000 × 12 = 12,000.
It ends with 3 zeros.
Check: 12,000 has exactly three zeros at the end. The two extra 2s have no 5 to pair with.
Perfect squares, read from the primes
A perfect square is a whole number times itself. When you square a number, every prime in it appears twice as often. For example, 6² = (2 × 3)² = 2² × 3². So a number is a perfect square exactly when every prime in its factorisation has an even power.
Worked example 12
A gardener has 180 saplings. She wants a square arrangement (equal rows and columns), so she buys more boxes of 180. What is the smallest number of boxes she needs in all?
What we know: Each box has 180 saplings. With k boxes she has 180 × k saplings.
What we need: The smallest k for which 180 × k is a perfect square.
The plan: Factorise 180, and see which primes have an odd power. Multiplying by those primes makes every power even.
- 180 = 2² × 3² × 5.
- The powers of 2 and 3 are even (2 each), but the power of 5 is 1, which is odd.
- Multiplying by one more 5 gives 2² × 3² × 5² = (2 × 3 × 5)² = 30².
- So k = 5, and 180 × 5 = 900 = 30 × 30.
She needs 5 boxes in all: 900 saplings in 30 rows of 30.
Check: 30 × 30 = 900 = 5 × 180. With fewer boxes (1, 2, 3 or 4), the power of 5 stays odd, so no square is possible.
A path that fails: trying 180 × 2 = 360, then 180 × 3 = 540, and so on, looking for a square. You would find 900 at the fifth try, but you could never be sure in advance how long the search would take. The factorisation tells you the answer at once, and also proves that nothing smaller works.
Counting the factors of a number
The factorisation also tells you how many factors a number has. Look at 72 = 2³ × 3². Every factor of 72 is made from the same primes, with powers no bigger than those in 72. So a factor is 2ᵃ × 3ᵇ, where a is 0, 1, 2 or 3 (four choices) and b is 0, 1 or 2 (three choices). That gives 4 × 3 = 12 factors.
Worked example 13
A school has 360 chairs for its annual day. The chairs must stand in a rectangle of equal rows. How many different layouts (rows × chairs in each row) are possible?
What we know: 360 chairs. A layout is a pair (rows, chairs per row) whose product is 360.
What we need: The number of such pairs.
The plan: Each layout matches one factor of 360 (the number of rows). Count the factors using the prime factorisation.
- 360 = 2³ × 3² × 5.
- A factor is 2ᵃ × 3ᵇ × 5ᶜ, with a from 0 to 3 (4 choices), b from 0 to 2 (3 choices) and c from 0 to 1 (2 choices).
- Number of factors = 4 × 3 × 2 = 24.
- Each factor gives one layout: that many rows, and 360 ÷ (rows) chairs in each.
24 layouts, from 1 row of 360 to 360 rows of 1.
Check: The factors of 360 pair up: 1 × 360, 2 × 180, 3 × 120, 4 × 90, 5 × 72, 6 × 60, 8 × 45, 9 × 40, 10 × 36, 12 × 30, 15 × 24, 18 × 20. That is 12 pairs, and each pair gives two layouts (the rows and columns swapped): 24.
Common mistakes when using the theorem
Looking for 5 alone. Ending in 0 needs both 2 and 5. 15ⁿ has a 5 but no 2, so it ends in 5, never 0.
Forgetting the power 0. When counting factors, a prime may be left out of a factor entirely (power 0). That is why 2³ gives 4 choices (0, 1, 2, 3), not 3.
Squaring the base, not the powers. To make a perfect square, every prime needs an even power. Multiplying 180 by 180 works, but it is far from the smallest choice.
When you are stuck: a question about divisibility, last digits or squares
Factorise first. Almost every such question becomes easy once the number is written as a product of primes.
Translate the question into primes. "Ends in 0" means "has 2 and 5". "Divisible by 12" means "has at least 2² and 3". "Perfect square" means "every power is even".
For a power such as 6ⁿ, factorise the base. 6ⁿ = 2ⁿ × 3ⁿ: the primes of a power are the primes of its base.
Try small cases to get a feel, then prove. Listing 6, 36, 216 suggests an answer, but only the primes prove it for every n.
Your turn
1. Can 6ⁿ end with the digit 5 for any natural number n?Tap to reveal
The plan: A number ending in 5 is a multiple of 5. Look for 5 among the primes of 6ⁿ.
- 6 = 2 × 3, so 6ⁿ = 2ⁿ × 3ⁿ.
- There is no 5 among its primes, so 5 never divides 6ⁿ.
No. In fact 6ⁿ always ends in 6: 6, 36, 216, 1296.
2. Is 7ⁿ ever divisible by 3?Tap to reveal
The plan: Find the primes of 7ⁿ.
- 7 is prime, so 7ⁿ = 7 × 7 × … × 7 has only the prime 7.
- By uniqueness, 3 never appears, so 3 never divides 7ⁿ.
No, for every n.
3. Does 12 divide N = 2³ × 3² × 5? Does 25 divide it?Tap to reveal
The plan: 12 = 2² × 3 and 25 = 5². Check whether N has at least these powers.
- N has 2³ (at least 2²) and 3² (at least 3), so 12 divides N.
- N has only 5¹, and 25 needs 5². So 25 does not divide N.
12 divides N; 25 does not.
Check: N = 360. 360 ÷ 12 = 30, a whole number; 360 ÷ 25 = 14.4, not a whole number.
In one line
A prime divides a number exactly when it appears in the number's factorisation; to end in 0 a number needs both 2 and 5.
1.2HCF and LCM by prime factorisation
You have already found the HCF and LCM of two numbers in earlier classes. You were using the Fundamental Theorem of Arithmetic without knowing its name! This way of working is called the prime factorisation method. First, let us be sure of the two words.
Why we need them. The HCF answers questions about cutting things into the largest equal pieces: the biggest tile for a floor, or the longest rope that measures two lengths exactly. The LCM answers questions about things that repeat: when two lights blink together again, or when two runners meet again at the start.
The idea in plain words. The HCF is the biggest number that goes into all the given numbers. The LCM is the smallest number that all the given numbers go into.
The exact statement. The HCF (highest common factor) of some positive integers is the largest positive integer that divides each of them. The LCM (lowest common multiple) is the smallest positive integer that each of them divides. We write HCF(12, 18) and LCM(12, 18), read "the HCF of 12 and 18" and "the LCM of 12 and 18".
See it by listing. For 12 and 18:
- Factors of 12: 1, 2, 3, 4, 6, 12. Factors of 18: 1, 2, 3, 6, 9, 18. The common factors are 1, 2, 3 and 6. The highest is 6, so HCF(12, 18) = 6.
- Multiples of 12: 12, 24, 36, 48, …. Multiples of 18: 18, 36, 54, …. The lowest common multiple is 36, so LCM(12, 18) = 36.
Listing works well for small numbers. For big numbers it is slow, and it is easy to miss a factor. Prime factorisation is quicker, and it always works.
The prime factorisation method
The method
Write each number as a product of powers of primes. Then:
HCF = the product of the smallest power of each common prime factor in the numbers.
LCM = the product of the greatest power of each prime factor involved in the numbers.
Why it works. A factor of a number can only use the number's own primes, with powers no bigger than the number's. So a factor common to both numbers can use only the common primes, each at most to the smaller of its two powers. The biggest such factor takes exactly the smaller power of each common prime: that is the HCF. In the same way, a common multiple must contain each number's primes at least to that number's power. The smallest one takes exactly the greater power of each prime: that is the LCM.
Example 2 (from the book)
Find the LCM and HCF of 6 and 20 by the prime factorisation method.
What we know: The two numbers 6 and 20.
The plan: Factorise both, then compare the power of each prime in a table. A prime that is missing from a number has power 0 there.
- 6 = 2¹ × 3¹ and 20 = 2 × 2 × 5 = 2² × 5¹.
- Compare the powers (see the table and picture below). For 2: 1 and 2. For 3: 1 and 0. For 5: 0 and 1.
- HCF: take the smaller power of each prime. That is 2¹ × 3⁰ × 5⁰ = 2. (The only common prime is 2.)
- LCM: take the greater power of each prime. That is 2² × 3¹ × 5¹ = 4 × 3 × 5 = 60.
HCF(6, 20) = 2 and LCM(6, 20) = 60.
Check: By listing: the factors of 6 and 20 in common are 1 and 2, so the HCF is 2. The first common multiple: 60 is in 6, 12, …, 60 and in 20, 40, 60. Both methods agree.
| power of 2 | power of 3 | power of 5 | |
|---|---|---|---|
| 6 | 1 | 1 | 0 |
| 20 | 2 | 0 | 1 |
| HCF: the smaller power | 1 | 0 | 0 |
| LCM: the greater power | 2 | 1 | 1 |
The book puts it in words. HCF(6, 20) = 2¹ = the product of the smallest power of each common prime factor in the numbers. LCM(6, 20) = 2² × 3¹ × 5¹ = the product of the greatest power of each prime factor involved in the numbers.
HCF × LCM = the product of the two numbers
From the example above, you might have noticed something. HCF(6, 20) × LCM(6, 20) = 2 × 60 = 120, and 6 × 20 = 120 too. This is no accident.
Read it as "the HCF of a and b, times the LCM of a and b, equals a times b". It holds for two numbers only.
Why it is true. Look at one prime at a time. For the prime 2 above, the two numbers have powers 1 and 2. The HCF takes the smaller power (1) and the LCM takes the greater (2). Together, 1 + 2 = 3, which is exactly the power of 2 in 6 × 20. The same happens for every prime. For 3, the powers are 1 and 0: the HCF takes 0 and the LCM takes 1, and 0 + 1 = 1, the power of 3 in 6 × 20. For 5, the powers are 0 and 1, and again 0 + 1 = 1. The reason is that the smaller and the greater of two numbers always add up to the two numbers together. So HCF × LCM contains every prime exactly as often as a × b does. By uniqueness of prime factorisation, the two products are equal.
Turned round, the rule gives the LCM quickly once the HCF is known:
Read it as "the LCM of a and b equals a times b, over the HCF of a and b".
Example 3 (from the book)
Find the HCF of 96 and 404 by the prime factorisation method. Hence, find their LCM.
What we know: a = 96 and b = 404.
The plan: Find the HCF by primes. Then use LCM = a × b ÷ HCF, as the word "hence" suggests.
- 96 = 2⁵ × 3, because 96 = 2 × 48 = 2 × 2 × 24 = … = 32 × 3.
- 404 = 2² × 101, because 404 = 4 × 101, and 101 is prime.
- The only common prime is 2. Its powers are 5 and 2, and the smaller is 2. So HCF = 2² = 4.
- LCM(96, 404) = (96 × 404) ÷ 4 = 38,784 ÷ 4 = 9696.
HCF(96, 404) = 4 and LCM(96, 404) = 9696.
Check: By the greatest powers: 2⁵ × 3 × 101 = 32 × 303 = 9696. The same.
The picture shows both answers at a glance. The overlap of the two circles holds the common primes, and their product is the HCF. Everything in both circles together gives the LCM.
Five kinds of problem with HCF × LCM = a × b
Worked example 14 (direct)
The HCF of 84 and 120 is 12. Find their LCM.
What we know: a = 84, b = 120 and HCF = 12.
The plan: Substitute into LCM = a × b ÷ HCF.
- a × b = 84 × 120 = 10,080.
- LCM = 10,080 ÷ 12 = 840.
LCM(84, 120) = 840.
Check: By primes: 84 = 2² × 3 × 7 and 120 = 2³ × 3 × 5. The greatest powers give 2³ × 3 × 5 × 7 = 840.
Worked example 15 (a story)
At a railway crossing near Pune, two warning lights blink together at this moment. One blinks every 45 seconds, the other every 60 seconds. After how many seconds will they next blink together?
What we know: Light A blinks every 45 s and light B every 60 s. They blink together now (time 0).
What we need: The first time after 0 when both blink.
The plan: Light A blinks at multiples of 45, and light B at multiples of 60. Both blink at the common multiples; the first is the LCM. Find the HCF by primes, then LCM = a × b ÷ HCF.
- 45 = 3² × 5 and 60 = 2² × 3 × 5.
- Common primes: 3 (smaller power 3¹) and 5 (smaller power 5¹). So HCF = 3 × 5 = 15.
- LCM = 45 × 60 ÷ 15 = 2700 ÷ 15 = 180.
They next blink together after 180 seconds, that is, 3 minutes.
Check: 180 ÷ 45 = 4 and 180 ÷ 60 = 3: by then light A has blinked 4 more times and light B 3 more times. No smaller number is a multiple of both (the picture shows the time line).
Worked example 16 (a picture)
A floor is 4 m 20 cm long and 3 m 60 cm wide. (a) What is the largest square tile that covers it exactly? (b) Rectangular slabs of 420 cm by 360 cm are laid side by side, all the same way round, to make a square. What is the smallest such square?
What we know: The lengths 420 cm and 360 cm.
The plan: (a) A tile must divide both lengths exactly, and be as large as possible: that is the HCF. (b) The side of the square must be a multiple of both 420 and 360, and as small as possible: that is the LCM.
- 420 = 2² × 3 × 5 × 7 and 360 = 2³ × 3² × 5.
- HCF = 2² × 3 × 5 = 60. So the tile is 60 cm, with 420 ÷ 60 = 7 tiles along and 360 ÷ 60 = 6 across: 42 tiles.
- LCM = 420 × 360 ÷ 60 = 1,51,200 ÷ 60 = 2520. So the square has side 2520 cm.
- Along one side, 2520 ÷ 420 = 6 slabs fit; along the other, 2520 ÷ 360 = 7 slabs fit.
(a) The largest tile has side 60 cm (42 tiles). (b) The smallest square has side 2520 cm = 25.2 m (6 × 7 = 42 slabs).
Check: HCF × LCM = 60 × 2520 = 1,51,200, and 420 × 360 = 1,51,200. They agree.
Worked example 17 (reverse)
Two numbers have HCF 6 and LCM 180. One of them is 36. Find the other.
What we know: HCF = 6, LCM = 180, a = 36.
What we need: b.
The plan: Turn the rule round: b = HCF × LCM ÷ a.
- HCF × LCM = 6 × 180 = 1080.
- 36 × b = 1080, so b = 1080 ÷ 36 = 30.
The other number is 30.
Check: 36 = 2² × 3² and 30 = 2 × 3 × 5. HCF = 2 × 3 = 6 and LCM = 2² × 3² × 5 = 180. Both match.
Worked example 18 (exam)
Can two numbers have HCF 18 and LCM 380? Give a reason.
What we know: A claimed HCF of 18 and a claimed LCM of 380.
What we need: Whether such numbers can exist.
The plan: The HCF divides each number, and each number divides the LCM. So the HCF must divide the LCM. Test whether 18 divides 380.
- The HCF divides a. And a divides the LCM. So the HCF divides the LCM.
- 380 ÷ 18 = 21 remainder 2. So 18 does not divide 380.
No. The HCF of two numbers always divides their LCM, and 18 does not divide 380.
Check: With primes: 18 = 2 × 3² and 380 = 2² × 5 × 19. The LCM would need at least 3², but 380 has no 3 at all.
A path that fails: using the product rule alone. You might say "a × b = 18 × 380 = 6840, so take a = 18 and b = 380". But HCF(18, 380) is 2, not 18. The product rule is true for real pairs, but it cannot make an impossible pair possible. Always check that the HCF divides the LCM first.
Three numbers
Example 4 (from the book)
Find the HCF and LCM of 6, 72 and 120, using the prime factorisation method.
What we know: The three numbers 6, 72 and 120.
The plan: Factorise all three. HCF: smallest power of each prime common to all three. LCM: greatest power of each prime that appears in any of them.
- 6 = 2 × 3, 72 = 2³ × 3² and 120 = 2³ × 3 × 5.
- The primes common to all three are 2 and 3. Their smallest powers are 2¹ and 3¹. So HCF(6, 72, 120) = 2¹ × 3¹ = 6.
- The primes involved are 2, 3 and 5. Their greatest powers are 2³, 3² and 5¹. So LCM(6, 72, 120) = 2³ × 3² × 5¹ = 8 × 9 × 5 = 360.
HCF(6, 72, 120) = 6 and LCM(6, 72, 120) = 360.
Check: 6, 72 and 120 all divide 360 (360 ÷ 6 = 60, 360 ÷ 72 = 5, 360 ÷ 120 = 3), and 6 divides all three.
The book's Remark: the product rule is for two numbers only
6 × 72 × 120 = 51,840, but HCF × LCM = 6 × 360 = 2160. These are not equal.
So the product of three numbers is not equal to the product of their HCF and LCM. Use HCF × LCM = a × b only for two numbers.
Why it fails: for the prime 2 the three powers are 1, 3 and 3. The HCF takes 1 and the LCM takes 3, which add to 4. But the product of the numbers has 1 + 3 + 3 = 7. The middle power is lost.
A note to the reader: formulas for three numbers
For three positive integers p, q and r, the book gives two results that do hold:
Read it as "the LCM of p, q and r equals p times q times r times the HCF of all three, over the product of the HCFs of the three pairs".
Read it as "the HCF of p, q and r equals p times q times r times the LCM of all three, over the product of the LCMs of the three pairs".
Why the LCM formula works. Look at one prime, and call its three powers small, middle and large. The top has small + middle + large (from p × q × r) plus small (from the HCF of all three). The three pair HCFs take the smaller of each pair: small, middle and small. Subtracting, small + middle + large + small − small − middle − small = large. The LCM's power is exactly the largest, so the formula gives the LCM. The HCF formula works the same way with the roles of "smaller" and "greater" swapped.
Worked example 19
Check both formulas for 6, 72 and 120.
What we know: p × q × r = 6 × 72 × 120 = 51,840. From Example 4, HCF(6, 72, 120) = 6 and LCM(6, 72, 120) = 360.
The plan: Find the HCF and LCM of each pair, then substitute.
- Pairs: HCF(6, 72) = 6, HCF(72, 120) = 24, HCF(6, 120) = 6. And LCM(6, 72) = 72, LCM(72, 120) = 360, LCM(6, 120) = 120.
- LCM formula: 51,840 × 6 ÷ (6 × 24 × 6) = 3,11,040 ÷ 864 = 360.
- HCF formula: 51,840 × 360 ÷ (72 × 360 × 120) = 1,86,62,400 ÷ 31,10,400 = 6.
Both formulas give the right answers: LCM = 360 and HCF = 6.
Check: These match Example 4, worked by primes.
A note on the book: its Note to the Reader says "see Example 8" for the three-number product. It means Example 4 and its Remark, above.
HCF or LCM? Read the question
HCF when you want the largest thing that divides: the biggest equal pieces, the largest tile or measure, the greatest number of equal groups.
LCM when you want the smallest thing that all of them divide: when things happen together again, the smallest length measured exactly by several rods, the smallest number of sweets that can be shared equally among different group sizes.
A quick test: the HCF is never bigger than the smallest number; the LCM is never smaller than the largest number.
Common mistakes with HCF and LCM
Swapping the rules. The HCF takes the smallest power of each common prime; the LCM takes the greatest power of every prime.
Putting a non-common prime in the HCF. In Example 2, 3 divides 6 but not 20, so 3 is not in the HCF.
Using the product rule for three numbers. See the Remark above.
Using the LCM when the question wants the HCF. "Largest tile" needs the HCF; "meet again" needs the LCM.
When you are stuck: an HCF or LCM problem
Decide which one the question wants by its words: largest and divides means HCF; smallest and together means LCM.
Make a table of powers, one column per prime, with 0 for a missing prime. Then the HCF and LCM are read off row by row.
Run the two checks. The HCF must divide the LCM. For two numbers, HCF × LCM must equal a × b. If either fails, a factorisation is wrong.
For a reverse problem (one number missing), start from HCF × LCM = a × b, then check the answer by primes.
Your turn
1. Find the HCF and LCM of 72 and 120 by prime factorisation, and check HCF × LCM = a × b.Tap to reveal
The plan: Factorise, compare powers, then multiply to check.
- 72 = 2³ × 3² and 120 = 2³ × 3 × 5.
- HCF = 2³ × 3 = 24. LCM = 2³ × 3² × 5 = 360.
- 24 × 360 = 8640, and 72 × 120 = 8640.
HCF = 24, LCM = 360, and the check works.
2. The HCF of two numbers is 23 and their LCM is 1449. One of them is 161. Find the other.Tap to reveal
The plan: Other = HCF × LCM ÷ 161.
- 23 × 1449 = 33,327.
- 33,327 ÷ 161 = 207.
The other number is 207.
Check: 161 = 7 × 23 and 207 = 3² × 23. HCF = 23 and LCM = 3² × 7 × 23 = 1449. Both match.
3. Find the LCM of 15 and 28. What do you notice?Tap to reveal
The plan: Factorise and compare.
- 15 = 3 × 5 and 28 = 2² × 7. They share no prime, so HCF = 1.
- LCM = 15 × 28 ÷ 1 = 420.
LCM = 420, which is just 15 × 28. For coprime numbers (HCF 1), the LCM is their product.
In one line
HCF: smallest power of each common prime. LCM: greatest power of every prime. For two numbers, HCF × LCM = a × b.
Ex 1.1Exercise 1.1, solved in full
Try each question yourself first, on paper. Then open the answer and compare every step, not just the final number. The answers agree with the book's own answers at the back of the textbook.
When you are stuck: Exercise 1.1
Questions 1 to 4 all start the same way: break each number into primes with a division ladder. Most of the work is there.
If a number resists small primes (as 7429 does), keep going: 17, 19, 23 and so on, up to the square root.
Question 5 is about which primes can appear, not about calculating: look for 2 and 5.
Question 6: before calculating anything, look for a factor that both parts of the sum share.
Question 7: decide first whether it needs the HCF or the LCM ("meet again" means LCM).
Question 1. Express each number as a product of its prime factors: (i) 140 (ii) 156 (iii) 3825 (iv) 5005 (v) 7429.
1 (i) Express 140 as a product of its prime factors.Tap to reveal
What we know: n = 140. It ends in 0, so both 2 and 5 divide it.
The plan: Divide by the smallest prime that goes, again and again (a division ladder).
- 140 is even: 140 = 2 × 70.
- 70 is even: 70 = 2 × 35.
- 35 ends in 5: 35 = 5 × 7.
- 7 is prime, so we stop.
140 = 2 × 2 × 5 × 7 = 2² × 5 × 7.
Check: Multiply back: 4 × 5 = 20 and 20 × 7 = 140. This matches the book's answer.
1 (ii) Express 156 as a product of its prime factors.Tap to reveal
What we know: n = 156. It is even.
The plan: Take out the 2s first, then test 3.
- 156 = 2 × 78.
- 78 = 2 × 39.
- 39 has digit sum 3 + 9 = 12, a multiple of 3: 39 = 3 × 13.
- 13 is prime, so we stop.
156 = 2 × 2 × 3 × 13 = 2² × 3 × 13.
Check: 4 × 3 = 12 and 12 × 13 = 156. This matches the book's answer.
1 (iii) Express 3825 as a product of its prime factors.Tap to reveal
What we know: n = 3825. It is odd and ends in 5.
The plan: 2 does not divide it, so start with 5, then test 3.
- 3825 ends in 5: 3825 = 5 × 765.
- 765 ends in 5: 765 = 5 × 153.
- 153 has digit sum 1 + 5 + 3 = 9: 153 = 3 × 51.
- 51 has digit sum 6: 51 = 3 × 17. And 17 is prime.
3825 = 3 × 3 × 5 × 5 × 17 = 3² × 5² × 17.
Check: 9 × 25 = 225 and 225 × 17 = 3825. This matches the book's answer.
Another way: The digit sum of 3825 is 18, a multiple of 9. So you could start with 3825 = 9 × 425 = 9 × 25 × 17. The primes are the same, as uniqueness promises.
1 (iv) Express 5005 as a product of its prime factors.Tap to reveal
What we know: n = 5005. It ends in 5.
The plan: Take out 5, then test 7, 11 and 13 on what is left.
- 5005 = 5 × 1001.
- 1001 = 7 × 143 (7 × 143 = 1001).
- 143 = 11 × 13. Both are prime.
5005 = 5 × 7 × 11 × 13.
Check: 5 × 7 = 35, 35 × 11 = 385 and 385 × 13 = 5005. This matches the book's answer.
Another way: The test for 11 works straight away on 5005: 5 − 0 + 0 − 5 = 0. Remembering 1001 = 7 × 11 × 13 makes this question quick.
1 (v) Express 7429 as a product of its prime factors.Tap to reveal
What we know: n = 7429. It is odd, its digit sum is 7 + 4 + 2 + 9 = 22, and it ends in 9.
The plan: Test the primes in order. √7429 is about 86.2, so we may need primes up to 83.
- 2, 3 and 5 fail (it is odd, 22 is not a multiple of 3, and it ends in 9).
- 7: 7 × 1061 = 7427, which leaves 2. 11: 9 − 2 + 4 − 7 = 4, not 0. 13: 13 × 571 = 7423, which leaves 6.
- 17: 17 × 437 = 7429. Yes, 17 divides it.
- 437: √437 is about 20.9. Testing up to 19 gives 437 = 19 × 23, and both are prime.
7429 = 17 × 19 × 23.
Check: 17 × 19 = 323 and 323 × 23 = 7429. This matches the book's answer.
A path that fails: stopping after 2, 3, 5, 7, 11 and 13 and calling 7429 prime. Those six tests failing proves nothing, because √7429 is about 86. You must keep going until a prime divides it or you pass the square root.
Question 2. Find the LCM and HCF of the following pairs of integers and verify that LCM × HCF = product of the two numbers: (i) 26 and 91 (ii) 510 and 92 (iii) 336 and 54.
2 (i) Find the LCM and HCF of 26 and 91, and verify that LCM × HCF = 26 × 91.Tap to reveal
What we know: a = 26 and b = 91.
The plan: Factorise both. HCF: smallest power of each common prime. LCM: greatest power of every prime. Then multiply to verify.
- 26 = 2 × 13 and 91 = 7 × 13.
- The only common prime is 13. So HCF = 13.
- LCM = 2 × 7 × 13 = 182.
- LCM × HCF = 182 × 13 = 2366. And 26 × 91 = 2366.
HCF = 13, LCM = 182, and LCM × HCF = 2366 = 26 × 91.
Check: 182 ÷ 26 = 7 and 182 ÷ 91 = 2, so both divide the LCM. This matches the book's answer.
2 (ii) Find the LCM and HCF of 510 and 92, and verify that LCM × HCF = 510 × 92.Tap to reveal
What we know: a = 510 and b = 92.
The plan: Factorise both, compare the powers, then verify.
- 510 = 2 × 255 = 2 × 3 × 85 = 2 × 3 × 5 × 17.
- 92 = 2 × 46 = 2² × 23.
- The only common prime is 2, with powers 1 and 2. So HCF = 2¹ = 2.
- LCM = 2² × 3 × 5 × 17 × 23 = 4 × 3 × 5 × 17 × 23 = 23,460.
- LCM × HCF = 23,460 × 2 = 46,920. And 510 × 92 = 46,920.
HCF = 2, LCM = 23,460, and LCM × HCF = 46,920 = 510 × 92.
Check: This matches the book's answer: LCM = 23,460 and HCF = 2.
Another way: Once the HCF is known, LCM = 510 × 92 ÷ 2 = 46,920 ÷ 2 = 23,460. The same.
2 (iii) Find the LCM and HCF of 336 and 54, and verify that LCM × HCF = 336 × 54.Tap to reveal
What we know: a = 336 and b = 54.
The plan: Factorise both, compare the powers, then verify.
- 336 = 2 × 168 = 2 × 2 × 84 = 2 × 2 × 2 × 42 = 2⁴ × 21 = 2⁴ × 3 × 7.
- 54 = 2 × 27 = 2 × 3³.
- Common primes: 2 (powers 4 and 1) and 3 (powers 1 and 3). HCF = 2¹ × 3¹ = 6.
- LCM = 2⁴ × 3³ × 7 = 16 × 27 × 7 = 3024.
- LCM × HCF = 3024 × 6 = 18,144. And 336 × 54 = 18,144.
HCF = 6, LCM = 3024, and LCM × HCF = 18,144 = 336 × 54.
Check: 3024 ÷ 336 = 9 and 3024 ÷ 54 = 56, whole numbers. This matches the book's answer.
Question 3. Find the LCM and HCF of the following integers by applying the prime factorisation method: (i) 12, 15 and 21 (ii) 17, 23 and 29 (iii) 8, 9 and 25.
3 (i) Find the LCM and HCF of 12, 15 and 21.Tap to reveal
What we know: The three numbers 12, 15 and 21.
The plan: Factorise all three. HCF: primes common to all three, smallest powers. LCM: every prime, greatest powers.
- 12 = 2² × 3, 15 = 3 × 5 and 21 = 3 × 7.
- The only prime in all three is 3. So HCF = 3.
- The primes involved are 2, 3, 5 and 7, with greatest powers 2², 3, 5 and 7. So LCM = 4 × 3 × 5 × 7 = 420.
HCF = 3, LCM = 420.
Check: 420 ÷ 12 = 35, 420 ÷ 15 = 28 and 420 ÷ 21 = 20. This matches the book's answer.
Do not try to verify LCM × HCF = 12 × 15 × 21 here. That rule is for two numbers only: 420 × 3 = 1260, but 12 × 15 × 21 = 3780.
3 (ii) Find the LCM and HCF of 17, 23 and 29.Tap to reveal
What we know: 17, 23 and 29 are all primes.
The plan: Different primes share no factor except 1. Their LCM is their product.
- Each number is a prime, and no two are equal. So no prime divides all three, and HCF = 1.
- The LCM must contain each of the three primes once: LCM = 17 × 23 × 29.
- 17 × 23 = 391, and 391 × 29 = 11,339.
HCF = 1, LCM = 11,339.
Check: This matches the book's answer: LCM = 11,339 and HCF = 1.
3 (iii) Find the LCM and HCF of 8, 9 and 25.Tap to reveal
What we know: 8, 9 and 25 are not primes, but they are powers of different primes.
The plan: Factorise and compare.
- 8 = 2³, 9 = 3² and 25 = 5².
- No prime appears in all three (in fact no prime appears in two of them). So HCF = 1.
- LCM = 2³ × 3² × 5² = 8 × 9 × 25 = 1800.
HCF = 1, LCM = 1800.
Check: This matches the book's answer. Numbers can be coprime without being prime: 8, 9 and 25 are all composite.
4. Given that HCF(306, 657) = 9, find LCM(306, 657).Tap to reveal
What we know: a = 306, b = 657 and HCF = 9.
The plan: Use LCM = a × b ÷ HCF.
- 306 × 657 = 2,01,042.
- LCM = 2,01,042 ÷ 9 = 22,338.
LCM(306, 657) = 22,338.
Check: This matches the book's answer.
Another way: By primes: 306 = 2 × 3² × 17 and 657 = 3² × 73. The HCF is 3² = 9, as given. The LCM is 2 × 3² × 17 × 73 = 22,338. The same.
5. Check whether 6ⁿ can end with the digit 0 for any natural number n.Tap to reveal
What we know: 6ⁿ for n = 1, 2, 3, ….
What we need: Whether 6ⁿ can ever end in 0.
The plan: A number ending in 0 is divisible by 10 = 2 × 5, so its factorisation must contain 5. Find the primes of 6ⁿ.
- 6 = 2 × 3, so 6ⁿ = (2 × 3)ⁿ = 2ⁿ × 3ⁿ.
- The only primes of 6ⁿ are 2 and 3.
- By the uniqueness in the Fundamental Theorem of Arithmetic, 5 can never appear in the factorisation of 6ⁿ.
No. 6ⁿ can never end with the digit 0, for any natural number n.
Check: 6, 36, 216, 1296: all end in 6.
A path that fails: listing powers of 6 and noticing they all end in 6. That shows the pattern for a few powers, but it cannot cover every n. Only the primes give a proof for all n at once.
6. Explain why 7 × 11 × 13 + 13 and 7 × 6 × 5 × 4 × 3 × 2 × 1 + 5 are composite numbers.Tap to reveal
What we know: Two sums, each made of a product plus a number.
What we need: To show each has a factor other than 1 and itself.
The plan: In each sum, both parts share a factor. Take it out (the distributive law): a × b + a = a × (b + 1).
- First number: both parts contain 13. So 7 × 11 × 13 + 13 = 13 × (7 × 11 + 1) = 13 × (77 + 1) = 13 × 78 = 1014.
- So 13 is a factor of the first number, and 13 is neither 1 nor 1014. The number is composite. (In fact 1014 = 2 × 3 × 13².)
- Second number: both parts contain 5. So 7 × 6 × 5 × 4 × 3 × 2 × 1 + 5 = 5 × (7 × 6 × 4 × 3 × 2 × 1 + 1) = 5 × (1008 + 1) = 5 × 1009 = 5045.
- So 5 is a factor of the second number, and 5 is neither 1 nor 5045. The number is composite.
Both are composite: the first is 13 × 78 = 1014, and the second is 5 × 1009 = 5045.
Check: 1014 is even, so it is composite anyway. 5045 ends in 5, so 5 divides it.
Another way: You may calculate first: 1001 + 13 = 1014, and 5040 + 5 = 5045, then test small primes. Taking out the common factor is quicker, and it shows the reason at a glance.
7. There is a circular path around a sports field. Sonia takes 18 minutes to drive one round of the field, while Ravi takes 12 minutes for the same. Suppose they both start at the same point and at the same time, and go in the same direction. After how many minutes will they meet again at the starting point?Tap to reveal
What we know: Sonia takes 18 minutes a round and Ravi 12 minutes. They start together.
What we need: The first time after the start when both are back at the starting point.
The plan: Sonia is at the start after 18, 36, 54, … minutes (multiples of 18). Ravi is there after 12, 24, 36, … minutes (multiples of 12). They are there together at the common multiples. The first one is the LCM.
- 18 = 2 × 3² and 12 = 2² × 3.
- LCM = the greatest powers = 2² × 3² = 4 × 9 = 36.
They meet again at the starting point after 36 minutes.
Check: In 36 minutes Sonia drives 36 ÷ 18 = 2 rounds and Ravi drives 36 ÷ 12 = 3 rounds. Both are back at the start. This matches the book's answer.
Another way: By listing: Sonia 18, 36, …; Ravi 12, 24, 36, …. The first common time is 36. Or by the rule: HCF = 6, so LCM = 18 × 12 ÷ 6 = 36.
In one line
Exercise 1.1 is prime factorisation, then the smallest or greatest powers, then a check by multiplying back.
1.3Revisiting irrational numbers
In Class 9 you were introduced to irrational numbers and many of their properties. You studied how the rationals and the irrationals together make up the real numbers. You even located irrationals such as √2 on the number line. However, we did not prove that they were irrational.
In this section we prove that √2, √3, √5 and, in general, √p are irrational, where p is any prime. One of the theorems we use is the Fundamental Theorem of Arithmetic.
Why we need it. Some lengths that we can draw exactly are not fractions of any unit. The diagonal of a square of side 1 m is √2 m long (picture below). It is a real length, yet no fraction gives it exactly.
The idea in plain words. A rational number is one whole number divided by another. An irrational number is a real number that can never be written that way, however large the whole numbers you try.
The exact statement. A number s is called irrational if it cannot be written in the form p/q, where p and q are integers and q ≠ 0.
Some irrational numbers you already know are √2, √3, √15, π, −√2/√3 and 0.10110111011110…. In the last one, the pattern is one 1, then a 0, then two 1s, then a 0, then three 1s, and so on. The decimal never ends, and no block of digits repeats for ever, so it is not rational.
Why a proof is needed
A calculator shows √2 = 1.41421356…, and the digits seem to go on without a pattern. But a calculator shows only a few digits. Some rational numbers have very long repeating blocks: 1/97 repeats only after 96 digits. So looking at digits can never prove that a number is irrational. We need an argument that covers every possible fraction at once.
You can also try fractions. 7/5 = 1.4, and 1.4² = 1.96. 17/12 is about 1.4167, and its square is about 2.0069. 577/408 is closer still: its square is 3,32,929/1,66,464, which is just a little above 2. The fractions get closer and closer, but none of them squares to exactly 2. The proof below shows that none ever will.
A theorem about primes and squares
Before we prove that √2 is irrational, we need the following theorem. Its proof is based on the Fundamental Theorem of Arithmetic.
Let p be a prime number. If p divides a², then p divides a, where a is a positive integer.
Read "a²" as "a squared". The theorem says: if a prime goes into the square of a number, it goes into the number itself.
See it first. 3 divides 36 = 6², and 3 divides 6. 5 divides 225 = 15², and 5 divides 15. 7 divides 196 = 14², and 7 divides 14.
Why it is true. The book marks this proof "not from the examination point of view". It is short and worth understanding, so here it is, one step at a time.
- Write a as a product of primes: a = p₁ × p₂ × … × pₙ, where p₁, p₂, …, pₙ are primes, not necessarily different. (Read p₁ as "p one".)
- Then a² = (p₁p₂…pₙ)(p₁p₂…pₙ) = p₁² × p₂² × … × pₙ². So the primes of a² are exactly the primes of a, each appearing twice.
- We are told that p divides a². That means a² = p × k for some whole number k. Break k into primes as well. Then p × (the primes of k) is a way of writing a² as a product of primes, and this way contains p. So, by the Fundamental Theorem of Arithmetic, p is one of the prime factors of a².
- By the uniqueness part of the theorem, a² has only one prime factorisation, p₁² × p₂² × … × pₙ², whose primes are p₁, p₂, …, pₙ. So p must be one of p₁, p₂, …, pₙ.
- Since a = p₁p₂…pₙ, and p is one of these primes, p divides a.
p must be a prime
The theorem is false for numbers that are not prime. A counterexample is a single example that shows a general statement is false.
Counterexample 1: 4 divides 36 = 6², but 4 does not divide 6.
Counterexample 2: 9 divides 36 = 6², but 9 does not divide 6.
The reason: 36 = 2² × 3². The number 4 = 2² can be built from the two 2s in 36, even though 6 = 2 × 3 has only one 2. A prime cannot be split like this, so the theorem holds for primes.
Proof by contradiction
Why we need it. To show that √2 is not a fraction, we cannot try every fraction: there are infinitely many. Proof by contradiction lets us rule them all out at once.
The idea in plain words. To prove a statement, suppose for a moment that it is false. Reason correctly from that supposition. If you reach something impossible, the supposition must be wrong. So the statement is true.
The exact method. (1) Assume the opposite of what you want to prove. (2) Reason step by step from it. (3) Reach a contradiction: two facts that cannot both be true. (4) Conclude that the assumption is false, so the original statement is true.
Two everyday examples
"Suppose it rained in the night. Then the open courtyard would be wet. But the courtyard is dry. So it did not rain."
A maths example: is there a largest natural number? Suppose N were the largest. But N + 1 is also a natural number, and it is larger than N. That contradicts "N is the largest". So there is no largest natural number.
Euclid's argument earlier in this chapter was also a proof by contradiction: assuming a complete list of primes led to a prime missing from it.
√2 is irrational
√2 is irrational.
Theorem 1.3, proved step by step
Prove that √2 is irrational.
What we know: Theorem 1.2: if a prime divides a², it divides a. And every fraction can be written in lowest terms.
What we need: To show that √2 cannot be written as a fraction of two integers.
The plan: Proof by contradiction. Assume √2 is a fraction in lowest terms, and show that 2 then divides both its top and its bottom, which cannot happen in lowest terms.
- Assume, to the contrary, that √2 is rational. Then we can find integers r and s (s ≠ 0) such that √2 = r/s.
- Suppose r and s have a common factor other than 1. Divide both by the common factor to get √2 = a/b, where a and b are coprime (their only common factor is 1). We can always do this: every fraction has a lowest-terms form.
- Multiply both sides by b: b√2 = a.
- Square both sides: 2b² = a². This says that a² is 2 times a whole number, so 2 divides a².
- By Theorem 1.2, with the prime p = 2, 2 divides a. So we can write a = 2c for some integer c.
- Substitute a = 2c into 2b² = a²: 2b² = (2c)² = 4c². Divide both sides by 2: b² = 2c².
- So b² is 2 times a whole number, and 2 divides b². By Theorem 1.2 again, 2 divides b.
- Now 2 divides both a and b. So a and b have at least 2 as a common factor.
- But step 2 chose a and b with no common factor other than 1. This is a contradiction.
The contradiction arose because of our incorrect assumption that √2 is rational. So √2 is irrational.
Check: Every step except the first was correct reasoning. So the only thing that can be wrong is the first assumption.
The book mentions that Appendix 1 discusses proof by contradiction in more detail.
Read it as "root 2 equals a over b, so b root 2 equals a, so 2 b squared equals a squared". The arrow ⇒ means "so" or "which gives".
√3 is irrational
Example 5 (from the book)
Prove that √3 is irrational.
What we know: Theorem 1.2 with the prime 3.
The plan: The same steps as for √2, with 3 in place of 2.
- Assume, to the contrary, that √3 is rational. Then we can find integers a and b (b ≠ 0) such that √3 = a/b.
- If a and b have a common factor other than 1, divide it out. So we may assume that a and b are coprime.
- Then b√3 = a. Squaring both sides and rearranging, we get 3b² = a².
- So a² is divisible by 3. By Theorem 1.2, a is also divisible by 3. So we can write a = 3c for some integer c.
- Substituting for a: 3b² = 9c², that is, b² = 3c².
- So b² is divisible by 3, and by Theorem 1.2 (with p = 3), b is also divisible by 3.
- Therefore a and b have at least 3 as a common factor. But this contradicts the fact that a and b are coprime.
This contradiction has arisen because of our incorrect assumption that √3 is rational. So √3 is irrational.
The same steps work for √p for every prime p: √5, √7, √11, and so on. Replace 2 or 3 by p, and use Theorem 1.2 with that prime.
Why the proof does not "prove" that √4 is irrational
√4 = 2, which is rational. So any honest proof must fail for it. Let us watch it fail.
Suppose √4 = a/b in lowest terms. Then 4b² = a², so 4 divides a². To go on, we would need "4 divides a". But 4 is not a prime, and Theorem 1.2 does not apply. Indeed, 4 divides 6² = 36, but 4 does not divide 6.
So the proof stops exactly where it should. This is why Theorem 1.2 is stated for primes, and why the method proves only what is true.
Common mistakes in these proofs
Forgetting "coprime". The whole proof depends on a/b being in lowest terms. Without it, finding a common factor of a and b would be no contradiction.
Using Theorem 1.2 for a number that is not prime. "4 divides a², so 4 divides a" is false (36 and 6).
Proving by decimals. "√2 = 1.4142135… never repeats, so it is irrational" is not a proof, because no one can see all the digits.
Assuming what you want to prove. The first line must assume the opposite: "assume √2 is rational".
When you are stuck: a proof by contradiction
Write the assumption as an equation at once: √p = a/b, with a and b coprime and b ≠ 0.
Clear the root: multiply by b, then square. You get p b² = a².
Read off "p divides a²", then use Theorem 1.2 to get "p divides a". Write a = p c and substitute.
Repeat the same move for b. Then name the contradiction out loud: p divides both a and b, but they were coprime.
If you get stuck halfway, check that your p is prime. If it is not (like 4 or 9), the method cannot work, and the number may even be rational.
Your turn
1. Prove that √7 is irrational.Tap to reveal
The plan: Proof by contradiction, with the prime 7.
- Assume √7 = a/b with a and b coprime integers, b ≠ 0.
- Then 7b² = a², so 7 divides a², and by Theorem 1.2, 7 divides a. Write a = 7c.
- Then 7b² = 49c², so b² = 7c². So 7 divides b², and so 7 divides b.
- Now 7 divides both a and b, which contradicts their being coprime.
So the assumption was false: √7 is irrational.
2. Which of these are irrational? √9, √11, √(16/25), √12.Tap to reveal
The plan: Check which are square roots of perfect squares (or of fractions of perfect squares).
- √9 = 3: rational.
- 11 is prime, so √11 is irrational.
- √(16/25) = 4/5: rational.
- √12 = √(4 × 3) = 2√3. If 2√3 were a fraction a/b, then √3 = a/(2b) would be a fraction too, which is impossible. So √12 is irrational.
√11 and √12 are irrational; √9 and √(16/25) are rational.
In one line
If a prime divides a², it divides a; so assuming √p = a/b in lowest terms makes p divide both a and b, a contradiction.
1.3Sums and products with irrational numbers
In Class 9 we mentioned two facts about mixing rational and irrational numbers:
- the sum or difference of a rational and an irrational number is irrational;
- the product or quotient of a non-zero rational and an irrational number is irrational.
Here we prove some particular cases, and then the general facts. Every proof is again a proof by contradiction.
Why we need it. Once we know that √2 and √3 are irrational, we want to know about numbers built from them, such as 5 − √3 or 3√2, without a new long proof for each.
The idea in plain words. Rational numbers stay rational when you add, subtract, multiply or divide them (except dividing by 0). So if a mix of a rational and √3 were rational, we could undo the mix with rational steps and make √3 rational. That is impossible.
The exact statements. If r is rational and x is irrational, then r + x and r − x are irrational. If, in addition, r ≠ 0, then r × x and x ÷ r are irrational.
Why the facts are true. Suppose r + x were a rational number s. Then x = s − r. But s and r are both rational, and the difference of two rationals is rational. So x would be rational, which it is not. In the same way, if r ≠ 0 and r × x were a rational s, then x = s ÷ r would be rational. The condition r ≠ 0 matters: 0 × √2 = 0, which is rational.
Example 6 (from the book)
Show that 5 − √3 is irrational.
What we know: √3 is irrational (Example 5).
The plan: Assume 5 − √3 is rational, get √3 alone on one side, and show it would then be rational.
- Let us assume, to the contrary, that 5 − √3 is rational. That is, we can find coprime integers a and b (b ≠ 0) such that 5 − √3 = a/b.
- Therefore 5 − a/b = √3. (Add √3 to both sides and subtract a/b from both sides.)
- Rearranging, √3 = 5 − a/b = (5b − a)/b, by writing 5 as 5b/b.
- Since a and b are integers, 5b − a is an integer, so (5b − a)/b is rational. So √3 would be rational.
- But this contradicts the fact that √3 is irrational.
This contradiction has arisen because of our incorrect assumption that 5 − √3 is rational. So 5 − √3 is irrational.
Example 7 (from the book)
Show that 3√2 is irrational.
What we know: √2 is irrational (Theorem 1.3). 3√2 means 3 × √2.
The plan: Assume 3√2 is rational, divide by 3, and show √2 would be rational.
- Let us assume, to the contrary, that 3√2 is rational. That is, we can find coprime integers a and b (b ≠ 0) such that 3√2 = a/b.
- Divide both sides by 3: √2 = a/(3b).
- Since 3, a and b are integers, a/(3b) is rational, and so √2 would be rational.
- But this contradicts the fact that √2 is irrational.
So 3√2 is irrational.
The pattern of every such proof
Assume the number equals a/b.
Use ordinary algebra to get the known irrational (√2, √3, √5, …) alone on one side.
The other side is made of integers only, so it is rational. That makes the known irrational rational: a contradiction.
Five kinds of problem
Worked example 20 (a sum)
Show that 2 + √5 is irrational.
The plan: Assume it equals a/b, and get √5 alone.
- Suppose 2 + √5 = a/b, where a and b are integers and b ≠ 0.
- Subtract 2: √5 = a/b − 2 = (a − 2b)/b.
- a − 2b and b are integers, so (a − 2b)/b is rational.
- But √5 is irrational (5 is a prime). Contradiction.
2 + √5 is irrational.
Worked example 21 (a product)
Show that 4√3 is irrational.
The plan: Assume it equals a/b, and divide by 4.
- Suppose 4√3 = a/b, with integers a and b, b ≠ 0.
- Divide by 4: √3 = a/(4b), which is rational because a and 4b are integers.
- But √3 is irrational. Contradiction.
4√3 is irrational.
Worked example 22 (a quotient)
Show that 1/√3 is irrational.
The plan: Assume it equals a/b, and turn both sides upside down.
- Suppose 1/√3 = a/b, with integers a and b, b ≠ 0.
- 1/√3 is not 0, so a ≠ 0. That lets us take the reciprocal (turn both sides upside down): √3 = b/a.
- b/a is rational, since a and b are integers and a ≠ 0.
- But √3 is irrational. Contradiction.
1/√3 is irrational.
Another way: 1/√3 = √3/3 = ⅓ × √3, a non-zero rational times an irrational, so it is irrational by the general fact.
Worked example 23 (both at once)
Show that 7 − 2√3 is irrational.
The plan: Assume it equals a/b; move the 7, then divide by 2.
- Suppose 7 − 2√3 = a/b, with integers a and b, b ≠ 0.
- Then 2√3 = 7 − a/b = (7b − a)/b.
- Divide by 2: √3 = (7b − a)/(2b), which is rational because 7b − a and 2b are integers.
- But √3 is irrational. Contradiction.
7 − 2√3 is irrational.
Worked example 24 (a story)
Ramesh fixes a diagonal brace across a square gate of side 1 m. His shop sells rods cut to exact fractions of a metre, such as 7/5 m or 141/100 m. Can any rod fit the diagonal exactly? How far off is a rod of 141/100 m?
What we know: The gate is a square of side 1 m. The brace runs corner to corner.
What we need: Whether the diagonal is a fraction of a metre, and the error of a 1.41 m rod.
The plan: Find the diagonal with Pythagoras' theorem, then use what we know about √2.
- Diagonal² = 1² + 1² = 2, so the diagonal is √2 m.
- √2 is irrational, so it is not equal to any fraction. No rod cut to a fraction of a metre can fit exactly.
- √2 = 1.41421…, so a 1.41 m rod is short by about 1.41421 − 1.41 = 0.00421 m.
- 0.00421 m is about 4 mm.
No rod fits exactly, because the diagonal is √2 m, an irrational length. A 141/100 m rod is short by about 4 mm.
Check: 1.41² = 1.9881, a little less than 2, so 1.41 is indeed a little too short.
In practice a carpenter marks the diagonal by laying the rod across the gate itself. The exact length exists, even though no fraction names it.
Worked example 25 (think first)
Is (√2 + 1)² rational or irrational? And (√2 + 1)(√2 − 1)?
The plan: Expand each product with the identities (a + b)² = a² + 2ab + b² and (a + b)(a − b) = a² − b².
- (√2 + 1)² = (√2)² + 2 × √2 × 1 + 1² = 2 + 2√2 + 1 = 3 + 2√2.
- 2√2 is a non-zero rational times an irrational, so it is irrational. Then 3 + 2√2 is a rational plus an irrational, so it is irrational.
- (√2 + 1)(√2 − 1) = (√2)² − 1² = 2 − 1 = 1.
(√2 + 1)² = 3 + 2√2 is irrational; (√2 + 1)(√2 − 1) = 1 is rational.
The second answer shows two irrational numbers whose product is rational. There is no general rule for two irrationals.
Common mistakes with irrational numbers
"√2 + √3 = √5." False. (√2 + √3)² = 2 + 2√6 + 3 = 5 + 2√6, which is not 5. Square roots do not add like this.
"Two irrationals always give an irrational." False: √2 + (−√2) = 0; (3 + √2) + (3 − √2) = 6; √2 × √2 = 2; √2 × √8 = √16 = 4; √12 ÷ √3 = √4 = 2. All rational.
Forgetting "non-zero". 0 × √2 = 0 is rational. The product rule needs the rational number to be non-zero.
When you are stuck: showing that a mix such as 3 + 2√5 is irrational
Find the known irrational inside it (here √5). Your aim is to get it alone on one side.
Undo the operations in reverse order: first move the added or subtracted rational, then divide by the multiplying rational.
Write the other side as one fraction, such as (a − 3b)/(2b). Then say why its top and bottom are integers.
If the number has two different roots (like √2 + √3), moving numbers about always leaves one root on each side. Then move one root across and square once: its square is rational, and the other root is left alone.
Your turn
1. Show that 5 + 3√2 is irrational.Tap to reveal
The plan: Assume it is a/b, then get √2 alone.
- Suppose 5 + 3√2 = a/b, with integers a and b, b ≠ 0.
- Then 3√2 = a/b − 5 = (a − 5b)/b, so √2 = (a − 5b)/(3b).
- That fraction is rational, since a − 5b and 3b are integers. But √2 is irrational.
Contradiction, so 5 + 3√2 is irrational.
2. Is √2 × √18 rational or irrational?Tap to reveal
The plan: Multiply under one root, since √x × √y = √(xy) for positive x and y.
- √2 × √18 = √36 = 6.
Rational: it equals 6. Two irrational numbers can multiply to a rational one.
In one line
A rational plus an irrational is irrational, and a non-zero rational times an irrational is irrational; two irrationals can give anything.
Ex 1.2Exercise 1.2, solved in full
All three questions are proofs by contradiction. Question 1 copies the proof for √2 and √3. Questions 2 and 3 copy Examples 6 and 7. Try each one before you open the answer. The book's answer pages leave these proofs to you, so compare your steps with the ones below.
When you are stuck: Exercise 1.2
For √5, follow the √2 proof line by line, with 5 in place of 2. Theorem 1.2 works because 5 is prime.
For a number like 3 + 2√5, do not try to square it. Get √5 alone, then use question 1.
For 1/√2, turn both sides upside down first. Say why the top a is not 0.
1. Prove that √5 is irrational.Tap to reveal
What we know: Theorem 1.2: if a prime divides a², it divides a. 5 is a prime.
What we need: To show √5 cannot be written as a/b with integers a and b, b ≠ 0.
The plan: Proof by contradiction, exactly as for √2.
- Assume, to the contrary, that √5 is rational: √5 = a/b, where a and b are coprime integers and b ≠ 0.
- Then b√5 = a. Squaring both sides: 5b² = a². So 5 divides a².
- By Theorem 1.2 (5 is prime), 5 divides a. Write a = 5c for some integer c.
- Substituting: 5b² = (5c)² = 25c², so b² = 5c². So 5 divides b², and by Theorem 1.2, 5 divides b.
- So a and b have 5 as a common factor. This contradicts the fact that a and b are coprime.
The contradiction arose from assuming that √5 is rational. Hence √5 is irrational.
A path that fails: "√5 = 2.2360679… and the digits never repeat." A calculator shows only a few digits, so this cannot prove anything about all of them. Only the argument above does.
2. Prove that 3 + 2√5 is irrational.Tap to reveal
What we know: √5 is irrational (question 1).
What we need: To show 3 + 2√5 is not a fraction.
The plan: Assume it is a fraction, then get √5 alone on one side.
- Assume, to the contrary, that 3 + 2√5 is rational: 3 + 2√5 = a/b, with coprime integers a and b, b ≠ 0.
- Subtract 3 from both sides: 2√5 = a/b − 3 = (a − 3b)/b.
- Divide both sides by 2: √5 = (a − 3b)/(2b).
- Since a and b are integers, a − 3b and 2b are integers (and 2b ≠ 0). So (a − 3b)/(2b) is rational, and √5 would be rational.
- But √5 is irrational. This is a contradiction.
So our assumption was false. Hence 3 + 2√5 is irrational.
A path that fails: squaring both sides first. (3 + 2√5)² = 9 + 12√5 + 20 = 29 + 12√5, which still has √5 in it. Squaring did not remove the root, so it led nowhere. Getting √5 alone first is the way out.
3 (i) Prove that 1/√2 is irrational.Tap to reveal
What we know: √2 is irrational (Theorem 1.3).
The plan: Assume 1/√2 = a/b and turn both sides upside down.
- Assume, to the contrary, that 1/√2 = a/b, with coprime integers a and b, b ≠ 0.
- 1/√2 is not 0, so a ≠ 0. That allows us to take the reciprocal of both sides: √2 = b/a.
- b/a is rational, since a and b are integers and a ≠ 0. So √2 would be rational.
- But √2 is irrational. This is a contradiction.
Hence 1/√2 is irrational.
Another way: Multiply the top and bottom by √2: 1/√2 = √2/2 = ½ × √2. This is a non-zero rational times an irrational, so it is irrational.
3 (ii) Prove that 7√5 is irrational.Tap to reveal
What we know: √5 is irrational (question 1).
The plan: Assume 7√5 = a/b, then divide by 7.
- Assume, to the contrary, that 7√5 = a/b, with coprime integers a and b, b ≠ 0.
- Divide both sides by 7: √5 = a/(7b).
- a and 7b are integers, and 7b ≠ 0, so a/(7b) is rational. So √5 would be rational.
- But √5 is irrational. This is a contradiction.
Hence 7√5 is irrational.
Check: 7√5 is about 15.65, and no simple fraction has this exact value; the proof shows that none ever can.
3 (iii) Prove that 6 + √2 is irrational.Tap to reveal
What we know: √2 is irrational (Theorem 1.3).
The plan: Assume 6 + √2 = a/b, then subtract 6.
- Assume, to the contrary, that 6 + √2 = a/b, with coprime integers a and b, b ≠ 0.
- Subtract 6 from both sides: √2 = a/b − 6 = (a − 6b)/b.
- a − 6b and b are integers, so (a − 6b)/b is rational. So √2 would be rational.
- But √2 is irrational. This is a contradiction.
Hence 6 + √2 is irrational.
Check: This is the same pattern as Example 6: a rational number plus an irrational number is irrational.
In one line
Every proof in Exercise 1.2 assumes the number is a/b, isolates √2 or √5, and finds a known irrational turned rational.
MoreGoing further: Euclid's division algorithm
The book's introduction describes this idea: any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b. Many of you will recognise this as ordinary long division. It is easy to state, yet it has many uses. The most famous is a fast way to find the HCF of two numbers.
Why we need it. Sharing 17 sweets among 5 children gives each child 3, with 2 left over. Every division of whole numbers looks like this. Writing it as one equation lets us reason about remainders in general.
The idea in plain words. Cut a length a into pieces of length b. Some whole number of pieces, q, fit. What is left over, r, is shorter than one piece.
The exact statement. Given positive integers a and b, there are whole numbers q (the quotient) and r (the remainder) such that a = b × q + r, with 0 ≤ r < b. For each a and b there is only one such pair q, r.
Read it as "a equals b q plus r, where r is at least 0 and less than b". Here a is the number divided (the dividend) and b is the number we divide by (the divisor).
Four examples show every case:
- 17 = 5 × 3 + 2. The remainder 2 is smaller than 5.
- 455 = 42 × 10 + 35. The remainder 35 is smaller than 42.
- 30 = 6 × 5 + 0. The remainder is 0, which means 6 divides 30 exactly.
- 3 = 5 × 0 + 3. When a is smaller than b, the quotient is 0 and the remainder is a itself.
Two new words. A lemma is a proved statement used as a step towards something bigger. An algorithm is a step-by-step method that always gives the answer. Euclid used this lemma to build an algorithm for the HCF.
Euclid's algorithm for the HCF
The key fact: if a = bq + r, then HCF(a, b) = HCF(b, r).
Why it is true. Any number that divides both a and b also divides r = a − bq, because it divides each part. And any number that divides both b and r also divides a = bq + r. So the pair a, b and the pair b, r have exactly the same common divisors. So they have the same highest one.
- Divide the larger number by the smaller, and note the remainder.
- Replace the pair by (the smaller number, the remainder).
- Repeat until the remainder is 0. The last divisor is the HCF.
Worked example 26
Find HCF(404, 96) by Euclid's algorithm.
What we know: a = 404 and b = 96.
The plan: Divide, keep (divisor, remainder), and repeat until the remainder is 0.
- 404 = 96 × 4 + 20. So HCF(404, 96) = HCF(96, 20).
- 96 = 20 × 4 + 16. So it equals HCF(20, 16).
- 20 = 16 × 1 + 4. So it equals HCF(16, 4).
- 16 = 4 × 4 + 0. The remainder is 0, so the last divisor, 4, is the HCF.
HCF(404, 96) = 4.
Check: This is the same HCF that the book's Example 3 found by primes (96 = 2⁵ × 3 and 404 = 2² × 101).
Worked example 27 (a story)
A sweet shop has 455 laddoos and 42 barfis. They are packed in boxes, each box holding only one kind of sweet, and every box holding the same number. What is the largest number of sweets a box can hold? How many boxes are needed?
What we know: 455 laddoos and 42 barfis. Every box holds the same number, n, of one kind.
What we need: The largest n that divides both 455 and 42, and the number of boxes.
The plan: n must divide 455 and 42, and be as large as possible: n = HCF(455, 42). Use Euclid's algorithm.
- 455 = 42 × 10 + 35, so HCF(455, 42) = HCF(42, 35).
- 42 = 35 × 1 + 7, so it equals HCF(35, 7).
- 35 = 7 × 5 + 0. So the HCF is 7.
- Boxes: 455 ÷ 7 = 65 boxes of laddoos and 42 ÷ 7 = 6 boxes of barfis, so 65 + 6 = 71 boxes.
Each box holds 7 sweets, and 71 boxes are needed.
Check: By primes: 455 = 5 × 7 × 13 and 42 = 2 × 3 × 7. The only common prime is 7.
For big numbers, Euclid's algorithm is much quicker than factorising, because each division shrinks the numbers fast. That is why computers use it.
Sorting numbers by their remainders
The division algorithm also sorts numbers into kinds. Dividing by 2, every positive integer is 2q or 2q + 1: even or odd. Dividing by 3, every positive integer is 3q, 3q + 1 or 3q + 2, because the remainder can only be 0, 1 or 2.
Worked example 28
Show that the square of any positive integer is of the form 3m or 3m + 1, for some integer m.
What we know: Every positive integer is 3q, 3q + 1 or 3q + 2.
The plan: Square each of the three kinds, and write the result as 3 × (something) + remainder.
- (3q)² = 9q² = 3 × (3q²). This is of the form 3m, with m = 3q².
- (3q + 1)² = 9q² + 6q + 1 = 3 × (3q² + 2q) + 1. This is of the form 3m + 1.
- (3q + 2)² = 9q² + 12q + 4 = 9q² + 12q + 3 + 1 = 3 × (3q² + 4q + 1) + 1. This is of the form 3m + 1 as well.
Every square is 3m or 3m + 1. A square is never of the form 3m + 2.
Check: 1, 4, 9, 16, 25 and 36 leave remainders 1, 1, 0, 1, 1 and 0 when divided by 3. No 2 appears.
Common mistakes with the division algorithm
A remainder that is too big. 17 = 5 × 2 + 7 is true arithmetic, but it is not the division algorithm, because 7 is not less than 5. The remainder must be smaller than the divisor.
Taking the wrong number as the HCF. In Euclid's algorithm, the HCF is the last divisor, the one that gives remainder 0. It is not the remainder 0 itself.
Swapping the pair the wrong way. After a = bq + r, the next pair is (b, r), not (a, r).
When you are stuck: dividing, or finding an HCF by Euclid's algorithm
Estimate the quotient first: how many times does b fit into a? For 12,576 ÷ 4052, try 3: 4052 × 3 = 12,156, which is less than 12,576, and 4052 × 4 = 16,208 is too much. So q = 3.
Write every line in the form a = bq + r and check that r is less than b before you move on.
Keep a column of pairs. The numbers must get smaller each time; if they do not, a division went wrong.
Check the HCF at the end: it must divide both of the original numbers.
Your turn
1. Find HCF(12,576, 4052) by Euclid's algorithm.Tap to reveal
The plan: Divide, keep (divisor, remainder), repeat.
- 12,576 = 4052 × 3 + 420.
- 4052 = 420 × 9 + 272.
- 420 = 272 × 1 + 148.
- 272 = 148 × 1 + 124.
- 148 = 124 × 1 + 24.
- 124 = 24 × 5 + 4.
- 24 = 4 × 6 + 0.
HCF = 4.
Check: 4 divides 12,576 (12,576 ÷ 4 = 3144) and 4052 (4052 ÷ 4 = 1013).
2. Write 100 and 23 in the form a = bq + r with b = 7.Tap to reveal
The plan: Find how many 7s fit, then the leftover.
- 7 × 14 = 98, and 100 − 98 = 2. So 100 = 7 × 14 + 2.
- 7 × 3 = 21, and 23 − 21 = 2. So 23 = 7 × 3 + 2.
100 = 7 × 14 + 2 and 23 = 7 × 3 + 2. Both leave remainder 2.
In one line
a = bq + r with 0 ≤ r < b, and HCF(a, b) = HCF(b, r): divide until the remainder is 0, and the last divisor is the HCF.
MoreGoing further: which fractions give terminating decimals?
The book's introduction also promises to explore when the decimal expansion of a rational number p/q (q ≠ 0) is terminating, and when it is non-terminating repeating. It does so by looking at the prime factorisation of the denominator q. Here is how.
In Class 9 you saw both kinds. 3/8 = 0.375 terminates: the division stops. But 1/7 = 0.142857142857… repeats the block of six digits 1, 4, 2, 8, 5, 7 for ever.
The key observation: a terminating decimal is an integer divided by a power of 10. For example, 0.375 = 375/1000 = 375/10³. And 10³ = 2³ × 5³. So a power of 10 has only the primes 2 and 5.
Why we need it. It tells us, without dividing, whether a fraction can be written exactly as a decimal. A shopkeeper's decimal scale can weigh out 3/8 kg exactly (0.375 kg), but never 3/7 kg exactly.
The idea in plain words. A decimal stops only if the fraction can be turned into something over 10, 100, 1000 and so on. That is possible only when the bottom number is built from 2s and 5s.
The exact statement. Write the rational number x = p/q in its lowest terms. Its decimal expansion terminates exactly when the prime factorisation of q has no primes other than 2 and 5. Otherwise the decimal is non-terminating repeating.
Read it as "q equals 2 to the power n times 5 to the power m", where n and m are whole numbers (0 is allowed). The fraction must be in lowest terms first.
Why it is true. If q = 2ⁿ × 5ᵐ, multiply the top and the bottom by enough 2s or 5s to make the bottom a power of 10. Then the decimal can be read off. In the other direction, a terminating decimal equals an integer over a power of 10. After cancelling to lowest terms, its denominator still divides 10ᵏ = 2ᵏ × 5ᵏ, so it has only the primes 2 and 5.
- 3/8 = 3/2³ = (3 × 5³)/(2³ × 5³) = 375/10³ = 0.375.
- 13/125 = 13/5³ = (13 × 2³)/(2³ × 5³) = 104/10³ = 0.104.
- 7/80 = 7/(2⁴ × 5) = (7 × 5³)/(2⁴ × 5⁴) = 875/10⁴ = 0.0875.
- 17/6: 6 = 2 × 3 has the prime 3, so it repeats: 17/6 = 2.8333….
- 29/343: 343 = 7³, so it repeats.
The number of decimal places is the larger of n and m. 7/80 has q = 2⁴ × 5¹, so it has 4 places (0.0875). 13/125 has q = 5³, so it has 3 places (0.104).
Worked example 29 (a story)
A grocer divides 3 kg of dry fruit equally among 8 jars, and another 3 kg among 7 jars. Her scale shows weights as decimals of a kilogram. In which case can she weigh one jar's share exactly?
What we know: One jar's share is 3/8 kg in the first case and 3/7 kg in the second.
The plan: Look at each denominator in lowest terms: only 2s and 5s means a terminating decimal.
- 3/8 is in lowest terms, and 8 = 2³, with only the prime 2. So it terminates: 3/8 = 0.375 kg.
- 3/7 is in lowest terms, and 7 is a prime other than 2 and 5. So it repeats: 3/7 = 0.428571428571… kg.
Only the 8-jar share (0.375 kg) can be weighed exactly. The 7-jar share, 3/7 kg, has a repeating decimal, so the scale can only come close.
Check: 8 × 0.375 = 3, exactly. But 7 × 0.4286 = 3.0002, which is close to 3 but not equal.
Lowest terms first
21/24: the denominator 24 = 2³ × 3 contains a 3, so it looks like a repeating decimal. But 21/24 = 7/8 in lowest terms, and 8 = 2³. So it terminates: 0.875.
Always cancel common factors before you look at the denominator.
When you are stuck: deciding whether a decimal terminates
Cancel first. Bring the fraction to lowest terms by dividing the top and bottom by their HCF.
Factorise only the denominator. The numerator does not matter once the fraction is in lowest terms.
Look for any prime other than 2 and 5. One such prime is enough to make the decimal repeat.
To find the decimal itself, multiply the top and bottom to make the bottom a power of 10.
Your turn
Without dividing, say which of these terminate: 13/3125, 17/8, 64/455, 15/1600, 29/343, 6/15, 35/50.Tap to reveal
The plan: Lowest terms first, then factorise each denominator.
- 13/3125: 3125 = 5⁵. Terminates (0.00416).
- 17/8: 8 = 2³. Terminates (2.125).
- 64/455: 455 = 5 × 7 × 13. Repeats.
- 15/1600 = 3/320, and 320 = 2⁶ × 5. Terminates (0.009375).
- 29/343: 343 = 7³. Repeats.
- 6/15 = 2/5. Terminates (0.4).
- 35/50 = 7/10. Terminates (0.7).
Terminating: 13/3125, 17/8, 15/1600, 6/15, 35/50. Repeating: 64/455 and 29/343.
In one line
In lowest terms, p/q terminates exactly when q has no primes except 2 and 5.
MixMixed practice: the whole chapter together
These problems mix the ideas of the chapter, as exam questions often do. Two of them are dead ends on purpose: the first method you try does not work. Watch how each one recovers.
A. Find the smallest number which, when divided by 12, 15 and 20, leaves a remainder of 5 in each case.Tap to reveal
What we know: The divisors 12, 15 and 20, and the same remainder 5 each time.
What we need: The smallest such number.
The plan: If a number leaves remainder 5 on division by each, then (the number − 5) is divisible by all three. The smallest such (number − 5) is the LCM.
- 12 = 2² × 3, 15 = 3 × 5 and 20 = 2² × 5.
- LCM = 2² × 3 × 5 = 60.
- So the number is 60 + 5 = 65.
The smallest number is 65.
Check: 65 = 12 × 5 + 5 = 15 × 4 + 5 = 20 × 3 + 5. The remainder is 5 each time.
B. Find the largest number that divides 245 and 1037, leaving a remainder of 5 in each case.Tap to reveal
What we know: 245 and 1037, each leaving remainder 5.
What we need: The largest such divisor.
The plan: If the divisor leaves 5 over each time, it divides 245 − 5 = 240 and 1037 − 5 = 1032 exactly. The largest such number is HCF(240, 1032).
- 240 = 2⁴ × 3 × 5.
- 1032 = 2³ × 129 = 2³ × 3 × 43.
- HCF = 2³ × 3 = 24.
The largest number is 24.
Check: 245 = 24 × 10 + 5 and 1037 = 24 × 43 + 5. The remainder is 5 each time, and 24 is bigger than 5, as a remainder must be smaller than the divisor.
C. Three bells ring at intervals of 9, 12 and 15 minutes. They ring together at 8:00 a.m. When will they next ring together?Tap to reveal
What we know: Intervals of 9, 12 and 15 minutes; all three ring at 8:00 a.m.
The plan: They ring together at common multiples of 9, 12 and 15 minutes after 8:00. The first is the LCM.
- 9 = 3², 12 = 2² × 3 and 15 = 3 × 5.
- LCM = 2² × 3² × 5 = 180 minutes.
- 180 minutes = 3 hours. 8:00 a.m. + 3 hours = 11:00 a.m.
They next ring together at 11:00 a.m.
Check: 180 ÷ 9 = 20, 180 ÷ 12 = 15 and 180 ÷ 15 = 12, all whole numbers.
D. Find the HCF and LCM of 2⁵ × 3² × 7 and 2³ × 3⁴ × 5, without multiplying the numbers out first.Tap to reveal
What we know: The numbers are already in prime factorised form.
The plan: Compare the powers prime by prime.
- HCF: the common primes are 2 and 3. Smallest powers: 2³ and 3². HCF = 8 × 9 = 72.
- LCM: the primes are 2, 3, 5 and 7. Greatest powers: 2⁵, 3⁴, 5 and 7. LCM = 32 × 81 × 5 × 7 = 90,720.
- The numbers are 2016 and 3240, so the product is 2016 × 3240 = 65,31,840.
HCF = 72 and LCM = 90,720.
Check: HCF × LCM = 72 × 90,720 = 65,31,840, equal to the product of the two numbers.
E. Prove that √2 + √3 is irrational.Tap to reveal
What we know: √2 and √3 are irrational. But two irrationals can add up to a rational number, so we cannot just say "irrational plus irrational".
The plan: Assume √2 + √3 = r, a rational number. Move one root across, square, and get the other root alone.
- Suppose √2 + √3 = r, where r is rational. Note that r is not 0, since √2 + √3 is positive.
- Move √2 across: √3 = r − √2.
- Square both sides: 3 = r² − 2r√2 + 2.
- Rearrange: 2r√2 = r² − 1, so √2 = (r² − 1)/(2r).
- r is rational and not 0, so (r² − 1)/(2r) is rational. So √2 would be rational, which is false.
This contradiction shows the assumption was false. So √2 + √3 is irrational.
A path that fails: trying to get √2 alone straight away, as in Examples 6 and 7. With two different roots, moving numbers about always leaves one root on each side. Squaring once is the way out of this dead end: it turns one root into a rational number, and leaves the other root on its own.
F. Try to prove that √4 is irrational with the method used for √2. Where does it fail, and what does that tell you?Tap to reveal
What we know: The method for √2: assume √p = a/b in lowest terms, and show that p divides both a and b.
The plan: Follow the method with 4, and watch for the step that breaks.
- Assume √4 = a/b, with a and b coprime. Then 4b² = a², so 4 divides a².
- The next step would be "so 4 divides a". But 4 is not a prime, so Theorem 1.2 does not apply. This is a dead end.
- What we can say is that a² is even, so a is even (2 is prime). Write a = 2c. Then 4b² = 4c², so b² = c², and b = c.
- But a and b are coprime and a = 2c = 2b. So b divides a, which forces b = 1 and a = 2. So √4 = 2/1 = 2.
The proof fails at "4 divides a", because 4 is not prime. Following the trail honestly shows that √4 = 2, which is rational.
Check: 2 × 2 = 4, so √4 = 2. A method that proved √4 irrational would be wrong, and this one rightly stops.
This is a dead end that teaches something: when a proof will not go through, test whether the statement is even true. Here it is not.
RecapThe whole chapter on one screen
- A prime has exactly two factors, 1 and itself. A composite number has more. 1 is neither, and 2 is the only even prime. To test n, try only the primes up to √n.
- There are infinitely many primes (Euclid): multiply any list of primes and add 1, and the result has a prime missing from the list.
- Fundamental Theorem of Arithmetic (Theorem 1.1): every composite number can be factorised as a product of primes, and this factorisation is unique, apart from the order of the prime factors. Example: 32,760 = 2³ × 3² × 5 × 7 × 13.
- A prime divides a number exactly when it appears in the number's factorisation. So 4ⁿ = 2²ⁿ never ends in 0 (no 5), while 30ⁿ always does (both 2 and 5).
- A number is a perfect square exactly when every prime in it has an even power. A number 2ᵃ × 3ᵇ × 5ᶜ has (a + 1)(b + 1)(c + 1) factors.
- HCF = the product of the smallest power of each common prime. LCM = the product of the greatest power of each prime involved.
- For two numbers, HCF(a, b) × LCM(a, b) = a × b. For three numbers this is false (6 × 72 × 120 ≠ 6 × 360); use the Note to the Reader's formulas instead.
- Theorem 1.2: if a prime p divides a², then p divides a. It fails for numbers that are not prime (4 divides 36 but not 6).
- Theorem 1.3: √2 is irrational, proved by contradiction. The same proof shows √3, √5 and √p for every prime p are irrational.
- A rational plus an irrational is irrational; a non-zero rational times an irrational is irrational (5 − √3, 3√2, 3 + 2√5). Two irrationals can give a rational (√2 × √8 = 4).
- Going further: a = bq + r with 0 ≤ r < b; Euclid's algorithm uses HCF(a, b) = HCF(b, r). And p/q in lowest terms terminates exactly when q = 2ⁿ × 5ᵐ.
| Question | Tool | Example |
|---|---|---|
| Break a number into primes | Factor tree or division ladder | 3780 = 2² × 3³ × 5 × 7 |
| Can a power end in 0? | Look for both 2 and 5 among its primes | 6ⁿ = 2ⁿ × 3ⁿ: never |
| Largest equal pieces or tiles | HCF: smallest powers of common primes | HCF(420, 360) = 60 |
| When things happen together again | LCM: greatest powers of all primes | LCM(18, 12) = 36 |
| LCM from the HCF (two numbers) | LCM = a × b ÷ HCF | 306 × 657 ÷ 9 = 22,338 |
| Is √p irrational? | Contradiction with Theorem 1.2 (p prime) | √5, √7, √11 |
| Is r + √p or r√p irrational? | Assume a/b, get √p alone | 3 + 2√5, 7√5 |
| HCF of big numbers quickly | Euclid's algorithm | HCF(12,576, 4052) = 4 |
| Does p/q terminate? | Lowest terms; q = 2ⁿ × 5ᵐ? | 7/80 = 0.0875 |
WordsWords to know
- Prime number
- A natural number greater than 1 whose only factors are 1 and itself.
- Composite number
- A natural number greater than 1 with a factor other than 1 and itself.
- Prime factorisation
- A number written as a product of primes, such as 140 = 2² × 5 × 7.
- Factor tree
- A drawing that splits a number into factors until only primes are left.
- Division ladder
- Repeated division by the smallest prime that goes, down to 1.
- Conjecture
- A statement believed true from evidence, but not yet proved.
- Theorem
- A statement that has been proved.
- Fundamental Theorem of Arithmetic
- Every composite number is a product of primes in exactly one way, apart from order.
- Unique
- One and only one.
- HCF
- The highest common factor: the largest number dividing each of the numbers.
- LCM
- The lowest common multiple: the smallest number each of the numbers divides.
- Coprime
- Having no common factor except 1, such as 8 and 15.
- Perfect square
- A whole number times itself, such as 900 = 30 × 30.
- Irrational number
- A number that cannot be written as p/q with integers p, q and q ≠ 0.
- Real numbers
- All the rational and irrational numbers together.
- Proof by contradiction
- Proving a statement by showing that its opposite leads to something impossible.
- Contradiction
- Two statements that cannot both be true.
- Counterexample
- One example that shows a general statement is false.
- Lemma
- A proved statement used as a step towards a bigger result.
- Algorithm
- A step-by-step method that always gives the answer.
- Division algorithm
- a = bq + r with 0 ≤ r < b.
- Quotient and remainder
- In a = bq + r, q is the quotient and r is the remainder.
- Terminating decimal
- A decimal that stops, like 0.375.
- Repeating decimal
- A decimal in which a block of digits repeats for ever, like 0.333….
CheckQuick self-check
Is 221 prime?Answer
No: 221 = 13 × 17. (√221 is about 14.9, so testing up to 13 finds it.)
Write 3780 as a product of powers of primes.Answer
2² × 3³ × 5 × 7.
What does "unique" mean in the Fundamental Theorem of Arithmetic?Answer
There is only one way to factorise a number into primes, apart from the order of the factors.
Why is 1 not counted as a prime?Answer
It has only one factor; and if it were prime, factorisations would not be unique (6 = 2 × 3 = 1 × 2 × 3).
Can 25ⁿ end with the digit 0?Answer
No: 25ⁿ = 5²ⁿ has no prime 2. It always ends in 25.
How many zeros does 2⁴ × 5⁷ × 3 end with?Answer
4: only four pairs of 2 and 5 can be made.
Find the HCF and LCM of 72 and 120.Answer
72 = 2³ × 3² and 120 = 2³ × 3 × 5: HCF = 24, LCM = 360.
The HCF of two numbers is 23 and their LCM is 1449. One number is 161. Find the other.Answer
23 × 1449 ÷ 161 = 207.
Does HCF × LCM = product hold for three numbers?Answer
No. For 6, 72 and 120: 6 × 360 = 2160, but 6 × 72 × 120 = 51,840.
State Theorem 1.2.Answer
If a prime p divides a², then p divides a, where a is a positive integer.
Give a counterexample showing Theorem 1.2 needs p to be prime.Answer
4 divides 6² = 36, but 4 does not divide 6.
Is 2√7 rational or irrational?Answer
Irrational: if 2√7 = a/b, then √7 = a/(2b) would be rational, but √7 is irrational (7 is prime).
Give two irrational numbers whose sum is rational.Answer
For example 4 + √3 and 4 − √3: their sum is 8.
Write 455 = 42q + r with 0 ≤ r < 42.Answer
455 = 42 × 10 + 35.
Does 7/80 have a terminating decimal?Answer
Yes: 80 = 2⁴ × 5, so 7/80 = 0.0875.