Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Polynomial Algebra > Polynomial Division > PolynomialExtendedGCD >

PolynomialExtendedGCD

PolynomialExtendedGCD
gives the extended GCD of and treated as univariate polynomials in x.
PolynomialExtendedGCD[poly1, poly2, x, Modulus->p]
gives the extended GCD over the integers mod prime p.
Compute the extended GCD:
The second part gives coefficients of a linear combination of polynomials that yields the GCD:
Compute the extended GCD:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
The second part gives coefficients of a linear combination of polynomials that yields the GCD:
In[3]:=
Click for copyable input
Out[3]=
Polynomials with numeric coefficients:
Polynomials with symbolic coefficients:
Relatively prime polynomials:
Extended GCD over the integers:
Extended GCD over the integers modulo 2:
Given polynomials , , and , find polynomials and such that :
A solution exists if and only if is divisible by :
The extended GCD of and is , such that and :
is equal to PolynomialGCD up to a factor not containing :
r and s are uniquely determined by the following Exponent conditions:
Use Cancel or PolynomialRemainder to prove that divides and :
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF