It is the most important tool in numerical analysis and scientific computing. It approximates a function as an infinite sum of terms calculated from the values of its derivatives at a single point. The Taylor expansion is particularly useful for approximating complex functions with polynomials, which are easier to analyze and compute.
Suppose that you are currently at point , and you want to know the value . However, you only know the value of and . The best way to approximate is to use the first-order Taylor expansion:
If you know , you can use the second-order Taylor expansion for a better approximation:
More specifically, you could have:
What does mean?
when , , that is to say, goes to zero faster than .
A Numerical Example
For example, suppose we have a function , and we expand at .
- , thus .
- , , thus .
So the second-order Taylor expansion at is:
For small , this approximation is quite accurate. For instance, if , the accurate value is , while the Taylor approximation gives: