series/leadterm
find the leading term of a series expansion
Calling Sequence
Parameters
Description
Examples
series('leadterm'(expr), eqn)
series('leadterm'(expr), eqn, n)
expr
-
expression
eqn
equation (such as x=a) or name (such as x)
n
(optional) non-negative integer
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 the third argument n is present then it specifies the ``truncation order'' of the series. If n is not present, the ``truncation order'' is determined by the global variable Order. The user may assign any non-negative integer to Order. The default value of Order is 6.
If the first argument to series consists of a function call to leadterm, then only the first (the lowest degree) term of the series of expr is computed.
When series is invoked with leadterm, it is still subject to the constraint of the global variable Order; the series will only be computed up to degree Order. Thus, if series/leadterm is called on an expression whose leading term is of higher degree than Order, an error results. However, Order may be set arbitrarily high when using the leadterm option, without wasted computation, since only the first term is actually computed.
int⁡exp⁡x3,x
−−123⁢2⁢x⁢−113⁢π⁢33⁢Γ⁡23⁢−x313−x⁢−113⁢Γ⁡13,−x3−x3133
series⁡leadterm⁡,x=0
x
series⁡leadterm⁡xx,x=0,3
1
sqrt⁡sin⁡x
sin⁡x
series⁡leadterm⁡,x=0,4
See Also
Order
series
Download Help Document