Algebra Chapter 5 HCF And LCM Of Algebraic Expression
To find the H.C.F. (Highest Common Factor) or G.C.D. (Greatest Common Divisor) the given expressions should first be resolved into elementary factors.
The H.C.F. or G.C.D. will be the product of the common elementary factors of the highest power that divide each of the given expressions.
Algebra Chapter 5 HCF And LCM Of Algebraic Expression Examples
Example 1. Find the H.C.F. of 4a2b2, 12ab3 and 20a2b4.
Solution:

H.C.F. of 4a2b2, 12ab3 and 20a2b4 is 2 x 2 x a x b x b or 4ab2

Alternate method:
G.C.D. of 4, 12 and 20 = 4
Lowest power of a is 1 and b is 2 in the expression 4a2b2, 12ab3, and 20a2b4.
∴ The required G.C.D. is 4a1b2 or 4ab2.
Read and Learn More WBBSE Solutions For Class 8 Maths
Example 2. Find the G.C.D. of the following algebraic expression. 24x3yz2, 18x2y3z3, 36x4y2z4
Solution:
The required G.C.D. = 2 x 3 x x x x x y x y x z x z = 6x2y2z2
| WBBSE Class 8 English Functional Grammar | WBBSE Class 8 English Reading Skills |
| WBBSE Solutions For Class 8 English | WBBSE Solutions For Class 8 Maths |
Example 3. Find G.C.D. of the following expressions:
- a2 + 3a + 2, a2 + 4a + 3, a2 + 5a +6
- 3 (a + b)3, 6 (a + b)2, 9(a2 -b2)
- x3 – 3x2 – 10x, x3 + 6x2 + 8x, x4 – 5x3 – 14x2
Solution:
1. 1st expression,
a2 + 3a + 2
= a2 + (2 + 1) a + 2 = a2 + 2a + a +2
= a (a + 2) + 1 (a + 2) = (a + 2)(a + 1)
a2 + 3a + 2, a2 + 4a + 3, a2 + 5a +6 = a (a + 2) + 1 (a + 2) = (a + 2)(a + 1)
2nd expression,
a2 + 4a + 3
= a2 + (3 + 1) a +3 = a2 + 3a + a + 3
= a (a + 3)+ 1 (a + 3) = (a + 3)(a + 1)
3 (a + b)3, 6 (a + b)2, 9(a2 -b2) = a (a + 3)+ 1 (a + 3) = (a + 3)(a + 1)
3rd expression,
a2 + 5a + 6
= a2 + (3 + 2) a + 6 = a2 + 3a + 2a + 6
= a (a + 3) + 2 (a + 3) = (a + 3)(a + 2)
x3 – 3x2 – 10x, x3 + 6x2 + 8x, x4 – 5x3 – 14x2 = a (a + 3) + 2 (a + 3) = (a + 3)(a + 2)
∴ The required GCD is 1.
2. 1st expression
3 (a + b)3 = 3 (a + b) (a + b)(a + b)
2nd expression
6 (a + b)2 = 2 x 3 x (a + b)(a + b)
3rd expression
9 (a2 – b2) = 3 x 3 x (a + b)(a – b)
∴ The required GCD = 3 x (a + b) = 3 (a + b)
3. 1st expression
x3 – 3x2 – 10x = x (x2 – 3x – 10)
= x {x2 – (5 – 2) x 10} = x{x2 – 5x + 2x – 10}
= x {x(x – 5) + 2(x – 5)} = x(x – 5)(x + 2)
2nd expression
x3 + 6x2 + 8x = x(x2 + 6x + 8)
= x {x2 + (4 + 2)x + 8}
= x {x2 + 4x + 2x + 8)
= x {x (x + 4) + 2(x + 4)}
= x (x + 4)(x + 2)
3rd expression
x4 – 5x3 – 14x2 = x2 (x2 – 5x – 14)
= x2 (x2 – (7 – 2) x 14} = x2 (x2 – 7x + 2x – 14}
= x2 {x(x – 7) + 2(x – 7)} = x x x x (x – 7)(x + 2)
∴ The required GCD is x x x x (x + 2) = x(x + 2)
To find the L.C.M. each expression is first to be resolved into factors and the product of the factors having the highest powers in those factors will be the L.C.M.
Example 4. Find L.C.M. of the following expressions:
- 20 a2b3c4, 25a3b2c2, 60 abc5
- 4x5y2z, 8xy2z3, 12yz4
- xy4 – 8xy, x2y4 + 8x2y, xy4 – 4xy2
Solution:
1. 1st expression,
20a2b3c4 = 2 x 2 x 5 x a x a x b x b x b x c x c x c x c
2nd expression,
25a3b2c2 = 5 x 5 x a x a x a x b x b x c x c
3rd expression,
60 abc5 = 2 x 2 x 3 x 5 x a x b xc x c x c x c x c
The highest power of 2 is 2, highest power of 5 is 2, highest power of 3 is 1, the highest power of a is 3, the highest power of b is 3.
The highest power of C is 5.
∴ The required L.C.M.
= 2 x 2 x 5 x 5 x 3 x a x a x a x b x b x b x c x c x c x c x c = 300 a3b3c5
Alternate method:

The common factor of 20a2b3c4, 25a3b2c2 and 60abc5 is 5 x a x b x c x c = 5abc2
∴ The required LCM = 5abc2 x 2 x 2 x a x b x b x c x c x 5 x a x 3 x c = 300a3b3c5
2. 4x5y2z = 2 x 2 x x x x x x x x x x x y x y x z
8xy2z3 = 2 x 2 x 2 x x x y x y x z x z x z
12yz4 = 2 x 2 x 3 x y x z x z x z x z
LCM = 2 x 2 x 2 x 3 x x x x x x x x x x x y x y x z x z x z = 24 x5y2z4
3. 1st expression,
xy4 – 8xy = xy(y3 – 8) = xy(y3 – 23)
= xy(y – 2)(y2 + y.2 +22) = xy(y – 2)(y2 + 2y + 4)
2nd expression,
x2y4 + 8x2y = x2y (y3 + 8)
= x2y(y3 +23) = x2y (y + 2) (y2 + y.2 + 22)
= x.x.y(y + 2)(y2 – 2y + 4)
3rd expression,
xy4 – 4xy2 = xy2(y2 – 4)
= x x y x y(y + 2)(y – 2)
The required LCM = x x x x y x y x (y + 2)(y2 – 2y + 4) (y – 2)(y2 + 2y + 4)
= x2y2(y + 2)(y – 2)(y2 – 2y + 4)(y2 + 2y + 4)
Example 5. Find the H.C.F and L.C.M. of the following algebraic expressions:
- 8(x2 – 4), 12(x3 + 8), 36(x2 – 3x-10)
- a4 + a2b2 + b4, a3b + b4, (a2 – ab)3
- x2 + y2 – z2 + 2xy, z2 + x2 – y2 + 2zx, y2 + z2 – x2 + 2yz
- 3a2 – 15a + 18, 2a2 + 2a – 24, 4a2 + 36a + 80
Solution:
1. 1st expression,
8(x2 – 4) = 8(x2 – 22) = 2 × 2 × 2 × (x + 2)(x − 2)
2nd expression,
12(x3 + 8)= 12 (x3 + 23) = 12(x + 2)(x2 – x·2 + 22) = 2 × 2 × 3 × (x + 2)(x2 – 2x + 4)
3rd expression,
36(x2 – 3x – 10) = 36 {x2 – (5 – 2)x – 10}
= 36 {x2 – 5x + 2x – 10} = 36{x2 – 5x + 2x – 10}
= 36 {x(x – 5) + 2(x – 5)} = 2 x 2 x 3 x 3 x (x – 5)(x + 2)
H.C.F.= 2 x 2 x (x + 2) = 4(x + 2)
L.C.M. = 2 x 2 x 2 x 3 x 3(x + 2)(x – 2)(x – 5)(x2 – 2x + 4) = 72(x + 2)(x – 2)(x – 5)(x2 – 2x + 4)
2. 1st expression,
a4 + a2b2 + b4 = (a2)2 + 2a2b2 + (b2)2 – a2b2
= (a2 + b2) – (ab)2
= (a2 + b2 + ab)(a2 + b2 – ab)
2nd expression,
a3b + b4 = b(a3 + b3) = b(a + b)(a2 – ab + b2)
3rd expression,
(a2 – ab)3 = {a(a – b)}3 = a x a x a x(a – b)(a – b)(a – b)
∴ The required HCF = 1 and
LCM= a x a x a x b x (a + b)(a – b)(a – b)(a – b)(a2 – ab + b2)(a2 + ab + b2)
= a3b(a + b)(a – b)3(a2 – ab + b2)(a2 + ab + b2)
3. 1st expression,
x2 + y2 – z2 + 2xy
= (x2 + 2xy + y2) – z2
= (x + y)2 – z2 = (x + y + z) (x + y − z)
2nd expression,
z2 + x2 – y2 + 2zx
= (z2 + 2zx + x2) – y2 = (z + x)2 – y2
= (z + x + y) (z + x − y).
3rd expression,
y2 + z2 – x2 + 2yz
= y2 + 2yz + z2 – x2 = (y + z)2 – x2
=(y + z + x) (y + z – x)
4. 1st expression,
3a2 – 15a + 18
= 3(a2 – 5a + 6) = 3{a2 – (3 + 2)a + 6}
∴ HCF = (x + y + z)·
LCM = (x + y + z)(x + y = 2); (x – y + z) (y + z – x)
= 3(a2 -3a – 2a + 6} = 3 {a(a – 3)- 2(a – 3)}
= 3(a – 3)(a – 2)
2nd expression,
2a2 + 2a – 24
= 2 (a2 + a – 12) = 2 {a2 + (4 – 3)a – 12}
= 2 (a2 + 4a – 3a – 12)
= 2 {a(a + 4) – 3(a + 4)}
= 2 (a + 4) (a-3)
3rd expression,
4a2 + 36a + 80
= 4(a2 + 9a + 20) = 4(a2 + (5 + 4)a + 20)
= 4 {a2 + 5a + 4a + 20)
4 {a(a + 5) + 4(a + 5)} = 2 × 2 × (a + 5) (a + 4)
HCF = 1
LCM = 2 x 2 x 3 x (a – 3)(a – 2)(a + 4)(a + 5)
= 12(a – 3)(a – 2)(a + 4)(a + 5)
Example 6. Choose the correct answer:
1. HCF of 3xy2z2, 2yz2x2, x2y2z is
- xyz
- x2y2z2
- xyz2
- None of these
Solution: The HCF of 3xy2z2, 2yz2x2, and x2y2z2 is xyz.
∴ So the correct answer is 1. xyz
2. LCM of a2b2c2, a3b2c3 and ab3c4 is
- a3b3c3
- a2b2c2
- abc2
- abc3
Solution: LCM is a3b3c4.
∴ So the correct answer is 1. a3b3c3
3. If 0 < x < 1, then HCF of x2, x5, x is
- x
- x2
- x5
- None of these
Solution: Let x = \(\frac{1}{2}\)
x2 = \(\frac{1}{4}\)
x5 = \(\frac{1}{32}\)
HCF of \(\frac{1}{32}\), \(\frac{1}{8}\) and \(\frac{1}{2}\) is \(\frac{\text { HCF of } 1,1,1}{\text { LCM of } 92,8 \text { and } \frac{1}{8}}=\frac{1}{32}=x^5\)
∴ So the correct answer is 3. x5
Example 7. Write ‘True’ or ‘False’:
1. If a, and b are prime numbers, then their LCM is ab.
Solution: The statement is true.
2. If a, and b are prime numbers then their HCF is 1.
Solution: The statement is true.
3. LCM of xm and xm+p is xm.
Solution: \(x^{m+r}=x^m \cdot x^r\)
LCM of \(x^m and x^m \cdot x^r\) is
\(x^m \cdot x^r or x^{m+r}\)∴ So the statement is false.
Example 8. Fill in the blanks:
1. HCF of m2 + 9m + 20 and m2 + 13m + 36 is _______
Solution: m2 + 9m + 20 = (m + 5)(x + 4)
m2 + 13m + 36= (x + 9)(x + 4)
HCF is (x + 4).
HCF of m2 + 9m + 20 and m2 + 13m + 36 is (x + 4).
2. LCM of (a – b) and (b – a) is _______
Solution: (a – b) or (b – a).’
LCM of (a – b) and (b – a) is (a – b) or (b – a).’
3. HCF of ax2, a2x3, a4x is _________
Solution: ax.
HCF of ax2, a2x3, a4x is ax.