Book 2B

© 2026 Neckpinch · www.neckpinch.com · All rights reserved.

Course 2Book 2B: Spaces, Functions and ChangeChapter 6

Power Series, Exponentials and Bump Functions

Analytic functions, exp and log, the matrix exponential, and smooth functions that are not analytic.

66 min read · Updated Nov 16, 2026

Read with Tao, Analysis II, chapter "Power series": formal power series, real analytic functions, Abel's theorem, multiplication of power series, the exponential and logarithm functions, the digression on complex numbers, and trigonometric functions. The matrix exponential and bump functions are not in Tao; this chapter covers them.

In this chapter · 8 sections
  1. 6.1Dating by decay
  2. 6.2Power series
  3. 6.2.1Reading the radius
  4. 6.2.2Integrating and multiplying power series
  5. 6.3The exponential and the logarithm
  6. 6.3.1Two inequalities that do a great deal of work
  7. 6.4Complex exponentials and trigonometry
  8. 6.4.1Why the series for 11+x2\frac{1}{1+x^2}1+x21​ stops at 111
  9. 6.5The matrix exponential
  10. 6.5.1Computing matrix exponentials
  11. 6.6Smooth functions that are not analytic
  12. 6.6.1Bumps and cutoffs
  13. 6.6.2Every sequence is a Taylor series
  14. 6.7History
  15. 6.8Exercises
  16. ↗Free resources

A power series is a polynomial that never stops: ∑n=0∞cnxn\sum_{n=0}^\infty c_n x^n. Power series are where the functions of school mathematics, exe^x, log⁡x\log x, sin⁡x\sin x and cos⁡x\cos x, finally get definitions rather than descriptions. In Book 2A we used them on trust, and every property assumed there is proved here, using the uniform convergence of 2B.5 Uniform Convergence and Arzelà–Ascoli.

The chapter then goes in two directions that the rest of the guidebook needs. First, the exponential makes sense for matrices, and etAe^{tA} solves every linear system of differential equations x′=Axx' = Ax (2B.10 Ordinary Differential Equations). Second, there are functions that are infinitely differentiable but are not given by their power series. The simplest, e−1/x2e^{-1/x^2}, is so flat at 00 that every derivative vanishes there. From it we build bump functions and smooth cutoffs: smooth functions that are 11 on one region and 00 outside a slightly larger one. They are humble objects, and they are indispensable. Every local estimate in geometric analysis, including the one at the heart of Perelman's noncollapsing theorem, multiplies by a cutoff function.

By the end of this chapter you will be able to:

  • find the radius of convergence of a power series, differentiate, integrate and multiply power series term by term, and prove Abel's theorem;
  • define exp⁡\exp, log⁡\log, real powers, sin⁡\sin, cos⁡\cos and π\pi from scratch and prove their main properties;
  • explain why the real power series of 11+x2\frac{1}{1+x^2} stops converging at ∣x∣=1|x| = 1;
  • compute matrix exponentials and use them to solve x′=Axx' = Ax;
  • prove that e−1/x2e^{-1/x^2} is smooth and not analytic, and build smooth bumps and cutoffs with prescribed properties.

Dating by decay

In the world Data Radiocarbon ages

Living organisms take in carbon from the atmosphere, including a small, nearly constant fraction of radioactive carbon-14. After death the intake stops, and the carbon-14 decays. The number N(t)N(t) of carbon-14 atoms remaining after time tt satisfies

N′(t)=−λN(t),soN(t)=N0 e−λt,N'(t) = -\lambda N(t), \qquad\text{so}\qquad N(t) = N_0\,e^{-\lambda t},

because each atom decays independently at a constant rate. The half-life T1/2T_{1/2}, the time for half to decay, is ln⁡2/λ\ln 2/\lambda. Its best value, determined in the early 1960s and agreed at a 1962 conference in Cambridge, is 5730±405730 \pm 40 years.

If a sample of wood retains 60%60\% of the carbon-14 of living wood, its age is

t=T1/2ln⁡2 ln⁡10.6=8267×0.5108≈4220 years.t = \frac{T_{1/2}}{\ln 2}\,\ln\frac{1}{0.6} = 8267 \times 0.5108 \approx 4220 \text{ years}.

The ±40\pm 40-year uncertainty in the half-life alone moves this by about ±30\pm 30 years.

Two facts keep this honest. First, laboratories by convention report a conventional radiocarbon age, computed with the original half-life measured by Willard Libby, 55685568 years, as standardised by Stuiver and Polach in 1977; with it the same sample is about 41004100 "radiocarbon years" old. Second, the carbon-14 content of the atmosphere has not been perfectly constant, so radiocarbon ages are converted into calendar ages using calibration curves built from tree rings and other records of known age. The exponential law is exact for the decay. The input it is fed, the starting fraction, is what needs calibrating.

The example uses three facts we haven't yet proved: that a function equal to its own derivative (up to a constant factor) must be an exponential, that exp⁡\exp has an inverse log⁡\log, and that exp⁡\exp turns sums into products, which is why a half-life is the same at every age. All three are proved below.

Power series

Definition 6.1 Power series and radius of convergence

A power series centred at aa is a series ∑n=0∞cn(x−a)n\sum_{n=0}^\infty c_n(x - a)^n with real (or complex) coefficients cnc_n. Its radius of convergence is

R=1lim sup⁡n→∞∣cn∣1/n∈[0,∞],R = \frac{1}{\limsup_{n\to\infty}|c_n|^{1/n}} \in [0, \infty],

with the conventions 1/0=∞1/0 = \infty and 1/∞=01/\infty = 0.

Theorem 6.2 What the radius of convergence says

Let ∑cn(x−a)n\sum c_n(x - a)^n have radius of convergence RR.

  1. For ∣x−a∣>R|x - a| > R the series diverges.
  2. For ∣x−a∣<R|x - a| < R it converges absolutely, and on every closed interval [a−r,a+r][a - r, a + r] with r<Rr < R it converges uniformly. So its sum ff is continuous on (a−R,a+R)(a - R, a + R).
  3. ff is differentiable on (a−R,a+R)(a - R, a + R), and its derivative is the series differentiated term by term, f′(x)=∑n≥1n cn(x−a)n−1f'(x) = \sum_{n \geq 1} n\,c_n(x - a)^{n-1}, which has the same radius of convergence. Hence ff is infinitely differentiable, and cn=f(n)(a)/n!c_n = f^{(n)}(a)/n!.

Proof. (1) and absolute convergence in (2) are the root test of 2A.7 Series applied to ∣cn(x−a)n∣|c_n(x - a)^n|, since lim sup⁡∣cn(x−a)n∣1/n=∣x−a∣/R\limsup|c_n(x - a)^n|^{1/n} = |x - a|/R. For uniform convergence, pick r<s<Rr < s < R. Then ∣cn∣≤s−n|c_n| \leq s^{-n} for large nn, so on ∣x−a∣≤r|x - a| \leq r we have ∣cn(x−a)n∣≤(r/s)n|c_n(x - a)^n| \leq (r/s)^n, a convergent geometric series; the M-test (2B.5 Uniform Convergence and Arzelà–Ascoli) applies.

(3) Since n1/n→1n^{1/n} \to 1, the differentiated series has the same lim sup⁡\limsup, hence the same radius. By (2) it converges uniformly on each [a−r,a+r][a - r, a + r], and the partial sums of the original series converge at aa. So 2B.5 Uniform Convergence and Arzelà–Ascoli's theorem on derivatives of limits gives f′=∑ncn(x−a)n−1f' = \sum n c_n(x - a)^{n-1}. Repeating, f(k)(a)=k! ckf^{(k)}(a) = k!\,c_k.

At ∣x−a∣=R|x - a| = R anything can happen: ∑xn\sum x^n diverges at both ends of (−1,1)(-1, 1), ∑xn/n\sum x^n/n converges at −1-1 but not at 11, and ∑xn/n2\sum x^n/n^2 converges at both.

Reading the radius

The formula R=1/lim sup⁡∣cn∣1/nR = 1/\limsup|c_n|^{1/n} looks forbidding, but it says something simple: the radius is the reciprocal of the exponential growth rate of the coefficients. If ∣cn∣|c_n| behaves roughly like R−nR^{-n}, then ∣cnxn∣|c_nx^n| behaves like (∣x∣/R)n(|x|/R)^n, a geometric series, convergent for ∣x∣<R|x| < R and divergent beyond. Polynomial factors such as n3n^3 or 1/n21/n^2 don't change the growth rate (n3/n→1n^{3/n} \to 1), so they cannot change the radius; they only affect what happens at the boundary, as the three examples above show. Factorials do change it: 1/n!1/n! decays faster than every geometric sequence, so ∑xn/n!\sum x^n/n! has R=∞R = \infty, while n!n! grows faster than every geometric sequence, so ∑n! xn\sum n!\,x^n has R=0R = 0 and converges only at x=0x = 0. When the ratios ∣cn+1/cn∣|c_{n+1}/c_n| converge, their limit is 1/R1/R too, and the ratio test is often the quicker computation.

The same picture says how fast a power series converges inside its disc. Stopping after the term of degree NN leaves a tail of size roughly (∣x−a∣/R)N(|x - a|/R)^{N}: geometric convergence, at a rate set by how far xx is from the edge, relative to RR. At half the radius, each term gains about 0.30.3 decimal digits; at nine-tenths of the radius, each term gains only about 0.050.05. A power series is an excellent computational tool near its centre and a poor one near its boundary.

Example 6.3 Why nobody computes e−20e^{-20} from the series

The exponential series converges for every xx, but that does not make it a good way to compute. For x=−20x = -20 the terms (−20)nn!\frac{(-20)^n}{n!} grow in size until n=20n = 20, where they reach about 4.3×1074.3 \times 10^7, and only then decrease; they alternate in sign, and their sum is e−20≈2.06×10−9e^{-20} \approx 2.06 \times 10^{-9}. To produce a number of size 10−910^{-9}, the series adds and subtracts numbers of size 10710^7, so sixteen orders of magnitude cancel. Double-precision arithmetic carries about sixteen significant digits, and summing the series in order in double precision gives about 5.0×10−95.0 \times 10^{-9}, more than twice the true value: every digit is wrong.

Two fixes, both based on the properties proved in this chapter, are standard. Compute e20e^{20} by the series, where all terms are positive and nothing cancels, and take its reciprocal, using e−x=1/exe^{-x} = 1/e^x. Better still, use ex+y=exeye^{x + y} = e^xe^y to reduce the argument: write x=klog⁡2+rx = k\log 2 + r with kk an integer and ∣r∣≤12log⁡2≈0.35|r| \leq \frac12\log 2 \approx 0.35, so that ex=2kere^x = 2^ke^r, where multiplying by 2k2^k is exact in binary arithmetic and ere^r is computed from a short polynomial on a tiny interval. This range reduction is how mathematical libraries evaluate the exponential, just as they reduce sin⁡\sin to a small interval in 2B.5 Uniform Convergence and Arzelà–Ascoli.

Definition 6.4 Real analytic

A function ff on an open interval II is real analytic if near every point a∈Ia \in I it equals a power series centred at aa with positive radius of convergence. By Theorem 6.2, that series must be its Taylor series, ∑f(n)(a)n!(x−a)n\sum \frac{f^{(n)}(a)}{n!}(x - a)^n.

Analytic functions are rigid. If an analytic function on an interval vanishes on some small subinterval, it vanishes on the whole interval (Exercise 6.21). This rigidity is why analytic functions are not enough for geometry, and why the smooth non-analytic functions at the end of the chapter are needed.

Integrating and multiplying power series

Proposition 6.5 Term-by-term integration

If f(x)=∑cn(x−a)nf(x) = \sum c_n(x - a)^n for ∣x−a∣<R|x - a| < R, then for every such xx,

∫axf(t) dt=∑n=0∞cnn+1(x−a)n+1,\int_a^x f(t)\,dt = \sum_{n=0}^\infty \frac{c_n}{n+1}(x - a)^{n+1},

and this series also has radius of convergence RR.

Proof. For fixed xx with ∣x−a∣<R|x - a| < R, the series converges uniformly on the closed interval between aa and xx (Theorem 6.2), so its integral is the limit of the integrals of the partial sums (2B.5 Uniform Convergence and Arzelà–Ascoli), which are the partial sums of the integrated series. The radius is unchanged because (n+1)−1/n→1(n+1)^{-1/n} \to 1.

Proposition 6.6 Multiplying power series

If ∑an\sum a_n and ∑bn\sum b_n converge absolutely, then the Cauchy product ∑ncn\sum_n c_n, with cn=∑k=0nakbn−kc_n = \sum_{k=0}^n a_kb_{n-k}, converges absolutely, and ∑cn=(∑an)(∑bn)\sum c_n = \big(\sum a_n\big)\big(\sum b_n\big). In particular, if f(x)=∑anxnf(x) = \sum a_nx^n and g(x)=∑bnxng(x) = \sum b_nx^n for ∣x∣<R|x| < R, then f(x)g(x)=∑cnxnf(x)g(x) = \sum c_nx^n there.

Proof. Consider the double series ∑(j,k)∈N2ajbk\sum_{(j, k) \in \mathbb{N}^2} a_jb_k. It is absolutely summable: any finite set of pairs lies in some square [0,N]2[0, N]^2, and the sum of ∣ajbk∣|a_jb_k| over that square is (∑j≤N∣aj∣)(∑k≤N∣bk∣)≤∑∣aj∣∑∣bk∣\big(\sum_{j \leq N}|a_j|\big)\big(\sum_{k \leq N}|b_k|\big) \leq \sum|a_j|\sum|b_k|. So by 2A.8 Infinite Sets its sum doesn't depend on the order of summation. Listing the pairs square by square, the partial sums at the end of each square are (∑j≤Naj)(∑k≤Nbk)\big(\sum_{j \leq N}a_j\big)\big(\sum_{k \leq N}b_k\big), which tend to (∑an)(∑bn)\big(\sum a_n\big)\big(\sum b_n\big). Listing them diagonal by diagonal (j+k=0,1,2,…j + k = 0, 1, 2, \dots), the partial sums at the end of each diagonal are ∑n≤Ncn\sum_{n \leq N} c_n. These are subsequences of the partial sums of two listings of the same absolutely summable family, so they have the same limit. Absolute convergence of ∑cn\sum c_n follows from ∣cn∣≤∑k≤n∣ak∣∣bn−k∣|c_n| \leq \sum_{k \leq n}|a_k||b_{n-k}| and the same argument applied to the absolute values. For power series, apply this with anxna_nx^n and bnxnb_nx^n, which converge absolutely for ∣x∣<R|x| < R.

Example 6.7 Two series found by integration

The logarithm. For ∣t∣<1|t| < 1, 11+t=∑n≥0(−t)n\frac{1}{1 + t} = \sum_{n \geq 0}(-t)^n. Since log⁡(1+x)=∫0xdt1+t\log(1 + x) = \int_0^x \frac{dt}{1 + t} (Definition 6.11 below), term-by-term integration gives, for ∣x∣<1|x| < 1,

log⁡(1+x)=x−x22+x33−x44+⋯ .\log(1 + x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \cdots.

The arctangent. For ∣t∣<1|t| < 1, 11+t2=∑(−1)nt2n\frac{1}{1 + t^2} = \sum(-1)^nt^{2n}. With sin⁡\sin, cos⁡\cos and π\pi as constructed later in this chapter, the inverse of tan⁡=sin⁡/cos⁡\tan = \sin/\cos on (−π2,π2)(-\frac\pi2, \frac\pi2) has derivative 11+x2\frac{1}{1 + x^2} (by 2A.10 Derivatives, since tan⁡′=1+tan⁡2\tan' = 1 + \tan^2), so arctan⁡x=∫0xdt1+t2\arctan x = \int_0^x \frac{dt}{1 + t^2}, and

arctan⁡x=x−x33+x55−⋯ ,∣x∣<1.\arctan x = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots, \qquad |x| < 1.

Both series converge also at x=1x = 1 (alternating series, 2A.7 Series), but the derivations above only work for ∣x∣<1|x| < 1. Abel's theorem closes the gap.

Theorem 6.8 Abel's theorem

If ∑n≥0cn\sum_{n \geq 0} c_n converges, then ∑cnxn\sum c_nx^n converges for ∣x∣<1|x| < 1, and lim⁡x→1−∑cnxn=∑cn\lim_{x \to 1^-}\sum c_nx^n = \sum c_n.

Proof. The terms cnc_n are bounded (they tend to 00), so the radius of convergence is at least 11. Let sn=c0+⋯+cns_n = c_0 + \cdots + c_n, s−1=0s_{-1} = 0, and s=lim⁡sns = \lim s_n. Summation by parts: for 0<x<10 < x < 1,

∑n=0Ncnxn=∑n=0N(sn−sn−1)xn=(1−x)∑n=0N−1snxn+sNxN.\sum_{n=0}^N c_nx^n = \sum_{n=0}^N (s_n - s_{n-1})x^n = (1 - x)\sum_{n=0}^{N-1}s_nx^n + s_Nx^N.

As N→∞N \to \infty, sNxN→0s_Nx^N \to 0 (the sNs_N are bounded), so f(x):=∑cnxn=(1−x)∑n≥0snxnf(x) := \sum c_nx^n = (1 - x)\sum_{n \geq 0} s_nx^n. Since also (1−x)∑n≥0xn=1(1 - x)\sum_{n\geq 0} x^n = 1,

f(x)−s=(1−x)∑n≥0(sn−s)xn.f(x) - s = (1 - x)\sum_{n \geq 0}(s_n - s)x^n.

Let ε>0\varepsilon > 0, and choose NN with ∣sn−s∣≤ε/2|s_n - s| \leq \varepsilon/2 for n>Nn > N. Split the sum at NN:

∣f(x)−s∣≤(1−x)∑n≤N∣sn−s∣+(1−x)∑n>Nε2xn≤(1−x)C+ε2,|f(x) - s| \leq (1 - x)\sum_{n \leq N}|s_n - s| + (1 - x)\sum_{n > N}\frac\varepsilon2 x^n \leq (1 - x)C + \frac\varepsilon2,

where C=∑n≤N∣sn−s∣C = \sum_{n \leq N}|s_n - s| doesn't depend on xx. For xx close enough to 11, (1−x)C<ε/2(1 - x)C < \varepsilon/2.

The proof is the argument of the exercise on averages in 2A.6 Sequences, in another form: a weighted average of the sns_n, with weights (1−x)xn(1 - x)x^n that sum to 11 and spread out as x→1x \to 1, converges to the limit of the sns_n. Applied to Example 6.7, Abel's theorem gives two famous sums:

1−12+13−14+⋯=log⁡2,1−13+15−17+⋯=arctan⁡1=π4.1 - \tfrac12 + \tfrac13 - \tfrac14 + \cdots = \log 2, \qquad 1 - \tfrac13 + \tfrac15 - \tfrac17 + \cdots = \arctan 1 = \frac\pi4.

The second is the Leibniz series. Its slowness was measured in 2A.7 Series.

The slowness is exactly what "reading the radius" predicts: x=1x = 1 sits on the boundary of the disc of convergence, where convergence is at its worst. The cure, found by John Machin in 1706, is to evaluate the same series well inside the disc. From the addition formula for the tangent one checks the identity

π4=4arctan⁡15−arctan⁡1239.\frac\pi4 = 4\arctan\frac15 - \arctan\frac1{239}.

At x=15x = \frac15 each further term of the arctangent series is smaller by a factor of about x2=125x^2 = \frac1{25}, gaining about 1.41.4 decimal digits; at x=1239x = \frac1{239} each term gains about 4.84.8. Machin computed π\pi to 100100 decimal places with this formula, by hand, and formulas of the same kind were the standard way of computing π\pi for the next two and a half centuries. Moving the point of evaluation towards the centre of the disc turned a series that needs billions of terms for ten digits into one that needs a few dozen.

The exponential and the logarithm

Definition 6.9 The exponential function
exp⁡(x)=∑n=0∞xnn!=1+x+x22+x36+⋯\exp(x) = \sum_{n=0}^\infty \frac{x^n}{n!} = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots

Since (1/n!)1/n→0(1/n!)^{1/n} \to 0 (for instance by the ratio test), the radius of convergence is infinite, and exp⁡\exp is defined, continuous and infinitely differentiable on all of R\mathbb{R}. Differentiating term by term, exp⁡′=exp⁡\exp' = \exp, and exp⁡(0)=1\exp(0) = 1. Everything else follows from these two facts.

Proposition 6.10 Properties of exp
  1. (Uniqueness) If f′=cff' = cf on an interval containing 00, then f(x)=f(0)exp⁡(cx)f(x) = f(0)\exp(cx) there.
  2. exp⁡(x+y)=exp⁡(x)exp⁡(y)\exp(x + y) = \exp(x)\exp(y) for all real x,yx, y.
  3. exp⁡(x)>0\exp(x) > 0, and exp⁡\exp is a strictly increasing bijection from R\mathbb{R} onto (0,∞)(0, \infty).

Proof. First, exp⁡(x)exp⁡(−x)=1\exp(x)\exp(-x) = 1. The function k(x)=exp⁡(x)exp⁡(−x)k(x) = \exp(x)\exp(-x) has k′=exp⁡(x)exp⁡(−x)−exp⁡(x)exp⁡(−x)=0k' = \exp(x)\exp(-x) - \exp(x)\exp(-x) = 0, so it is constant (2A.10 Derivatives), equal to k(0)=1k(0) = 1. In particular exp⁡\exp never vanishes.

(1) Let g(x)=f(x)exp⁡(−cx)g(x) = f(x)\exp(-cx). By the product and chain rules, g′=cfexp⁡(−cx)−cfexp⁡(−cx)=0g' = cf\exp(-cx) - cf\exp(-cx) = 0, so g(x)=g(0)=f(0)g(x) = g(0) = f(0). Multiplying by exp⁡(cx)\exp(cx) and using exp⁡(cx)exp⁡(−cx)=1\exp(cx)\exp(-cx) = 1 gives f(x)=f(0)exp⁡(cx)f(x) = f(0)\exp(cx).

(2) Fix yy and let h(x)=exp⁡(x+y)exp⁡(−x)h(x) = \exp(x + y)\exp(-x). Then h′=0h' = 0, so h(x)=h(0)=exp⁡(y)h(x) = h(0) = \exp(y). Multiply by exp⁡(x)\exp(x).

(3) For x≥0x \geq 0, exp⁡(x)≥1+x>0\exp(x) \geq 1 + x > 0 from the series; for x<0x < 0, exp⁡(x)=1/exp⁡(−x)>0\exp(x) = 1/\exp(-x) > 0. Since exp⁡′=exp⁡>0\exp' = \exp > 0, exp⁡\exp is strictly increasing. It is unbounded above (exp⁡x≥1+x\exp x \geq 1 + x) and tends to 00 as x→−∞x \to -\infty, so by the intermediate value theorem its image is (0,∞)(0, \infty).

Part 1 is the uniqueness of solutions of the simplest differential equation, f′=cff' = cf. It answers the radiocarbon question: decay at a rate proportional to the amount present must be exponential. Part 2 explains why a half-life makes sense: N(t+T)=N0e−λte−λTN(t + T) = N_0 e^{-\lambda t}e^{-\lambda T}, so waiting a further time TT multiplies what is left by the same factor e−λTe^{-\lambda T}, whatever tt is.

Why the exponential is everywhere. Part 1 says that ecxe^{cx} is, up to a constant, the only function whose derivative is a multiple of itself: it is the eigenfunction of differentiation, with eigenvalue cc. Part 2 says that exp⁡\exp turns addition into multiplication, so it converts anything that accumulates additively (time elapsed, energy, distance along a line) into something that compounds multiplicatively (population, money, surviving atoms, amplitude). These two properties are really one. A function with f(x+y)=f(x)f(y)f(x + y) = f(x)f(y) and f′(0)=cf'(0) = c satisfies f′(x)=lim⁡hf(x)f(h)−f(x)h=cf(x)f'(x) = \lim_h \frac{f(x)f(h) - f(x)}{h} = cf(x), and is therefore ecxe^{cx}. Every linear differential equation with constant coefficients (2B.10 Ordinary Differential Equations), every Fourier series (2B.7 Fourier Series and the First Heat Equation) and every heat semigroup (6A.3 The Heat Equation on ℝⁿ) is built from exponentials for this reason: differentiation and translation, the two operations that equations with constant coefficients are made of, act on exponentials by multiplication.

A consequence worth knowing by heart: a quantity growing at the continuous rate rr per year, N(t)=N0ertN(t) = N_0e^{rt}, doubles in time log⁡2r≈0.693r\frac{\log 2}{r} \approx \frac{0.693}{r}, which is the "rule of 7070": at 7%7\% a year, about ten years. The same constant gave the half-life above.

The number e=exp⁡(1)=∑1n!=2.71828…e = \exp(1) = \sum \frac1{n!} = 2.71828\ldots agrees with the limit lim⁡(1+1n)n\lim(1 + \tfrac1n)^n from 2A.6 Sequences (Exercise 6.20). By part 2, exp⁡(q)=eq\exp(q) = e^q for every rational qq, so exp⁡(x)\exp(x) is the real power exe^x in the sense of 2A.6 Sequences, and we write exe^x from now on.

Definition 6.11 The logarithm and real powers

The natural logarithm log⁡:(0,∞)→R\log : (0, \infty) \to \mathbb{R} is the inverse of exp⁡\exp. For a>0a > 0 and real xx, ax=exp⁡(xlog⁡a)a^x = \exp(x\log a).

The inverse function theorem of one variable (2A.10 Derivatives) gives log⁡′(y)=1/exp⁡(log⁡y)=1/y\log'(y) = 1/\exp(\log y) = 1/y. With log⁡1=0\log 1 = 0 and the fundamental theorem, log⁡y=∫1ydtt\log y = \int_1^y \frac{dt}{t}: the logarithm of 2A.11 The Riemann Integral, defined as an area, is the same function. The rules log⁡(xy)=log⁡x+log⁡y\log(xy) = \log x + \log y, ax+y=axaya^{x+y} = a^xa^y and (ax)y=axy(a^x)^y = a^{xy} follow from part 2 of the proposition. For example, exp⁡(log⁡x+log⁡y)=exp⁡(log⁡x)exp⁡(log⁡y)=xy\exp(\log x + \log y) = \exp(\log x)\exp(\log y) = xy, and applying log⁡\log gives the first rule; and ax+y=exp⁡((x+y)log⁡a)=exp⁡(xlog⁡a)exp⁡(ylog⁡a)=axaya^{x+y} = \exp((x + y)\log a) = \exp(x\log a)\exp(y\log a) = a^xa^y. For rational x=p/qx = p/q the new axa^x agrees with the old one of 2A.4 The Real Numbers, because (exp⁡(pqlog⁡a))q=exp⁡(plog⁡a)=ap(\exp(\frac pq\log a))^q = \exp(p\log a) = a^p, and roots are unique. (Mathematicians write log⁡\log for the natural logarithm, and so does the guidebook from here on; ln⁡\ln means the same.)

Two inequalities that do a great deal of work

Two inequalities follow from the convexity of exp⁡\exp and are used constantly, from here to Perelman's entropy.

Proposition 6.12 The tangent-line inequalities

For every real xx, ex≥1+xe^x \geq 1 + x, with equality only at x=0x = 0. Equivalently, for every y>0y > 0, log⁡y≤y−1\log y \leq y - 1, with equality only at y=1y = 1.

Proof. Let g(x)=ex−1−xg(x) = e^x - 1 - x. Then g(0)=0g(0) = 0 and g′(x)=ex−1g'(x) = e^x - 1, which is negative for x<0x < 0 and positive for x>0x > 0, so gg decreases to 00 and then increases: g(x)>0g(x) > 0 for x≠0x \neq 0. For the second form, put x=log⁡yx = \log y: y≥1+log⁡yy \geq 1 + \log y.

Geometrically, the graph of exe^x lies above its tangent line at 00, and the graph of log⁡\log lies below its tangent line at 11. Simple as they are, these inequalities carry real weight.

Logarithms grow slower than any power. Applying log⁡y≤y−1<y\log y \leq y - 1 < y to y=xε/2y = x^{\varepsilon/2} gives log⁡x<2εxε/2\log x < \frac{2}{\varepsilon}x^{\varepsilon/2}, so log⁡xxε<2εx−ε/2→0\frac{\log x}{x^\varepsilon} < \frac{2}{\varepsilon}x^{-\varepsilon/2} \to 0 as x→∞x \to \infty, for every ε>0\varepsilon > 0. Dually, exe^x grows faster than any power, which is the fact that made e−1/x2e^{-1/x^2} flat below. In estimates, a logarithmic factor is "almost a constant", and much of the art of geometric analysis lies in knowing when a log⁡\log can be afforded.

Relative entropy is never negative. Let p1,…,pmp_1, \dots, p_m and q1,…,qmq_1, \dots, q_m be two probability distributions with all qi>0q_i > 0. Applying log⁡y≤y−1\log y \leq y - 1 with y=qi/piy = q_i/p_i, for each ii with pi>0p_i > 0, and summing with weights pip_i,

∑ipilog⁡qipi≤∑ipi(qipi−1)=∑iqi−∑ipi≤0.\sum_i p_i\log\frac{q_i}{p_i} \leq \sum_i p_i\Big(\frac{q_i}{p_i} - 1\Big) = \sum_i q_i - \sum_i p_i \leq 0.

So the relative entropy ∑pilog⁡piqi\sum p_i\log\frac{p_i}{q_i} is non-negative, and zero only when the two distributions agree: Gibbs' inequality. It is the reason entropies have a sign, and a sign is what makes them useful. The same computation, with sums replaced by integrals, is behind the entropy functionals of Ricci flow: Perelman's F\mathcal F and W\mathcal W (12A.2 Ricci Flow as a Gradient Flow, 12A.3 The 𝓦-Entropy) are built from integrals of the form ∫fe−f\int f e^{-f} and ∫(… ) (4πτ)−n/2e−f\int(\dots)\,(4\pi\tau)^{-n/2}e^{-f}, in which e−fe^{-f} plays the role of a probability density and ff the role of its negative logarithm.

Complex exponentials and trigonometry

Tao's "digression on complex numbers" is the shortest route to sin⁡\sin and cos⁡\cos. Complex numbers z=x+iyz = x + iy, with i2=−1i^2 = -1 and ∣z∣=x2+y2|z| = \sqrt{x^2 + y^2}, form a complete metric space with d(z,w)=∣z−w∣d(z, w) = |z - w| (it is R2\mathbb{R}^2 with the Euclidean metric). All of Theorem 6.2 works for complex power series, with "interval" replaced by "disc" ∣z−a∣<R|z - a| < R. So

ez=∑n=0∞znn!e^z = \sum_{n=0}^\infty \frac{z^n}{n!}

converges for every complex zz, and ez+w=ezewe^{z + w} = e^ze^w for all complex z,wz, w. The cleanest proof multiplies the series (Proposition 6.6): the nn-th term of the Cauchy product is

∑k=0nzkk!⋅wn−k(n−k)!=1n!∑k=0n(nk)zkwn−k=(z+w)nn!,\sum_{k=0}^n \frac{z^k}{k!}\cdot\frac{w^{n-k}}{(n-k)!} = \frac{1}{n!}\sum_{k=0}^n\binom nk z^kw^{n-k} = \frac{(z + w)^n}{n!},

by the binomial theorem, which holds for complex numbers because their multiplication is commutative.

Definition 6.13 Cosine and sine

For real θ\theta, cos⁡θ\cos\theta and sin⁡θ\sin\theta are the real and imaginary parts of eiθe^{i\theta}:

eiθ=cos⁡θ+isin⁡θ(Euler’s formula),e^{i\theta} = \cos\theta + i\sin\theta \qquad (\text{Euler's formula}),
cos⁡θ=1−θ22!+θ44!−⋯ ,sin⁡θ=θ−θ33!+θ55!−⋯ .\cos\theta = 1 - \frac{\theta^2}{2!} + \frac{\theta^4}{4!} - \cdots, \qquad \sin\theta = \theta - \frac{\theta^3}{3!} + \frac{\theta^5}{5!} - \cdots.

Everything about trigonometry follows. Since eiθ‾=e−iθ\overline{e^{i\theta}} = e^{-i\theta}, we get ∣eiθ∣2=eiθe−iθ=1|e^{i\theta}|^2 = e^{i\theta}e^{-i\theta} = 1, that is, cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1. Differentiating the series, cos⁡′=−sin⁡\cos' = -\sin and sin⁡′=cos⁡\sin' = \cos. The addition formulas are the real and imaginary parts of ei(α+β)=eiαeiβe^{i(\alpha + \beta)} = e^{i\alpha}e^{i\beta}. And π\pi can be defined, and its properties proved, from the series alone.

Proposition 6.14 The number π

cos⁡\cos has a smallest positive zero, and calling it π2\frac\pi2: sin⁡π2=1\sin\frac\pi2 = 1, eiπ/2=ie^{i\pi/2} = i, eiπ=−1e^{i\pi} = -1, and cos⁡\cos and sin⁡\sin are periodic with period 2π2\pi.

Proof. sin⁡\sin is positive on (0,2](0, 2]. For 0<x≤20 < x \leq 2, the terms x2k+1(2k+1)!\frac{x^{2k+1}}{(2k+1)!} of the sine series decrease (consecutive ratios are x2(2k+2)(2k+3)≤46<1\frac{x^2}{(2k+2)(2k+3)} \leq \frac46 < 1), and they alternate in sign, so by the alternating series bound (2A.7 Series) sin⁡x≥x−x36=x(1−x26)>0\sin x \geq x - \frac{x^3}{6} = x\big(1 - \frac{x^2}{6}\big) > 0.

cos⁡\cos has a zero in (0,2)(0, 2). The terms 22k(2k)!\frac{2^{2k}}{(2k)!} of the cosine series at 22 are 1,2,23,445,…1, 2, \frac23, \frac4{45}, \dots, decreasing from the second on. So cos⁡2\cos 2 lies between the partial sums 1−2+23=−131 - 2 + \frac23 = -\frac13 and −13−445-\frac13 - \frac4{45}, and is negative. Since cos⁡0=1>0\cos 0 = 1 > 0, the intermediate value theorem gives a zero in (0,2)(0, 2); and since cos⁡′=−sin⁡<0\cos' = -\sin < 0 on (0,2](0, 2], cos⁡\cos is strictly decreasing there, so it has exactly one zero in (0,2](0, 2], and none in (0,that zero)(0, \text{that zero}). Call it π2\frac\pi2.

The values. sin⁡2π2=1−cos⁡2π2=1\sin^2\frac\pi2 = 1 - \cos^2\frac\pi2 = 1 and sin⁡π2>0\sin\frac\pi2 > 0, so sin⁡π2=1\sin\frac\pi2 = 1 and eiπ/2=0+i⋅1=ie^{i\pi/2} = 0 + i\cdot 1 = i. Then eiπ=(eiπ/2)2=i2=−1e^{i\pi} = (e^{i\pi/2})^2 = i^2 = -1 and e2πi=1e^{2\pi i} = 1, so ei(θ+2π)=eiθe2πi=eiθe^{i(\theta + 2\pi)} = e^{i\theta}e^{2\pi i} = e^{i\theta}: taking real and imaginary parts, cos⁡\cos and sin⁡\sin have period 2π2\pi.

Bounding the cosine series the same way at 1.51.5 and 1.61.6 shows cos⁡1.5>0>cos⁡1.6\cos 1.5 > 0 > \cos 1.6, so 3<π<3.23 < \pi < 3.2 (Exercise 6.25). So t↦eitt \mapsto e^{it} goes once around the unit circle at unit speed as tt runs over [0,2π)[0, 2\pi), which is the connection with angles: the length of the arc from 11 to eite^{it} is tt (its speed is ∣ieit∣=1|ie^{it}| = 1).

Why the series for 11+x2\frac{1}{1+x^2} stops at 11

The function f(x)=11+x2f(x) = \frac{1}{1+x^2} is perfectly smooth on the whole real line. Its Taylor series at 00 is the geometric series

11+x2=1−x2+x4−x6+⋯ ,\frac{1}{1 + x^2} = 1 - x^2 + x^4 - x^6 + \cdots,

which has radius of convergence 11 and diverges for ∣x∣>1|x| > 1 (Figure 6.1). Nothing happens to ff at x=±1x = \pm 1, so why should the series stop there?

The answer is in the complex plane. As a function of a complex variable, 11+z2\frac{1}{1 + z^2} blows up at z=±iz = \pm i, where 1+z2=01 + z^2 = 0. A complex power series converges on a disc, and the disc centred at 00 can't extend past the nearest point where the function misbehaves. That point, ii, is at distance 11. The real interval of convergence is just the disc's shadow on the real line.

The complex picture predicts something checkable. Expand the same function about a different centre aa on the real line. The nearest singularities are still ±i\pm i, now at distance 1+a2\sqrt{1 + a^2} from aa, so the Taylor series at aa should have radius exactly 1+a2\sqrt{1 + a^2}, larger the further out the centre is. It does. Writing 11+x2=12i(1x−i−1x+i)\frac{1}{1 + x^2} = \frac{1}{2i}\Big(\frac{1}{x - i} - \frac{1}{x + i}\Big) and expanding each fraction as a geometric series in x−ax - a, the first converges exactly when ∣x−a∣<∣a−i∣|x - a| < |a - i| and the second when ∣x−a∣<∣a+i∣|x - a| < |a + i|, and both distances are 1+a2\sqrt{1 + a^2}. No calculation on the real line alone explains why the radius should be 1+a2\sqrt{1 + a^2}; in the complex plane it is the distance from a point to a pole.

Figure 6.1. Left: partial sums of 1−x2+x4−⋯1 - x^2 + x^4 - \cdots (degrees 2,4,10,202, 4, 10, 20) track 11+x2\frac{1}{1+x^2} for ∣x∣<1|x| < 1 and diverge beyond. Right: the reason. In the complex plane the function has poles at ±i\pm i, and the disc of convergence about 00 reaches exactly to them.

This is the seam to complex analysis (Book 5A, optional), where it becomes a theorem: the radius of convergence of the Taylor series of a complex-differentiable function at a point is the distance to the nearest singularity.

The matrix exponential

The exponential series makes sense whenever we can multiply, add and take limits. For a square matrix AA,

eA=I+A+A22!+A33!+⋯ .e^A = I + A + \frac{A^2}{2!} + \frac{A^3}{3!} + \cdots.

To see that it converges, measure matrices by the operator norm ∥A∥=sup⁡{∣Av∣:∣v∣≤1}\|A\| = \sup\{|Av| : |v| \leq 1\}. It satisfies ∥AB∥≤∥A∥ ∥B∥\|AB\| \leq \|A\|\,\|B\|, so ∥Ak/k!∥≤∥A∥k/k!\|A^k/k!\| \leq \|A\|^k/k!, and the series converges absolutely by the M-test, in the complete space of n×nn \times n matrices (Rn2\mathbb{R}^{n^2}, any norm, 2B.3 Compactness). Moreover ∥eA∥≤e∥A∥\|e^A\| \leq e^{\|A\|}.

Proposition 6.15 The matrix exponential
  1. ddtetA=A etA=etAA\frac{d}{dt}e^{tA} = A\,e^{tA} = e^{tA}A.
  2. For every x0∈Rnx_0 \in \mathbb{R}^n, x(t)=etAx0x(t) = e^{tA}x_0 is the unique solution of x′=Axx' = Ax with x(0)=x0x(0) = x_0.
  3. If AB=BAAB = BA, then eA+B=eAeBe^{A + B} = e^Ae^B. In particular etAe^{tA} is invertible, with inverse e−tAe^{-tA}.

Proof. (1) Each entry of etAe^{tA} is a power series in tt with infinite radius of convergence, so it can be differentiated term by term: ddt∑tkAkk!=∑tk−1Ak(k−1)!\frac{d}{dt}\sum \frac{t^kA^k}{k!} = \sum \frac{t^{k-1}A^k}{(k-1)!}. (2) Existence is (1). For uniqueness, if x′=Axx' = Ax, then ddt(e−tAx(t))=−Ae−tAx+e−tAAx=0\frac{d}{dt}\big(e^{-tA}x(t)\big) = -Ae^{-tA}x + e^{-tA}Ax = 0 (using that AA commutes with e−tAe^{-tA}), so e−tAx(t)=x0e^{-tA}x(t) = x_0, and x(t)=etAx0x(t) = e^{tA}x_0 once we know etAe−tA=Ie^{tA}e^{-tA} = I. (3) As for real numbers: both et(A+B)e^{t(A+B)} and etAetBe^{tA}e^{tB} solve X′=(A+B)XX' = (A + B)X, X(0)=IX(0) = I (this uses AB=BAAB = BA to move BB past etAe^{tA}), so they agree by the uniqueness in (2) applied column by column. With B=−AB = -A this gives etAe−tA=Ie^{tA}e^{-tA} = I.

The hypothesis AB=BAAB = BA is essential: for most pairs of matrices eA+B≠eAeBe^{A+B} \neq e^Ae^B. That failure is the beginning of Lie theory (8A.5 Lie Groups and Group Actions).

Computing matrix exponentials

The series defines etAe^{tA}, but it is rarely how one computes it by hand. Two cases cover what is needed.

Diagonalisable matrices. If A=PDP−1A = PDP^{-1} with D=diag⁡(λ1,…,λn)D = \operatorname{diag}(\lambda_1, \dots, \lambda_n), then Ak=PDkP−1A^k = PD^kP^{-1}, so etA=P diag⁡(eλ1t,…,eλnt) P−1e^{tA} = P\,\operatorname{diag}(e^{\lambda_1t}, \dots, e^{\lambda_nt})\,P^{-1}. In the eigenvector coordinates the system x′=Axx' = Ax decouples into nn separate equations yj′=λjyjy_j' = \lambda_jy_j, each solved by an exponential. Real eigenvalues give growth or decay along their eigenvectors; a complex pair a±iba \pm ib gives, by Example 6.16 and Euler's formula, rotation at angular speed bb combined with growth or decay at rate aa.

A Jordan block. The matrix A=(λ10λ)A = \begin{pmatrix}\lambda & 1 \\ 0 & \lambda\end{pmatrix} is not diagonalisable. Write A=λI+NA = \lambda I + N with N=(0100)N = \begin{pmatrix}0 & 1 \\ 0 & 0\end{pmatrix}. The two parts commute, and N2=0N^2 = 0, so

etA=eλtetN=eλt(I+tN)=eλt(1t01).e^{tA} = e^{\lambda t}e^{tN} = e^{\lambda t}(I + tN) = e^{\lambda t}\begin{pmatrix}1 & t \\ 0 & 1\end{pmatrix}.

A factor of tt appears in front of the exponential. In general, for a Jordan block of size mm, the entries of etAe^{tA} are eλte^{\lambda t} times polynomials in tt of degree up to m−1m - 1. This is the "resonance" that every course on differential equations meets as a special case: y′′−2λy′+λ2y=0y'' - 2\lambda y' + \lambda^2y = 0 has solutions eλte^{\lambda t} and teλtte^{\lambda t}.

Read together, the two cases give the rule that decides stability. Every entry of etAe^{tA} is a combination of terms tjeλtt^je^{\lambda t} over the eigenvalues λ\lambda of AA. If every eigenvalue has negative real part, every term decays, because the exponential beats the polynomial, and every solution of x′=Axx' = Ax tends to 00. If some eigenvalue has positive real part, some solutions grow exponentially. The polynomial factors never change which of the two happens, but they can produce large transient growth before the decay takes over, as the matrix of 2B.2 Completeness and Contraction's weighted-norm example did.

When the matrices don't commute. For non-commuting AA and BB, the exponential of the sum can still be recovered from the separate exponentials, in the limit:

eA+B=lim⁡n→∞(eA/neB/n)n.e^{A + B} = \lim_{n \to \infty}\big(e^{A/n}e^{B/n}\big)^n.

The idea is that for small steps the failure to commute is of second order: expanding both sides, eA/neB/n=I+A+Bn+O(n−2)e^{A/n}e^{B/n} = I + \frac{A + B}{n} + O(n^{-2}), the same as e(A+B)/ne^{(A+B)/n} up to an error of order n−2n^{-2}, and nn such errors add up to something of order n−1n^{-1}, which vanishes in the limit. This is the Lie product formula; H. F. Trotter extended it to operators in 1959. It is the basis of operator splitting, a standard method for solving equations whose right side is a sum of two parts that are each easy to solve alone (diffusion plus reaction, for instance): alternate short steps of each.

Example 6.16 Rotations as exponentials

Let J=(0−110)J = \begin{pmatrix}0 & -1\\ 1 & 0\end{pmatrix}. Then J2=−IJ^2 = -I, so the powers of JJ cycle like the powers of ii, and splitting the series into even and odd terms gives

etJ=(1−t22!+⋯)I+(t−t33!+⋯)J=(cos⁡t−sin⁡tsin⁡tcos⁡t),e^{tJ} = \Big(1 - \frac{t^2}{2!} + \cdots\Big)I + \Big(t - \frac{t^3}{3!} + \cdots\Big)J = \begin{pmatrix}\cos t & -\sin t\\ \sin t & \cos t\end{pmatrix},

the rotation by angle tt. The solution of x′=Jxx' = Jx, a velocity always perpendicular to the position, is uniform motion around a circle. JJ is the matrix of multiplication by ii on C=R2\mathbb{C} = \mathbb{R}^2, and this is Euler's formula again.

In the world In use Rodrigues' rotation formula

Robots, cameras and spacecraft need to represent rotations in space, and a convenient way is by a rotation vector θ ω\theta\,\omega: rotate by angle θ\theta about the unit axis ω\omega. The rotation matrix is the exponential R=eθKR = e^{\theta K} of the skew-symmetric matrix KK with Kv=ω×vKv = \omega \times v. Because K3=−KK^3 = -K, the series collapses, just as in Example 6.16, to Rodrigues' formula

R=I+sin⁡θ K+(1−cos⁡θ) K2.R = I + \sin\theta\,K + (1 - \cos\theta)\,K^2.

Computer-vision libraries convert between rotation vectors and matrices with exactly this formula (OpenCV calls the function Rodrigues), and estimation methods in robotics often work with the rotation vector, which lives in a vector space and can be averaged and differentiated, and only exponentiate at the end.

Where this goes Exponentials later

The matrix exponential solves linear ODEs (2B.10 Ordinary Differential Equations), where the eigenvalues of AA decide whether solutions grow, decay or rotate. Its infinite-dimensional version is the heat semigroup: in 2B.7 Fourier Series and the First Heat Equation the heat equation on a ring is solved by multiplying the kk-th Fourier coefficient by e−4π2k2te^{-4\pi^2k^2t}, which is etΔe^{t\Delta} acting diagonally (6A.3 The Heat Equation on ℝⁿ). On a Lie group, etAe^{tA} traces out one-parameter subgroups (8A.5 Lie Groups and Group Actions), and the exponential map of a Riemannian manifold, which sends a tangent vector to the endpoint of the geodesic it generates, is named after it (9A.3 Geodesics and the Exponential Map).

Smooth functions that are not analytic

Example 6.17 A function flat to infinite order

Let f(x)=e−1/x2f(x) = e^{-1/x^2} for x≠0x \neq 0 and f(0)=0f(0) = 0. Then ff is infinitely differentiable on R\mathbb{R}, and f(n)(0)=0f^{(n)}(0) = 0 for every nn. So its Taylor series at 00 is identically 00, while f(x)>0f(x) > 0 for x≠0x \neq 0: ff is smooth but not analytic at 00.

Proof. Away from 00, by induction, f(n)(x)=pn(1/x) e−1/x2f^{(n)}(x) = p_n(1/x)\,e^{-1/x^2} for some polynomial pnp_n: differentiating pn(1/x)e−1/x2p_n(1/x)e^{-1/x^2} gives (−x−2pn′(1/x)+2x−3pn(1/x))e−1/x2\big(-x^{-2}p_n'(1/x) + 2x^{-3}p_n(1/x)\big)e^{-1/x^2}, again of this form.

At 00, the key fact is that e−1/x2e^{-1/x^2} beats every power: for each kk, x−ke−1/x2→0x^{-k}e^{-1/x^2} \to 0 as x→0x \to 0. (With u=1/x2u = 1/x^2, this is uk/2e−u→0u^{k/2}e^{-u} \to 0 as u→∞u \to \infty, which follows from eu≥umm!e^u \geq \frac{u^m}{m!} for m>k/2m > k/2.) So p(1/x)e−1/x2→0p(1/x)e^{-1/x^2} \to 0 for every polynomial pp. Now suppose f(n)(0)=0f^{(n)}(0) = 0. Then

f(n+1)(0)=lim⁡x→0f(n)(x)−0x=lim⁡x→01x pn(1/x) e−1/x2=0,f^{(n+1)}(0) = \lim_{x \to 0}\frac{f^{(n)}(x) - 0}{x} = \lim_{x\to 0} \frac1x\,p_n(1/x)\,e^{-1/x^2} = 0,

since 1xpn(1x)\frac1x p_n(\frac1x) is again a polynomial in 1x\frac1x. By induction, all derivatives at 00 vanish.

Figure 6.2. e−1/x2e^{-1/x^2} (heavy) and its first two derivatives. Near 00 all three are so flat that they are indistinguishable from 00: every derivative vanishes at the origin, yet the function is not zero.

Cauchy gave this example in 1823 to show that a function is not determined by its Taylor series. For analysis it is a gift: it lets us build smooth functions that are exactly zero in one place and positive in another, which no analytic function can do.

Bumps and cutoffs

Use the one-sided version: ψ(x)=e−1/x\psi(x) = e^{-1/x} for x>0x > 0 and ψ(x)=0\psi(x) = 0 for x≤0x \leq 0. The same proof shows ψ\psi is smooth, with all derivatives 00 at 00. From ψ\psi:

  • A bump. ϕ(x)=ψ(1−x2)\phi(x) = \psi(1 - x^2) is smooth, positive on (−1,1)(-1, 1), and zero outside. In Rn\mathbb{R}^n, ϕ(∣x∣)\phi(|x|) is a smooth bump on the unit ball (smooth even at 00, because 1−∣x∣21 - |x|^2 is a polynomial in the coordinates).
  • A smooth step. S(x)=ψ(x)ψ(x)+ψ(1−x)S(x) = \dfrac{\psi(x)}{\psi(x) + \psi(1 - x)} is smooth (the denominator is never 00), equal to 00 for x≤0x \leq 0, to 11 for x≥1x \geq 1, and increasing in between (Exercise 6.22).
  • A cutoff. χ(x)=S(2−∣x∣)\chi(x) = S(2 - |x|) equals 11 on [−1,1][-1, 1], 00 outside (−2,2)(-2, 2), and is smooth everywhere: near 00 it is constant, so the corner of ∣x∣|x| doesn't matter.
Figure 6.3. Left: the bump ψ(1−x2)\psi(1 - x^2), smooth, positive exactly on (−1,1)(-1, 1). Right: the cutoff χ\chi, equal to 11 on [−1,1][-1, 1] and 00 outside (−2,2)(-2, 2), with a smooth transition in between.

Rescaling gives cutoffs adapted to any scale: χ(x/ρ)\chi(x/\rho) is 11 on the ball of radius ρ\rho and 00 outside radius 2ρ2\rho, and its derivatives scale like ∣χ′(x/ρ)/ρ∣≤C/ρ|\chi'(x/\rho)/\rho| \leq C/\rho and C/ρ2C/\rho^2 for the second derivative (Exercise 6.27). That scaling is the whole art of localising an estimate: the cost of cutting off at radius ρ\rho is a factor 1/ρ1/\rho per derivative.

The cost is unavoidable. A function that rises from 00 to 11 over a distance ρ\rho must, by the mean value theorem, have slope at least 1/ρ1/\rho somewhere, and its second derivative must be at least of order 1/ρ21/\rho^2 somewhere, because the slope has to rise from 00 and fall back to 00 within that distance. Smoothness does not make a cutoff cheaper; it only makes all derivatives finite. What the construction from e−1/xe^{-1/x} provides is that the price is paid only in the transition region, and that the price of the kk-th derivative is Ck/ρkC_k/\rho^k, with constants independent of the scale.

Every sequence is a Taylor series

Cutoffs also show how completely smooth functions escape the rigidity of analytic ones. An analytic function is determined, near a point, by its Taylor coefficients, and those coefficients cannot be arbitrary: they must grow at most geometrically, by Theorem 6.2. For smooth functions there is no constraint at all.

Theorem 6.18 Borel's theorem

For every sequence of real numbers a0,a1,a2,…a_0, a_1, a_2, \dots there is a smooth function ff on R\mathbb{R} with f(n)(0)=anf^{(n)}(0) = a_n for every nn.

Proof. The naive attempt ∑anxnn!\sum a_n\frac{x^n}{n!} fails when the ana_n grow fast, because the series diverges for every x≠0x \neq 0. The repair is to cut each term off at a scale that shrinks fast enough to tame it. Let χ\chi be the cutoff of this chapter (11 on [−1,1][-1, 1], 00 outside (−2,2)(-2, 2)) and set

f(x)=∑n=0∞anxnn! χ(xεn),f(x) = \sum_{n=0}^\infty a_n\frac{x^n}{n!}\,\chi\Big(\frac{x}{\varepsilon_n}\Big),

with 0<εn≤10 < \varepsilon_n \leq 1 still to be chosen. Each term gng_n is smooth and vanishes for ∣x∣≥2εn|x| \geq 2\varepsilon_n. Near 00, where χ(x/εn)=1\chi(x/\varepsilon_n) = 1, the term is exactly anxn/n!a_nx^n/n!, whose derivatives at 00 are ana_n in order nn and 00 in every other order.

The point is to make the series of kk-th derivatives converge uniformly for every kk. For k<nk < n, each derivative of gng_n is, by the product rule, a sum of terms ann!⋅n!(n−j)!xn−j⋅εn−(k−j)χ(k−j)(x/εn)\frac{a_n}{n!}\cdot\frac{n!}{(n-j)!}x^{n-j}\cdot\varepsilon_n^{-(k-j)}\chi^{(k-j)}(x/\varepsilon_n), and on the support ∣x∣≤2εn|x| \leq 2\varepsilon_n each is at most ∣an∣ Ck 2nεnn−k|a_n|\,C_k\,2^n\varepsilon_n^{n-k} for a constant CkC_k depending only on kk and the bounds on χ\chi's derivatives. Since n−k≥1n - k \geq 1 (the finitely many terms with n≤kn \leq k do not affect convergence), choosing εn\varepsilon_n so small that ∣an∣ 2nεn≤2−n|a_n|\,2^n\varepsilon_n \leq 2^{-n} makes these bounds at most Ck2−nC_k2^{-n}, a summable sequence. By the M-test and 2B.5 Uniform Convergence and Arzelà–Ascoli's theorem on differentiating limits, applied once for each kk, ff is smooth and its derivatives can be computed term by term. At 00 only the term n=kn = k contributes to f(k)(0)f^{(k)}(0), and it contributes aka_k.

Émile Borel proved this in 1895. Read with Example 6.17, it says that the Taylor series of a smooth function carries no information about the function away from the point: any series can occur, and adding a flat function changes the function without changing its series. That freedom is exactly what geometry needs from smooth functions, and exactly what analytic functions lack.

Where this goes Where bumps and cutoffs are used
  • Mollifiers (3A.8 Convolution and Mollifiers): convolving with a rescaled bump ρ−nϕ(x/ρ)\rho^{-n}\phi(x/\rho) (normalised to integral 11) smooths any integrable function, an approximate identity as in 2B.5 Uniform Convergence and Arzelà–Ascoli.
  • Partitions of unity (8A.2 Partitions of Unity): on a manifold, smooth functions that sum to 11 and are each supported in one coordinate chart. They are how anything defined in charts, from integrals to Riemannian metrics, is glued into a global object. Without non-analytic smooth functions there would be no partitions of unity.
  • Localised estimates: to prove a bound near a point, multiply by a cutoff, prove the bound for the product, and pay for the cutoff's derivatives. In 12A.4 κ-Noncollapsing, Perelman proves κ-noncollapsing by testing his W\mathcal{W}-entropy against a function built from a cutoff of the distance, of the form e−f/2∝χ(dist/r)e^{-f/2} \propto \chi(\mathrm{dist}/r) scaled to a ball of radius rr, and the factors of 1/r1/r from its derivative are exactly what the scale-invariant estimate absorbs.

History

Newton found the binomial series and power series for sine and cosine in the 1660s; Euler, in his Introductio in analysin infinitorum (1748), made the exponential function central and wrote down eix=cos⁡x+isin⁡xe^{ix} = \cos x + i\sin x. Cauchy's 1821 Cours d'analyse gave the radius of convergence via what is now the root test, and Hadamard rediscovered the formula 1/lim sup⁡∣cn∣1/n1/\limsup|c_n|^{1/n} in 1888. Abel's theorem dates from 1826. Cauchy's flat function appeared in 1823. The matrix exponential is implicit in 19th-century work on linear differential equations and in Sophus Lie's theory of continuous groups (1870s onwards).

Borel's theorem on arbitrary Taylor series dates from 1895, and Trotter's product formula for operators from 1959.

Recall Where we stand

A power series converges on an interval (in C\mathbb{C}, a disc) determined by the root test, uniformly on smaller closed intervals, and can be differentiated term by term. The exponential is defined by its series; f′=cff' = cf forces ff to be exponential; exp⁡\exp turns sums into products and has the logarithm as its inverse; and eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta gives all of trigonometry. The radius of convergence is governed by singularities in the complex plane. The matrix exponential solves linear systems. Finally, e−1/x2e^{-1/x^2} is smooth but flat at 00, and from it come bumps and cutoffs, the tools for localising. 2B.7 Fourier Series and the First Heat Equation uses complex exponentials e2πikxe^{2\pi ikx} as building blocks for periodic functions, and solves the heat equation with them.

Exercises

Exercise 6.19 Radii of convergence

Find the radius of convergence of: (a) ∑n3xn\sum n^3x^n; (b) ∑xn2n+3n\sum \frac{x^n}{2^n + 3^n}; (c) ∑n! xn\sum n!\,x^n; (d) ∑x2n(2n)!\sum \frac{x^{2n}}{(2n)!}; (e) ∑xn2\sum x^{n^2}.

Solution

(a) 11. (b) 33, since (2n+3n)1/n→3(2^n + 3^n)^{1/n} \to 3. (c) 00. (d) ∞\infty (this is cosh⁡x\cosh x). (e) 11: the coefficients are 11 at perfect squares and 00 elsewhere, so lim sup⁡∣cn∣1/n=1\limsup|c_n|^{1/n} = 1.

Exercise 6.20 Two definitions of ee

Show that (1+xn)n→ex(1 + \frac xn)^n \to e^x for every real xx, by showing nlog⁡(1+xn)→xn\log(1 + \frac xn) \to x (use log⁡(1+u)=u+O(u2)\log(1 + u) = u + O(u^2), or the mean value theorem for log⁡\log). Deduce that lim⁡(1+1n)n=exp⁡(1)\lim(1 + \frac1n)^n = \exp(1), so the ee of 2A.6 Sequences is the ee of this chapter.

Solution

Take n>∣x∣n > |x|, so 1+xn>01 + \frac xn > 0. By the mean value theorem for log⁡\log on the interval between 11 and 1+u1 + u, log⁡(1+u)=u1+c\log(1 + u) = \frac{u}{1 + c} for some cc between 00 and uu. With u=xnu = \frac xn: nlog⁡(1+xn)=x1+cnn\log(1 + \frac xn) = \frac{x}{1 + c_n} with ∣cn∣≤∣x∣n→0|c_n| \leq \frac{|x|}{n} \to 0, so it tends to xx. Since exp⁡\exp is continuous, (1+xn)n=exp⁡(nlog⁡(1+xn))→ex(1 + \frac xn)^n = \exp\big(n\log(1 + \frac xn)\big) \to e^x.

Exercise 6.21 Analytic functions are rigid

Let ff be real analytic on an open interval II, and suppose f=0f = 0 on some subinterval (c,d)⊆I(c, d) \subseteq I. Show that f=0f = 0 on II. (Let SS be the set of points of II near which ff vanishes identically. Show SS is open, non-empty and closed in II, the last because at a limit point of SS all derivatives of ff vanish, so its Taylor series there is 00. Then use 2B.4 Connectedness.) Explain why this means no analytic function can be a bump.

Solution

SS is open by definition and contains (c,d)(c, d). If a∈Ia \in I is a limit of points sk∈Ss_k \in S, then each f(n)f^{(n)} is continuous and vanishes at the sks_k, so f(n)(a)=0f^{(n)}(a) = 0 for all nn. Near aa, ff equals its Taylor series at aa, which is 00; so a∈Sa \in S. Thus SS is clopen in the connected interval II, and S=IS = I. A bump vanishes on an interval but not everywhere, so it can't be analytic.

Exercise 6.22 The smooth step

With ψ(x)=e−1/x\psi(x) = e^{-1/x} for x>0x > 0 and 00 otherwise, show that S(x)=ψ(x)ψ(x)+ψ(1−x)S(x) = \frac{\psi(x)}{\psi(x) + \psi(1 - x)} is smooth on R\mathbb{R}, 00 for x≤0x \leq 0, 11 for x≥1x \geq 1, and increasing on [0,1][0, 1].

Hint

For monotonicity, write S=11+ψ(1−x)/ψ(x)S = \frac{1}{1 + \psi(1-x)/\psi(x)} on (0,1)(0, 1) and check that ψ(1−x)/ψ(x)=exp⁡(1x−11−x)\psi(1 - x)/\psi(x) = \exp\big(\frac1x - \frac1{1-x}\big) is decreasing.

Solution

Smooth: numerator and denominator are smooth, and the denominator never vanishes, since for x<1x < 1, ψ(1−x)>0\psi(1 - x) > 0, and for x>0x > 0, ψ(x)>0\psi(x) > 0. Values: for x≤0x \leq 0, ψ(x)=0\psi(x) = 0, so S=0S = 0; for x≥1x \geq 1, ψ(1−x)=0\psi(1 - x) = 0, so S=1S = 1. Increasing on (0,1)(0, 1): there both values of ψ\psi are positive, and ψ(1−x)ψ(x)=exp⁡(1x−11−x)\frac{\psi(1-x)}{\psi(x)} = \exp\big(\frac1x - \frac{1}{1-x}\big); the exponent is strictly decreasing (1x\frac1x decreases and 11−x\frac{1}{1-x} increases), so the ratio decreases and S=11+ratioS = \frac{1}{1 + \text{ratio}} increases.

Exercise 6.23 Matrix exponentials

Compute etAe^{tA} for (a) A=(200−1)A = \begin{pmatrix}2 & 0\\0 & -1\end{pmatrix}; (b) A=(0100)A = \begin{pmatrix}0 & 1\\0 & 0\end{pmatrix}; (c) A=(a−bba)A = \begin{pmatrix}a & -b\\ b & a\end{pmatrix}. Describe the solutions of x′=Axx' = Ax in each case. Then check that eAeB≠eA+Be^A e^B \neq e^{A + B} for A=(0100)A = \begin{pmatrix}0 & 1\\0 & 0\end{pmatrix} and B=(0010)B = \begin{pmatrix}0 & 0\\1 & 0\end{pmatrix} (compute eA+Be^{A+B} using (A+B)2=I(A + B)^2 = I).

Solution

(a) diag(e2t,e−t)\mathrm{diag}(e^{2t}, e^{-t}): growth along the first axis, decay along the second (a saddle). (b) A2=0A^2 = 0, so etA=I+tA=(1t01)e^{tA} = I + tA = \begin{pmatrix}1 & t\\0 & 1\end{pmatrix}: shear, growing only linearly. (c) A=aI+bJA = aI + bJ with aIaI and bJbJ commuting, so etA=eat(cos⁡bt−sin⁡btsin⁡btcos⁡bt)e^{tA} = e^{at}\begin{pmatrix}\cos bt & -\sin bt\\ \sin bt & \cos bt\end{pmatrix}: spirals, outward if a>0a > 0, inward if a<0a < 0. Finally, eAeB=(1101)(1011)=(2111)e^Ae^B = \begin{pmatrix}1&1\\0&1\end{pmatrix}\begin{pmatrix}1&0\\1&1\end{pmatrix} = \begin{pmatrix}2 & 1\\1 & 1\end{pmatrix}, while eA+B=cosh⁡1 I+sinh⁡1 (A+B)=(cosh⁡1sinh⁡1sinh⁡1cosh⁡1)e^{A+B} = \cosh 1\,I + \sinh 1\,(A + B) = \begin{pmatrix}\cosh 1 & \sinh 1\\ \sinh 1 & \cosh 1\end{pmatrix}.

Exercise 6.24 Determinant of an exponential

Show that det⁡eA=etr⁡A\det e^A = e^{\operatorname{tr}A} when AA is diagonalisable (write A=PDP−1A = PDP^{-1} and note eA=PeDP−1e^A = Pe^DP^{-1}). Deduce that eAe^A always has positive determinant when AA is diagonalisable. (It holds for every AA, by the density of diagonalisable matrices; compare 2B.4 Connectedness's exercise on GLnGL_n.)

Solution

(PDP−1)k=PDkP−1(PDP^{-1})^k = PD^kP^{-1}, so each partial sum of eAe^A is PP times the partial sum of eDe^D times P−1P^{-1}, and in the limit eA=PeDP−1e^A = Pe^DP^{-1}. If D=diag(λ1,…,λn)D = \mathrm{diag}(\lambda_1, \dots, \lambda_n) (possibly complex), eD=diag(eλ1,…,eλn)e^D = \mathrm{diag}(e^{\lambda_1}, \dots, e^{\lambda_n}). So det⁡eA=det⁡eD=eλ1⋯eλn=eλ1+⋯+λn=etr⁡A\det e^A = \det e^D = e^{\lambda_1}\cdots e^{\lambda_n} = e^{\lambda_1 + \cdots + \lambda_n} = e^{\operatorname{tr}A}, which is positive because tr⁡A\operatorname{tr}A is real. So eAe^A lies in the component of GLnGL_n with positive determinant.

Exercise 6.25 Locating π

Use the alternating series bound on the cosine series to show that cos⁡1.5>0\cos 1.5 > 0 and cos⁡1.6<0\cos 1.6 < 0, and deduce 3<π<3.23 < \pi < 3.2.

Solution

At x=1.5x = 1.5 the terms x2k(2k)!\frac{x^{2k}}{(2k)!} are 1,1.125,0.2109,0.0158,…1, 1.125, 0.2109, 0.0158, \dots, decreasing from the second on, so cos⁡1.5\cos 1.5 lies between the partial sums 1−1.125+0.2109=0.08591 - 1.125 + 0.2109 = 0.0859 and 0.0859−0.0158=0.07010.0859 - 0.0158 = 0.0701: positive. At x=1.6x = 1.6 the terms are 1,1.28,0.2731,0.0233,0.0011,…1, 1.28, 0.2731, 0.0233, 0.0011, \dots, and cos⁡1.6\cos 1.6 lies between −0.0302-0.0302 and −0.0292-0.0292: negative. So the first positive zero π2\frac\pi2 of cos⁡\cos lies in (1.5,1.6)(1.5, 1.6).

Exercise 6.26 Squaring a geometric series

Use Proposition 6.6 to show 1(1−x)2=∑n≥0(n+1)xn\frac{1}{(1 - x)^2} = \sum_{n \geq 0}(n + 1)x^n for ∣x∣<1|x| < 1, and check it by differentiating 11−x=∑xn\frac{1}{1 - x} = \sum x^n term by term.

Solution

With an=bn=xna_n = b_n = x^n, cn=∑k=0nxkxn−k=(n+1)xnc_n = \sum_{k=0}^n x^kx^{n-k} = (n+1)x^n. Differentiating: ddx11−x=1(1−x)2\frac{d}{dx}\frac{1}{1 - x} = \frac{1}{(1-x)^2} and ddx∑xn=∑nxn−1=∑(n+1)xn\frac{d}{dx}\sum x^n = \sum nx^{n-1} = \sum(n + 1)x^n.

Exercise 6.27 Rehearsal: cutoffs at scale ρ\rho

Let χ\chi be the cutoff of this chapter, with ∣χ′∣≤C1|\chi'| \leq C_1 and ∣χ′′∣≤C2|\chi''| \leq C_2. For ρ>0\rho > 0, let χρ(x)=χ(∣x∣/ρ)\chi_\rho(x) = \chi(|x|/\rho) on Rn\mathbb{R}^n. (a) Show that χρ=1\chi_\rho = 1 on the ball of radius ρ\rho, χρ=0\chi_\rho = 0 outside radius 2ρ2\rho, and that its first and second partial derivatives are bounded by C1′/ρC_1'/\rho and C2′/ρ2C_2'/\rho^2 for constants not depending on ρ\rho. (b) If uu is a function with ∫B(0,2ρ)∣∇u∣2≤A\int_{B(0, 2\rho)}|\nabla u|^2 \leq A, show that ∫∣∇(χρu)∣2≤2A+2C1′2ρ2∫B(0,2ρ)u2\int|\nabla(\chi_\rho u)|^2 \leq 2A + \frac{2C_1'^2}{\rho^2}\int_{B(0, 2\rho)} u^2. This trade, a cutoff at scale ρ\rho costing a factor ρ−2\rho^{-2} on the lower-order term, is exactly the bookkeeping in the localised log-Sobolev and noncollapsing arguments of 12A.4 κ-Noncollapsing, where ρ\rho is the scale at which the curvature is controlled.

Solution

(a) χρ(x)=1\chi_\rho(x) = 1 when ∣x∣/ρ≤1|x|/\rho \leq 1 and 00 when ∣x∣/ρ≥2|x|/\rho \geq 2. The function is smooth: near 00 it is identically 11, and away from 00, ∣x∣|x| is smooth. By the chain rule, ∂iχρ=χ′(∣x∣/ρ)xiρ∣x∣\partial_i\chi_\rho = \chi'(|x|/\rho)\frac{x_i}{\rho|x|}, bounded by C1/ρC_1/\rho; the second derivatives involve χ′′/ρ2\chi''/\rho^2 and χ′/(ρ∣x∣)\chi'/(\rho|x|), and the latter is only non-zero for ∣x∣≥ρ|x| \geq \rho, so it is at most C1/ρ2C_1/\rho^2. (b) ∇(χρu)=χρ∇u+u∇χρ\nabla(\chi_\rho u) = \chi_\rho\nabla u + u\nabla\chi_\rho, and ∣a+b∣2≤2∣a∣2+2∣b∣2|a + b|^2 \leq 2|a|^2 + 2|b|^2, with 0≤χρ≤10 \leq \chi_\rho \leq 1 supported in B(0,2ρ)B(0, 2\rho).

Free resources for this chapter

Chosen for what this chapter covers, and all free to read or watch. Where a lecture covers more than this chapter, the minutes to watch are given, and the link starts there when it can. Links checked Nov 6, 2026.

Read

Watch 4 lectures and talks

© 2026 Neckpinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.