leadterm - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


series/leadterm

find the leading term of a series expansion

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

series('leadterm'(expr), eqn)

series('leadterm'(expr), eqn, n)

Parameters

expr

-

expression

eqn

-

equation (such as x=a) or name (such as x)

n

-

(optional) non-negative integer

Description

• 

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.

Examples

intexpx3,x

−1232x−113π33Γ23x313x−113Γ13,x3x3133

(1)

seriesleadterm,x=0

x

(2)

seriesleadtermxx,x=0,3

1

(3)

sqrtsinx

sinx

(4)

seriesleadterm,x=0,4

x

(5)

See Also

Order

series