MathGroup Archive 2007

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

Search the Archive

Re: extracting fractional powers of series expansion?

  • To: mathgroup at
  • Subject: [mg78294] Re: [mg78225] extracting fractional powers of series expansion?
  • From: DrMajorBob <drmajorbob at>
  • Date: Wed, 27 Jun 2007 05:41:31 -0400 (EDT)
  • References: <26733444.1182852184761.JavaMail.root@m35>
  • Reply-to: drmajorbob at

For example:

Series[Sqrt[Sin[x]], {x, 0, 10}]
% // FullForm



The first argument to SeriesData is the variable (x in this case) that's  
raised to powers in the sum. The last argument, 2, is the denominator of  
all the powers... so we're really talking about powers of Sqrt[x]. Those  
powers range from 1 to 21 (the fourth and fifth arguments). The third  
argument is the list of coefficients.

You can puzzle things out from there, if necessary, but this also works:

SeriesCoefficient[Sqrt[Sin[x]], {x, 0, 21/2}]


Here's a more complicated example:

Series[x!, {x, Infinity, 5}]
% // FullForm

E^SeriesData[$CellContext`x, Infinity, {-1 - Log[$CellContext`x^(-1)]},  
-1, 6, 1]*SeriesData[$CellContext`x, Infinity, {Sqrt[2*Pi], 0, Rational[1,  
6]*Sqrt[Rational[1, 2]*Pi], 0, Rational[1, 144]*Sqrt[Rational[1, 2]*Pi],  
0, Rational[-139, 25920]*Sqrt[Rational[1, 2]*Pi], 0, Rational[-571,  
1244160]*Sqrt[Rational[1, 2]*Pi], 0, Rational[163879,  
104509440]*Sqrt[Rational[1, 2]*Pi]}, -1, 11, 2]


The first argument of Times is, of course, a function to be multiplied by  
the second argument:

E^SeriesData[x, Infinity, {-1 - Log[x^(-1)]}, -1, 6, 1]


The second argument of Times is a series with fractional powers, much like  
the first example, but now the simple extraction method doesn't work, since

SeriesCoefficient[x!, {x, Infinity, 9/2}]

returns unevaluated.

I'm not sure there's any method that works in every case, but you can see,  
I hope, how you'd have to proceed in an individual case. Good luck!


On Tue, 26 Jun 2007 03:32:16 -0500, Tanim Islam <tanim.islam at>  

> Hi:
> How do I extract a given fractional power term in a series expansion? For
> instance, I do a series expansion of a function about infinity. How do I
> extract the -1/2 power term with, say, SeriesCoefficient. I am using
> Mathematica 6.
> Tanim Islam

DrMajorBob at

  • Prev by Date: Re: ColorSchemes Palette
  • Next by Date: Re: Mind+Mathematica
  • Previous by thread: Re: extracting fractional powers of series expansion?
  • Next by thread: Re: Re: extracting fractional powers of series expansion?