Study Blocks

World map β€Ί Factors, multiples & primes β€Ί Lesson 4

Prime factorisation

⏱ about 45 min · MYP criteria A, B, C, D

By the end of this lesson you can…
🌍 The big question

Everything around you (water, air, your pencil, you) is made of tiny atoms. Scientists know 118 kinds of atom, called the chemical elements. Millions of different substances are built by joining atoms of these 118 kinds.

Water is a good example. Each tiny particle of water is two hydrogen atoms and one oxygen atom. Chemists write it as H2O\text{H}_2\text{O}: the small 22 counts the hydrogen atoms.

Whole numbers have building blocks too. They are joined by multiplication, and they are the prime numbers you met last lesson. So what is 6060 made of? And is there only one recipe for it?

Last lesson you met primes: whole numbers greater than 1 whose only factors are 1 and themselves. A prime cannot be split into two smaller whole numbers multiplied together. Today you will split other numbers until nothing but primes is left.

πŸ§ͺ Explore β€” try it, no scoring

Try these first. Nothing is marked: just have a go.

no hints, nothing is marked

Split 2424 into numbers multiplied together, and keep splitting until every number is prime. (You could start with 24=4Γ—624 = 4 \times 6.)

How many 22s are in your final product?

no hints, nothing is marked

Mia splits 3636 as 4Γ—94 \times 9 and keeps splitting until only primes are left. Leo starts with 36=6Γ—636 = 6 \times 6 and does the same.

Which is true?

no hints, nothing is marked

Work out 22Γ—3Γ—52^2 \times 3 \times 5.

🎯 Predict first

You split 6060 again and again, starting with 60=6Γ—1060 = 6 \times 10. Your friend starts with 60=4Γ—1560 = 4 \times 15. You both stop when only primes are left. What will you find?

Now use the tree builder. Start with 6060. Tap a number with a dashed outline and choose how to split it. Keep going until every number at the bottom is circled in green.

  1. Watch the line under the tree. What do the numbers at the bottom always multiply to, at every stage?
  2. Press β€œGrow a new tree for 60” and start with a different split. Compare your trees in the list.
  3. Try 7272, 180180 and 360360 with two different first splits each. Then try a prime, such as 9797.
60
Split:

Tap a number with a dashed outline (or choose it above), then pick how to split it.

The bottom numbers multiply to: 60=6060 = 60
πŸ”Ž What do you notice?
  • At every stage, the numbers at the bottom of the tree multiply to the start number. A split never changes the product: 60=6Γ—10=2Γ—3Γ—10=2Γ—3Γ—2Γ—560 = 6 \times 10 = 2 \times 3 \times 10 = 2 \times 3 \times 2 \times 5.
  • A tree stops when every number at the bottom is prime, because a prime cannot be split into two smaller whole numbers.
  • Different first splits gave the same primes, the same number of times. For 6060: always two 22s, one 33 and one 55.
  • Try-first 1. 24=2Γ—2Γ—2Γ—324 = 2 \times 2 \times 2 \times 3: there are three 22s. Try-first 2. Splitting 3636 as 4Γ—94 \times 9 or as 6Γ—66 \times 6, both trees end with two 22s and two 33s.
  • Try-first 3. 22Γ—3Γ—5=4Γ—15=602^2 \times 3 \times 5 = 4 \times 15 = 60. That is the recipe for 6060 from the hook, written short with an index, just as chemists write H2O\text{H}_2\text{O}.
  • A prime such as 9797 has no tree at all: it is already a building block.
πŸ“ Key idea

Prime factorisation

Writing a whole number as a product of primes is called its prime factorisation (American English: prime factorization). The primes in it are its prime factors.

  • Write the primes in increasing order.
  • Use index notation for a prime that appears more than once: 2Γ—2Γ—2=232 \times 2 \times 2 = 2^3.

60=2Γ—2Γ—3Γ—5=22Γ—3Γ—5360=23Γ—32Γ—560 = 2 \times 2 \times 3 \times 5 = 2^2 \times 3 \times 5 \qquad 360 = 2^3 \times 3^2 \times 5

A factor tree is one way to find it: split the number into any factor pair, then split again, until every branch ends in a prime. Circle the primes.

The big fact. Every whole number greater than 1 has exactly one prime factorisation (apart from the order you write the primes in). Your trees showed this for a few numbers. Mathematicians have proved that it is true for every whole number above 1, and it has a grand name: the Fundamental Theorem of Arithmetic. You will meet the proof in later years.

πŸ” Why it works

Why does the splitting always stop? Each time you split a number that is not prime, you get two smaller whole numbers, each at least 22. You cannot keep getting smaller for ever: there are only so many whole numbers below the starting number. So every branch must end, and it can only end at a number that cannot be split: a prime.

Why is the answer the same for every tree? Here a pattern is not a proof. Twenty trees that agree make it believable, but not certain. That is exactly why mathematicians wanted a proof, and found one. For now, the widget lets you test it on as many numbers as you like.

Why is 1 not allowed in? If 11 were a building block, 6060 would also be 1Γ—22Γ—3Γ—51 \times 2^2 \times 3 \times 5, or 1Γ—1Γ—22Γ—3Γ—51 \times 1 \times 2^2 \times 3 \times 5, and so on for ever: there would be no single recipe. That is one reason mathematicians decided that 11 is not prime.

πŸ“ Key idea

What a prime factorisation tells you

Once you know the building blocks, many questions become easy.

  • Going back. 23Γ—7=8Γ—7=562^3 \times 7 = 8 \times 7 = 56. Multiplying back is also the best way to check a factorisation.
  • Square numbers. A number is a square exactly when every index is even. 3600=24Γ—32Γ—523600 = 2^4 \times 3^2 \times 5^2 is a square: it is 60260^2.
  • Zeros at the end. Each 10=2Γ—510 = 2 \times 5 needs one 22 and one 55. 24Γ—3Γ—522^4 \times 3 \times 5^2 has only two complete pairs, so it ends in exactly two zeros: it is 12001200.
  • Does one number divide another? dd divides nn when every building block of dd is inside nn (each prime with an index no bigger), and only then. 12=22Γ—312 = 2^2 \times 3 divides 360=23Γ—32Γ—5360 = 2^3 \times 3^2 \times 5, but 27=3327 = 3^3 does not, because 360360 has only two 33s.
πŸ” Why it works

Squares. A square is a number times itself, like 60Γ—6060 \times 60. Each copy of 6060 brings the same primes, 22Γ—3Γ—52^2 \times 3 \times 5, so every prime turns up twice as often: 602=24Γ—32Γ—5260^2 = 2^4 \times 3^2 \times 5^2. Twice anything is even. The other way round: if every index is even, you can share the primes into two identical halves, and each half is the number that was squared.

Zeros. A zero at the end means a factor of 1010. The only way to make 1010 from primes is 2Γ—52 \times 5, so every zero needs its own 22 and its own 55. A spare 22 with no 55 to pair with makes no zero.

Dividing. If dΓ—k=nd \times k = n, then the building blocks of dd and of kk together make up nn (there is only one recipe for nn). So the blocks of dd must all be inside nn. The other way round: if the blocks of dd are all inside nn, then n=dΓ—n = d \times (the leftover blocks), so dd divides nn. For 360360 and 1212, the leftover blocks are 2Γ—3Γ—5=302 \times 3 \times 5 = 30, and 12Γ—30=36012 \times 30 = 360.

⚠️ Watch out
  • Stop only at primes. 99, 1515, 2121, 2727, 4949 and 5151 look prime but are not: 9=3Γ—39 = 3 \times 3, 51=3Γ—1751 = 3 \times 17. Check each number at the bottom of your tree.
  • Never write 11 in a prime factorisation: 11 is not prime, and it changes nothing.
  • An index is not a times sign. 23=2Γ—2Γ—2=82^3 = 2 \times 2 \times 2 = 8, not 2Γ—3=62 \times 3 = 6. And 2Γ—2Γ—2Γ—32 \times 2 \times 2 \times 3 is 23Γ—32^3 \times 3, not 242^4.
  • Multiply back to check. If your primes do not multiply to the start number, a factor has gone missing.
  • Negative numbers have factors too (βˆ’6=βˆ’1Γ—2Γ—3-6 = -1 \times 2 \times 3), but in this unit we only factorise positive whole numbers.
🧱 Worked example

Two ways to factorise 180

Way 1: A factor tree

Split into any pair you can see: 180=18Γ—10180 = 18 \times 10. Then 18=2Γ—918 = 2 \times 9 and 9=3Γ—39 = 3 \times 3, and 10=2Γ—510 = 2 \times 5. The primes at the bottom are 2,3,3,2,52, 3, 3, 2, 5.

So 180=22Γ—32Γ—5180 = 2^2 \times 3^2 \times 5.

Way 2: Divide by primes (a ladder)

Keep dividing by the smallest prime that goes in exactly, and write each step underneath:

180Γ·2=90180 \div 2 = 90, β€…β€Š90Γ·2=45\;90 \div 2 = 45, β€…β€Š45Γ·3=15\;45 \div 3 = 15, β€…β€Š15Γ·3=5\;15 \div 3 = 5, β€…β€Š5Γ·5=1\;5 \div 5 = 1.

The primes you divided by are 2,2,3,3,52, 2, 3, 3, 5. So 180=22Γ—32Γ—5180 = 2^2 \times 3^2 \times 5.

Which is neater?

Both give the same answer, as the big fact promised. The tree is quick when you spot a friendly split like 18Γ—1018 \times 10. The ladder never needs a clever idea: always try 22, then 33, then 55, then 77, … so it is a good choice for awkward numbers. It also gives the primes already in increasing order.

Is it sensible?

Multiply back: 22Γ—32Γ—5=4Γ—9Γ—5=36Γ—5=1802^2 \times 3^2 \times 5 = 4 \times 9 \times 5 = 36 \times 5 = 180 βœ“. And 180180 ends in one zero, which matches the one pair of 22 and 55 (the spare 22 has no partner) βœ“.

🧱 Worked example

Is 1764 a square number?

Step 1: Factorise

1764Γ·2=8821764 \div 2 = 882, β€…β€Š882Γ·2=441\;882 \div 2 = 441, β€…β€Š441Γ·3=147\;441 \div 3 = 147, β€…β€Š147Γ·3=49\;147 \div 3 = 49, β€…β€Š49Γ·7=7\;49 \div 7 = 7, β€…β€Š7Γ·7=1\;7 \div 7 = 1.

So 1764=22Γ—32Γ—721764 = 2^2 \times 3^2 \times 7^2.

Step 2: Look at the indices

Every index is 22, which is even. So 17641764 is a square. Share the primes into two equal halves: each half is 2Γ—3Γ—7=422 \times 3 \times 7 = 42. So 1764=4221764 = 42^2.

Step 3: Is it sensible?

402=160040^2 = 1600 and 452=202545^2 = 2025, so the number we squared must be between 4040 and 4545 βœ“. Check: 42Γ—42=176442 \times 42 = 1764 βœ“.

Foundation

Which number has the prime factorisation 23Γ—322^3 \times 3^2?

IB Standard

Which is the prime factorisation of 8484?

🎬 Another explanation

Still stuck after the example? Hearing it from another teacher often helps. These videos were checked against this lesson. Try the questions again afterwards.

Product of Primes - Corbettmaths Β· corbettmaths Β· about 6 min

How to split a number with a factor tree until only primes are left, check by multiplying back, and write the answer with powers.

Same idea, different words: This teacher says product of primes for prime factorisation. The last part shows a calculator shortcut; in this lesson you factorise by hand.

Prime Factors | Number | Maths | FuseSchool Β· FuseSchool - Global Education Β· about 3 min

Why primes are like the atoms of numbers, and two ways to find the prime factors of 90: a factor tree and dividing by primes until you reach 1.

Same idea, different words: The video says every positive number has a unique set of prime factors; our lesson says every whole number greater than 1, because 1 itself has no prime factors.

πŸ€” Pause and think

72=23Γ—3272 = 2^3 \times 3^2. Every factor of 7272 is built from some of these blocks: zero, one, two or three 22s, and zero, one or two 33s. How many different ways can you choose? Is that the number of factors of 7272? Check by listing the factors in pairs, as in lesson 1.

⛏ Practice β€” choose your level

Which is the prime factorisation of 3030?

πŸ— Build project β€” real-life task

Packing chocolates

A small chocolate maker packs chocolates in boxes shaped like cuboids: a number of layers, each with the same number of rows, each row with the same number of columns. Every box is completely full. (The company and its numbers are made up.)

Their best-selling box holds 210210 chocolates, and 210=2Γ—3Γ—5Γ—7210 = 2 \times 3 \times 5 \times 7.

IB StandardCriterion D

A box of 210210 chocolates has at least 22 layers, at least 22 rows and at least 22 columns. A box that is close to a cube shape is easiest to pack and post. Which shape is most like a cube (the three numbers as close together as possible)?

IB StandardCriterion D

The chocolate maker would like a new box that is an exact cube: the same number of layers, rows and columns, and about 200200 chocolates. Which of these numbers could fill a cube box exactly?

ExtensionCriterion D

A gift box holds 360=23Γ—32Γ—5360 = 2^3 \times 3^2 \times 5 chocolates and must have a square base: the number of rows equals the number of columns (at least 22), with as many layers as needed.

How many different square-base boxes are possible?

ExtensionCriterion D

A customer asks for a box of exactly 210210 chocolates with a square base (the same number of rows and columns, at least 22 each).

Can it be done? Explain your answer using the prime factorisation 210=2Γ—3Γ—5Γ—7210 = 2 \times 3 \times 5 \times 7. Then suggest something the chocolate maker could offer the customer instead, with numbers.

πŸ““ Work it out in your notebook first β€” sketch, calculate, then write your answer here in full sentences. A model answer appears after you submit, so you can compare.

πŸ”— Connections

The idea of building blocks runs through the rest of this unit and far beyond. Next lesson, the prime factorisations of two numbers show at a glance their highest common factor and their lowest common multiple. Later you will use them to simplify fractions and square roots.

Prime factorisation is also part of how messages are kept secret online. Multiplying two very large primes is quick for a computer, but going back (finding the two primes from their product) is so hard that, for numbers hundreds of digits long, no one knows a fast way to do it on ordinary computers. A widely used kind of encryption, called RSA, relies on exactly that difference.

πŸͺž Reflect

Explain to a friend why two different factor trees for the same number must end with the same primes. What does a pattern in your trees show, and what does it not show?

Which do you prefer, the factor tree or the ladder? For which kind of number would you pick the other one?

Which mistake is most likely to catch you: stopping at a number that is not prime, losing a factor, or reading an index as a times sign? How will you catch it?

πŸ“– Read more in your book
  • Prealgebra (Art of Problem Solving) β€” Chapter 3, section 3.4 Prime Factorization (American spelling of our prime factorisation)

The book goes deeper and its problems are harder. Read it after this lesson, with a pencil in your hand.