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 2004

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

Search the Archive

RE: FactorTerms

  • To: mathgroup at
  • Subject: [mg46063] RE: [mg46053] FactorTerms
  • From: "David Park" <djmp at>
  • Date: Wed, 4 Feb 2004 02:29:32 -0500 (EST)
  • Sender: owner-wri-mathgroup at


Do you mean that you want a list of the two parts?

PA = 16*a0 + 16*a1*z + 16*a2*z^2 + 16*a3*z^3 + 16*a4*z^4;
PAfactored = FactorTerms[PA];
List @@ PAfactored

or any of these others...

Table[Part[PAfactored, i], {i, 1, 2}]

{First[#], Rest[#]} &[PAfactored]

Array[Part[PAfactored, #] &, 2]

David Park
djmp at 

From: Carlos Felippa [mailto:carlos at]
To: mathgroup at

Suppose I have the polynomial

PA=16*a0 + 16*a1*z + 16*a2*z^2 + 16*a3*z^3 + 16*a4*z^4;



16*(a0 + a1*z + a2*z^2 + a3*z^3 + a4*z^4)

How do I extract the 16 and the (...)?

  • Prev by Date: Re: help for time series basic operations
  • Next by Date: simplifying first-order diff eq solution
  • Previous by thread: Re: FactorTerms
  • Next by thread: Re: FactorTerms