Scholars Gate
Find a TutorOnline Tutoring
GuidesHow It WorksBecome a Tutor
Log inGet Started
All guides
MathematicsUndergraduate 10 min read

Taylor Series, Visualised

Add one term at a time and watch a simple polynomial mould itself into sin x, eˣ, or 1/(1−x) — until it suddenly cannot.

The ScholarsGate Maths Team·Updated 03 Jul 2026

On this page

  • The big idea
  • Add terms, watch it fit
  • The Taylor formula
  • When it works (and fails)
  • Worked examples
  • Common mistakes
  • FAQ

How does a calculator find sin⁡(1.2)\sin(1.2)sin(1.2) or e0.5e^{0.5}e0.5? It doesn’t “know” them — it adds up a polynomial. A Taylor series rebuilds almost any smooth function as an infinite sum of powers of xxx, using only the function’s derivatives at a single point. Add terms one at a time and watch a plain polynomial mould itself into the curve.

The big idea

Suppose you want to copy a function near x=0x=0x=0 using a polynomial. Match the value there and you get a horizontal line at the right height. Also match the slope and you get the tangent line — better. Match the curvature (second derivative) too and a parabola hugs the curve more closely. Keep matching higher derivatives and the polynomial clings to the function over a wider and wider range.

A Taylor series is the polynomial that agrees with a function’s value and all its derivatives at one point.

Add terms, watch it fit

Slide the number of terms up and watch the gold approximation snap onto the navy curve. For sin⁡x\sin xsinx, cos⁡x\cos xcosx and exe^xex the fit just keeps improving everywhere. For 1/(1−x)1/(1-x)1/(1−x), something different happens — keep an eye on what occurs past x=1x=1x=1.

InteractiveTaylor polynomials converging
Loading interactive…
More terms → a closer fit. The 1/(1−x) example diverges outside |x| < 1, however many terms you add.
Text description ↓Hide text description ↑

An interactive plot comparing a function (navy) with its Maclaurin polynomial (gold) as the number of terms increases. Maclaurin series used:

  • sin x = x − x³/3! + x⁵/5! − … (converges for all x)
  • cos x = 1 − x²/2! + x⁴/4! − … (converges for all x)
  • eˣ = 1 + x + x²/2! + x³/3! + … (converges for all x)
  • 1/(1−x) = 1 + x + x² + x³ + … (converges only for |x| < 1)

The Taylor formula

Centred at a point aaa, the Taylor series of fff is

f(x)=∑n=0∞f(n)(a)n! (x−a)n=f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+⋯f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}\,(x-a)^n = f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\cdotsf(x)=n=0∑∞​n!f(n)(a)​(x−a)n=f(a)+f′(a)(x−a)+2!f′′(a)​(x−a)2+⋯

Each coefficient is a derivative divided by a factorial. The n!n!n! is what makes it work: differentiating (x−a)n(x-a)^n(x−a)n exactly nnn times produces n!n!n!, which the coefficient cancels, so the nnn-th derivative of the series matches f(n)(a)f^{(n)}(a)f(n)(a) perfectly.

Maclaurin = Taylor at 0

When a=0a=0a=0 the formula simplifies to the Maclaurin series, the version in the interactive:

f(x)=f(0)+f′(0) x+f′′(0)2!x2+f′′′(0)3!x3+⋯f(x)=f(0)+f'(0)\,x+\frac{f''(0)}{2!}x^2+\frac{f'''(0)}{3!}x^3+\cdotsf(x)=f(0)+f′(0)x+2!f′′(0)​x2+3!f′′′(0)​x3+⋯

When it works — and when it fails

A truncated Taylor series is only an approximation, and it’s only trustworthy within the radius of convergence: the distance from the centre inside which the infinite sum actually equals the function. Outside it, adding terms makes things worse, not better.

The geometric series 1+x+x2+⋯=11−x1+x+x^2+\cdots=\frac{1}{1-x}1+x+x2+⋯=1−x1​ is the classic warning. It converges only for ∣x∣<1|x|<1∣x∣<1. At x=1x=1x=1 the function blows up, and the polynomial can never follow it there — which is exactly what you saw diverging in the interactive.

Assuming more terms always helps

More terms only help inside the radius of convergence. Past it, the partial sums swing off to infinity no matter how many you add. Always know where your series is valid.

Worked examples

1Worked example — deriving the series for eˣ

Every derivative of exe^xex is exe^xex, and e0=1e^0=1e0=1, so every coefficient f(n)(0)=1f^{(n)}(0)=1f(n)(0)=1:

ex=1+x+x22!+x33!+⋯e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdotsex=1+x+2!x2​+3!x3​+⋯
2Worked example — approximating sin(0.2)

Using sin⁡x≈x−x36\sin x \approx x - \tfrac{x^3}{6}sinx≈x−6x3​ with x=0.2x=0.2x=0.2:

0.2−0.236=0.2−0.001333…≈0.19867.0.2 - \frac{0.2^3}{6} = 0.2 - 0.001333\ldots \approx 0.19867.0.2−60.23​=0.2−0.001333…≈0.19867.

The true value is 0.198669…0.198669\ldots0.198669… — two terms already give five-figure accuracy near 0.

Your turn

Write down the first three non-zero terms of the Maclaurin series for cos⁡x\cos xcosx.

Show the answer ↓Hide the answer ↑

cos⁡x=1−x22!+x44!−⋯\cos x = 1 - \dfrac{x^2}{2!} + \dfrac{x^4}{4!} - \cdotscosx=1−2!x2​+4!x4​−⋯, i.e. 1−x22+x4241 - \tfrac{x^2}{2} + \tfrac{x^4}{24}1−2x2​+24x4​.

Key takeaways
  • A Taylor series rebuilds a function as an infinite polynomial from its derivatives at one point.
  • Coefficients are f(n)(a)/n!f^{(n)}(a)/n!f(n)(a)/n!; a Maclaurin series is the special case a=0a=0a=0.
  • Truncating gives a polynomial approximation that improves with more terms — inside the radius of convergence.
  • Outside that radius (e.g. ∣x∣≥1|x|\ge 1∣x∣≥1 for 1/(1−x)1/(1-x)1/(1−x)) the series diverges.

Frequently asked questions

What is a Taylor series?+
A Taylor series expresses a function as an infinite sum of power terms built from its derivatives at a single point. Truncating it gives a polynomial that approximates the function near that point, getting better as you include more terms.
What is the difference between a Taylor and a Maclaurin series?+
A Maclaurin series is simply a Taylor series centred at x = 0. The Taylor series is the general case centred at any point x = a.
What is the radius of convergence?+
It is the distance from the centre within which the series actually converges to the function. For example, the series for 1/(1−x) only converges for |x| < 1, so its radius of convergence is 1; outside that the polynomial diverges even though the function is still defined.
Why are Taylor series useful?+
They let computers evaluate sin, cos, eˣ and logs; they linearise hard problems in physics and engineering; and they underpin numerical methods, error analysis and much of applied mathematics.
SM

The ScholarsGate Maths Team

Oxbridge & Russell Group maths tutors

Written and reviewed by ScholarsGate tutors who teach A-Level and undergraduate mathematics. Every explainer is checked for accuracy against the AQA, Edexcel and OCR specifications.

Keep exploring

A-Level Maths tutorsUndergraduate Maths tutorsThe chain rule, made intuitiveSimple harmonic motion (Physics)

Want a tutor to walk you through it?

Book a DBS-checked Undergraduate Mathematics tutor for a 1-on-1 lesson — online or in person.

Find a Undergraduate Mathematics tutor
Scholars GateTutoring & Learning

ScholarsGate (Scholars Gate) is a premium UK tutoring marketplace connecting ambitious students with expert tutors across every subject, level, and admissions pathway.

hello@scholarsgate.co.uk
+44 7544 736438
Bath, United Kingdom

Platform

  • Find a Tutor
  • Online Tutoring
  • How It Works
  • Become a Tutor
  • Interactive Guides
  • Blog
  • FAQ

Subjects

  • Mathematics & Computing
  • Natural Sciences
  • Humanities
  • Languages
  • All Subjects

Admissions

  • Medicine & UCAT
  • Maths (TMUA, STEP)
  • Law & LNAT
  • Statements & Interviews
  • All Admissions
4.9/5 average tutor rating
All tutors DBS verified
Secure payments via Stripe
500+ expert tutors

© 2026 ScholarsGate Ltd. All rights reserved.

Privacy PolicyTerms of ServiceCookie PolicySafeguarding