MathGroup Archive 2009

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

Search the Archive

Re: Factor

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


Hi,

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.



Daniel



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