MagicMath.com Logo

MagicMath Homepage
Middle School Homepage


Polynomial Greatest Common Divisor

The greatest common divisor (gcd), of two polynomials is the polynomial of highest degree that divides both polynomials. If the polynomial D(x) is the gcd of the numbers P(x) and Q(x), we write

gcd ( P(x),  Q(x) ) = D(x)

For example,

gcd ( (x^4 - 1), (x^3 + 1) ) = x + 1

The leading coefficient of the gcd is kept positive.

When simplifying a rational function, the gcd of the numerator and the denominator polynomials is needed. Then the gcd can be removed from the numerator and denominator.

On this page, you can compute gcd of polynomails with integer coefficients. p>