MathGroup Archive 2002

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

Search the Archive

RE: dropping higher order terms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32631] RE: [mg32596] dropping higher order terms
  • From: "Higinio Ramos" <higra at usal.es>
  • Date: Fri, 1 Feb 2002 02:02:34 -0500 (EST)
  • References: <200201310645.BAA04271@smc.vnet.net>
  • Reply-to: "Higinio Ramos" <higra at usal.es>
  • Sender: owner-wri-mathgroup at wolfram.com

Try
(Series[f(x)/g(x),{x,0,2}]//Normal) * g(x)
Higinio

----- Original Message ----- 
From: Chad Junkermeier <cej38 at email.byu.edu>
To: mathgroup at smc.vnet.net
Subject: [mg32631] [mg32596] dropping higher order terms


> I have a problem where I have a function of the form
> 
> f(x) = (a0 x^0 + a1 x^1 +a2 x^2 + ...+ aN x^N) * g(x)
> 
> I would like to be able to get rid of the higher order terms without
> altering the form of g(x).  Resulting in:
> 
> f(x) = (a0 x^0 + a1 x^1 +a2 x^2) * g(x)
> 
> I tried the following:
> 
> Series[f(x)/g(x),{x,0,2}] * g(x)
> 
> But this gives the wrong answer.   How can I do this?
> 
> Chad Junkermeier
> 
> Department of Physics and Astronomy
> 
> Brigham Young University
> 
> email: junkermeier at byu.edu
> 
> phone: 801-368-3529
> 
> 
> 
> 
> 



  • Prev by Date: Re: help: recursive functions
  • Next by Date: RE: redefine Power[A_?MatrixQ,-1]
  • Previous by thread: Re: dropping higher order terms
  • Next by thread: RE: dropping higher order terms