MathGroup Archive 2009

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

Search the Archive

Re: Factor

  • To: mathgroup at
  • Subject: [mg104304] Re: Factor
  • From: dh <dh at>
  • Date: Tue, 27 Oct 2009 04:57:36 -0500 (EST)
  • References: <hbotq6$lcv$>


the function Coefficient will do what you want.

Coefficient[polx,x] or Coefficient[polx,x,1]

gives the terms linear in x

Coefficient[poly,x^2] or Coefficient[polx,x,2]

gives the quadratic term

Coefficient[poly,x,{0,1,2}] or Coefficient[poly,x,Range[0,2]]

gives the zero 1 and 2. order term.


micmac wrote:

> Hi all,

> I would like to Factor an expression which is a polynome of 3 different

> variables.

> How can I factor it for one particular variable ? by using mathematica


> is there a syntax like Factor[expression,particular variable]


> thanks,


> Julien


  • Prev by Date: Re: Summing all the elements along a dimension in a matrix
  • Next by Date: Ill-conditioned linear system
  • Previous by thread: Factor
  • Next by thread: NotebookOptionsInspector