pade - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


numapprox

  

pade

  

compute a Pade approximation

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

pade(f, x, [m, n])

pade(f, x=a, [m, n])

pade(f, x, m)

pade(f, x=a, m)

Parameters

f

-

expression representing the function to be approximated

x

-

the variable appearing in f

a

-

the finite point about which to expand in a series

m, n

-

desired degree of numerator and denominator, respectively

Description

• 

The function pade computes a Pade approximation of degree m,n for the function f with respect to the variable x.

• 

Specifically, f is expanded in a Taylor (or Laurent) series about the point x=a (if a is not specified then the expansion is about the point x=0), to order m+n+1, and then the Pade rational approximation is computed.

• 

The m,n Pade approximation is defined to be the rational function p⁡xq⁡x with deg⁡p⁡x≤m and deg⁡q⁡x≤n such that the Taylor (or Laurent) series expansion of p⁡xq⁡x has maximal initial agreement with the series expansion of f. In normal cases, the series expansion agrees through the term of degree m+n.

• 

If the order of the lowest order term in the Laurent series is a negative integer v and n+v<0, then no rational approximation with a denominator of degree at most n can exist, and an error is raised. If v&gt;m≥0, the return value is 0.

• 

If the third argument is simply an integer m, then the Taylor (or Laurent) polynomial of (relative) degree m is computed.

• 

Various levels of user information will be displayed during the computation if infolevel[pade] is assigned values between 1 and 3.

• 

The command with(numapprox,pade) allows the use of the abbreviated form of this command.

Examples

> 

with⁡numapprox&colon;

> 

pade⁡exp⁡x&comma;x&comma;3&comma;3

110⁢x2+12⁢x+1+1120⁢x3110⁢x2−12⁢x+1−1120⁢x3

(1)
> 

pade⁡1x⁢sin⁡x&comma;x=0&comma;4&comma;6

1+13396⁢x2+511088⁢x4551166320⁢x6−53396⁢x4+x2

(2)
> 

pade⁡Γ⁡x&comma;x=1&comma;1&comma;1

γ+−γ22+π212⁢x−1γ+π212+γ22⁢x−1

(3)
> 

pade⁡cos⁡x&comma;x&comma;3&comma;4

1−61⁢x2150775⁢x2+1+1200⁢x4

(4)
> 

pade⁡cos⁡x&comma;x&comma;7

1−12⁢x2+124⁢x4−1720⁢x6

(5)
> 

pade⁡exp⁡xx3&comma;x&comma;4&comma;0

Error, (in `convert/ratpoly`) no rational approximation with denominator degree <= 0

> 

pade⁡exp⁡xx3&comma;x&comma;4

1x3+1x2+12⁢x+16+x24

(6)
> 

pade⁡exp⁡x3−1&comma;x&comma;2&comma;5

0

(7)

See Also

convert[ratpoly]

numapprox/hermite_pade

numapprox[chebpade]

numapprox[laurent]

taylor