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 you to approximate functions that have rational singularities.

 PadeApproximant[f,{x,x0,{n,m}}] give the Padé approximation to centered at x0 of order (n,m) PadeApproximant[f,{x,x0,n}] give the diagonal Padé approximation to centered at x0 of order n

More precisely, a Padé approximation of order to an analytic function at a regular point or pole is the rational function where is a polynomial of degree , is a polynomial of degree , and the formal power series of about the point begins with the term . If is equal to , the approximation is called a diagonal Padé approximation of order .

Here is the Padé approximation of order to at :
 In:= Out= This gives another Padé approximation of the same order:
 In:= Out= The initial terms of this series vanish. This is the property that characterizes the Padé approximation:
 In:= Out= 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:
 In:= Out= In the Wolfram Language PadeApproximant is generalized to allow expansion about branch points.

This gives the diagonal Padé approximation of order to a generalized rational function at :
 In:= Out= This gives the diagonal Padé approximation of order to the logarithm of a rational function at the branch point :
 In:= Out= The series expansion of the function agrees with the diagonal Padé approximation up to order :
 In:= Out= 