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

Online Help

All Products    Maple    MapleSim


MultiSeries

  

taylor

  

Taylor expansion

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

taylor(expr, x)

taylor(expr, x=a)

taylor(expr, x=a, n)

Parameters

expr

-

algebraic expression

x

-

name; the series variable

a

-

(optional) algebraic expression; the expansion point

n

-

(optional) non-negative integer; the expansion order

Description

• 

The taylor function computes a truncated Taylor 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.

• 

The taylor function of the MultiSeries package is intended to be used in the same manner as the top-level taylor function.

• 

If the given expression does not have a Taylor expansion around a, then taylor issues an error. In that case, the MultiSeries[series] or MultiSeries[multiseries] functions can be used to obtain a more general series expansion.

• 

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].

• 

In rare cases, it might be necessary to increase the value of the global variable Order in order to improve the ability of taylor 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).

Examples

withMultiSeries:

taylorx1xx2,x=0

x+x2+2x3+3x4+5x5+Ox6

(1)

taylorexpx,x=0,8

1+x+12x2+16x3+124x4+1120x5+1720x6+15040x7+Ox8

(2)

taylorcosxx,x

Error, (in MultiSeries:-taylor) does not have a taylor expansion, try series()

seriescosxx,x

x−112x+124x31720x5+Ox6

(3)

See Also

MultiSeries

MultiSeries[asympt]

MultiSeries[LeadingTerm]

MultiSeries[limit]

MultiSeries[multiseries]

Order

series

taylor

Testzero