You find the greatest common divisor of two polynomials in the same way as you found the greatest common divisorDM2-2.tex#Greatest common divisor of two integers.
To find the greatest common divisor of two or more polynomials
Evaluate
gcd(5x2 - 5x, 10x - 10) = 5x - 5
gcdyx + 3x - 5y - 15, xz - 53x - 5z + 265
= x - 5
gcdx2 +3x + yx + 3y, x2 -4yx - 5y2, 3x2 +2yx - y2
= x + y
You can check these results by factoring the polynomials and comparing the factors.
Factor
5x2 -5x = 5xx - 1
![]()
10x - 10 = 10x - 1
![]()
yx + 3x - 5y - 15 =x - 5
y + 3
![]()
xz - 53x - 5z + 265 =x - 5
z - 53
![]()
x2 +3x + yx + 3y =x + y
x + 3
![]()
x2 -4yx - 5y2 =x + y
x - 5y
![]()
3x2 +2yx - y2 =x + y
3x - y
![]()
The least common multipleDM2-2.tex#Greatest common divisor function is also available for polynomials.
To find the least common multiple of two or more polynomials
Apply Factor to the result to reveal the relationship among the polynomials.
Evaluate, Factor
lcm(yx + 3x - 5y - 15, xz - 53x - 5z + 265)
= xyz - 53xy + 3xz - 159x - 5yz + 265y - 15z + 795
=x - 5
y + 3
z - 53
![]()