Re: euclidean algorithm over Q[i]
- From: "Jeremy Watts" <stevie4545@xxxxxxxxxxx>
- Date: Sun, 17 Dec 2006 16:07:48 GMT
"Chip Eastham" <hardmath@xxxxxxxxx> wrote in message
news:1166365975.184923.164140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Jeremy Watts wrote:Watts
"Chip Eastham" <hardmath@xxxxxxxxx> wrote in message
news:1166276481.508680.8020@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Jeremy Watts wrote:
"Chip Eastham" <hardmath@xxxxxxxxx> wrote in message
news:1166245043.467094.262880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
G. A. Edgar wrote:
In article <62tgh.6569$Dr3.1078@xxxxxxxxxxxxxxxxxxxx>, Jeremy
my<stevie4545@xxxxxxxxxxx> wrote:
how does the euclidean algorithm proceed for numbers in Q[i] ?
usingknowledge
of abstract algebra's basic to say the least so i hope i am
itthe
complexcorrect term. i mean for complex numbers with rational real &
parts
ie. of form a/b + c/d i a,b,c,d in Z
i'm sure i have seen this somewhere but cant find reference to
becauseanywhere.
http://www.math.ohio-state.edu/~edgar/
thanks
Q[i] is a field, so greatest common divisors are easy.
Any nonzero element divides any other nonzero element.
Z[i], the Gaussian integers, may be what you remember seeing.
--
G. A. Edgar
And if the OP is interested in the Gaussian integers Z[i],
it is helpful to bear in mind that a Euclidean domain is
possessed of a norm. The "remainder" term is to have
norm less than the divisor in each application of the
division algorithm. Of course Z[i] is not an ordered ring,
so its important to pick the remainder to have minimum
norm as its defining characteristic.
The norm of z = a + bi is a^2 + b^2 in Z[i].
More discussion here:
yes of course, thank you both. the reason i'm asking this is
algorithm.i've
polynomialwritten a pretty simplistic algorithm in java that carries out
GCD, just using polynomial long division and the euclidean
http://wims.unice.fr/wims/wims.cgi?session=XKF67EF2A7.1&+lang=en&+module=too
i've been comparing the output with what 'wims' gives
assumel%2Farithmetic%2Fbezout.en
and they agree, apart from the final value for the gcd. which i
swell'.'wims' is getting somehow by avoiding intermediate 'coefficient
longi
have read that if you use 'pseudo division' rather than standard
rationalsdivision you can get around this problem when working in the
if
Are you using the Euclidean algorithm to compute
GCD's of univariate polynomials over Q[i]?
Hi Chip, yes i am using the Euclidean algorithm to compute gcd's of
univariate polynomials over Z,Z[i] and Q[i]
The statement that "they agree, apart from the final
value for the gcd" is a bit unsettling! I would assume
normalization to monic polynomials resolves any
ambiguity, and you are asking if there is strategic
advantage to using 'pseudo division' to avoid large
sized intermediate results.
when you say 'normalization to a monic' what do you mean by that? sorry
that sounds a bit basic. is this what 'pseudo division' does?
When I say "normalization to a monic", I meant that
you should compare the two results (yours and the
one obtained by the wims software) by dividing each
through by their leading coefficients. The answers
should then agree. Since the coefficients are in Q(i),
a field, and the leading coefficient is nonzero, this is
always possible.
I'm not sure what 'pseudo division' may mean, as
there are various alternative algorithms to using as
the Euclidean algorithm does repeated steps of a
"division algorithm" in which the quotient and some
remainder "smaller" than the divisor are extracted.
yes should have explained terms here i guess, 'pseudo division' is a term i
came across in 'polynomials' by maurice mignotte & doru stefanescu and is
something i havent heard of before either, its defined as being :- Let F and
G be two polynomials with G =/= 0. Let b be the leading coefficient of G
and delta = max(deg(F) - deg(G) + 1, 0). there exist unique polynomials Q,R
such that
b^delta F = QG + R , where deg(R) < deg(F)
its basically a way of dividing two polynomials where the 'divisor'
polynomial is not monic. Later also there follows a 'Generalized Euclidean
Algorithm' which uses this pseudo-division seemingly, alongside concepts
such as 'content' and 'primitive polynomials' to find GCD's - I havent yet
implemented this algorithm instead I firstly implemented the much simple
straight euclidean algorithm... hence the problems i guess with large
coefficient growth
Working over Z[i] rather than Q(i), and using least
common multiples of leading coefficients (with
subtraction to reduce degree) seems like a good
strategy for minimizing coefficient sizes, and it
could reasonably be called 'pseudo division'.
yes i did do something similar, but not at each stage of the calculation,
just at the end. i guess thats the missing piece..
However note the article I referred you to on
"heuristic GCD", which claims that this very
different approach is widely adopted by CAS
packages.
regards, chip
.
- References:
- euclidean algorithm over Q[i]
- From: Jeremy Watts
- Re: euclidean algorithm over Q[i]
- From: G. A. Edgar
- Re: euclidean algorithm over Q[i]
- From: Chip Eastham
- Re: euclidean algorithm over Q[i]
- From: Jeremy Watts
- Re: euclidean algorithm over Q[i]
- From: Chip Eastham
- Re: euclidean algorithm over Q[i]
- From: Jeremy Watts
- Re: euclidean algorithm over Q[i]
- From: Chip Eastham
- euclidean algorithm over Q[i]
- Prev by Date: Re: euclidean algorithm over Q[i]
- Next by Date: Re: Maxima for Windows?
- Previous by thread: Re: euclidean algorithm over Q[i]
- Next by thread: [Mathematica] Has anyone used Mathematica Notebook to PDF conversion portal based on webMathematica?
- Index(es):
Relevant Pages
|
Loading