hypexp is hosted by Hepforge, IPPP Durham
Problems with Versions > 5.0

In the Mathematica version 5.1 and 5.2, a change in the way the Function Series works has been made, which causes some problems with the use of Series for expanding Hypergeometric functions. The change is illustrated in the following.

 Mathematica 5.0 Mathematica 5.1, 5.2 In:= f /: Series[f[x_], {x_, 0, n_}] := g[n] In:= Series[f[x], {x, 0, 2}] Out= g In:= Series[1 + f[x], {x, 0, 2}] Out= 1 + g In:= f /: Series[f[x_], {x_, 0, n_}] := g[n] In:= Series[f[x], {x, 0, 2}] Out= g In:= Series[1 + f[x], {x, 0, 2}]                                        2                                f'' x        3 Out= (1 + f) + f' x + --------- + O[x]                                    2

The newer versions of Mathematica do not use the definition of the series expansion but use the Tailor expansion.

As a consequence, the use of Series with HypExp might fail if the hypergeometric function or its derivative are not defined for vanishing expansion parameter.

What works:

- Series of a single hypergeometric function
- Series of  a single hypergeometric function times a coefficient
- a sum containing one or more hypergeometric function times a coefficient

 In:= <

What does not work:

- Series of  powers of hypergeometric functions
- Series of  functions of hypergeometric functions

The function HypExp is not concerned by this problem and works for all 5.* versions.

--- last update:  10 Jan 2006