Re: A GCD question
- From: Jeremy Boden <JeremyBoden@xxxxxxxxx>
- Date: Fri, 06 Jul 2007 18:34:13 -0700
On 6 Jul, 23:48, amzoti <amz...@xxxxxxxxx> wrote:
On Jul 6, 3:34 pm, Jeremy Boden <JeremyBo...@xxxxxxxxx> wrote:
I know it's easy to find the GCD of two integers using Euclid's
algorithm;
it's not much more difficult to find the GCD if two polynomials in a
similiar way.
But is it possible to do this for a multinomial?
I've been trying and failing to simplify
GCD(x + y, x^2 -x*y + y^2) - is this doomed to fail?
Regards,
Jeremy
Yes - it is possible.
Mathematica has a PolynomialGCD[x + y, x^2 -x*y + y^2] that returns 1
as the result.
Also see:http://icm.mcs.kent.edu/research/gcddemo.html
For a reference:
Three New Algorithms for Multivariate Polynomial GCD
T. Sasaki, M. Suzuki
Journal Title: Journal of Symbolic Computation
Date: 1992
Volume: 13
Issue: 4
p. 395 - 412
HTH - A
Thanks for that - I see the web site http://icm.mcs.kent.edu/cgi-bin/icm.demo
uses Maxima (to obtain the same result).
If I substitute specific values for x & y that I can obtain different
results for the GCD.
E.g. let x=1, y=2
GCD(1+2, 1^2 - 1*2 + 2^2) = GCD(3,3) = 3
Clearly a GCD of a multinomial (or polynomial) will not necessarily
tell me anything about a GCD using specific numeric values.
Regards,
.
- Follow-Ups:
- Re: A GCD question
- From: sttscitrans@xxxxxxxxx
- Re: A GCD question
- References:
- A GCD question
- From: Jeremy Boden
- Re: A GCD question
- From: amzoti
- A GCD question
- Prev by Date: exercise on group rings
- Next by Date: Make Money Now!!!
- Previous by thread: Re: A GCD question
- Next by thread: Re: A GCD question
- Index(es):
Relevant Pages
|