Last updated on July 4th, 2025
The Greatest Common Divisor is the largest number that can divide two or more numbers without leaving a remainder. The GCD helps children understand how they can divide items into equal parts without any remainders. In this article, we will discuss the significance of the concept and how to find GCD.
GCD is the greatest number that evenly divides two or more given numbers. For example-GCD of 24 and 36 is 12 because 12 is the largest common divisor. Note that the GCD of a number is always a positive number.
GCD and LCM are two interrelated but different concepts. Let’s look at some key differences between them:
GCD |
LCM |
Stands for Greatest Common Divisor. |
Stands for Least Common Multiple. |
GCD is the largest positive integer that divides two or more numbers evenly (without a remainder). |
LCM is the smallest positive number that is a multiple of two or more numbers. |
The GCD of two or more numbers is always less than or equal to the smallest of those numbers. |
LCM of two or more numbers is always greater than or equal to the largest of the given numbers. |
Denoted as GCD (a, b), where a and b are integers. |
Denoted as LCM (a, b), where a and b are integers. |
To find the GCD of two positive integers, we use the following steps:
For example, let’s calculate the GCD of 40 and 60.
The greatest common divisor (GCD) obeys certain mathematical properties. Here are a few important ones:
Commutative Property
Since the order of the numbers does not change the final result, so GCD is commutative, i.e., GCD (a, b) = GCD (b, a)
For example: GCD(12, 18) = GCD (18, 12) = 6
Associative Property
The GCD is associative because the grouping of numbers does not change the result, i.e., GCD (a, GCD(b, c)) = GCD(GCD (a, b), c)
For example:
First Grouping: GCD (8, GCD(12, 16))
GCD(12, 16) = 4
GCD(8, 4) = 4
So, GCD(8, GCD(12, 16)) = 4
Second Grouping: GCD(GCD(8, 12), 16)
GCD(8, 12) = 4
GCD(4, 16) = 4
So, GCD(GCD(8, 12), 16) = 4
GCD (8, GCD(12, 16)) = GCD(GCD(8, 12), 16)
Hence, GCD is associative.
Distributive Property (Over LCM)
The GCD is distributive over the Least Common Multiple (LCM).
GCD(a, LCM(b, c)) = LCM(GCD(a, b), GCD(a, c)).
For example:
GCD (8, LCM (12, 18)) = LCM (GCD (8, 12), GCD (8, 18))
Let’s look at the steps involved:
Therefore,
GCD (8, LCM (12, 18)) = LCM (GCD (8, 12), GCD (8, 18)) holds true.
Divisibility Property
According to the divisibility property, if d is given as GCD (a, b), then it means d divides both a and b evenly.
d ∣ a and d ∣ b where d = GCD ( a, b )
Example:
If d = GCD (18, 24) = 6, then 6 ∣ 18 and 6 ∣ 24.
GCD with Zero
For any non-zero integer n, the GCD of 0 and n is n. However, the GCD of 0 and 0 is undefined because there is no greatest common divisor in this case.
GCD(0, n) = n, but GCD(0, 0) = undefined.
Example:
GCD(12, 0) = 12, but GCD(0, 0) is undefined.
Multiplicative Property
According to the multiplicative property of GCD, if a and b are co-prime, then:
GCD (a × b, c) = GCD (a, c) × GCD (b, c).
For example:
Consider a = 7, b = 5, and c = 20.
Since 7 and 5 are co-prime;
(GCD(7,5) =1), GCD(7*5, 20) = GCD(7,20) * GCD(5,20) = 1*5 =5
Hence, the property holds true.
Several significant theories lay the foundation of the Greatest Common Divisor. We will look at a few:
Euclidean Algorithm:
The Euclidean Algorithm is a method used to find the GCD of two numbers using repeated division. In this process, the division is repeated until we get 0 as the remainder. For any two positive integers a and b, the algorithm uses the relation a = bq + r.
Here, any common divisor of a and b is also a common divisor of b and r. Therefore, the GCD of a and b can be written as:
GCD (a, b) = GCD (b, r)
Let’s take a look at this with an example: GCD (12, 10)
Step 1: Divide 12 by 10. Here, we get the remainder as 2.
So GCD (12, 10) = GCD (10, 2)
Step 2: Divide 10 by 2. Now, the remainder is 0.
Since the remainder is 0. GCD (12, 10) = 2.
Prime Factorization Theory
Prime Factorization theory states that the GCD of two numbers is obtained by multiplying the common prime factors with the smallest exponent.
Example: GCD (90, 150)
Determine the prime factorization of the given numbers:
Prime factorization of 90: 2 × 32 × 5
Prime factorization of 150: 2 × 3 × 52
Common prime factors are 2, 3, and 5
Taking the smallest exponent for each number, we get, 21, 31, 51
Therefore, GCD is 21 × 31 × 51 = 30.
The Greatest Common Divisor helps students perform complex arithmetic problems easily. Here are a few tips and tricks that help students easily grasp the concept:
The greatest common divisor is significant; however, students often make mistakes when dealing with them. Here are some common mistakes and tips to avoid them:
Determine the GCD of 64 and 32.
GCD(64, 32) = 32
64 = 26
32 = 25
So, the only prime factor is 2.
Now, multiply the lowest exponents:
GCD (64, 32) = 25 = 32
Find the GCD of 72 and 56 using the Euclidean Algorithm.
GCD (72, 56) = 8
We first use the Euclidean Algorithm:
GCD(a, b) = GCD(b, a mod b)
Divide 72 by 56 → 72 ÷ 56 = 1 remainder 16
GCD(72, 56) = GCD(56, 16)
Divide 56 by 16 → 56 ÷ 16 = 3 remainder 8
GCD(56, 16) = GCD(16, 8)
Divide 16 by 8 → 16 ÷ 8 = 2 remainder 0
GCD(16, 8) = GCD(8, 0)
Since GCD(a, 0) = a, we get GCD(8, 0) = 8
Therefore, GCD(72, 56) = 8
Find the GCD of 45 and 0.
GCD (45,0) = 45
We apply the rule:
GCD(a, 0) = a
Here a = 45
So, GCD (45, 0) = 45.
Find the GCD of 106 and 1 using the Euclidean Algorithm.
GCD (a, 0) = a, so we get GCD(1, 0) = 1.
We first apply Euclid’s Algorithm,
GCD(a, b) = GCD(b, a mod b)
Divide 106 by 1:
106 ÷ 1 = 106 with a remainder of 0
So,
GCD(106, 1) = 1
Since GCD(a, 0) = a, we get:
GCD(1, 0) = 1.
Therefore, we can conclude that the GCD of any number and 1 is always 1(since 1 is a common factor of every integer).
Determine the GCD of 98 and 120.
GCD(98, 120) = 2
We first determine the Prime Factorization of the given numbers:
98 = 2 × 7²
120 = 2³ × 3 × 5
Then, identify the common factors,
The only common prime factor is 2.
Now, we multiply the lowest exponents:
GCD(98, 120) = 2
Hiralee Lalitkumar Makwana has almost two years of teaching experience. She is a number ninja as she loves numbers. Her interest in numbers can be seen in the way she cracks math puzzles and hidden patterns.
: She loves to read number jokes and games.