# Minimax approximation algorithm

A minimax approximation algorithm (or L approximation or uniform approximation) is a method to find an approximation of a mathematical function that minimizes maximum error.[1][2]

For example, given a function ${\displaystyle f}$ defined on the interval ${\displaystyle [a,b]}$ and a degree bound ${\displaystyle n}$, a minimax polynomial approximation algorithm will find a polynomial ${\displaystyle p}$ of degree at most ${\displaystyle n}$ to minimize

${\displaystyle \max _{a\leq x\leq b}|f(x)-p(x)|.}$[3]

## Polynomial approximations

The Weierstrass approximation theorem states that every continuous function defined on a closed interval [a,b] can be uniformly approximated as closely as desired by a polynomial function.[2] For practical work it is often desirable to minimize the maximum absolute or relative error of a polynomial fit for any given number of terms in an effort to reduce computational expense of repeated evaluation.

Polynomial expansions such as the Taylor series expansion are often convenient for theoretical work but less useful for practical applications. Truncated Chebyshev series, however, closely approximate the minimax polynomial.

One popular minimax approximation algorithm is the Remez algorithm.

## References

1. Muller, Jean-Michel; Brisebarre, Nicolas; de Dinechin, Florent; Jeannerod, Claude-Pierre; Lefèvre, Vincent; Melquiond, Guillaume; Revol, Nathalie; Stehlé, Damien; Torres, Serge (2010). Handbook of Floating-Point Arithmetic (1 ed.). Birkhäuser. p. 376. doi:10.1007/978-0-8176-4705-6. ISBN 978-0-8176-4704-9. LCCN 2009939668.
2. Phillips, George M. (2003). "Best Approximation". Interpolation and Approximation by Polynomials. CMS Books in Mathematics. Springer. pp. 49–11. doi:10.1007/0-387-21682-0_2. ISBN 0-387-00215-4.
3. Powell, M. J. D. (1981). "7: The theory of minimax approximation". Approximation Theory and Methods. Cambridge University Press. ISBN 0521295149.