Building polynomial approximations from derivatives, the Taylor and Maclaurin formulas, the standard series you must know, manipulating series (substitution, multiplication, differentiation, integration), the remainder and error bounds, radius of convergence, and how Taylor expansions power limits, numerical approximation and optimisation algorithms.
The coefficient of (x−a)k is f(k)(a)/k! — so reading coefficients off a known series gives derivatives for free: f(k)(a)=k!×coefficient.
Higher-degree Taylor polynomials hug the function over a wider neighbourhood of a.
Series to know by heart
Function
Maclaurin series
Valid for
ex
1+x+2!x2+3!x3+⋯=∑n!xn
all x
sinx
x−3!x3+5!x5−⋯
all x
cosx
1−2!x2+4!x4−⋯
all x
1−x1
1+x+x2+x3+⋯
∣x∣<1
1+x1
1−x+x2−x3+⋯
∣x∣<1
ln(1+x)
x−2x2+3x3−⋯
−1<x≤1
(1+x)α
1+αx+2!α(α−1)x2+⋯
∣x∣<1
tan−1x
x−3x3+5x5−⋯
∣x∣≤1
sinhx, coshx
x+3!x3+⋯, 1+2!x2+⋯
all x
tanx
x+3x3+152x5+⋯
∣x∣<π/2
Manipulating series
Rather than differentiating repeatedly, build new series from known ones:
Substitute: e−x2=1−x2+2x4−⋯.
Multiply and collect terms up to the order you need (exsinx in the practice questions).
Differentiate or integrate term by term inside the radius of convergence: integrating 1+t21=∑(−1)nt2n gives tan−1x.
Divide by long division or by matching coefficients.
The remainder and error bounds
Lagrange form: for some ξ between a and x,
Rn(x)=(n+1)!f(n+1)(ξ)(x−a)n+1.
If ∣f(n+1)∣≤M on the interval, then ∣Rn(x)∣≤(n+1)!M∣x−a∣n+1. For an alternating series with decreasing terms, the error is at most the first omitted term.
The notation O((x−a)n+1) ("big-O") records that the error shrinks like ∣x−a∣n+1 as x→a.
Convergence
A power series ∑cn(x−a)n converges for ∣x−a∣<R and diverges for ∣x−a∣>R, where R is the radius of convergence: R1=limcncn+1 (ratio test) when the limit exists. Endpoints must be checked separately. Within R the series can be differentiated and integrated term by term.
Why Taylor series matter in data science
Linear approximation: f(x)≈f(a)+f′(a)(x−a) — sensitivity analysis, the delta method in statistics, linearising non-linear models.
Gradient descent minimises the first-order model plus a step-size penalty; Newton's method minimises the second-order model f(a)+f′(a)h+21f′′(a)h2, giving h=−f′(a)/f′′(a) — see maxima and minima.
Second-derivative test for extrema comes straight from the quadratic term.
Activation functions: near 0, tanhx≈x and σ(x)≈21+4x.
Quick revision
Practice questions
GATE-style questions: 3 one-mark and 6 two-mark. Wrong MCQs cost ⅓ of their marks in the real exam; MSQ and NAT have no negative marking. Attempt each before opening the solution.
Q1NAT1 mark
The coefficient of x3 in the Maclaurin series of e2x is ______ (round to two decimals).
Q2NAT2 marks
In the Taylor series of lnx about x=1, the coefficient of (x−1)2 is ______.
Q3MCQ1 mark
The Maclaurin series of cosx is
Q4NAT2 marks
Using the first-order Taylor approximation of x about x=4, the approximate value of 4.1 is ______ (round to three decimals).
Q5NAT2 marks
The coefficient of x3 in the Maclaurin series of exsinx is ______ (round to three decimals).
Q6MSQ2 marks
Which statements about the radius of convergence R of Maclaurin series are correct?
One or more options are correct.
Q7NAT2 marks
For f(x)=cos2x, the value of the fourth derivative f(4)(0) is ______.
Q8NAT1 mark
The second-order Taylor polynomial of f(x)=x3 about x=1, evaluated at x=1.1, gives ______ (round to two decimals).
Q9MCQ2 marks
e0.1 is approximated by 1+0.1+20.12. By the Lagrange remainder, the absolute error is at most about