MathGroup Archive 2002

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

Search the Archive

Re: dropping higher order terms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32634] Re: [mg32596] dropping higher order terms
  • From: BobHanlon at aol.com
  • Date: Fri, 1 Feb 2002 02:02:40 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 1/31/02 2:58:45 AM, cej38 at email.byu.edu writes:

>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?
>

Normal[Series[f[x]/g[x], {x, 0, 2}]]*g[x]

Bob Hanlon
Chantilly, VA  USA


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