## GCF and LCM of polynomials

The greatest common divisor (GCF) and the least common multiple (LCM) of two polynomials are determined.

*p _{1}(x) = a_{9}·x^{9} + a_{8}·x^{8} + ... + a_{0}*
and

*p*.

_{2}(x) = b_{9}·x^{9}+ b_{8}·x^{8}+ ... + b_{0}The coefficients of the polynomial can be entered as fractions, as mixed numbers or as breaking decimal numbers.

Use the checkbox to choose whether the coefficients of the polynomials should be output as fractions or as decimal numbers.

p_{1}(x) = 4·x^{6}- 2·x^{5}- 6·x^{4}- 18·x^{3}- 2·x^{2}+ 24·x + 8 p_{2}(x) = 10·x^{4}- 14·x^{3}- 22·x^{2}+ 14·x + 12 ggT(p_{1},p_{2}) = x^{2}- x - 2 kgV(p_{1},p_{2}) = 40·x^{8}- 36·x^{7}- 76·x^{6}- 144·x^{5}+ 88·x^{4}+ 356·x^{3}- 4·x^{2}- 176·x - 48 p_{1}(x) = (x^{2}- x - 2)·(4·x^{4}+ 2·x^{3}+ 4·x^{2}- 10·x - 4) p_{2}(x) = (x^{2}- x - 2)·(10·x^{2}- 4·x - 6)

### Application:

It is well known that the GCF and the LCM are needed when reducing fractions or when adding fractions. Transferred to polynomials, this corresponds to the reducing or adding of functional terms of rational functions.

### Note:

The GCF of polynomials is determined analogously to the GCF of natural numbers with the Euclidean algorithm (cf. GCF and LCM). In the process, polynomial divisions are carried out repeatedly and coefficients can occur in the intermediate results which lead to an abort due to "overflow". In this case it is indicated that further common factors can exist.

### See also:

Wikipedia: Euclidean algorithm