Divisibility properties
Why is the sum of two multiples of 7 always itself a multiple of 7, without ever adding them up? Divisibility properties are the general rules that answer questions like this — how divisibility behaves when numbers are added, subtracted, or multiplied, and how the factors shared by two numbers connect to their HCF and LCM. Instead of testing each combined number by hand, these rules let you reason about a sum, a difference, or a product directly from what you already know about its parts. This is part of the Number Play chapter of Class 8 Mathematics, building on factors, multiples, primes and composites, and the HCF–LCM recap using prime factorisation. The same reasoning — writing a number as and tracking what happens to — is also the seed of the division algorithm and of proof-by-counterexample, both used constantly in later number theory.
If a whole number divides two numbers and , it automatically divides every sum, difference, and multiple built from and — and this same "divide-and-track-the-quotient" idea proves why .
The core idea
A number is divisible by (equivalently, divides , written ) when for some whole number . Here is called a factor of , and is a multiple of . Every divisibility property below is really the same trick played out with algebra: replace a number by , do the arithmetic, and read off the new quotient.
Sums and differences carry the common factor forward. If and , write and . Then
where: is the common factor, are the (whole-number) quotients of and by . Because and are themselves whole numbers, divides both the sum and the difference — no new remainder can appear from adding or subtracting two exact multiples.
Multiplying by anything preserves divisibility. If , then for any whole number , even one does not divide: . This is stronger than the sum rule — it needs only one of the two numbers to carry the factor .
A mismatch breaks the sum. If but , then cannot divide or either — if it did, subtracting the multiple of back out would force , a contradiction.
Primes have a special veto power. If a prime divides a product , then must divide or divide (or both). No composite divisor can guarantee this — for instance , yet divides neither nor . This one property of primes is exactly what makes prime factorisation a trustworthy tool for HCF and LCM.
Why HCF times LCM equals the product
The goal of this derivation is to show, using nothing beyond prime factorisation and the rules for adding exponents, why always equals for any two whole numbers and , and why this is not a coincidence but a direct consequence of how the "lowest power" and "highest power" rules for HCF and LCM are built.
Step 1. Write both numbers in prime-factorised form, listing every prime that appears in either number, using exponent where a prime is absent. For a single prime , say contains and contains (with ).
Step 2. Recall the definitions of HCF and LCM in terms of exponents. HCF takes the lowest power of each common prime, so its exponent for is . LCM takes the highest power of every prime appearing in either number, so its exponent for is .
Step 3. Add the two exponents contributed by to : it is . Whichever of is smaller and whichever is larger, this sum always equals — the smaller and larger of two numbers always add up to their ordinary sum, since one of or literally equals and the other equals .
Step 4. Since is exactly the exponent of in the product (exponents add when you multiply), the exponent of every prime in matches its exponent in . Two numbers with identical prime factorisations are equal, so
where: are the two whole numbers, is their highest common factor, is their lowest common multiple. This is why knowing any three of , , , always lets you compute the fourth by simple division — the relation holds exactly, not approximately, for every pair of whole numbers.
Worked example
HCF of two numbers 84 and 108 is found to be 12. Find their LCM without listing multiples, then verify by prime factorisation, and check the sum property on the pair.
Step 1. Apply the relation with , : , so .
Step 2. Verify by prime factorisation: and . HCF uses the lowest power of each common prime, , matching the given HCF. LCM uses the highest power of every prime present, , matching Step 1.
Step 3. Check the sum property on this pair: since and , property one guarantees . Indeed , confirmed. It also guarantees , and , confirmed.
LCM of 84 and 108 is 756, and both the product relation and the sum property check out exactly.
Competitive stretch
If instead only the LCM () and one number () were given, the same relation rearranges to find the other: . Combined with , this lets you narrow down without ever listing multiples of by hand.
Common traps
- Believing forces to divide and separately — false: , yet divides neither nor .
- Extending the prime "veto" rule to composite divisors — does not imply or unless is prime (recall but and ).
- Swapping HCF (always both numbers) and LCM (always both numbers) when applying .
- Applying the two-number relation directly to three or more numbers — it only holds for a pair at a time.
Ask the tutor: Want to work through a proof of one of these divisibility properties step by step, or try a few more HCF–LCM problems using the product relation?
Why does d dividing a and d dividing b guarantee d divides a times b, but not the other way round?
Writing gives immediately, so follows in one step — you only need one of the two numbers to carry the factor . The reverse direction fails for composite because 's prime factors can be split across and : even though divides neither nor , since the factor lives in and the factor lives in . Only when is prime is it forced to sit entirely inside one number, which is why the veto property is stated for primes specifically.
Do I need to check the sum and difference properties separately, or does one imply the other?
They follow from the same algebra, so you rarely need to check both in an exam unless asked. If and , then and — both quotients are automatically whole numbers because and are whole numbers, and both sums and differences of whole numbers are whole numbers. Stating the general rule ("a common divisor of two numbers divides their sum and difference") and proving it once with covers both cases.
If HCF times LCM always equals the product, why do textbooks still ask us to compute both separately by prime factorisation?
Because the relation only works once you already know three of the four quantities — you cannot use it to find HCF and LCM simultaneously from just and , since that would be one equation with two unknowns. Prime factorisation (or the division method) gives HCF and LCM independently and directly. The product relation then becomes a fast way to find the fourth quantity when three are already known, or a quick way to verify an HCF–LCM pair you computed by factorisation, exactly as done in the worked example above.