Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

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

Search the Archive

Shortening Polynomials

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg413] Shortening Polynomials
  • From: corcoran (Stephen Corcoran) <corcoran%markov.stats at comlab.oxford.ac.uk>
  • Date: Wed, 18 Jan 1995 12:41:12 +0000

Dear Mathgroupers,

Many thanks for all the replies I got for my previous requests.  I
have a feeling this may be trivial, but I often want to shorten
polynomials, after using Expand.  At the moment, I use the following
type of unwieldy expression:

t1 = a0 + a1 q + a2 q^2 ;
Expand[%^4] /. {q^3->0,q^4->0,q^5->0,q^6->0,q^7->0,q^8->0};

Is there a neater way to collect powers up to order m after
expanding a polynomial?

Thanks,
Stephen

--------------------------------------------------------------------------
Stephen Corcoran,		email:	corcoran at stats.ox.ac.uk (internet)
Dept. of Statistics,			corcoran at uk.ac.ox.stats (janet)
University of Oxford,
1, South Parks Road		phone:  (0865) 272879
OXFORD, OX1 3TG			fax:	(0865) 272595
--------------------------------------------------------------------------


  • Prev by Date: Mathematica TIFF question for Jeffrey Adams
  • Next by Date: DirectionFieldPlot[]
  • Previous by thread: Mathematica TIFF question for Jeffrey Adams
  • Next by thread: Re: Shortening Polynomials