Re: Removing constant multiples from polynomials

*To*: mathgroup at smc.vnet.net*Subject*: [mg73437] Re: [mg73383] Removing constant multiples from polynomials*From*: Adriano Pascoletti <pascolet at dimi.uniud.it>*Date*: Fri, 16 Feb 2007 01:04:44 -0500 (EST)*References*: <200702150955.EAA04553@smc.vnet.net>

Coefficient[poly, x*y,1] returns the coefficient of x*y in poly, so In[1]:= (#1/Coefficient[#1, x*y, 1] & )[1276*(x - 1)*((y - 2)/397)] Out[1]= (-1 + x)*(-2 + y) should solve your problem. Adriano Pascoletti On 15 feb 2007, at 10:55, Azumanga wrote: > I am working on an algorithm which manipulates sets of polynomials. > Often it produces (after an application of FullSimplify) polynomials > like: > > 1276(x-1)(y-2)/397 > > I'm only interested in the solutions to the polynomial, so to me this > is "equivalent" to: > > (x-1)(y-2) > > As a short-term solution I call "GroebnerBasis" on the single > polynomial, which seems to perform this simplification. However is > there a simpler method? > > Thank you, > > Chris > >

**References**:**Removing constant multiples from polynomials***From:*"Azumanga" <4zumanga@gmail.com>