MathClario
← Back to Middle school
Middle schoolπŸ”’Arithmetic●○○○○· 4 min
🌳

Prime factorization: the tree method

Break a number into prime factors. Useful to simplify fractions, compute GCD and LCM.

Reminder: prime number

A prime number is an integer β‰₯2\geq 2 divisible only by 1 and itself.

The first primes: 2,3,5,7,11,13,17,19,23,29,31,…2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, \ldots

Tree method

To factor nn into primes:

  1. Find a prime divisor (try 22, then 33, then 55, 77, …).
  2. Divide, write the quotient.
  3. Repeat on the quotient.
  4. Stop when the quotient is prime.

Example: factor 60

60Γ·2=3060 \div 2 = 30 30Γ·2=1530 \div 2 = 15 15Γ·3=515 \div 3 = 5 55 is prime.

60=2Γ—2Γ—3Γ—5=22Γ—3Γ—560 = 2 \times 2 \times 3 \times 5 = 2^2 \times 3 \times 5

Divisibility tricks

  • By 2: ends in 0,2,4,6,80, 2, 4, 6, 8.
  • By 3: sum of digits divisible by 3.
  • By 5: ends in 00 or 55.
  • By 9: sum of digits divisible by 9.
  • By 11: alternating digit sum divisible by 11.

What is it for?

Simplify a fraction: 6084=22Γ—3Γ—522Γ—3Γ—7=57\dfrac{60}{84} = \dfrac{2^2 \times 3 \times 5}{2^2 \times 3 \times 7} = \dfrac{5}{7}.

GCD: take common factors with the smallest exponent. 60=22Γ—3Γ—560 = 2^2 \times 3 \times 5, 84=22Γ—3Γ—784 = 2^2 \times 3 \times 7 β‡’ gcd⁑=22Γ—3=12\gcd = 2^2 \times 3 = 12.

LCM: all factors with the largest exponent. lcm(60,84)=22Γ—3Γ—5Γ—7=420\text{lcm}(60, 84) = 2^2 \times 3 \times 5 \times 7 = 420.

Uniqueness

Fundamental theorem of arithmetic: every integer >1> 1 factors uniquely (up to order) as a product of primes.

Common mistakes

  1. Missing factors (test each prime carefully).
  2. Using a non-prime factor (60=6Γ—1060 = 6 \times 10 is NOT a prime factorization).
  3. Confusing GCD and LCM in the exponent rule.
?Γ€ toi de jouer

Prime factorization of 72?

Mini-quiz

Question 1 / 3

Prime factorization of 84?

#factorization#prime numbers#GCD#LCM#grade 8

You might also like