Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Factoring a polynomial

  • To: mathgroup at
  • Subject: [mg37111] Re: [mg37102] Factoring a polynomial
  • From: Daniel Lichtblau <danl at>
  • Date: Thu, 10 Oct 2002 03:20:42 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

Carlos Felippa wrote:
> Can Mathematica factor the polynomial
> p1=x^6+9/14*x^5+9/28*x^4+3/35*x^3+9/700*x^2+9/8750*x+3/87500;
> without a priori knowledge of the Extension field?

The endless sci.math.symbolic thread strikes MathGroup!

Not exactly possible with no prior knowledge. Factor must work with a
given field, and the default is the rationals. You might direct it, say
by using the discriminant of the polynomial (as pointed out by Peter
Montgomery and Stephen Forrest on sci.math.symbolic. One may do this in
Mathematica as:

p1 = x^6+9/14*x^5+9/28*x^4+3/35*x^3+9/700*x^2+9/8750*x+3/87500;

I cribbed code for Discriminant right from

Discriminant[p_?PolynomialQ,x_] := With[{n = Exponent[p,x]}, 

In[3]:= InputForm[Factor[p1, Extension->Sqrt[Discriminant[p1,x]]]]

((-15*I + Sqrt[195] - (225*I)*x + 15*Sqrt[195]*x - (1125*I)*x^2 + 
   75*Sqrt[195]*x^2 - (3500*I)*x^3)*(15*I + Sqrt[195] + (225*I)*x + 
   15*Sqrt[195]*x + (1125*I)*x^2 + 75*Sqrt[195]*x^2 +

Daniel Lichtblau
Wolfram Research

  • Prev by Date: Re: Text Rotation Problem
  • Next by Date: Re: Intersection of sets of results
  • Previous by thread: Factoring a polynomial
  • Next by thread: Re: Factoring a polynomial