MultiSeries
LeadingTerm
find the leading term of a generalized series expansion
Calling Sequence
Parameters
Description
Examples
LeadingTerm(expr, x)
LeadingTerm(expr, x=a)
expr
-
algebraic expression
x
name; the series variable
a
algebraic expression; the expansion point
The LeadingTerm function computes a function that is equivalent to expr as the variable x tends to its limit point a. If a is not given, it defaults to 0.
When the limit of expr is finite and nonzero, LeadingTerm returns this limit.
The underlying engine for computing expansions is the MultiSeries[multiseries] function. In particular, the variable x is assumed to tend to its limit point in the manner described in MultiSeries[multiseries].
In rare cases, it might be necessary to increase the value of the global variable Order in order to improve the ability of LeadingTerm 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).
The result is in product-of-powers form.
with⁡MultiSeries:
LeadingTerm⁡xx,x=0
1
LeadingTerm⁡sqrt⁡sin⁡x,x
LeadingTerm⁡Γ⁡x+exp⁡−xΓ⁡x−1,x=∞
ln⁡xⅇx
See Also
MultiSeries[limit]
MultiSeries[multiseries]
Order
series[leadterm]
Testzero
Download Help Document