Taylor Series Calculator
Expand functions as Taylor or Maclaurin series with AI-powered step-by-step solutions
Drag & drop or click to add images or PDF
What is a Taylor Series?
A Taylor series represents a function as an infinite polynomial built from the function's derivatives at a single point :
When , the series is called a Maclaurin series:
Why this matters: Taylor series convert calculations on possibly hard functions (, , , ) into calculations on polynomials, which computers and humans can handle. They're the foundation of numerical methods, asymptotic expansions, and approximation theory.
The Taylor polynomial of degree is the partial sum keeping terms up to . It's the best polynomial approximation of near in a precise sense (matching value and first derivatives).
How to Build a Taylor Series
Step 1: Compute Derivatives at the Expansion Point
For and expansion point , compute .
Step 2: Plug into the Formula
Common Maclaurin Series to Memorize
Radius of Convergence
A Taylor series converges only within a radius of convergence around . Find it using the ratio test:
Outside this radius, the series diverges and does not represent the function. Inside, convergence is usually uniform on compact subsets.
Manipulating Known Series
For speed, substitute, differentiate, or integrate known series instead of computing derivatives from scratch:
- (substitute into )
Common Mistakes to Avoid
- Forgetting the factorial: The th term has a , not just the derivative. Skipping this gives a wildly wrong answer.
- Using the series outside its radius of convergence: does not equal when — the series diverges there.
- Forgetting to center at : A Taylor series around uses powers of , not .
- Confusing degree and number of terms: A degree- Taylor polynomial has terms (degrees through ).
- Substitution sign errors: , so the series of has alternating signs flipped compared to .
Examples
Frequently Asked Questions
A Maclaurin series is a Taylor series centered at zero. Taylor series can be centered at any point a; choosing a strategically (often where derivatives are easy to compute) simplifies the expansion.
Inside the radius of convergence, and only if the remainder term goes to zero as the degree increases. Functions that satisfy this everywhere their series converges are called analytic. Most elementary functions (e^x, sin, cos, polynomials, rational functions) are analytic on their domains.
Use the ratio test: R = lim |a_n / a_(n+1)|. For e^x, sin, cos the radius is infinite. For 1/(1-x) it is 1. For ln(1+x) it is 1.
Among all polynomials of degree at most n, the Taylor polynomial T_n matches f's value and first n derivatives at the expansion point. This gives the smallest error among polynomials of that degree for x near a.
Related Solvers
Related Guides
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving