Skip to content
GATEiit

GATE EC · Engineering Mathematics

Taylor series

Taylor and Maclaurin series of real functions: coefficients and derivatives at a point, the standard expansions, the Lagrange remainder, and using series for limits and small-signal linear approximations.

Before you start

  • Mean value theorems →

    Taylor's theorem with remainder extends Lagrange's theorem to higher orders; the remainder has the same 'some point in between' form.

  • Convergence of series →

    A Taylor series is a power series; where it converges is decided by its radius of convergence.

  • Derivatives of standard functions

    Coefficients come from repeated derivatives of ex, sin⁡x, ln⁡x and powers.

This topic comes before: Analytic functions, Evaluation of definite and improper integrals, Taylor and Laurent series

Concept notes

1. Taylor's theorem and the Taylor series

If f can be differentiated as many times as needed at x=a, the Taylor series of f about a is f(x)=f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+f′′′(a)3!(x−a)3+⋯=∑n=0∞f(n)(a)n!(x−a)n, valid for those x where the series converges to f. The special case a=0 is the Maclaurin series.

Key facts:

  • The coefficient of (x−a)n is cn=f(n)(a)n!. Turned round, f(n)(a)=n! cn, which gives high-order derivatives at a point without differentiating.
  • Stopping after the (x−a)n term gives the Taylor polynomial Pn(x). It agrees with f in value and in its first n derivatives at a.
  • Expanding a polynomial about a just rewrites it in powers of (x−a); the series ends at its degree.
  • The series is unique: however you obtain a power series for f about a (substitution, multiplication, integration), it is the Taylor series.

Taylor's theorem (finite form) states f(x)=Pn(x)+Rn(x), where the remainder Rn is given below under truncation error. With n=0 it is exactly Lagrange's mean value theorem.

Caution: having all derivatives is not enough for the series to equal f. The function defined by e−1/x2 for x≠0 and 0 at x=0 has every derivative zero at the origin, so its Maclaurin series is the zero series, although the function is positive elsewhere.

2. Standard expansions and how to build new ones

Memorise this table; nearly every question reduces to it.

f(x) Maclaurin series Converges for
ex 1+x+x22!+x33!+⋯ all x
sin⁡x x−x33!+x55!−⋯ all x
cos⁡x 1−x22!+x44!−⋯ all x
sinh⁡x, cosh⁡x same as sin⁡, cos⁡ but all signs + all x
ln⁡(1+x) x−x22+x33−⋯ −1<x≤1
11−x 1+x+x2+x3+⋯ ∣x∣<1
(1+x)k 1+kx+k(k−1)2!x2+⋯ ∣x∣<1
tan⁡x x+x33+2x515+⋯ ∣x∣<π2

Odd and even: an odd function (sin⁡, tan⁡, sinh⁡) has only odd powers; an even one (cos⁡, cosh⁡) only even powers.

Building series without repeated differentiation:

  • Substitution. e−3x: put −3x for x. sin⁡(x2)=x2−x66+⋯
  • Products. Multiply two series and collect every pair of powers that adds to the target.
  • Term-by-term calculus inside the interval of convergence. Integrating 11+t2=1−t2+t4−⋯ gives tan⁡−1x=x−x33+x55−⋯
  • Moving the centre. About x=a, write x=a+u and expand in u. For example 1x about 2: 12+u=12⋅11+u/2=12−u4+u28−⋯ with u=x−2.

3. Truncation error and linear approximation

Lagrange form of the remainder. After the degree-n polynomial, Rn(x)=f(x)−Pn(x)=f(n+1)(ξ)(n+1)!(x−a)n+1 for some ξ between a and x. If ∣f(n+1)∣≤M on that stretch, ∣Rn(x)∣≤M ∣x−a∣n+1(n+1)!. The error falls off like ∣x−a∣n+1: for a linear approximation, halving the distance from a cuts the error to about a quarter.

Alternating series shortcut. If the terms alternate in sign and shrink steadily to zero, the error is smaller than the first term left out. For cos⁡0.2≈1−0.222=0.98, the error is below 0.2424≈6.7×10−5.

Linearisation in electronics. Near an operating point x0, f(x0+Δx)≈f(x0)+f′(x0) Δx. This is the idea behind every small-signal model. A diode obeys i=ISev/VT (well into forward bias). At the bias point with current ID, i≈ID(1+ΔvVT+12(ΔvVT)2+⋯ ). Keeping the linear term gives the small-signal conductance gd=IDVT, i.e. rd=VTID. The neglected u2 term (with u=ΔvVT) is why the model needs ∣Δv∣≪VT, and it is also the source of second-harmonic distortion when the signal is large.

Other everyday approximations: sin⁡θ≈θ and cos⁡θ≈1−θ22 for small angles (phase detectors, small phase deviation in PM), and (1+x)k≈1+kx.

i / ID−2−1011234u = ΔV / VTQ (bias point)exact: eulinear: 1 + uquadratic: 1 + u + u²/2
Diode current $i = I_D e^{u}$ near its bias point ($u = \Delta V / V_T$). The first-order Taylor line gives the small-signal model; adding the $u^2$ term keeps the fit good over a wider swing.

4. Using series: limits and derivatives at a point

Limits of the form 00. Replace every function by its Maclaurin series and keep terms up to the lowest power that survives in the denominator: lim⁡x→0tan⁡x−xx3=lim⁡x→0x33+2x515+⋯x3=13. This is often quicker than applying L'Hôpital's rule three times.

Order of a zero. If the series of f about a starts at (x−a)k, then f(x)≈ck(x−a)k near a. So 1−cos⁡x≈x22 (order 2) and x−sin⁡x≈x36 (order 3). Comparing orders settles limits like x−sin⁡xx(1−cos⁡x)→1/61/2=13.

Derivatives at a point. f(n)(a)=n!× (coefficient of (x−a)n). For f(x)=x2sin⁡x=x3−x56+⋯, f(5)(0)=5!×(−16)=−20, with no product rule. Also, if only odd powers appear, every even-order derivative at 0 is zero.

Quick link to extrema. At a point where f′(a)=0, f(a+h)≈f(a)+f′′(a)2h2, so the sign of f′′(a) decides minimum or maximum (see Maxima and minima).

Working rule. Decide the highest power you need before expanding, write every series to that power, and drop everything beyond it.

Formulas to remember

Taylor series about a
f(x)=∑n=0∞f(n)(a)n!(x−a)n
Coefficient and derivative
cn=f(n)(a)n!  ⟺  f(n)(a)=n! cn
Exponential
ex=∑n=0∞xnn!
Sine and cosine
sin⁡x=∑n=0∞(−1)nx2n+1(2n+1)!,cos⁡x=∑n=0∞(−1)nx2n(2n)!
LogarithmValid for −1<x≤1
ln⁡(1+x)=∑n=1∞(−1)n+1xnn
Binomial seriesValid for ∣x∣<1; ends after xk when k is a non-negative integer
(1+x)k=1+kx+k(k−1)2!x2+k(k−1)(k−2)3!x3+⋯
Lagrange remainderξ lies between a and x
Rn(x)=f(n+1)(ξ)(n+1)!(x−a)n+1
Linear (small-signal) approximation
f(x0+Δx)≈f(x0)+f′(x0) Δx
Diode small-signal resistanceFirst-order term of ISev/VT about the bias point
rd=VTID

Common mistakes

  • Leaving out the n! in the coefficient: the coefficient of (x − a)^n is the nth derivative at a divided by n!, not the derivative itself.
  • Expanding in powers of x when the question asks for the series about x = a; the answer must be in powers of (x − a).
  • Missing a cross term when multiplying two series; list every pair of powers that adds up to the target power.
  • Truncating too early in a limit; keep terms up to the power that appears in the denominator.
  • Using the ln(1 + x), 1/(1 − x) or binomial series outside their interval of convergence.
  • Applying the linear small-signal model when the signal swing is not small compared with V_T; the squared term then matters.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Expanding 1/x about x = 2

numerical

Find the coefficient of (x−2)3 in the Taylor series of f(x)=1x about x=2.

  1. Step 1: Shift the centre: write x = 2 + u.

    Try it on paper first.

Example 2: A coefficient of a product

numerical

Find the coefficient of x3 in the Maclaurin series of exsin⁡x.

  1. Step 1: Write each series up to x³.

    Try it on paper first.

Example 3: Small-signal diode model and its error

numerical

A diode is biased at ID=1 mA with VT=25 mV, and i=ISev/VT. A small increase Δv=2 mV is applied. Estimate Δi using the linear term, estimate the error from the next term, and compare with the exact change.

  1. Step 1: Write the expansion about the bias point.

    Try it on paper first.

Example 4: A limit by series

numerical

Evaluate lim⁡x→0tan⁡x−xx3.

  1. Step 1: Which power do you need?

    Try it on paper first.

Previous year questions

No official GATE EC question is tagged with this topic yet. The topic test below uses practice questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.