MathGroup Archive 2002

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

Search the Archive

Simplifying the *Individual Coefficients* in Series Expansions?


I have a long expression  f   that involves integers times various 
powers of symbols  b  and  x, i.e.

    f = ratio of two lengthy polynomials in  b  and  x

If I series expand this in  x , viz.

    fS  = Series[f,  {x, 0, 2}] // Normal

I get an answer in the form

    fS =  c1 x + c2 x^2

where the coefficients  c1  and  c2   in the resulting series expansion 
come out as rather messy expressions (ratios of polynomials).  In my 
problem, however, these coefficients actually happen to simplify 
substantially (since there are common factors in their numerators and 
denominators), and I'd like to have them in simplified form.  But if I 
write

    fS // Simplify

I'm back in lengthy polynomial form; and if I try something like

    fS = (Coefficient[fS, x] // Simplify) x + 
                                (Coefficient[fS, x^2] // Simplify) x^2

I get an expression that looks great, but will not evaluate numerically.

Any easy way around this?


  • Prev by Date: Re: Absolute Value of Complex Numbers
  • Next by Date: RE: Yet another bug in LaplaceTransform
  • Previous by thread: Re: Question about yet another bug in Sum
  • Next by thread: Re: Simplifying the *Individual Coefficients* in Series Expansions?