This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
 Mathematica Tutorial

The Padé approximation is a rational function that can be thought of as a generalization of a Taylor polynomial. A rational function is the ratio of polynomials. Because these functions only use the elementary arithmetic operations, they are very easy to evaluate numerically. The polynomial in the denominator allows one to approximate functions that have rational singularities.
 PadeApproximant[f,{x,x0,{n,m}}] give the Padé approximation to f centered at x0 of order (n, m) PadeApproximant[f,{x,x0,n}] give the diagonal Padé approximation to f centered at x0 of order n

More precisely, a Padé approximation of order (n, m) to an analytic function f (x) at a regular point or pole x0 is the rational function where p (x) is a polynomial of degree n, q (x) is a polynomial of degree m, and the formal power series of f (x)q (x)-p (x) about the point x0 begins with the term (x-x0)n+m+1. If m is equal to n, the approximation is called a diagonal Padé approximation of order n.
Here is the Padé approximation of order (2, 4) to cos (x) at x=0.
 Out[1]=
This gives another Padé approximation of the same order.
 Out[2]=
The initial terms of this series vanish. This is the property that characterizes the Padé approximation.
 Out[3]=
This plots the difference between the approximation and the true function. Notice that the approximation is very good near the center of expansion, but the error increases rapidly as you move away.
 Out[4]=