ICM Research
 

 







     

Experimental WME Service

The polynomial.wme is a CGI-based WME service. It receives form input and produces result in <meml>...</meml>.

The response is currently delivered under the type

application/mesp+xml

And your browser will ask you to store the result in a file.

We are considering exactly what media type designation to use eventually, candidates are application/xml, text/xml, text/meml, application/meml+xml (likely), ...

At present (June. 2003), it serves as a tool for experimentation in the MESP (Mathematics Education Service Protocol).

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.

Enter P(x) and Q(x) to see the gcd:

gcd(  ,   )  

The gcd of more than two polynomials is defined naturally as the greatest polynomial that devides all the given polynomials. You can compute the gcd of many polynomials by using gcd of two polynomials repeatedly.

For example

gcd ( H(x),  P(x),  Q(x) )

can be done by computing

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

then computing

gcd ( D(x),  Q(x) )



| Top of this Page | ICM Home |


The WME homepage and the WME Framework Project at ICM/Kent
have been supported in part by United States NSF Grant CCR-9721343 and CCR-0201772