Info

This note is entirely based on the more comprehensive Chebyshev Approximation and How It Can Help You Save Money, Win Friends, and Influence People

The problem we want to solve is how to efficiently approximate functions as hardware, for when speed is essential. An example would be the approximation of trigonometric functions, frequently used, as specific chips.

The suggested solution relies on doing a Taylor series expansion of a function around a point . The choice of point and coefficients depends on the range over which we want to approximate the function, since the errors rise as we get further away from . The recommendation is to

  1. Make a linear transformation such that the range of interest is when expressed as a function of
  2. Calculate the coefficients of the Chebyshev Polynomials by taking , i.e. the Inner Product over the interval . This can be better achieved in Python using numpyā€™s chebfit.