Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Polynomial greatest common divisor (polynomial_gcd)

Greatest common divisor of two polynomials.

How to write it

polynomial_gcd(p, q)

p
A polynomial. Takes a polynomial.
q
A polynomial. Takes a polynomial.

Examples

  • gcd⁡(x2−1,x−1)=x−1\displaystyle \gcd(x^{2}-1, x-1) = x-1
    polynomial_gcd(x^2 - 1, x - 1)

    In the solver, polynomial_gcd(x^2 - 1, x - 1) gives x - 1.

    Open in the solver