1.3 Taylor series and linearisation

The previous two lessons developed derivatives and integrals as the two inverse operations of calculus. This third lesson sits on top of both: a Taylor series uses derivatives at a single point to approximate a function in a neighbourhood. The first-order truncation — keeping only the constant and linear terms — is linearisation, and it is the single most-used technique in all of physics. Acoustics is the linearised theory of fluid mechanics. Optics is the linearised theory of Maxwell’s equations. The harmonic oscillator is the linearised pendulum. Newton’s law of cooling is the linearised Stefan–Boltzmann law.

This lesson develops Taylor series and the linearisation it makes precise.

The Taylor expansion

For a smooth function ff near a base point t0t_0, the Taylor expansion is

  f(t0+ε)  =  f(t0)  +  εf(t0)  +  12!ε2f(t0)  +  13!ε3f(t0)  +    \boxed{\;f(t_0 + \varepsilon) \;=\; f(t_0) \;+\; \varepsilon\, f'(t_0) \;+\; \tfrac{1}{2!} \varepsilon^2\, f''(t_0) \;+\; \tfrac{1}{3!} \varepsilon^3\, f'''(t_0) \;+\; \cdots\;}

In more compact form,

f(t0+ε)  =  n=0εnn!f(n)(t0).f(t_0 + \varepsilon) \;=\; \sum_{n=0}^{\infty} \frac{\varepsilon^n}{n!}\, f^{(n)}(t_0).

The series gives the value of ff at the displaced point t0+εt_0 + \varepsilon in terms of the value of ff and all its derivatives at the base point t0t_0. The remarkable claim is that all the information about a smooth ff near t0t_0 is contained in those derivatives.

Truncating the series at degree NN produces the Taylor polynomial TN(t;t0)T_N(t; t_0), a polynomial of degree NN that matches ff and its first NN derivatives at t0t_0. The error in this approximation is O(εN+1)\mathcal{O}(\varepsilon^{N+1}) — vanishingly small if ε\varepsilon is small and the function is well-behaved, but growing as you move away from t0t_0.

f(x) = sin xTaylor T_{N=3}(x; x₀=0.00)
function:

The interactive builds the Taylor polynomial TN(x;x0)T_N(x; x_0) approximation of a chosen function. Slide the expansion point x0x_0 and the degree NN and watch the red approximation track the black true curve near x0x_0 — and diverge from it as you move far away. Two things to feel for:

The Maclaurin series: Taylor at zero

When t0=0t_0 = 0, the Taylor series is sometimes called the Maclaurin series. The most-used cases in physics:

ex  =  1+x+x22!+x33!+x44!+e^x \;=\; 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \frac{x^4}{4!} + \cdots sinx  =  xx33!+x55!x77!+\sin x \;=\; x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots cosx  =  1x22!+x44!x66!+\cos x \;=\; 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots (1+x)p  =  1+px+p(p1)2!x2+p(p1)(p2)3!x3+(binomial series)(1 + x)^p \;=\; 1 + p x + \frac{p(p-1)}{2!} x^2 + \frac{p(p-1)(p-2)}{3!} x^3 + \cdots \qquad (\text{binomial series}) ln(1+x)  =  xx22+x33x44+\ln(1 + x) \;=\; x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \cdots

The radii of convergence: exe^x, sinx\sin x, cosx\cos x converge for all xx. The binomial and logarithmic series converge only for x<1|x| < 1.

The Maclaurin series for exe^x with x=iθx = i\theta is what gives Euler’s formula — see Foundations 3.1. The cancellation of every fourth term in (iθ)n/n!(i\theta)^n / n! produces the sine and cosine series exactly.

Linearisation: first-order Taylor

The first-order truncation of the Taylor expansion is

f(t0+ε)    f(t0)+εf(t0)+O(ε2).f(t_0 + \varepsilon) \;\approx\; f(t_0) + \varepsilon\, f'(t_0) + \mathcal{O}(\varepsilon^2).

This is the linearisation of ff around t0t_0. The approximation is excellent for small ε\varepsilon and useless for large.

Linearisation is the move that takes a nonlinear physics problem and converts it to a linear one. The full pendulum equation,

θ¨  +  gLsinθ  =  0,\ddot \theta \;+\; \frac{g}{L} \sin\theta \;=\; 0,

is nonlinear because sinθ\sin\theta depends nonlinearly on θ\theta. But for small angles,

sinθ  =  θθ36+    θ+O(θ3),\sin\theta \;=\; \theta - \frac{\theta^3}{6} + \cdots \;\approx\; \theta + \mathcal{O}(\theta^3),

so the linearised pendulum is

θ¨  +  gLθ  =  0,\ddot \theta \;+\; \frac{g}{L}\, \theta \;=\; 0,

which is the simple-harmonic-motion equation of Foundations 5.3 and has the closed-form solution θ(t)=Acos(ω0t+φ)\theta(t) = A \cos(\omega_0 t + \varphi) with ω0=g/L\omega_0 = \sqrt{g/L}. For amplitudes below about 30°30° this is essentially exact; above that, the cubic correction starts to matter.

Linearisation is the master move of acoustics

Every time the Sound book writes “small perturbation” or "pp0|p'| \ll p_0" or “linearised theory,” it is quietly invoking a first-order Taylor expansion. The wave equation itself is the result of linearising the full nonlinear fluid-mechanics equations around a still-air equilibrium:

Combine the three linearised equations and you get the wave equation t2p=c22p\partial_t^2 p = c^2 \nabla^2 p. Everything in the Sound book is downstream of this single linearisation. See Sound 4.5 — Linearisation and the wave equation for the full development.

The same move runs through:

In every case, the underlying physics is nonlinear; linearisation is what makes it tractable.

Higher-order corrections

When linearisation is insufficient — when the perturbation is large enough that the ε2\varepsilon^2 term cannot be ignored — you keep more terms. The second-order Taylor expansion is

f(t0+ε)    f(t0)+εf(t0)+12ε2f(t0).f(t_0 + \varepsilon) \;\approx\; f(t_0) + \varepsilon\, f'(t_0) + \tfrac{1}{2} \varepsilon^2\, f''(t_0).

This is the quadratic approximation, used whenever the linear term vanishes (e.g. at an extremum) or when the first-order correction is too coarse. In acoustics, quadratic terms appear in energy and intensity calculations — kinetic energy is 12ρv2\tfrac12 \rho v^2, quadratic in velocity — and they are exactly what links the linear acoustic field to the nonlinear quantities (energy, momentum, intensity) one ultimately wants to measure.

The third-order corrections appear in nonlinear acoustics — when amplitudes are large enough that even the quadratic terms aren’t sufficient. See Sound 10.4 — Wave steepening for what happens when those corrections compound.

What we use this for

Calculus operations across the bookshelf:

If any of the above looks unfamiliar, work through a textbook chapter on single-variable calculus before continuing. Spivak’s Calculus is the unsentimental favourite; Strang’s Calculus is the most physics-friendly.