๐Ÿ  Home โ€บ ๐Ÿ” Number Theory โ€บ Lesson 6

๐ŸŒŸ LCM โ€” Variables, Fraction-Clearing, and the Multiplication Trick

๐Ÿ“– Lesson 6 of 8

๐Ÿ“Œ Key ideas of this section

LCM = ALL primes, with the BIGGER supply of each.   LCM(12, 18) = 2ยฒ ร— 3ยฒ = 36
The trick: GCF(a, b) ร— LCM(a, b) = a ร— b  โ€”  and we can PROVE it.

The least common multiple of two numbers is the smallest number both divide into. The fingerprint recipe is the opposite of the GCF one: take every prime that appears in EITHER number, with the bigger supply:

12 = 2ยฒ ร— 3         18 = 2 ร— 3ยฒ
LCM(12, 18) = 2ยฒ ร— 3ยฒ = 36 โœ…

GCF takes shared-and-small; LCM takes all-and-big. Say it until it's automatic. Three numbers at once โ€” "all primes" now means from any of the three:

4 = 2ยฒ        6 = 2 ร— 3        10 = 2 ร— 5
LCM(4, 6, 10) = 2ยฒ ร— 3 ร— 5 = 60 โœ…

Check: 60 รท 4 = 15, 60 รท 6 = 10, 60 รท 10 = 6 โ€” all clean, and nothing smaller works.

LCM with variables

Same recipe, variables included โ€” take the bigger supply of every prime AND every variable:

12xยฒ = 2ยฒ ร— 3 ร— xยฒ         18x = 2 ร— 3ยฒ ร— x
LCM(12xยฒ, 18x) = 2ยฒ ร— 3ยฒ ร— xยฒ = 36xยฒ โœ…

That answer is the least common DENOMINATOR when you add fractions like these:

1/(6x) + 1/(8x) = ?
LCM of the denominators:  6x = 2ร—3ร—x, 8x = 2ยณร—x  โ†’  2ยณร—3ร—x = 24x
rebuild each fraction:    1/(6x) = 4/(24x)        (multiply top and bottom by 4)
                          1/(8x) = 3/(24x)        (multiply top and bottom by 3)
add the tops:             4/(24x) + 3/(24x) = 7/(24x) โœ…

The multiplication trick โ€” with a real proof this time

Take 12 and 18: GCF = 6, LCM = 36. Now:

GCF ร— LCM = 6 ร— 36 = 216         12 ร— 18 = 216

Equal! And here's WHY it always works, prime by prime. Suppose the prime 2 appears in a with exponent m and in b with exponent n. Then:

And min(m, n) + max(m, n) = m + n, because the smaller one plus the bigger one is just both of them added. Every prime in sight gets the same exponent on both sides, so:

GCF(a, b) ร— LCM(a, b) = a ร— b   โˆŽ

So if you know any three of GCF, LCM, a, b, you can find the fourth with one multiplication and one division. Warning, though: this trick is for TWO numbers only โ€” Lesson 7 shows it exploding on three.

LCM clears fractions from equations

Here's a power move you'll use for years. When an equation has fractions, multiply BOTH sides by the LCM of the denominators โ€” every denominator divides into it, so every fraction vanishes.

Solve: x/2 + x/3 = 10

LCM(2, 3) = 6, so multiply both sides by 6:
6 ร— (x/2 + x/3) = 6 ร— 10        same move on both sides keeps it balanced
6 ร— x/2 + 6 ร— x/3 = 60          distribute on the left
3x + 2x = 60                    each denominator divides into 6 and cancels
5x = 60                         combine like terms
x = 12                          divide both sides by 5
Check: 12/2 + 12/3 = 6 + 4 = 10 โœ…

And one with variables on BOTH sides โ€” the full honors workout:

Solve: (2/3)x + 4 = (1/2)x + 7

LCM(3, 2) = 6, multiply both sides by 6:
6 ร— (2/3)x + 6 ร— 4 = 6 ร— (1/2)x + 6 ร— 7     distribute on BOTH sides
4x + 24 = 3x + 42                            fractions cleared
4x โˆ’ 3x = 42 โˆ’ 24                            subtract 3x and 24 from both sides
x = 18                                       simplify
Check: (2/3)ร—18 + 4 = 12 + 4 = 16, and (1/2)ร—18 + 7 = 9 + 7 = 16 โœ…

GCF-LCM systems: two facts, two unknowns

A SYSTEM of equations is two (or more) facts about unknown numbers, solved together. Number theory serves up beautiful ones. Problem: two numbers have GCF 6 and LCM 36. Find ALL possible pairs.

Check (6, 36):  GCF = 6, LCM = 36 โœ…
Check (12, 18): GCF = 6, LCM = 36 โœ…   (from the start of this very lesson!)

Two answers, both correct โ€” and the relatively-prime condition in step 1 is what keeps impostors out.

The leftover twist, upgraded to a formula

Classic puzzle: a pile of cookies leaves 3 left over whether counted in groups of 8 or groups of 12. What are ALL the possibilities?

If the count is n, then n โˆ’ 3 divides evenly by both 8 and 12
so n โˆ’ 3 is a common multiple of 8 and 12
LCM(8, 12) = 24, so n โˆ’ 3 = 24 ร— k for some whole number k
n = 24k + 3     โ†  EVERY answer, in one formula
k = 0 โ†’ 3      k = 1 โ†’ 27      k = 2 โ†’ 51      k = 3 โ†’ 75      k = 4 โ†’ 99

The answers form an arithmetic sequence โ€” same gap of 24 every time โ€” and the gap is exactly the LCM. The two-digit answers are 27, 51, 75, 99.

Sanity-check inequalities

Finally, some inequalities that catch wrong answers instantly. For any positive a and b:

GCF(a, b) โ‰ค the smaller of a, b โ‰ค the bigger of a, b โ‰ค LCM(a, b) โ‰ค a ร— b

The GCF can't top the smaller number (it has to FIT inside it); the LCM can't sit under the bigger one (the bigger one has to fit inside IT); and the last โ‰ค comes from the multiplication trick: LCM = (a ร— b) รท GCF, and dividing by the GCF only shrinks a ร— b โ€” with equality exactly when GCF = 1, i.e., when a and b are relatively prime.

โœ๏ธ Your Turn!

  • 1.
    Find LCM(15, 20) with fingerprints.
  • 2.
    Solve with fraction-clearing: x/4 + x/6 = 5.
๐Ÿ‘€ Show the answers

Answers: 1. 15 = 3 ร— 5 and 20 = 2ยฒ ร— 5 โ†’ LCM = 2ยฒ ร— 3 ร— 5 = 60. 2. LCM(4, 6) = 12; multiply both sides by 12: 12 ร— x/4 + 12 ร— x/6 = 60 โ†’ 3x + 2x = 60 โ†’ 5x = 60 โ†’ x = 12. Check: 12/4 + 12/6 = 3 + 2 = 5 โœ….

V.3.1