TITLE: Taylor approximation is not optimal
QUESTION [5 upvotes]: My professor gave a lecture on an orthogonal polynomial based approximation and its advantage over the Taylor series expansion. And his statement was ``in weighted $L_2$ space, Taylor series expansion is not optimal in inner product sense, whereas basis is optimal in the orthogonal polynomial approximation."  Roughly I know that Taylor series approximation has some limitations such as function should be analytic or infinitely differentiable. But how Taylor series is not optimal in inner product sense?
Any suggestions towards finding the reason would greatly be appreciated.

REPLY [2 votes]: As a simple explanation why: The Taylor polynomial gives you the best possible approximation at one single point, and the further away you are from this point, the worse the approximation. The Taylor polynomial doesn’t even try to keep the error low when you are away from that point.
Polynomials that find an approximation minimising some norm tend to keep the error down over a whole range of values. They have to, since the errors over the whole range contribute to the error norm that is minimised.
Interpolating polynomials can be trouble if you don’t watch out at which points you interpolate. A method that is mostly numerical is minimising the maximum error over an interval; Chebyshev has a nice theorem for that. If you do numerical mathematics and want the highest possible numerical precision, you minimise the sum of polynomial error and rounding error. And you take into account that your polynomial coefficients should be floating point numbers.