Intermediate Topic 34 of 51 Math for Computing
Taylor Series
Approximating functions by polynomials.
How it works
A Taylor series approximates a smooth function near a point as an infinite polynomial built from its derivatives: f(x) equals f(a) plus f'(a)(x minus a) plus f''(a)(x minus a) squared over 2 factorial and so on. Truncating after n terms gives a Taylor polynomial with a remainder bounding the error. The Maclaurin series is the case at zero, with well-known expansions for e to the x, sine, cosine and 1 over (1 minus x). The radius of convergence tells where the series represents the function.
Where it is used
Computing functions in calculators and math libraries, linearizing nonlinear systems for Newton's method and optimization, analyzing algorithms and approximations in physics and engineering use Taylor series.
Common pitfall
The approximation is good only near the expansion point, and the series may converge only within a limited radius. Truncation error must be estimated. Alternating sign cancellation causes numerical precision loss. Not every infinitely differentiable function equals its Taylor series. Use range reduction and more efficient approximations, such as minimax polynomials, for production code.
Where it fits in the course
Taylor Series is topic 34 of 51 in Math for Computing, rated Intermediate. It follows Integrals. The next topic is Optimization.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Math for Computing quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Math for Computing quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Taylor Series?
Where do people use Taylor Series?
What is the most common mistake with Taylor Series?
What should I learn before this topic?
How can I practice it?
Is Taylor Series hard to learn?
How long does it take to learn Taylor Series?
Which topics are related to Taylor Series?
What should I study after Taylor Series?
Related topics
- Integrals (Math for Computing)
- Optimization (Math for Computing)
- Partial Derivatives and Gradients (Math for Computing)
- Convex Optimization (Math for Computing)
- Time-Series Databases (Databases)