Enter coefficients and track every polynomial remainder. Download tables, inspect quotients, and compare curve behavior. Useful for proofs, tutoring, checks, homework, and deeper intuition.
| Sample | Polynomial A Coefficients | Polynomial B Coefficients | Polynomial A | Polynomial B | Expected GCD |
|---|---|---|---|---|---|
| 1 | 1, 0, 0, 0, -1 | 1, 0, -1, 0 | x^4 - 1 | x^3 - x | x^2 - 1 |
| 2 | 1, -3, 2 | 1, -2, 1 | x^2 - 3x + 2 | x^2 - 2x + 1 | x - 1 |
| 3 | 1, 2, -1, -2 | 1, 1, -2 | x^3 + 2x^2 - x - 2 | x^2 + x - 2 | x^2 + x - 2 |
The polynomial Euclidean algorithm repeats long division until the remainder becomes zero. For polynomials A(x) and B(x), the division rule is:
A(x) = Q(x)B(x) + R(x), where deg(R) < deg(B).
Then replace the pair (A(x), B(x)) with (B(x), R(x)) and repeat.
The last non-zero remainder is the greatest common divisor.
This calculator also computes extended Euclidean coefficients:
S(x)A(x) + T(x)B(x) = GCD(A(x), B(x))
When monic normalization is enabled, the final gcd is divided by its leading coefficient. The Bezout coefficients are scaled the same way, so the identity still stays valid.
Enter coefficients from highest degree to constant term. For x^4 - 1, type 1, 0, 0, 0, -1.
Yes. You can enter values like 1/2, -3/4, or 5/3. The calculator converts them to decimal values internally.
A monic gcd has leading coefficient 1. Many algebra texts prefer this normalized form because it makes answers easier to compare.
They prove that the gcd is a linear combination of the two input polynomials. That is useful in algebra, coding theory, and symbolic computation.
If one input is zero and the other is not, the non-zero polynomial becomes the gcd, after optional monic normalization.
Epsilon removes tiny floating leftovers created by division. A slightly larger value can make output cleaner when decimal coefficients are involved.
The graph plots Polynomial A, Polynomial B, and their gcd over the selected x-range. The second chart shows degree reduction through each Euclidean step.
The lcm appears when the product divides exactly by the computed gcd within the chosen tolerance. Otherwise the page leaves it hidden.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.