MathGroup Archive 1996

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

Search the Archive

Re: Coefficient in multivariate series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3626] Re: Coefficient in multivariate series
  • From: Paul Abbott <paul at earwax.pd.uwa.edu.au>
  • Date: Sat, 30 Mar 1996 02:46:22 -0500
  • Organization: University of Western Australia
  • Sender: owner-wri-mathgroup at wolfram.com

Samuel Bengmark wrote:
>
> I wonder if anyone out there knows how to get mathematica
> to extract a coefficient of a monomial in a multivariate to
> series or polynomial. For example how do I get mathematica to
> give me the coefficient of x*y*z^3 in (1+x+y)^2*(2+y)*(5+z)^4.

How about

	Coefficient[Expand[(1+x+y)^2 (2+y) (5+z)^4], x y z^3]

	120

Cheers,
	Paul 

_________________________________________________________________ 
Paul Abbott
Department of Physics                       Phone: +61-9-380-2734 
The University of Western Australia           Fax: +61-9-380-1014
Nedlands WA  6907                         paul at physics.uwa.edu.au 
AUSTRALIA                           http://www.pd.uwa.edu.au/Paul
_________________________________________________________________

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Coefficient in multivariate series
  • Next by Date: Creating and Opening Files on a Mac...
  • Previous by thread: Re: Coefficient in multivariate series
  • Next by thread: addressing matrix elements