Fundamental Theorem of Arithmetic
Pick any whole number bigger than — say — and start breaking it into factors any way you like: , or , or a patient factor tree one branch at a time. No matter which route you take, you always land on the same handful of primes: . That is not a coincidence for alone — it is a guarantee for every composite number, and it is the Fundamental Theorem of Arithmetic. This single guarantee of uniqueness is what makes prime factorisation trustworthy enough to build an entire method for finding HCF and LCM, the two most-tested skills in the Class 10 Real Numbers chapter.
Every composite number has exactly one set of prime factors (order aside), so writing two numbers in prime-power form lets you read off their HCF and LCM directly, and the two are always linked by .
The core idea
The theorem itself. Every composite number can be expressed as a product of primes, and this factorisation is unique, apart from the order of the factors. "Unique" is the whole point: it means prime factorisation is not just a way to break a number down — it is the way, so any calculation built on it (like HCF or LCM) will always give the same answer no matter how you arrived at the factor list.
Why exponent form is useful. Once a number is written as a product of primes, group repeated primes into powers, for example . This exponent form turns "find the common factors" into simple exponent comparisons between two numbers' prime lists.
HCF and LCM from prime powers. Write each number in prime-power form. Then:
where: "common prime factor" means a prime present in every number's factorisation, and "smallest/greatest power" compares the exponents of that prime across the numbers being combined. A prime that appears in only one number still enters the LCM (at its own power) but never enters the HCF.
The link between them. For any two positive integers and :
This relation holds for exactly two numbers only — it does not extend directly to three or more. Euclid's Division Algorithm gives the HCF of two numbers faster than factorising for large values, but prime factorisation is the only method here that also hands you the LCM, which is why examiners favour it for this chapter.
The goal is to show, using nothing beyond the Fundamental Theorem of Arithmetic and the rules for combining exponents of the same base, why must always equal for any two positive integers and , so that the relation is not a coincidence but a direct consequence of how prime powers multiply.
Step 1. Write both numbers over the same list of primes. Suppose the primes involved across and are (including, for each number, primes it does not actually contain, written with exponent ). Then and , where each . The Fundamental Theorem of Arithmetic guarantees these exponent lists are unique, so this is a fair, fixed comparison.
Step 2. Recall the definitions in exponent language. For each prime , the HCF takes the smaller of and (call it ), and the LCM takes the larger (call it ). So and .
Step 3. Multiply the HCF and LCM together, prime by prime. For a single prime , its contribution to the product is . But for any pair of numbers, the smaller plus the larger always equals the sum of the two original numbers: . So each prime's contribution becomes .
Step 4. Multiply this out over every prime in the list. . The regrouping works only because each prime's minimum-plus-maximum trick applies independently, prime by prime, which is exactly what unique factorisation lets us do. Check with numbers: , . For prime : . For prime : . For prime : . Every prime's exponents add up correctly, confirming Step 3's claim.
Worked example
Find the HCF and LCM of and using prime factorisation, verify , and then use that HCF to find a third number that has the same HCF with but a different LCM.
Step 1. Prime factorise each number. and .
Step 2. Find the HCF. The only common prime is ; the smaller power between and is . So .
Step 3. Find the LCM. Take the greatest power of every prime seen anywhere (, , ): .
Step 4. Verify the relation. , and . Both sides match.
Step 5. Now find a third number, , with but a different LCM from before. Take . Comparing with : the only common prime is , and the smaller power is , so — the same HCF as before, as required. But the LCM now uses , , and : , which is different from . This shows the HCF alone does not fix the LCM — the LCM depends on every prime present, including ones that never entered the HCF calculation. The HCF and LCM of and are and ; a number like can share the HCF of with while having an entirely different LCM.
Common traps
- Assuming works for three or more numbers — it holds only for exactly two.
- Mixing up "smallest power" and "greatest power": HCF uses the smallest power of only the common primes; LCM uses the greatest power of every prime seen in any number.
- Forgetting to carry a prime that appears in only one of the numbers into the LCM (the in must still appear in the LCM even though it is not common to both).
- Treating the theorem as being only about proving irrationality — its main syllabus use here is prime-factorisation-based HCF/LCM; irrationality proofs are a separate, related application.
Ask the tutor: Want a fresh pair of numbers to prime-factorise and check the HCF-LCM relation yourself, or a trickier "find the missing number" problem? Ask the AI tutor for one.
Why does prime factorisation being unique matter so much for finding HCF and LCM?
If two different people could factorise the same number into two genuinely different sets of primes, then "the HCF" or "the LCM" would not be a single well-defined answer — it would depend on which factorisation you happened to use. The Fundamental Theorem of Arithmetic rules that out: no matter how you split a number apart, you always reach the same prime list. That guarantee is what lets us safely compare exponents across two numbers and trust the result.
Does the HCF times LCM equals a times b relation work for three numbers, like 12, 18 and 24?
No, not directly. The relation is proven using only two exponent lists at a time (the min and max of a pair), and that pairing argument breaks down with three or more numbers — the product does not equal in general. For three or more numbers, find the HCF and LCM directly from all their prime factorisations at once, using the smallest and greatest powers across every number, rather than trying to force the two-number formula.
If I already know the HCF of two numbers, can I work out the LCM without factorising again?
Only if you also know both numbers (or their product). Rearranging the relation gives , which is genuinely useful — Worked Example 2 in the Pass-1 material uses exactly this trick to find a missing number. But knowing the HCF alone, without the numbers, tells you nothing about the LCM, because the LCM also depends on every prime that is not common to both numbers, which the HCF never sees.