Chem Math· Math-for-Chemists Hub
Atlas Chapter 7: Series & Approximations Interactive lesson

Taylor & Maclaurin Series

Turning any function into a polynomial

Thermo / KineticsQuantum
Detail level

Any function as a polynomial

The engine behind every approximation in physical chemistry

A Taylor (Maclaurin) series rebuilds a function near a point from its derivatives there, as an infinite polynomial. For a function centred on (a Maclaurin series):

Keep just the first few terms and you have a simple, accurate approximation near that point. The radius of convergence tells you how far from the polynomial stays reliable. For and this is infinite; for it is only .

The most useful truncations — the ones you will use almost every week — are (linear), (linear), and (valid when is in radians and small). Each one turns a transcendental function into a straight line near zero.

; for small : .
; for small : .
; for small : .
Harmonic oscillator
Expand near : linear term vanishes (minimum), quadratic term gives .
; for small : (binomial series).
Taylor about a general point
. Maclaurin is the special case .
Remainder / error
The Lagrange remainder after terms is for some . It bounds the truncation error.
Virial equation
— a Taylor series in that converges for large (low pressure).
‘For small x…’
, , and the harmonic approximation of a bond's potential well are all truncated Taylor series. They turn intractable expressions into easy ones. Open the series approximator.
Common pitfalls
  • Expanding about the wrong point. Always confirm the expansion point before substituting. For the harmonic approximation of a bond potential expand about , not about — the latter gives a divergent or meaningless result.
  • Forgetting the factorials. The th term is , not . Dropping inflates higher terms by large factors.
  • Using too few terms for large x. Near one or two terms suffice; for or larger the polynomial diverges from the true function rapidly. Always check the truncation error before trusting an approximation.
  • Mixing the linear approximation with the wrong sign. (negative), whereas (positive). Confusing these flips the sign of entropy or free-energy corrections.
Going deeper

The Lennard-Jones 12-6 potential has its minimum at . Expanding to second order about that minimum gives the same parabolic form as the Morse potential — confirming that the local curvature of any smooth well looks like a harmonic oscillator, regardless of the long-range form. The force constant is read directly from the second derivative — the worked Challenge example below derives it explicitly.

Series approximator

Switch between eˣ, sin x and cos x — add terms one by one and watch the polynomial converge to the true function. The dashed line is the approximation; solid is the truth.

Function:
-3-2-1012302468xy
true function 3-term polynomial
number of terms3
With one term the polynomial only matches at x = 0; add more and it hugs the true curve over a wider range. Near x = 0 even a 1–2 term approximation is excellent — which is why “for small x” shortcuts work.
Worked example 1Error of the linear approximation for the Boltzmann factor

In a reaction at a perturbation shifts the energy by . Compute and compare the exact factor with the linearised approximation .

Worked example 2Truncating the virial equation of state

The virial equation is a Taylor expansion in . For nitrogen at 300 K and 10 atm, and . Estimate keeping only the first correction term, and compare with the ideal-gas value.

Worked examples

Pull the ideas together — try each problem before revealing the full solution.

Worked example 3Harmonic approximation of a Morse potential

The Morse potential is . Expand to second order in and show that near the potential becomes parabolic with force constant .

Worked example 4Low-field expansion of the Langevin function

The Langevin function appears in the theory of electric polarisability. Show that for small (weak field), by expanding as a series.

Worked example 5pH of a buffer: linearising the Henderson–Hasselbalch equation

For an acetic acid / acetate buffer () with at pH 4.76, a small amount of strong acid is added so the ratio changes to . Using and (with ), estimate the pH drop.

Worked example 6Maclaurin expansion of sin x to three non-zero terms

Write out the Maclaurin series for to three non-zero terms, and estimate the error when (a typical bending coordinate in vibrational spectroscopy) by comparing the one-term and three-term approximations with the exact value.

Worked example 7Expanding e^x and ln(1+x) to estimate the change in Kₐ with temperature

For a weak acid, . If with , expand to first order in and show that . Evaluate for acetic acid at 298 K with a 10 K rise and .

ChallengeChallenge — expand the Lennard-Jones potential to get the force constant k

The Lennard-Jones potential is . It has a minimum at where . By expanding to second order about , find the effective harmonic force constant in terms of and .

Check yourself

Four questions on Maclaurin expansions and their chemistry applications.

Question 1 of 4 · Score 0

The Maclaurin series for eˣ is:

Choose an answer.