Open In App

Distributive Property of GCD and LCM

Last Updated : 05 Nov, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Distributive Property of the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) shows how GCD and LCM interact with each other when you have multiple numbers.

The distributive properties of the Greatest Common Divisor (GCD) and the Lowest Common Multiple (LCM) can be expressed in the following theorems for integers a, b, c ∈ Z (Z represents the set of all integers).

Theorem 1: LCM Distributive over GCD

This theorem states that when calculating the LCM of a number a with the GCD of two other numbers b and c, the result is equal to the GCD of the LCM of a with b and the LCM of a with c. Essentially, it shows how LCM interacts with the GCD operation.

LCM (a, GCD (b,c)) = GCD (LCM (a, b), LCM (a, c))

Theorem 2: GCD Distributive over LCM

This theorem states that when calculating the GCD of a number a with the LCM of two other numbers b and c, the result is equal to the LCM of the GCD of a with b and the GCD of a with c.

GCD (a, LCM (b, c)) = LCM (GCD (a, b), GCD (a, c))

Proof of Distributive Property of GCD and LCM

In this section, we will demonstrate the distributive properties of the Greatest Common Divisor (GCD) and the Lowest Common Multiple (LCM) through two key proofs:

Proof of Distributive Property of LCM over GCD

Consider a prime divisor ps and its exponents sa, sb, and sc in the numbers a, b, and c.

Let: x = LCM (a, GCD (b, c))

From the prime decomposition, the exponent of ps in x is given by: max (sa​, min (sy, sc​))

Using the property that max distributes over min, we can rewrite this as:

max (sa​, min (sb​, sc​)) = min (max (sa​, sb​), max (sa​, sc​))

Thus, it follows that:

LCM (a, GCD (b, c)) = GCD (LCM (a, b), LCM (a, c)).

Let's consider an example for the same.

  • Let a = 4, b = 6, and c = 8.
  • Calculate LCM (4, GCD (6, 8)).
    • GCD (6, 8) = 2
    • LCM (4, 2) = 4
  • Calculate GCD (LCM (4, 6), LCM (4, 8))
    • LCM (4, 6) = 12 and LCM (4, 8)=8
    • GCD (12, 8) = 4

Both sides equal 4, confirming the theorem.

Proof of Distributive Property of GCD over LCM

Similarly, consider the same prime divisor ps​.

Let: y = GCD (a, LCM (b, c))

From the prime decomposition, the exponent of ps​ in y is: min (sa, max (sb, sc))

Using the property that min distributes over max, we can express this as:

min (sa, max (sb, sc)) = max (min (sa, sb), min (sa, sc))

This shows that:

GCD (a, LCM (b, c)) = LCM (GCD (a, b), GCD (a, c)).

Let's consider an example for the same.

  • Let a = 10, b = 15.
  • Calculate GCD (10, LCM (15, 20))
    • LCM (15, 20) = 60
    • GCD (10, 60) = 10
  • Calculate LCM (GCD (10, 15), GCD (10, 20))
    • GCD (10, 15)=5
    • LCM (5, 10)=10

Both sides equal 10, confirming this theorem as well.

Read More,


Next Article

Similar Reads

  翻译: