Re: GCD of multivariate polynomials
From: Richard Fateman (fateman_at_cs.berkeley.edu)
Date: 11/05/04
- Next message: cooch17_at_NOSPAMverizon.net: "Re: Maple 8 | subs and matrices"
- Previous message: Joe Riel: "Re: Maple 8 | subs and matrices"
- In reply to: Mitch Harris: "Re: GCD of multivariate polynomials"
- Next in thread: Z. Zeng: "Numerical method for multivariate GCD (Re: GCD of multivariate polynomials)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 05 Nov 2004 16:04:21 GMT
Mitch Harris wrote:
> Gagan Raj Gupta wrote:
>
>> I wish to know if there is a way to compute the GCD of 2 multivariate
>> polynomials.
1. Yes, there is a way.
Now for the questions you did NOT ask..
2. Just about any computer algebra system has such a capability, which
is necessary to simplify ratios of polynomials to simplest form.
3. There are public open-source programs with this capability.
4. It is a well-studied problem, and you can find simple programs
or far more elaborate programs that are efficient for large cases.
5. The names Reduced, Subresultant, Modular, EZGCD, Heuristic, Sparse,
will be found if you Google for the subject.
6. If you are writing such a program, I recommend you NOT
start with an exponential time
procedure (Buchberger's algorithm) and hope that the special case
of GCD will come out faster. You can write such a program more
directly. Assuming you already know how to represent polynomials
in several variables over the integers, and can add, multiply, and
compute remainders, a decent GCD program, say subresultant, can
fit on half a page. A useful treatment can be found in Knuth's
Art of Computer programming Volume 2. I think that the 'details'
you find in Cox etal, and books on Groebner bases will not address the computational
task, but only the mathematical implications. If that is what
you want, fine.
RJF
>>
>> For eg, the gcd of abcd + abe+c^2d+ec+ecd+e^2 and
>> abgh+abk+abl+cgh+ck+cl is ab+c+e.
>>
>> I constructed this by doing (ab+c+e)(cd+e) and (ab+c+e)(gh+k).
>
>
> (I think you meant abgh+abk+cgh+egh+ck+ek)
>
> Yes, it's possible. As with (plain old) integers, factoring is -not-
> the most efficient method (in general) for computing the gcd.
>
> What does work is a more generalized Euclidean gcd algorithm (divide
> the "larger" by the "smaller", repeat with the remainder, stop when
> you get to 0, the remainder before you get 0 is the gcd).
>
> But larger and smaller are not so obvious here you have to order the
> variables (and so then also the terms). And there are other
> complications to deal with. For the details see any book
> on Groebner bases and Buchberger's algorithm (Cox, Little, O'Shea:
> Ideals, Varieties, and Algorithms is nice).
>
- Next message: cooch17_at_NOSPAMverizon.net: "Re: Maple 8 | subs and matrices"
- Previous message: Joe Riel: "Re: Maple 8 | subs and matrices"
- In reply to: Mitch Harris: "Re: GCD of multivariate polynomials"
- Next in thread: Z. Zeng: "Numerical method for multivariate GCD (Re: GCD of multivariate polynomials)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|