Count independently adjustable coefficients
Write \(r(x)=p_m(x)/q_n(x)\) on a compact real interval. Scaling numerator and denominator together leaves the response unchanged. Require a pole-free denominator of fixed sign and a normalisation, such as \(q(0)=1\) when admissible. For \(r,s\) of the same type,
The numerator has degree at most \(m+n\). If the error of a candidate takes alternating signs with magnitude \(E\) at \(m+n+2\) ordered points and never exceeds \(E\), any strictly better pole-free approximant would force \(m+n+1\) sign changes of the numerator. That is impossible unless the difference vanishes identically. This proves sufficiency. Common factors or unused degrees cause defects and can reduce the necessary alternation count. The certificate requires the global maximum between tested points to be checked.
Recompute the extreme points after changing the pole
For \(m=n=1\), \(q=1+cx\), impose \(p(x_i)=[f(x_i)-(-1)^i E](1+cx_i)\) at four proposed points. Products \(Ec\) make this nonlinear. One Remez-type iteration solves those four equations for the coefficients and \(E\), searches between the old points for extrema of \(f-r\), then exchanges points until magnitudes agree and the denominator retains its sign. Locating roots of \((f-r)'\), plus testing endpoints, is essential. A dense sample alone gives only a lower bound on the supremum.
For an explicit example approximate \(f(x)=1/(2-x)\) on \([-1,1]\). A linear best approximant must have the endpoint-error line as a starting shape. The endpoint secant is \(s(x)=2/3+x/3\). Convexity makes \(s-f\ge0\), maximised where \(1/(2-x)^2=1/3\), hence \(x=2-\sqrt3\). Set \(d=s(x)-f(x)=(4-2\sqrt3)/3\) there. Moving the line down by \(d/2\) produces three equal alternating errors and proves optimality for degree one. The type \((0,1)\) rational function \(p=1/2,\ q=1-x/2\) gives zero error. A comparison at equal parameter count has a physical interpretation when a material response genuinely has a nearby pole.
Why does matching a series at the origin give a different optimisation problem?
Padé chooses derivatives at one point. Uniform best approximation chooses the largest error over an interval. For a response with a small additional smooth background the Padé coefficients still reproduce the local series, but its largest positive and negative errors generally have unequal magnitudes. Use held-out values near the interval boundaries.

Tutorial on poles and certificates
Give an interval-wide error bound when the fitted pole is uncertain
Work through the solution
For \(f_a=1/(a-x)\) with \(a>1+\epsilon\) and \(|\Delta a|\le\epsilon\), subtraction gives \(|f_{a+\Delta a}-f_a|\le\epsilon/[(a-1)(a-1-\epsilon)]\). A tightly fitted pole near the endpoint can still create a large uncertainty in the response.
Construct a counterexample to using a few residuals as the certificate
Work through the solution
Samples at \(-1,0,1\) all avoid \(x=0.3\). The function \(\eta/(x-0.3)\) has arbitrarily small values at those samples when \(\eta\) is small, yet unbounded interior magnitude. Verify the denominator is nonzero over the entire interval before interpreting alternation at measured points.
Trefethen · rational approximation and minimax theory
Change parameters · When should the denominator be fitted too?
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.