Series

The typical method of finding a series expansion is to enter the complete  expression as in  Series[(x+2)Sin[x],{x,0,5}]. or  Series[Log[x^2 + x], {x, 1, 3}].  A seldom documented trick is to get the same series expansions using  the cells below.

Clear[x] ;  (x + 2) Sin[ x] + O[x]^5

2 x + x^2 - x^3/3 - x^4/6 + O[x]^5

Log[x^2 + x] + O[x, 1]^4

Log[2] + (3 (x - 1))/2 - 5/8 (x - 1)^2 + 3/8 (x - 1)^3 + O[x - 1]^4


You can often use Series to find an asymptotic expansion provided one exists
for the function in question.  An asymptotic expansion is one where the error
gets smaller as the argument approaches infinity.  Series will try to find an
asthmatic expansion if you ask for a series about infinity.  The next cell
gives an asthmatic expansion of Erfc[x].

Series[Erfc[x], {x, ∞, 6}]

^(-x^2) (1/(π^(1/2) x) - (1/x)^3/(2 π^(1/2)) + (3 (1/x)^5)/(4 π^(1/2)) + O[1/x]^7)

The next cell gives an asthmatic expansion of ArcTan[x].

Series[ArcTan[x], {x, ∞, 6}]

π/2 - 1/x + 1/3 (1/x)^3 - 1/5 (1/x)^5 + O[1/x]^7


It turns out you must first use TrigToExp  to get an asymptotic expansion of
ArcSinnh[x].

Series[TrigToExp[ArcSinh[x]], {x, ∞, 6}]

(Log[2] - Log[1/x]) + 1/4 (1/x)^2 - 3/32 (1/x)^4 + 5/96 (1/x)^6 + O[1/x]^7

You may need to make a power series in two or three variables and truncate  it such that the sum of all exponents in each term is less than or equal to a  certain integer.  If that is the case download a package I have posted at  http://library.wolfram.com/infocenter/MathSource/4950/


Created by Mathematica  (May 16, 2004)

Back to Ted’s Tricks index page