WhatsApp us
University Maths25 Nov 2026

Taylor Series Expansion and Maclaurin Series: A Complete Guide With Examples

The Taylor series formula, the Maclaurin series to know by heart with their intervals of convergence, four ways to build a series without differentiating ten times, error bounds, series for limits and integrals, six worked examples and practice with answers.

Taylor Series Expansion and Maclaurin Series: A Complete Guide With Examples

A Taylor series expansion writes a function as an infinite polynomial centred at a point a: f(x) = f(a) + f′(a)(x − a) + f″(a)(x − a)²/2! + f‴(a)(x − a)³/3! + ..., or in summation form ∑ f⁽ⁿ⁾(a)(x − a)ⁿ/n!. A Maclaurin series is the special case a = 0. In practice you rarely compute ten derivatives: you learn a handful of standard series and build the rest from them, then use the remainder to say how accurate a truncated polynomial is.

The formula, and what each piece does

f(x) = ∑ from n = 0 to ∞ of f⁽ⁿ⁾(a)/n! · (x − a)ⁿ

  • The centre a is where the approximation is most accurate. Choose it close to the x-values you care about and where derivatives are easy (a = 4 for √x, a = 0 for eˣ).
  • The coefficient f⁽ⁿ⁾(a)/n! makes the nth derivative of the polynomial match the function's at a.
  • The Taylor polynomial Tₙ(x) stops at the (x − a)ⁿ term. T₁ is the tangent line; T₂ adds curvature.
  • The interval of convergence is where the infinite series actually equals the function. Outside it, adding terms makes things worse.

This is a central topic of Calculus II, and of the series unit in particular; our college maths tutoring page for US students explains how online sessions with Ajay Vatsyayan cover the unit from convergence tests to error bounds.

The Maclaurin series to know by heart

functionseriesfirst termsvalid for
eˣ∑ xⁿ/n!1 + x + x²/2 + x³/6all x
sin x∑ (−1)ⁿ x²ⁿ⁺¹/(2n + 1)!x − x³/6 + x⁵/120all x
cos x∑ (−1)ⁿ x²ⁿ/(2n)!1 − x²/2 + x⁴/24all x
1/(1 − x)∑ xⁿ1 + x + x² + x³−1 < x < 1
ln(1 + x)∑ (−1)ⁿ⁺¹ xⁿ/n, from n = 1x − x²/2 + x³/3−1 < x ≤ 1
arctan x∑ (−1)ⁿ x²ⁿ⁺¹/(2n + 1)x − x³/3 + x⁵/5−1 ≤ x ≤ 1
(1 + x)ᵏ∑ C(k, n) xⁿ (binomial series)1 + kx + k(k − 1)x²/2−1 < x < 1 (endpoints depend on k)

The Taylor series of eˣ is the one most often asked for: every derivative of eˣ is eˣ, and e⁰ = 1, so every coefficient is 1/n!. Centred at a instead of 0, the series is eᵃ ∑ (x − a)ⁿ/n!.

Four ways to get a series

  1. Direct formula. Differentiate, evaluate at a, divide by n!. Needed for functions like √x about 4, or ln x about 2.
  2. Substitute. Replace x in a known series: e^(−x²) comes from eˣ with x replaced by −x².
  3. Multiply, differentiate or integrate term by term. x² sin 3x is x² times the sin series; arctan x is the integral of 1/(1 + x²).
  4. Binomial series for powers such as 1/√(1 − x) = 1 + x/2 + 3x²/8 + 5x³/16 + ...

Methods 2 to 4 are faster and less error-prone, and inside the interval of convergence they give the same series as the formula (a power series for a function is unique).

Worked example 1: a Taylor polynomial from the formula

Find the third-degree Taylor polynomial of f(x) = √x about a = 4, and use it to estimate √4.2.

nf⁽ⁿ⁾(x)f⁽ⁿ⁾(4)coefficient f⁽ⁿ⁾(4)/n!
0x^(1/2)22
1½x^(−1/2)1/41/4
2−¼x^(−3/2)−1/32−1/64
3(3/8)x^(−5/2)3/2561/512

T₃(x) = 2 + (x − 4)/4 − (x − 4)²/64 + (x − 4)³/512

At x = 4.2, x − 4 = 0.2: T₃(4.2) = 2 + 0.05 − 0.000625 + 0.0000156 = 2.0493906. The true value is 2.0493902, so the error is under 10⁻⁶.

Worked example 2: a full series and its interval

Find the Taylor series of ln x about a = 2 and its interval of convergence.

f′(x) = 1/x, f″(x) = −1/x², f‴(x) = 2/x³, and in general f⁽ⁿ⁾(x) = (−1)ⁿ⁺¹(n − 1)!/xⁿ. Dividing f⁽ⁿ⁾(2) by n! gives (−1)ⁿ⁺¹/(n 2ⁿ), so

ln x = ln 2 + ∑ from n = 1 of (−1)ⁿ⁺¹ (x − 2)ⁿ/(n 2ⁿ) = ln 2 + (x − 2)/2 − (x − 2)²/8 + (x − 2)³/24 − ...

Ratio test: |a(n+1)/a(n)| → |x − 2|/2, so the radius is 2. Check the endpoints separately:

  • x = 4: ∑ (−1)ⁿ⁺¹/n, the alternating harmonic series, converges.
  • x = 0: −∑ 1/n, the harmonic series, diverges.

The interval of convergence is 0 < x ≤ 4. Endpoint checks use the tests from our series convergence tests flowchart.

Worked example 3: building from a known series

Find the Maclaurin series of x² sin 3x, and the first three nonzero terms.

Substitute 3x into the sine series, then multiply by x²:

sin 3x = 3x − (3x)³/3! + (3x)⁵/5! − ...

x² sin 3x = ∑ (−1)ⁿ 3²ⁿ⁺¹ x²ⁿ⁺³/(2n + 1)! = 3x³ − (9/2)x⁵ + (81/40)x⁷ − ...

Valid for all x. Doing this from the formula would need the seventh derivative of x² sin 3x.

How accurate is a Taylor polynomial?

Lagrange error bound. If |f⁽ⁿ⁺¹⁾| ≤ M between a and x, then

Error: |f(x) − Tₙ(x)| ≤ M|x − a|ⁿ⁺¹/(n + 1)!

Alternating series bound. If the series at that x is alternating with decreasing terms, the error is less than the first omitted term.

Worked example 4: sin 0.5 with an error bound

T₃(0.5) = 0.5 − 0.5³/6 = 0.4791667. Because the x⁴ coefficient of sin x is 0, T₃ = T₄, so we may use n = 4 with M = 1 (every derivative of sin is at most 1 in size):

error ≤ 0.5⁵/5! = 0.0002604

The true value of sin 0.5 is 0.4794255, an error of 0.0002589: just inside the bound. Using n = 3 instead gives the weaker bound 0.5⁴/4! ≈ 0.0026.

Using series for limits and integrals

Worked example 5: a limit that would need L'Hôpital four times

Find lim (x→0) (cos 2x − 1 + 2x²)/x⁴.

cos 2x = 1 − (2x)²/2 + (2x)⁴/24 − ... = 1 − 2x² + (2/3)x⁴ − ...

So the numerator is (2/3)x⁴ + (terms in x⁶ and higher), and the limit is 2/3.

Worked example 6: an integral with no elementary antiderivative

Estimate ∫₀^0.5 e^(−x²) dx to within 0.0001.

e^(−x²) = 1 − x² + x⁴/2 − x⁶/6 + x⁸/24 − ...

Integrate term by term from 0 to 0.5:

0.5 − 0.5³/3 + 0.5⁵/10 − 0.5⁷/42 + 0.5⁹/216 − ... = 0.5 − 0.041667 + 0.003125 − 0.000186 + 0.000009 − ...

This alternates with decreasing terms, so after four terms the error is below the fifth term, 0.000009. The estimate is 0.46127, and the true value is 0.461281.

Where students lose marks

  • Forgetting the n!. The coefficient is f⁽ⁿ⁾(a)/n!, not f⁽ⁿ⁾(a). In example 1 this turns −1/32 into −1/64.
  • Writing xⁿ instead of (x − a)ⁿ for a series not centred at 0.
  • Substituting into the wrong power. e^(−x²) has terms (−x²)ⁿ = (−1)ⁿx²ⁿ, so the signs alternate and only even powers appear.
  • No endpoint check. The ratio test gives the radius only; each endpoint needs its own test, and the answers often differ (example 2).
  • Wrong n in the error bound. For sin and cos, missing zero terms let you use a better bound, but you must say why.
  • Using a series outside its interval. ln(1 + x) at x = 3 is not given by its Maclaurin series.
  • Rounding terms too early in numerical estimates; keep six or more decimal places until the end.

Practice set

  1. Find the first four nonzero terms of the Maclaurin series of x e^(2x).
  2. Find the Taylor series of 1/x about a = 3 and its radius of convergence.
  3. Use series to find lim (x→0) (ln(1 + x) − x)/x².
  4. Use the second-degree Taylor polynomial of √x about 9 to estimate √9.3.
  5. Find f⁽⁸⁾(0) for f(x) = cos(x²).
  6. Find the radius of convergence of ∑ n xⁿ/4ⁿ.

Answers:

  1. x + 2x² + 2x³ + (4/3)x⁴
  2. ∑ (−1)ⁿ (x − 3)ⁿ/3ⁿ⁺¹ = 1/3 − (x − 3)/9 + (x − 3)²/27 − ..., radius 3
  3. −1/2
  4. 3 + 0.3/6 − 0.09/216 ≈ 3.049583 (true value 3.049590)
  5. cos(x²) = 1 − x⁴/2 + x⁸/24 − ..., so f⁽⁸⁾(0)/8! = 1/24 and f⁽⁸⁾(0) = 1680
  6. The ratio test gives |x|/4 < 1, so the radius is 4

Every coefficient, estimate, limit and error above was checked in Python (sympy).

Where Taylor series lead

Taylor polynomials are the theory behind several later tools. Newton's method uses T₁, the tangent line, to find roots; see the Newton-Raphson and bisection methods. Power series solve differential equations that have no closed-form answer, a topic on our differential equations tutoring page. Error terms in numerical integration and in Runge-Kutta methods are Taylor remainders. In real analysis, the remainder is proved rigorously using limit arguments of the kind in the epsilon-delta definition of a limit.

If you met Maclaurin series in the IB, our post on IB Maths AA HL Maclaurin series and limits shows the school-level version. For the whole Calculus II picture, including how series fit with integration by parts, see how to pass Calculus 2.

How Maths Bodhi helps

Taylor series questions combine everything from the series unit: building a series, finding the interval and bounding the error. In online sessions we work through mixed questions, check your endpoint arguments and error bounds line by line and set new functions to expand. We teach and review your own work; we don't complete graded work. The university maths tutoring hub covers the courses that use these series later.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Written and checked by the Maths Bodhi team (November 2026).

Frequently asked questions

What is the Taylor series formula?
f(x) = ∑ f⁽ⁿ⁾(a)(x − a)ⁿ/n!, summed from n = 0, where a is the centre.
What is the difference between a Taylor and a Maclaurin series?
A Maclaurin series is a Taylor series centred at a = 0.
What is the Taylor series of e^x?
eˣ = ∑ xⁿ/n! = 1 + x + x²/2! + x³/3! + ..., valid for every real x.
How do you find the interval of convergence of a Taylor series?
Use the ratio test to find the radius, then test each endpoint separately with another convergence test.
How do you find the error of a Taylor polynomial?
Use the Lagrange bound M|x − a|ⁿ⁺¹/(n + 1)!, or the next term if the series is alternating with decreasing terms.
Do I need to memorise Maclaurin series for the exam?
Learning eˣ, sin x, cos x, 1/(1 − x), ln(1 + x) and arctan x saves a lot of time, since most other series are built from them.
Taylor seriesMaclaurin seriespower seriesCalculus IIcollege calculus

Related guides

Keep exploring this maths topic

University Maths18 Nov 2026

Series Convergence Tests: A Flowchart for Choosing the Right Test

A step-by-step flowchart for deciding which series convergence test to use, a cheat sheet table with each test's blind spot, seven worked examples, absolute versus conditional convergence, error bounds and practice with answers.

series convergence testsinfinite seriesCalculus IIratio test

By Maths Bodhi Team

Read guide

University Maths25 Nov 2026

How to Pass Calculus 2 in College: A Unit-by-Unit Plan

Why Calculus II feels harder than Calculus I, what to master in each unit, a weekly routine, a three-week plan for the final, exam-day habits that save marks and a ten-minute self-check with answers.

Calculus IIcalc 2 finalstudy planintegration techniques

By Maths Bodhi Team

Read guide

University Maths18 Nov 2026

Integration by Parts and the Tabular Method, With Worked Examples

The integration by parts formula, how to choose u (LIATE and when to break it), the tabular method for repeated parts and for exponential-times-trig integrals, six graded worked examples, common errors and practice with answers.

integration by partstabular methodCalculus IIintegration techniques

By Maths Bodhi Team

Read guide

University Maths25 Nov 2026

Trig Substitution Integrals and Partial Fractions: A Calculus II Guide

How to recognise when an integral needs trig substitution or partial fractions, the three trig substitutions and the decomposition forms in one table, six worked examples including a definite sec substitution and completing the square, errors to avoid and practice with answers.

trig substitutionpartial fractionsCalculus IIintegration techniques

By Maths Bodhi Team

Read guide

University Maths25 Nov 2026

Optimization Problems in Calculus: Setup, Worked Examples and Practice

How to set up and solve optimization problems in Calculus I, how to justify that an answer is the absolute maximum or minimum, six worked examples from fencing to a river crossing, the errors that lose marks and practice with answers.

optimizationCalculus Iapplications of derivativesmaxima and minima

By Maths Bodhi Team

Read guide

University Maths18 Nov 2026

The Epsilon-Delta Definition of a Limit: How to Write the Proof

What the epsilon-delta definition of a limit actually says, a two-stage method for writing the proof, five graded worked examples (linear to non-existence), the δ-choice rules for each function type and practice with answers.

epsilon delta prooflimitsCalculus Icontinuity

By Maths Bodhi Team

Read guide