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 : the small 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 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.
Try these first. Nothing is marked: just have a go.
Split into numbers multiplied together, and keep splitting until every number is prime. (You could start with .)
How many s are in your final product?
Mia splits as and keeps splitting until only primes are left. Leo starts with and does the same.
Which is true?
Work out .
You split again and again, starting with . Your friend starts with . You both stop when only primes are left. What will you find?
Now use the tree builder. Start with . 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.
- Watch the line under the tree. What do the numbers at the bottom always multiply to, at every stage?
- Press βGrow a new tree for 60β and start with a different split. Compare your trees in the list.
- Try , and with two different first splits each. Then try a prime, such as .
- At every stage, the numbers at the bottom of the tree multiply to the start number. A split never changes the product: .
- 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 : always two s, one and one .
- Try-first 1. : there are three s. Try-first 2. Splitting as or as , both trees end with two s and two s.
- Try-first 3. . That is the recipe for from the hook, written short with an index, just as chemists write .
- A prime such as has no tree at all: it is already a building block.
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: .
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 does the splitting always stop? Each time you split a number that is not prime, you get two smaller whole numbers, each at least . 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 were a building block, would also be , or , and so on for ever: there would be no single recipe. That is one reason mathematicians decided that is not prime.
What a prime factorisation tells you
Once you know the building blocks, many questions become easy.
- Going back. . Multiplying back is also the best way to check a factorisation.
- Square numbers. A number is a square exactly when every index is even. is a square: it is .
- Zeros at the end. Each needs one and one . has only two complete pairs, so it ends in exactly two zeros: it is .
- Does one number divide another? divides when every building block of is inside (each prime with an index no bigger), and only then. divides , but does not, because has only two s.
Squares. A square is a number times itself, like . Each copy of brings the same primes, , so every prime turns up twice as often: . 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 . The only way to make from primes is , so every zero needs its own and its own . A spare with no to pair with makes no zero.
Dividing. If , then the building blocks of and of together make up (there is only one recipe for ). So the blocks of must all be inside . The other way round: if the blocks of are all inside , then (the leftover blocks), so divides . For and , the leftover blocks are , and .
- Stop only at primes. , , , , and look prime but are not: , . Check each number at the bottom of your tree.
- Never write in a prime factorisation: is not prime, and it changes nothing.
- An index is not a times sign. , not . And is , not .
- Multiply back to check. If your primes do not multiply to the start number, a factor has gone missing.
- Negative numbers have factors too (), but in this unit we only factorise positive whole numbers.
Two ways to factorise 180
Way 1: A factor tree
Split into any pair you can see: . Then and , and . The primes at the bottom are .
So .
Way 2: Divide by primes (a ladder)
Keep dividing by the smallest prime that goes in exactly, and write each step underneath:
, , , , .
The primes you divided by are . So .
Which is neater?
Both give the same answer, as the big fact promised. The tree is quick when you spot a friendly split like . The ladder never needs a clever idea: always try , then , then , then , β¦ so it is a good choice for awkward numbers. It also gives the primes already in increasing order.
Is it sensible?
Multiply back: β. And ends in one zero, which matches the one pair of and (the spare has no partner) β.
Is 1764 a square number?
Step 1: Factorise
, , , , , .
So .
Step 2: Look at the indices
Every index is , which is even. So is a square. Share the primes into two equal halves: each half is . So .
Step 3: Is it sensible?
and , so the number we squared must be between and β. Check: β.
Which number has the prime factorisation ?
Which is the prime factorisation of ?
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.
. Every factor of is built from some of these blocks: zero, one, two or three s, and zero, one or two s. How many different ways can you choose? Is that the number of factors of ? Check by listing the factors in pairs, as in lesson 1.
Which is the prime factorisation of ?
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 chocolates, and .
A box of chocolates has at least layers, at least rows and at least 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)?
The chocolate maker would like a new box that is an exact cube: the same number of layers, rows and columns, and about chocolates. Which of these numbers could fill a cube box exactly?
A gift box holds chocolates and must have a square base: the number of rows equals the number of columns (at least ), with as many layers as needed.
How many different square-base boxes are possible?
A customer asks for a box of exactly chocolates with a square base (the same number of rows and columns, at least each).
Can it be done? Explain your answer using the prime factorisation . 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.
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.
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?
- 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.