A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.
The greatest common factor (GCF) of two whole numbers is the largest number that divides both of them. The least common multiple (LCM) is the smallest positive number that both of them divide. For 12 and 18 the GCF is 6 and the LCM is 36. The GCF is used to simplify fractions and to factor expressions; the LCM gives the least common denominator and solves "when do two cycles line up again" problems.
Begin with lists: write the factors of each number and circle the shared ones, then write multiples of each until one repeats. Move to prime factorization, where the GCF takes the shared primes with the smaller exponent and the LCM takes every prime with the larger exponent. Use word problems that force a choice between the two (splitting items into equal groups versus finding when events coincide).
Every whole number greater than 1 has factors (numbers that divide it exactly) and multiples (numbers it divides exactly). When two numbers are involved, it is natural to ask which factors they share and which multiples they share. The greatest common factor and the least common multiple are the extreme answers to those two questions.
Start with listing. The factors of 12 are 1, 2, 3, 4, 6 and 12. The factors of 18 are 1, 2, 3, 6, 9 and 18. The shared factors are 1, 2, 3 and 6, so GCF(12, 18) = 6. For multiples, list 12, 24, 36, 48 and 18, 36, 54. The first shared multiple is 36, so LCM(12, 18) = 36.
Listing works for small numbers, but prime factorization is faster and shows why the answers come out as they do. Write 12 = 2² × 3 and 18 = 2 × 3². A common factor can only use primes that both numbers contain, and no more copies than either one has. So the GCF uses 2¹ and 3¹, giving 6. A common multiple must contain everything in each number, so the LCM uses 2² and 3², giving 36.
Notice that 6 × 36 = 216 and 12 × 18 = 216. For any two positive whole numbers, the GCF times the LCM equals the product of the numbers. This explains why the LCM equals the product only when the GCF is 1. Numbers like 8 and 15, whose GCF is 1, are called relatively prime.
The two ideas answer different kinds of questions. If you are splitting things into identical groups with nothing left over, you want a number that divides every amount, so you want the GCF. If you are asking when two repeating events happen together again, such as a bus every 12 minutes and a train every 18 minutes, you want a number that every cycle divides, so you want the LCM: they meet again after 36 minutes.
Both ideas come back often. The GCF reduces 12/18 to 2/3 in one step, and in algebra it becomes the first move in factoring, as in 12x + 18 = 6(2x + 3). The LCM of the denominators is the least common denominator used to add fractions such as 1/12 + 1/18 = 3/36 + 2/36 = 5/36.