Re: gcd of two polynomials over Q[i]
- From: Waldek Hebisch <hebisch@xxxxxxxxxxxxxxxx>
- Date: Fri, 15 Dec 2006 13:53:24 +0000 (UTC)
Jeremy Watts <stevie4545@xxxxxxxxxxx> wrote:
this is carrying on from my previous post. i have attempted to find the gcd
of the following polynomials using the "wims" site,
http://wims.unice.fr/wims/wims.cgi?session=BO38B7C34A.3&lang=en&cmd=reply&mo
dule=tool%2Farithmetic%2Fbezout.en&x1=%286%2F5%29x%5E4%2B%28-39%2F5%2B622%2F
65i%29x%5E3%2B%281422%2F65-311%2F5i%29x%5E2%2B%28-72%2B5598%2F65i%29x%2B1296
%2F13&x2=%289%2F5%29x%5E3%2B%2857%2F5-24%2F13i%29x%5E2%2B%28-24-152%2F13i%29
x%2B320%2F13i&gcdlcm=yes&eucdiv=yes&euc1=1&euc2=2
Sorry, from this it is hard to see what your polynomials look like.
it seems to use the standard euclidean algorithm to accomplish this, but
from what i can see the gcd is :-
((8978642999775/15211817454289-11763279964575/15211817454289I)
x+(-156843732861000/197753626905757-119715239997000/197753626905757i))
but it claims that the gcd is 3/5x-8/13i (which is indeed the correct
answer)
How does it get from the answer with these horrifically high numbers to
3/5x - 8/13i ? My guess was that it divides throughout by the gcd of the
two complex numbers ie. the one being the coefficient of x, the other being
the constant term, hence my first post on complex gcd's.
is this correct? how does it finally arrive at 3/5x - 8/13i ?
Using Axiom and its factor command on your first polynomial I get:
8978642999775 11763279964575 40
(8) (-------------- - -------------- %i)(x - -- %i)
15211817454289 15211817454289 39
Using factor on the second polynomial I get:
3 40
(12) - (x - -- %i)
5 39
As you can see factor command here is has not much to do: since the
polynomials are of degree 1 all it has to do is to divide free term
by the coefficient of x.
Since gcd over fields is determined only up to constant both answers
are equivalent. How wims got the second ansver: it is probably an
artifact of algorithm used by wims.
--
Waldek Hebisch
hebisch@xxxxxxxxxxxxxxxx
.
- References:
- gcd of two polynomials over Q[i]
- From: Jeremy Watts
- gcd of two polynomials over Q[i]
- Prev by Date: Re: euclidean algorithm over Q[i]
- Next by Date: A problem in mathematical logic
- Previous by thread: Re: gcd of two polynomials over Q[i]
- Next by thread: Re: gcd of two polynomials over Q[i]
- Index(es):
Relevant Pages
|
Loading