If the second argument is x then the equation is assumed.
You can alternatively return the series converted into a polynomial using the oterm option:
The third argument specifies the "truncation order" of the series calculations.
The truncation order may be lower than expected if cancellation happens.
The caching mechanism is used when series is called again with the original truncation order, leading to a more accurate result than before.
The cache can be cleared by means of the command forget.
The result of the series function will be represented in ordinary sum-of-products form, rather than in a series data structure, if it is a generalized series requiring fractional exponents.
The same holds for expansions at .
An example with algebraic number coefficients. By default, series returns a result with a division by an unrecognized zero in the leading term:
Defining appropriately helps. Note that we also need to clear the cache of series first.