generalized series expansion
series(expr, x=a, n)
name; the series variable
(optional) algebraic expression; the expansion point
(optional) non-negative integer; the expansion order
The series function computes a truncated series expansion of expr, with respect to the variable x, about the point a, up to order n.
If a is not given, it defaults to 0. If a is infinity, then an asymptotic expansion is computed.
The series function of the MultiSeries package is intended to be used in the same manner as the top-level series function.
Like the series function, when the result is a power series expansion, it is returned using the series type and otherwise it is represented in ordinary sum-of-products form.
The underlying engine for computing expansions is the MultiSeries[multiseries] function. In particular, the variable x is assumed to tend to its limit point a in the manner described in MultiSeries[multiseries].
The precision n can be infinity. In that case, the computation will terminate either when the input is a polynomial or when it contains a O⁡... term. This last functionality provides a way to compute an expansion up to a given absolute precision.
The environment variable Order determines the default precision used in intermediate computations when the working precision n is not specified on input.
In rare cases, it might be necessary to increase the value of the global variable Order in order to improve the ability of series to solve problems with significant cancellation. This is made explicit by an error message coming from multiseries.
It can also happen that the result is wrong because Testzero failed to recognize that the leading coefficient of a multiseries expansion happens to be 0. In those cases, it is necessary to modify this environment variable (see Testzero).
Download Help Document