Mathematics · Book 4 · Bachelor Year 2

University Mathematics — Year 2

University Mathematics — Year 2 · Bachelor Year 2

20Line Integrals and Multiple Integrals

This chapter extends integration from intervals to curves and to domains of the plane and of space. Line integrals integrate a differential form P ⁣dx+Q ⁣dyP\,\dd x + Q\,\dd y along an oriented arc; double and triple integrals integrate functions over two- and three-dimensional domains. The two theories meet in the Green–Riemann theorem, the two-dimensional fundamental theorem of calculus, and the main computational tool throughout is the change of variables formula, whose distortion factor is the absolute Jacobian determinant.

20.1 Line integrals

Definition 20.1 (Differential form; line integral)

Let UR2U \subseteq \R^2 be open. A differential form of degree 11 and class C0\mathcal{C}^0 on UU is an expression ω=P ⁣dx+Q ⁣dy\omega = P\,\dd x + Q\,\dd y with P,Q ⁣:URP, Q \colon U \to \R continuous — formally, a continuous map from UU into the dual of R2\R^2, ω(M)=P(M)e1+Q(M)e2\omega(M) = P(M)\,e_1^* + Q(M)\,e_2^*. For a C1\mathcal{C}^1 arc γ ⁣:[a,b]U\gamma \colon [a, b] \to U, γ(t)=(x(t),y(t))\gamma(t) = (x(t), y(t)), the line integral of ω\omega along γ\gamma is

γω=ab(P(γ(t))x(t)+Q(γ(t))y(t)) ⁣dt.\int_\gamma \omega = \int_a^b \Bigl(P(\gamma(t))\,x'(t) + Q(\gamma(t))\,y'(t)\Bigr)\,\dd t .

The definitions extend verbatim to R3\R^3 (forms P ⁣dx+Q ⁣dy+R ⁣dzP\,\dd x + Q\,\dd y + R\,\dd z) and to piecewise C1\mathcal{C}^1 arcs (sum over the pieces).

Proposition 20.2 (Invariance and orientation)

The line integral is unchanged under an increasing C1\mathcal{C}^1 change of parameter, and changes sign under a decreasing one. It therefore only depends on the oriented geometric arc.

Proof. If θ ⁣:[c,d][a,b]\theta \colon [c, d] \to [a, b] is a change of parameter and γ~=γθ\tilde\gamma = \gamma \circ \theta, then by the chain rule and the one-variable change of variables t=θ(u)t = \theta(u),

γ~ω=cd(P(γ(θ(u)))x(θ(u))+Q(γ(θ(u)))y(θ(u)))θ(u) ⁣du=±ab(Px+Qy)(t) ⁣dt,\int_{\tilde\gamma}\omega = \int_c^d \bigl(P(\gamma(\theta(u)))\,x'(\theta(u)) + Q(\gamma(\theta(u)))\,y'(\theta(u))\bigr)\,\theta'(u)\,\dd u = \pm\int_a^b \bigl(Px' + Qy'\bigr)(t)\,\dd t ,

with sign ++ if θ\theta is increasing (θ(c)=a\theta(c) = a) and - if decreasing (the bounds swap).

Example 20.3 (Work of a force; circulation)

If F=(P,Q)F = (P, Q) is a force field, γP ⁣dx+Q ⁣dy=abF(γ(t)),γ(t) ⁣dt\int_\gamma P\dd x + Q\dd y = \int_a^b \langle F(\gamma(t)), \gamma'(t)\rangle\,\dd t is the work of FF along γ\gamma. For ω=y ⁣dx+x ⁣dy\omega = -y\,\dd x + x\,\dd y along the counterclockwise unit circle γ(t)=(cost,sint)\gamma(t) = (\cos t, \sin t):

γω=02π((sint)(sint)+costcost) ⁣dt=2π,\int_\gamma \omega = \int_0^{2\pi}\bigl((-\sin t)(-\sin t) + \cos t\cos t\bigr)\,\dd t = 2\pi ,

twice the enclosed area — a first hint of Green–Riemann.

Example 20.4 (One integral, two parametrizations, one sign trap)

Compute γx ⁣dy\int_\gamma x\,\dd y along the upper unit semicircle from (1,0)(1, 0) to (1,0)(-1, 0). With γ(t)=(cost,sint)\gamma(t) = (\cos t, \sin t), t[0,π]t \in \intcc0\pi:

0πcostcost ⁣dt=π2.\int_0^\pi\cos t\cdot\cos t\,\dd t = \frac\pi2 .

With the graph parametrization x(x,1x2)x \mapsto (x, \sqrt{1 - x^2}), xx from 11 to 1-1 (note the direction!):

11xx1x2 ⁣dx=11x21x2 ⁣dx=π2\int_1^{-1}x\cdot\frac{-x}{\sqrt{1 - x^2}}\,\dd x = \int_{-1}^{1}\frac{x^2}{\sqrt{1 - x^2}}\,\dd x = \frac\pi2

(x=sinux = \sin u reduces it to a Wallis integral). Same value, as Proposition 20.2 guarantees — but only because both runs go from (1,0)(1,0) to (1,0)(-1,0); reversing the travel flips the sign. Closing the path along the xx-axis (where  ⁣dy=0\dd y = 0) adds nothing, and the total π2\frac\pi2 is the area of the half-disk: the first instance of the boundary-area formulas of Green–Riemann below.

Definition 20.5 (Exact and closed forms)

The form ω=P ⁣dx+Q ⁣dy\omega = P\,\dd x + Q\,\dd y of class C0\mathcal{C}^0 is exact on UU if there is fC1(U)f \in \mathcal{C}^1(U) (a potential) with ω= ⁣df\omega = \dd f, i.e. P=fxP = f_x and Q=fyQ = f_y. A C1\mathcal{C}^1 form is closed if Py=QxP_y = Q_x on UU.

Theorem 20.6 (Fundamental theorem for line integrals)

If ω= ⁣df\omega = \dd f is exact and γ\gamma is a piecewise C1\mathcal{C}^1 arc in UU from AA to BB, then

γω=f(B)f(A).\int_\gamma \omega = f(B) - f(A) .

In particular the integral of an exact form along any closed arc is zero, and every exact C1\mathcal{C}^1 form is closed.

Proof.  ⁣d ⁣dtf(γ(t))=fx(γ(t))x(t)+fy(γ(t))y(t)\frac{\dd}{\dd t}f(\gamma(t)) = f_x(\gamma(t))x'(t) + f_y(\gamma(t))y'(t) by the chain rule (Chapter 15), so the integrand in Definition 20.1 is the derivative of tf(γ(t))t \mapsto f(\gamma(t)), and the fundamental theorem of calculus gives the result on each piece; the intermediate values telescope. Closedness of exact C1\mathcal{C}^1 forms is Schwarz’s theorem: Py=fxy=fyx=QxP_y = f_{xy} = f_{yx} = Q_x.

Example 20.7 (Reconstructing a potential)

Let ω=yexy ⁣dx+(xexy+2y) ⁣dy\omega = y\,\eu^{xy}\,\dd x + (x\,\eu^{xy} + 2y)\,\dd y on R2\R^2. It is closed: both cross derivatives equal exy(1+xy)\eu^{xy}(1 + xy). To find a potential, integrate PP in xx at fixed yy:

f(x,y)=yexy ⁣dx=exy+c(y),f(x, y) = \int y\,\eu^{xy}\,\dd x = \eu^{xy} + c(y),

then adjust cc by matching fyf_y: xexy+c(y)=xexy+2yx\,\eu^{xy} + c'(y) = x\,\eu^{xy} + 2y gives c(y)=y2c(y) = y^2. So f(x,y)=exy+y2f(x,y) = \eu^{xy} + y^2, and for any piecewise C1\mathcal C^1 arc from (0,0)(0,0) to (1,1)(1,1),

γω=f(1,1)f(0,0)=(e+1)1=e,\int_\gamma\omega = f(1,1) - f(0,0) = (\eu + 1) - 1 = \eu ,

independently of the path — the two-step recipe (integrate in xx, correct in yy) is the practical converse of Theorem 20.6 on domains where closed forms are exact.

Example 20.8 (Closed does not imply exact)

On U=R2{0}U = \R^2 \setminus \{0\}, the angle form

ω=y ⁣dx+x ⁣dyx2+y2\omega = \frac{-y\,\dd x + x\,\dd y}{x^2 + y^2}

is closed (direct computation: both PyP_y and QxQ_x equal y2x2(x2+y2)2\frac{y^2 - x^2}{(x^2+y^2)^2}), but its integral along the unit circle is 2π02\pi \neq 0 (same computation as Example 20.3, divided by 11): ω\omega is not exact on UU. Locally, ω= ⁣dθ\omega = \dd\theta for a determination θ\theta of the polar angle; the failure is global — the angle cannot be defined continuously around the puncture. On domains without holes the pathology disappears: on a star-shaped open set, every closed C1\mathcal{C}^1 form is exact (Poincaré’s lemma, Exercise 20.8).

20.2 Double integrals

We take for granted the theory of the Riemann integral in one variable (Year 1 volume, and Chapter 9) and sketch its two-variable version. A function ff continuous on a rectangle R=[a,b]×[c,d]R = [a, b] \times [c, d] has a double integral Rf\iint_R f, defined by Riemann sums over grids exactly as in one variable, and computed by iteration:

Theorem 20.9 (Fubini on a rectangle)

For ff continuous on R=[a,b]×[c,d]R = [a,b] \times [c,d],

Rf=ab(cdf(x,y) ⁣dy) ⁣dx=cd(abf(x,y) ⁣dx) ⁣dy.\iint_R f = \int_a^b \Bigl(\int_c^d f(x, y)\,\dd y\Bigr)\dd x = \int_c^d \Bigl(\int_a^b f(x, y)\,\dd x\Bigr)\dd y .

Proof. Set F(x)=cdf(x,y) ⁣dyF(x) = \int_c^d f(x, y)\,\dd y. Uniform continuity of ff on the compact RR makes FF continuous (dominated estimate: F(x)F(x)(dc)supyf(x,y)f(x,y)\abs{F(x) - F(x')} \leq (d - c)\sup_y\abs{f(x,y) - f(x',y)}). Now subdivide [a,b][a,b] and [c,d][c,d] into nn equal parts, giving a grid of cells RijR_{ij} of area ΔxΔy\Delta x\,\Delta y. On each cell, infRijfΔxΔyxi1xiyj1yjf(x,y) ⁣dy ⁣dxsupRijfΔxΔy\inf_{R_{ij}} f \cdot \Delta x \Delta y \leq \int_{x_{i-1}}^{x_i}\int_{y_{j-1}}^{y_j} f(x,y)\,\dd y\,\dd x \leq \sup_{R_{ij}} f \cdot \Delta x \Delta y by monotonicity of the one-variable integral (applied twice). Summing over cells, the iterated integral abF\int_a^b F is squeezed between the lower and upper Riemann sums of the grid; by uniform continuity both sums converge to the common value defining Rf\iint_R f as nn \to \infty. The same argument applies with the roles of xx and yy exchanged, so both iterated integrals equal Rf\iint_R f.

Remark 20.10

Continuity on a compact rectangle is doing real work in Fubini’s proof: it provides the uniform continuity that squeezes the Riemann sums. For wilder integrands the statement genuinely fails — there are functions whose two iterated integrals exist and differ. The honest general theorem, with integrability as the only hypothesis, is Fubini’s theorem for the Lebesgue integral, proved in the Year 3 volume; everything in this chapter stays within the continuous setting where the elementary proof above is complete.

Definition 20.11 (Elementary domains)

A domain DR2D \subseteq \R^2 is yy-elementary if

D={(x,y):axb, φ1(x)yφ2(x)}D = \{(x, y) : a \leq x \leq b,\ \varphi_1(x) \leq y \leq \varphi_2(x)\}

with φ1φ2\varphi_1 \leq \varphi_2 continuous on [a,b][a,b] (xx-elementary: symmetrically). For ff continuous on a yy-elementary DD,

Df=ab(φ1(x)φ2(x)f(x,y) ⁣dy) ⁣dx,\iint_D f = \int_a^b\Bigl( \int_{\varphi_1(x)}^{\varphi_2(x)} f(x,y)\,\dd y\Bigr)\dd x ,

and one checks (by extending ff by an approximation argument, or by subdividing) that when DD is elementary in both directions the two iterated integrals agree. Domains cut into finitely many elementary pieces are handled by additivity, and the area of DD is Area(D)=D1\operatorname {Area}(D) = \iint_D 1.

Example 20.12

On the triangle D={0x1, 0yx}D = \{0 \leq x \leq 1,\ 0 \leq y \leq x\}:

Dxy ⁣dx ⁣dy=01x(0xy ⁣dy) ⁣dx=01xx22 ⁣dx=18.\iint_D xy \,\dd x\,\dd y = \int_0^1 x\Bigl(\int_0^x y\,\dd y\Bigr)\dd x = \int_0^1 x\cdot\frac{x^2}{2}\,\dd x = \frac18 .

Swapping the order (xx from yy to 11): 01y(y1x ⁣dx) ⁣dy=01y1y22 ⁣dy=18\int_0^1 y\bigl(\int_y^1 x\,\dd x\bigr)\dd y = \int_0^1 y\,\frac{1 - y^2}{2}\,\dd y = \frac18 — same value, different computation: choosing the order of integration well is half the craft.

Example 20.13 (When only one order works)

Compute I=01 ⁣ ⁣x1ey2 ⁣dy ⁣dxI = \displaystyle\int_0^1\!\!\int_x^1 \eu^{y^2}\,\dd y\,\dd x. As written, the inner integral ey2 ⁣dy\int\eu^{y^2}\dd y has no elementary antiderivative: the computation is stuck. But the domain is the triangle 0xy10 \leq x \leq y \leq 1, which is elementary in both directions; swapping the order,

I=01 ⁣ ⁣0yey2 ⁣dx ⁣dy=01yey2 ⁣dy=[12ey2]01=e12.I = \int_0^1\!\!\int_0^y \eu^{y^2}\,\dd x\,\dd y = \int_0^1 y\,\eu^{y^2}\,\dd y = \Bigl[\tfrac12\eu^{y^2}\Bigr]_0^1 = \frac{\eu - 1}{2} .

The inner variable xx appeared nowhere in the integrand, so integrating it first produced exactly the factor yy that makes the outer integral immediate. Moral: Fubini is not just a license to iterate — it is a license to choose, and the right order can turn an impossible integral into a one-liner. Always sketch the domain and read off both descriptions before starting.

Theorem 20.14 (Change of variables)

Let Φ ⁣:UU\Phi \colon U' \to U be a C1\mathcal{C}^1 diffeomorphism between open sets of R2\R^2, let KUK \subseteq U be a compact domain cut into elementary pieces with K=Φ1(K)K' = \Phi^{-1}(K), and let ff be continuous on KK. Then

Kf(x,y) ⁣dx ⁣dy=Kf(Φ(u,v))detJΦ(u,v) ⁣du ⁣dv.\iint_K f(x, y)\,\dd x\,\dd y = \iint_{K'} f\bigl(\Phi(u, v)\bigr)\, \abs{\det J_\Phi(u, v)}\,\dd u\,\dd v .

Proof. Admitted at this level.

Remark 20.15

The complete proof — approximating Φ\Phi by its differential on a fine grid and controlling the boundary cells — is long though not deep; it is done in full in the measure theory of Year 3, as a consequence of the Lebesgue theory. The heuristic is the picture already used for surface area: a small square of side  ⁣du\dd u at (u,v)(u, v) is mapped, to first order, onto the parallelogram spanned by Φu ⁣du\Phi_u\,\dd u and Φv ⁣dv\Phi_v\,\dd v, whose area is detJΦ ⁣du ⁣dv\abs{\det J_\Phi}\,\dd u\,\dd v (Lemma 19.18).

Remark 20.16 (Method: choosing the change of variables)

Three reflexes cover most cases. Symmetry of the integrand: x2+y2x^2 + y^2 calls for polar, a product structure calls for keeping Cartesian axes. Shape of the boundary: boundaries u(x,y)=c1u(x,y) = c_1, v(x,y)=c2v(x,y) = c_2 beg for the coordinates (u,v)(u, v) themselves, as in the hyperbolic region example below — the domain becomes a rectangle, which is the whole victory. Linear structure: expressions in x+yx + y and xyx - y invite the 4545-degree rotation or a shear (Example 20.18). In all cases, three boxes to tick before integrating: the map is a bijection of the new domain onto the old one; its Jacobian is computed in the direction actually used (invert at the end if easier); and the Jacobian enters with its absolute value.

Example 20.17 (Polar coordinates)

Φ(ρ,α)=(ρcosα, ρsinα)\Phi(\rho, \alpha) = (\rho\cos\alpha,\ \rho\sin\alpha) has

JΦ=(cosαρsinαsinαρcosα),detJΦ=ρ,J_\Phi = \begin{pmatrix} \cos\alpha & -\rho\sin\alpha\\ \sin\alpha & \rho\cos\alpha \end{pmatrix}, \qquad \det J_\Phi = \rho ,

so  ⁣dx ⁣dy=ρ ⁣dρ ⁣dα\dd x\,\dd y = \rho\,\dd\rho\,\dd\alpha. For the disk DRD_R of radius RR:

DRe(x2+y2) ⁣dx ⁣dy=02π ⁣ ⁣0Reρ2ρ ⁣dρ ⁣dα=π(1eR2)Rπ.\iint_{D_R} e^{-(x^2 + y^2)}\,\dd x\,\dd y = \int_0^{2\pi}\!\!\int_0^R e^{-\rho^2}\rho\,\dd\rho\,\dd\alpha = \pi\bigl(1 - e^{-R^2}\bigr) \xrightarrow[R\to\infty]{} \pi .

Comparing with the square [R,R]2[-R, R]^2 (which is squeezed between the disks DRD_R and DR2D_{R\sqrt2}, all integrands positive) gives (ex2 ⁣dx)2=π\bigl(\int_{-\infty}^\infty e^{-x^2}\dd x\bigr)^2 = \pi:

 +ex2 ⁣dx=π \boxed{\ \int_{-\infty}^{+\infty} e^{-x^2}\,\dd x = \sqrt{\pi}\ }

— the Gauss integral again, now by its most famous proof (compare the one-variable derivation in Chapter 9).

Example 20.18 (Affine changes of variables)

For an affine map Φ(u,v)=M(u,v)T+C\Phi(u, v) = M(u, v)^{\mathsf T} + C with MM invertible, the Jacobian is the constant matrix MM: areas are multiplied by the constant factor detM\abs{\det M} — the promise made in Chapter 17 is now a theorem. Two immediate uses. The ellipse x2a2+y2b21\frac{x^2}{a^2} + \frac{y^2}{b^2} \leq 1 is the image of the unit disk under (u,v)(au,bv)(u, v) \mapsto (au, bv), so its area is abπab \cdot \pi — no computation. And for the integral of f(x+y)f(x + y) over the square K=[0,1]2K = \intcc01^2, the shear Φ(u,v)=(uv,v)\Phi(u, v) = (u - v, v) (determinant 11) turns it into an integral of f(u)f(u) over a parallelogram, which Fubini slices at constant uu: with f=expf = \exp,

Kex+y ⁣dx ⁣dy=(01ex ⁣dx)2=(e1)2,\iint_K \eu^{x+y}\,\dd x\,\dd y = \Bigl(\int_0^1 \eu^x\,\dd x\Bigr)^2 = (\eu - 1)^2,

as the product structure confirms. Choosing coordinates adapted to the integrand — not to the domain — is the other half of the craft.

Example 20.19 (Coordinates adapted to a curvilinear domain)

Let DD be the region of the first quadrant bounded by the hyperbolas xy=1xy = 1 and xy=3xy = 3 and the lines y=xy = x and y=3xy = 3x. In the coordinates u=xyu = xy, v=y/xv = y/x the domain becomes the square [1,3]×[1,3]\intcc13 \times \intcc13; inverting,

x=u/v,y=uv,detJ=xuyvxvyu=12vx = \sqrt{u/v}, \qquad y = \sqrt{uv}, \qquad \det J = x_uy_v - x_vy_u = \frac{1}{2v}

(a two-line computation with x=u1/2v1/2x = u^{1/2}v^{-1/2}, y=u1/2v1/2y = u^{1/2}v^{1/2}). Hence

Area(D)=13 ⁣ ⁣13 ⁣du ⁣dv2v=2ln32=ln31.10.\operatorname{Area}(D) = \int_1^3\!\!\int_1^3\frac{\dd u\,\dd v}{2v} = 2\cdot\frac{\ln 3}{2} = \ln 3 \approx 1.10 .

Trying to slice DD in Cartesian coordinates means cutting it into three pieces with hyperbolic and linear boundaries — feasible, joyless, and error-prone. The moral repeats Example 20.18 at full strength: read the boundary equations, and let them choose the coordinates; the Jacobian then converts the curvilinear mesh’s cell area, exactly as ρ\rho did for polar coordinates.

Example 20.20 (Average values)

The mean value of ff over a domain DD is 1Area(D)Df\frac1{\operatorname{Area}(D)}\iint_Df. Sample: the average distance from the center for a uniformly chosen point of the disk of radius RR is

1πR202π ⁣ ⁣0Rρρ ⁣dρ ⁣dα=2πR3/3πR2=2R3,\frac{1}{\pi R^2}\int_0^{2\pi}\!\!\int_0^R \rho\cdot\rho\,\dd\rho\,\dd\alpha = \frac{2\pi R^3/3}{\pi R^2} = \frac{2R}3 ,

not R/2R/2: uniform area puts more mass at large radii (the annulus at radius ρ\rho has weight proportional to ρ\rho), so the average sits beyond the halfway mark. Getting this factor right is exactly the polar Jacobian at work, and the same weighting explains the centroid zˉ=3R/8\bar z = 3R/8 of the half-ball computed later in the chapter rather than R/2R/2.

20.3 The Green–Riemann theorem

Theorem 20.21 (Green–Riemann)

Let KR2K \subseteq \R^2 be a compact domain which is elementary in both directions (or a finite union of such glued along segments), with boundary K\partial K a piecewise C1\mathcal{C}^1 closed curve oriented counterclockwise (the domain stays on the left). For P,QP, Q of class C1\mathcal{C}^1 on a neighbourhood of KK:

KP ⁣dx+Q ⁣dy=K(QxPy) ⁣dx ⁣dy.\oint_{\partial K} P\,\dd x + Q\,\dd y = \iint_K \Bigl(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\Bigr)\,\dd x\,\dd y .

Proof. First, both sides are additive under cutting KK along a segment into two pieces K1,K2K_1, K_2: the double integrals add by additivity of \iint; as for the boundary integrals, the counterclockwise boundaries of K1K_1 and K2K_2 each traverse the interior cut once, in opposite directions, so in the sum

K1+K2=K+(cut, both ways)=K,\oint_{\partial K_1} + \oint_{\partial K_2} = \oint_{\partial K} + (\text{cut, both ways}) = \oint_{\partial K},

the two passes along the cut cancel (Proposition 20.2) and only the outer boundary survives. Iterating finitely many cuts, it suffices to treat an elementary domain. We prove P ⁣dx=KPy\oint P\,\dd x = -\iint_K P_y on a yy-elementary domain D={axb, φ1(x)yφ2(x)}D = \{a \leq x \leq b,\ \varphi_1(x) \leq y \leq \varphi_2(x)\}; the identity Q ⁣dy=KQx\oint Q\,\dd y = \iint_K Q_x is symmetric (xx-elementary), and the theorem is their sum.

Compute the double integral by Fubini and the one-variable fundamental theorem:

DPy ⁣dx ⁣dy=ab(P(x,φ2(x))P(x,φ1(x))) ⁣dx.\iint_D \frac{\partial P}{\partial y}\,\dd x\,\dd y = \int_a^b \bigl(P(x, \varphi_2(x)) - P(x, \varphi_1(x))\bigr) \,\dd x .

Now the boundary of DD, counterclockwise, consists of: the lower graph y=φ1(x)y = \varphi_1(x) traversed left to right, the right vertical segment x=bx = b (upward), the upper graph y=φ2(x)y = \varphi_2(x) traversed right to left, the left vertical segment x=ax = a (downward). Along the vertical segments xx is constant, so they contribute 00 to P ⁣dx\oint P\,\dd x; the graphs, parametrized by xx, give

DP ⁣dx=abP(x,φ1(x)) ⁣dxabP(x,φ2(x)) ⁣dx=DPy ⁣dx ⁣dy.\oint_{\partial D} P\,\dd x = \int_a^b P(x, \varphi_1(x))\,\dd x - \int_a^b P(x, \varphi_2(x))\,\dd x = -\iint_D \frac{\partial P}{\partial y}\,\dd x\,\dd y . \qedhere

Corollary 20.22 (Area by the boundary)

Under the hypotheses of Theorem 20.21,

Area(K)=Kx ⁣dy=Ky ⁣dx=12Kx ⁣dyy ⁣dx.\operatorname{Area}(K) = \oint_{\partial K} x\,\dd y = -\oint_{\partial K} y\,\dd x = \frac12\oint_{\partial K} x\,\dd y - y\,\dd x .

Proof. Apply Green–Riemann to (P,Q)=(0,x)(P, Q) = (0, x), (y,0)(-y, 0) and 12(y,x)\frac12(-y, x): each time QxPy=1Q_x - P_y = 1.

Remark 20.23 (Choosing among the three area formulas)

The three boundary formulas are equal, not interchangeable in practice. Use x ⁣dy\oint x\,\dd y when the parametrization makes  ⁣dy\dd y simple (graphs over the yy-axis), y ⁣dx-\oint y\,\dd x symmetrically, and the symmetric half-sum when the parametrization treats xx and yy evenly — for the ellipse it produced a constant integrand, with no trigonometric linearization at all. On polygonal boundaries the half-sum becomes the shoelace formula of Exercise 20.12, the surveyors’ algorithm. And when the boundary is traversed clockwise by the given parametrization, all three formulas return minus the area: a negative result is not a computational error but an orientation report — flip the sign, or the parametrization.

Example 20.24 (Area of the ellipse)

For x=acostx = a\cos t, y=bsinty = b\sin t, t[0,2π]t \in [0, 2\pi]:

Area=1202π(acostbcostbsint(asint)) ⁣dt=ab202π ⁣dt=πab.\operatorname{Area} = \frac12\int_0^{2\pi}\bigl(a\cos t \cdot b\cos t - b\sin t\cdot(-a\sin t)\bigr)\,\dd t = \frac{ab}{2}\int_0^{2\pi}\dd t = \pi ab .

Example 20.25 (Green–Riemann as a cross-check)

Take P=y3P = -y^3, Q=x3Q = x^3 on the closed unit disk DD. Boundary side, with γ(t)=(cost,sint)\gamma(t) = (\cos t, \sin t):

DP ⁣dx+Q ⁣dy=02π(sin4t+cos4t) ⁣dt=2π(38+38)=3π2,\oint_{\partial D}P\,\dd x + Q\,\dd y = \int_0^{2\pi}\bigl(\sin^4 t + \cos^4 t\bigr)\dd t = 2\pi\cdot\Bigl(\frac38 + \frac38\Bigr) = \frac{3\pi}2 ,

by linearization (sin4+cos4=34+14cos4t\sin^4 + \cos^4 = \tfrac34 + \tfrac14\cos4t). Interior side:

D(QxPy) ⁣dx ⁣dy=D3(x2+y2) ⁣dx ⁣dy=302π ⁣ ⁣01ρ3 ⁣dρ ⁣dα=3π2.\iint_D(Q_x - P_y)\,\dd x\,\dd y = \iint_D 3(x^2 + y^2)\,\dd x\,\dd y = 3\int_0^{2\pi}\!\!\int_0^1\rho^3\,\dd\rho\,\dd\alpha = \frac{3\pi}2 .

Same number, two very different computations — and that is the practical use: whichever side of Green’s identity is easier becomes the computation, the other a verification. For circulations of polynomial fields around closed curves, the double integral is almost always the easy side.

Remark 20.26

Green–Riemann explains Example 20.8: for a closed form (Qx=PyQ_x = P_y), the integral around the boundary of any domain contained in UU vanishes. The angle form fails to be exact only because the puncture at the origin prevents the disk bounded by the unit circle from lying inside UUline integrals of closed forms detect the holes of the domain. (Pushed further, this observation becomes de Rham cohomology.)

20.4 Triple integrals

The theory extends to three variables with no new idea: Fubini reduces \iiint to three one-variable integrals (either by slicing: Kf=(Kzf) ⁣dz\iiint_K f = \int\bigl(\iint_{K_z} f\bigr)\dd z over the horizontal slices KzK_z, or by stacking: integrating in zz first along vertical sticks), and the change of variables formula holds with the 3×33 \times 3 Jacobian.

Example 20.27 (Cylindrical and spherical coordinates)

Cylindrical (x,y,z)=(ρcosα,ρsinα,z)(x, y, z) = (\rho\cos\alpha, \rho\sin\alpha, z):  ⁣dx ⁣dy ⁣dz=ρ ⁣dρ ⁣dα ⁣dz\dd x\,\dd y\,\dd z = \rho\,\dd\rho\,\dd\alpha\,\dd z. Spherical (x,y,z)=(rcosθcosφ, rsinθcosφ, rsinφ)(x, y, z) = (r\cos\theta\cos\varphi,\ r\sin\theta\cos\varphi,\ r\sin\varphi) (θ\theta longitude, φ[π2,π2]\varphi \in [-\frac\pi2, \frac\pi2] latitude): expanding the 3×33 \times 3 determinant along the last row,

detJ=r2cosφ, ⁣dx ⁣dy ⁣dz=r2cosφ   ⁣dr ⁣dθ ⁣dφ.\det J = r^2\cos\varphi , \qquad \dd x\,\dd y\,\dd z = r^2\cos\varphi\;\dd r\,\dd\theta\,\dd\varphi .

Volume of the ball of radius RR:

V=0R ⁣ ⁣02π ⁣ ⁣π/2π/2r2cosφ   ⁣dφ ⁣dθ ⁣dr=R332π2=43πR3,V = \int_0^R\!\!\int_0^{2\pi}\!\!\int_{-\pi/2}^{\pi/2} r^2\cos\varphi\;\dd\varphi\,\dd\theta\,\dd r = \frac{R^3}{3}\cdot 2\pi \cdot 2 = \boxed{\frac43\pi R^3} ,

discharging at last the formula admitted in the volume chapters of the earlier books.

Example 20.28 (The tetrahedron, twice)

The volume of T={x,y,z0, x+y+z1}T = \{x, y, z \geq 0,\ x + y + z \leq 1\}, by stacking: for fixed (x,y)(x, y) in the triangle x+y1x + y \leq 1, zz runs over [0,1xy]\intcc0{1 - x - y}, so

V=01 ⁣ ⁣01x(1xy) ⁣dy ⁣dx=01(1x)22 ⁣dx=16.V = \int_0^1\!\!\int_0^{1-x}(1 - x - y)\,\dd y\,\dd x = \int_0^1\frac{(1 - x)^2}{2}\,\dd x = \frac16 .

By slicing: the section at height zz is the triangle {x,y0, x+y1z}\{x, y \geq 0,\ x + y \leq 1 - z\}, of area (1z)22\frac{(1-z)^2}2, and V=01(1z)22 ⁣dz=16V = \int_0^1\frac{(1-z)^2}2\,\dd z = \frac16 again — the two computations are the same integrals in a different order, which is all Fubini claims. The value 16=13121\frac16 = \frac13\cdot\frac12\cdot1 is the cone formula (Example 20.30) with triangular base, and the nn-dimensional version 1/n!1/n! is proved by exactly this slicing in the weekend problem.

Example 20.29 (Centroid of a half-ball)

For the upper half-ball HH of radius RR (z0z \geq 0), the centroid height is zˉ=1VHz\bar z = \frac1{V}\iiint_H z, with V=23πR3V = \frac23\pi R^3. In spherical coordinates (z=rsinφz = r\sin\varphi, φ[0,π/2]\varphi \in \intcc0{\pi/2}):

Hz=0Rr3 ⁣dr02π ⁣dθ0π/2sinφcosφ ⁣dφ=R442π12=πR44,\iiint_H z = \int_0^R r^3\,\dd r\int_0^{2\pi}\dd\theta \int_0^{\pi/2}\sin\varphi\cos\varphi\,\dd\varphi = \frac{R^4}4\cdot2\pi\cdot\frac12 = \frac{\pi R^4}4 ,

so

zˉ=πR4/42πR3/3=3R8:\bar z = \frac{\pi R^4/4}{2\pi R^3/3} = \frac{3R}8 :

the balance point of a solid hemisphere sits three-eighths of the radius above the flat face — below the half-height R/2R/2, as it must, since the solid is fatter near the base. Every centroid computation has this shape: one moment integral, one volume, one ratio, and a plausibility check against the geometry.

Example 20.30 (Volume by slicing: the cone)

A cone of base area AA and height hh (apex up, base at z=0z = 0): the slice at height zz is the base scaled by the factor (1z/h)(1 - z/h), of area A(1z/h)2A(1 - z/h)^2. Hence

V=0hA(1zh)2 ⁣dz=Ah3:V = \int_0^h A\Bigl(1 - \frac zh\Bigr)^2\dd z = \frac{Ah}{3} :

the one-third of the school formulas, valid for any base shape — slicing turns it into the integral of a square.

Example 20.31 (Integrability thresholds in the plane)

For which α>0\alpha > 0 does Dρα ⁣dx ⁣dy\iint_{D}\rho^{-\alpha}\,\dd x\,\dd y converge on the punctured unit disk DD (limit over annuli ερ1\varepsilon \leq \rho \leq 1)? In polar coordinates,

02π ⁣ ⁣ε1ραρ ⁣dρ ⁣dα=2πε1ρ1α ⁣dρ,\int_0^{2\pi}\!\!\int_\varepsilon^1\rho^{-\alpha}\, \rho\,\dd\rho\,\dd\alpha = 2\pi\int_\varepsilon^1\rho^{1-\alpha}\,\dd\rho ,

which converges as ε0\varepsilon \to 0 iff 1α>11 - \alpha > -1, i.e. α<2\alpha < 2: in dimension 22 the critical singularity exponent is the dimension itself, the extra ρ\rho from the Jacobian softening the singularity by one power. (Likewise α<3\alpha < 3 for a point singularity in space, via r2r^2.) Radial bookkeeping of this kind is how integrability is decided at a glance in the Lebesgue framework of Year 3 — and it is the reason 1/r\iiint 1/r converged effortlessly in Exercise 20.7.

Remark 20.32 (Common pitfalls)

(i) Orientation: a line integral changes sign with the direction of travel, and Green–Riemann requires the boundary counterclockwise (domain on the left); for a domain with a hole, the inner boundary is traversed clockwise. (ii) The Jacobian enters with an absolute value: change of variables never produces negative area, and forgetting det\abs{\det} typically flips signs exactly when the map reverses orientation. (iii) The polar factor ρ\rho:  ⁣dx ⁣dy=ρ ⁣dρ ⁣dα\dd x\,\dd y = \rho\,\dd\rho\,\dd\alpha, not  ⁣dρ ⁣dα\dd\rho\,\dd\alpha — the most common error in the whole chapter; dimensional analysis catches it, since  ⁣dρ ⁣dα\dd\rho\,\dd\alpha has the dimension of a length, not an area. (iv) Improper double integrals: limits over growing disks and growing squares agree here because the integrands are positive (squeezing); for sign-changing integrands the limit may depend on the exhaustion, and no claim is made without absolute convergence. (v) Domains versus integrands: a product integrand on a non-product domain does not factor the integral — factorization needs both, as in Example 20.17’s square.

Remark 20.33 (Perspectives within this volume)

The Gauss integral computed here is quietly everywhere in the probability chapters: the constant π\sqrt\pi inside Stirling’s formula (Theorem 6.13) is this chapter’s integral, and through Stirling it fixes the 1/πn1/\sqrt{\pi n} asymptotics of the random walk’s return probabilities in Chapter 21. The Wallis integrals of the weekend problem reappear there too, driving the same central-binomial estimates. In the other direction, the area and volume elements of this chapter complete the geometry of Chapter 19, and Green’s formula recomputes the envelope areas of Chapter 18 (the astroid, in Exercise 20.5). One chapter, three services: measure for geometry, constants for probability, and the change-of-variables discipline used by both.

20.5 Exercises

Exercise 20.1

Compute γy2 ⁣dx+x ⁣dy\int_\gamma y^2\,\dd x + x\,\dd y along: (a) the segment from (0,0)(0,0) to (1,1)(1,1); (b) the parabola arc y=x2y = x^2 from (0,0)(0,0) to (1,1)(1,1). Is the form exact?

Solution

Solution of Exercise 20.1.

(a) Segment γ(t)=(t,t)\gamma(t) = (t, t), t[0,1]t \in [0,1]:

γy2 ⁣dx+x ⁣dy=01(t2+t) ⁣dt=13+12=56.\int_\gamma y^2\dd x + x\dd y = \int_0^1 (t^2 + t)\,\dd t = \frac13 + \frac12 = \frac56 .

(b) Parabola γ(t)=(t,t2)\gamma(t) = (t, t^2):

01(t41+t2t) ⁣dt=15+23=1315.\int_0^1 \bigl(t^4\cdot 1 + t\cdot 2t\bigr)\dd t = \frac15 + \frac23 = \frac{13}{15} .

The two values differ, so the integral is path-dependent: the form is not exact — consistently, Py=2y1=QxP_y = 2y \neq 1 = Q_x, so it is not even closed.

Exercise 20.2

Show that ω=(2xy+y3) ⁣dx+(x2+3xy2+1) ⁣dy\omega = (2xy + y^3)\,\dd x + (x^2 + 3xy^2 + 1)\,\dd y is closed on R2\R^2, find a potential, and compute γω\int_\gamma\omega along any arc from (0,0)(0, 0) to (1,2)(1, 2).

Solution

Solution of Exercise 20.2.

P=2xy+y3P = 2xy + y^3, Q=x2+3xy2+1Q = x^2 + 3xy^2 + 1: Py=2x+3y2=QxP_y = 2x + 3y^2 = Q_x, closed on R2\R^2. Search for ff with fx=Pf_x = P: f=x2y+xy3+g(y)f = x^2y + xy^3 + g(y); then fy=x2+3xy2+g(y)=Qf_y = x^2 + 3xy^2 + g'(y) = Q forces g(y)=1g'(y) = 1, say g(y)=yg(y) = y. So

f(x,y)=x2y+xy3+yf(x, y) = x^2y + xy^3 + y

is a potential (R2\R^2 is star-shaped, so a potential had to exist by Poincaré’s lemma — but exhibiting it is quicker). By Theorem 20.6, for any arc from (0,0)(0,0) to (1,2)(1,2):

γω=f(1,2)f(0,0)=2+8+2=12.\int_\gamma\omega = f(1, 2) - f(0, 0) = 2 + 8 + 2 = 12 .

Exercise 20.3

Compute D(x+y) ⁣dx ⁣dy\iint_D (x + y)\,\dd x\,\dd y where DD is the domain bounded by y=x2y = x^2 and y=xy = x (0x10 \leq x \leq 1), in both orders of integration.

Solution

Solution of Exercise 20.3.

The domain is {0x1, x2yx}\{0 \leq x \leq 1,\ x^2 \leq y \leq x\}. yy-first:

01 ⁣x2x(x+y) ⁣dy ⁣dx=01(x(xx2)+x2x42) ⁣dx=01(3x22x3x42) ⁣dx=1214110=320.\int_0^1\!\int_{x^2}^{x}(x + y)\,\dd y\,\dd x = \int_0^1\Bigl(x(x - x^2) + \frac{x^2 - x^4}{2}\Bigr)\dd x = \int_0^1\Bigl(\frac{3x^2}{2} - x^3 - \frac{x^4}{2}\Bigr)\dd x = \frac12 - \frac14 - \frac1{10} = \frac{3}{20} .

xx-first: the slice at height y[0,1]y \in [0, 1] is yxyy \leq x \leq \sqrt y, so

01 ⁣yy(x+y) ⁣dx ⁣dy=01(yy22+y(yy)) ⁣dy=1416+2513=320.\int_0^1\!\int_{y}^{\sqrt y}(x + y)\,\dd x\,\dd y = \int_0^1\Bigl(\frac{y - y^2}{2} + y(\sqrt y - y)\Bigr)\dd y = \frac14 - \frac16 + \frac25 - \frac13 = \frac{3}{20} .

Exercise 20.4 ★★

Using polar coordinates, compute D ⁣dx ⁣dy(1+x2+y2)2\iint_D \frac{\dd x\,\dd y}{(1 + x^2 + y^2)^2} over the whole plane (as a limit over disks), and Dxy ⁣dx ⁣dy\iint_{D'} xy\,\dd x\,\dd y over the quarter disk D={x,y0, x2+y21}D' = \{x, y \geq 0,\ x^2 + y^2 \leq 1\}.

Solution

Solution of Exercise 20.4.

First integral. On the disk DRD_R, in polar coordinates:

DR ⁣dx ⁣dy(1+x2+y2)2=02π ⁣ ⁣0Rρ ⁣dρ ⁣dα(1+ρ2)2=2π[12(1+ρ2)]0R=π(111+R2)Rπ.\iint_{D_R}\frac{\dd x\,\dd y}{(1 + x^2 + y^2)^2} = \int_0^{2\pi}\!\!\int_0^R \frac{\rho\,\dd\rho\,\dd\alpha}{(1 + \rho^2)^2} = 2\pi\Bigl[-\frac{1}{2(1 + \rho^2)}\Bigr]_0^R = \pi\Bigl(1 - \frac{1}{1 + R^2}\Bigr) \xrightarrow[R \to \infty]{} \pi .

Second integral. The quarter disk is 0απ20 \leq \alpha \leq \frac\pi2, 0ρ10 \leq \rho \leq 1, and xy=ρ2cosαsinαxy = \rho^2\cos\alpha\sin\alpha:

Dxy ⁣dx ⁣dy=0π/2 ⁣ ⁣cosαsinα ⁣dα01ρ3 ⁣dρ=1214=18.\iint_{D'}xy\,\dd x\,\dd y = \int_0^{\pi/2}\!\!\cos\alpha\sin\alpha\,\dd\alpha \int_0^1 \rho^3\,\dd\rho = \frac12\cdot\frac14 = \frac18 .

Exercise 20.5 ★★

Compute the area enclosed by the astroid x=cos3tx = \cos^3 t, y=sin3ty = \sin^3 t, t[0,2π]t \in [0, 2\pi], using Corollary 20.22. (Linearize sin2tcos2t\sin^2 t\cos^2 t.)

Solution

Solution of Exercise 20.5.

By Corollary 20.22 with x=cos3tx = \cos^3 t, y=sin3ty = \sin^3 t: x=3cos2tsintx' = -3\cos^2 t\sin t, y=3sin2tcosty' = 3\sin^2 t\cos t, so

xyyx=3cos4tsin2t+3sin4tcos2t=3sin2tcos2t=34sin22t=38(1cos4t).xy' - yx' = 3\cos^4 t\sin^2 t + 3\sin^4 t\cos^2 t = 3\sin^2 t\cos^2 t = \frac{3}{4}\sin^2 2t = \frac{3}{8}(1 - \cos 4t) .

Hence

A=1202π38(1cos4t) ⁣dt=3162π=3π8.A = \frac12\int_0^{2\pi}\frac38(1 - \cos 4t)\,\dd t = \frac{3}{16}\cdot 2\pi = \frac{3\pi}{8} .

(The astroid fits in the unit disk of area π\pi; three eighths of π\pi is plausible for its four-cusped star shape.)

Exercise 20.6 ★★

Compute the volume of the solid bounded below by the paraboloid z=x2+y2z = x^2 + y^2 and above by the plane z=1z = 1, by both methods: stacking (integrate 1x2y21 - x^2 - y^2 over the unit disk, polar coordinates) and slicing (horizontal slices are disks of radius z\sqrt z).

Solution

Solution of Exercise 20.6.

Stacking: above each (x,y)(x, y) of the unit disk DD, zz runs from x2+y2x^2 + y^2 to 11:

V=D(1x2y2) ⁣dx ⁣dy=02π ⁣ ⁣01(1ρ2)ρ ⁣dρ ⁣dα=2π(1214)=π2.V = \iint_D \bigl(1 - x^2 - y^2\bigr)\dd x\,\dd y = \int_0^{2\pi}\!\!\int_0^1 (1 - \rho^2)\rho\,\dd\rho\,\dd\alpha = 2\pi\Bigl(\frac12 - \frac14\Bigr) = \frac\pi2 .

Slicing: the slice at height z[0,1]z \in [0, 1] is the disk x2+y2zx^2 + y^2 \leq z, of area πz\pi z:

V=01πz ⁣dz=π2.V = \int_0^1 \pi z\,\dd z = \frac\pi2 .

Exercise 20.7 ★★

(Gravitational attraction of a ball — Newton’s theorem, special case) Show that the volume of the spherical shell arba \leq r \leq b is 43π(b3a3)\frac43\pi(b^3 - a^3) and compute B ⁣dx ⁣dy ⁣dzr\iiint_{B} \frac{\dd x\,\dd y\,\dd z}{r} over the ball BB of radius RR (rr the distance to the origin). (Spherical coordinates.)

Solution

Solution of Exercise 20.7.

In spherical coordinates the volume element is r2cosφ ⁣dr ⁣dθ ⁣dφr^2\cos\varphi\,\dd r\,\dd\theta\,\dd\varphi (Example 20.27), and the angular part integrates to 4π4\pi (2π2\pi from θ\theta, π/2π/2cos=2\int_{-\pi/2}^{\pi/2}\cos = 2). The shell volume is

ab4πr2 ⁣dr=43π(b3a3).\int_a^b 4\pi r^2\,\dd r = \frac43\pi\bigl(b^3 - a^3\bigr).

For the second integral, the integrand 1/r1/r depends only on rr:

B ⁣dx ⁣dy ⁣dzr=0R4πr21r ⁣dr=4πR22=2πR2.\iiint_B \frac{\dd x\,\dd y\,\dd z}{r} = \int_0^R 4\pi r^2\cdot\frac1r\,\dd r = 4\pi\,\frac{R^2}{2} = 2\pi R^2 .

(The integrand blows up at the origin, but harmlessly: r2/r=rr^2/r = r is continuous — the integral over the shells εrR\varepsilon \leq r \leq R converges as ε0\varepsilon \to 0, which is the precise sense of the statement. This kind of computation is the first step toward Newton’s theorem that a homogeneous ball attracts like a point mass at its center.)

Exercise 20.8 ★★★

(Poincaré’s lemma, star-shaped case) Let UU be star-shaped with respect to 00 (i.e. MU[0,M]UM \in U \Rightarrow [0, M] \subseteq U) and ω=P ⁣dx+Q ⁣dy\omega = P\dd x + Q\dd y a closed C1\mathcal{C}^1 form on UU. Define

f(x,y)=01(xP(tx,ty)+yQ(tx,ty)) ⁣dt.f(x, y) = \int_0^1 \bigl(x\,P(tx, ty) + y\,Q(tx, ty)\bigr)\dd t .

Using differentiation under the integral sign (Chapter 9) and Py=QxP_y = Q_x, show that fx=Pf_x = P and fy=Qf_y = Q: every closed form on a star-shaped open set is exact.

Solution

Solution of Exercise 20.8.

The integrand g(t;x,y)=xP(tx,ty)+yQ(tx,ty)g(t; x, y) = xP(tx, ty) + yQ(tx, ty) is C1\mathcal{C}^1 in (x,y)(x, y), continuous in tt, with partial derivatives continuous on [0,1]×U[0,1] \times U; differentiation under the integral sign (Chapter 9, applied on the compact tt-interval [0,1][0,1], domination being automatic there) gives

fx(x,y)=01(P(tx,ty)+txPx(tx,ty)+tyQx(tx,ty)) ⁣dt.f_x(x, y) = \int_0^1 \bigl(P(tx, ty) + tx\,P_x(tx, ty) + ty\,Q_x(tx, ty)\bigr)\dd t .

Using closedness Qx=PyQ_x = P_y:

txPx(tx,ty)+tyPy(tx,ty)=t ⁣d ⁣dt[P(tx,ty)],tx\,P_x(tx, ty) + ty\,P_y(tx, ty) = t\,\frac{\dd}{\dd t}\bigl[P(tx, ty)\bigr] ,

so the integrand is P(tx,ty)+t ⁣d ⁣dtP(tx,ty)= ⁣d ⁣dt[tP(tx,ty)]P(tx, ty) + t\frac{\dd}{\dd t}P(tx, ty) = \frac{\dd}{\dd t}\bigl[t\,P(tx, ty)\bigr] and

fx(x,y)=[tP(tx,ty)]01=P(x,y).f_x(x, y) = \Bigl[t\,P(tx, ty)\Bigr]_0^1 = P(x, y) .

Symmetrically fy=Qf_y = Q (same computation with Py=QxP_y = Q_x used the other way). Note where the hypothesis enters: ff is defined by integrating along the segment [0,M][0, M], which lies in UU precisely because UU is star-shaped.

Exercise 20.9 ★★★

(Dirichlet integral by double integration) Justify and exploit

0 ⁣ ⁣0exysinx   ⁣dy ⁣dxvs0 ⁣ ⁣0exysinx   ⁣dx ⁣dy\int_0^\infty\!\!\int_0^\infty e^{-xy}\sin x\;\dd y\,\dd x \quad\text{vs}\quad \int_0^\infty\!\!\int_0^\infty e^{-xy}\sin x\;\dd x\,\dd y

on [0,A]×[0,)[0, A] \times [0, \infty): show 0Asinxx ⁣dx=π20eAyysinA+cosA1+y2 ⁣dy\int_0^A \frac{\sin x}{x}\dd x = \frac\pi2 - \int_0^\infty e^{-Ay}\frac{y\sin A + \cos A}{1 + y^2}\dd y and recover 0sinxx ⁣dx=π2\int_0^\infty \frac{\sin x}{x}\,\dd x = \frac\pi2, comparing with the parameter-integral proof of Chapter 9.

Solution

Solution of Exercise 20.9.

On the strip [0,A]×[0,)[0, A] \times [0, \infty) the function (x,y)exysinx(x, y) \mapsto e^{-xy}\sin x is not absolutely integrable up to y=y = \infty uniformly in a naive sense, but each iterated integral converges and their equality follows from Fubini on [0,A]×[0,B][0, A] \times [0, B] plus a limit BB \to \infty (the tail 0ABexysinx ⁣dy ⁣dx0AeBxsinxx ⁣dx0AeBx ⁣dx0\int_0^A\int_B^\infty e^{-xy}\abs{\sin x}\,\dd y\,\dd x \leq \int_0^A \frac{e^{-Bx}\abs{\sin x}}{x}\dd x \leq \int_0^A e^{-Bx} \dd x\to 0, using sinxx\abs{\sin x} \leq x).

yy first: 0exy ⁣dy=1x\int_0^\infty e^{-xy}\,\dd y = \frac1x for x>0x > 0, so the first integral is 0Asinxx ⁣dx\int_0^A \frac{\sin x}{x}\,\dd x.

xx first: two integrations by parts (or taking the imaginary part of 0Ae(iy)x ⁣dx\int_0^A e^{(i - y)x}\dd x) give

0Aexysinx ⁣dx=1eAy(ysinA+cosA)1+y2.\int_0^A e^{-xy}\sin x\,\dd x = \frac{1 - e^{-Ay}(y\sin A + \cos A)}{1 + y^2} .

Integrating in yy over [0,)[0, \infty), the term 0 ⁣dy1+y2=π2\int_0^\infty \frac{\dd y}{1 + y^2} = \frac\pi2 splits off:

0Asinxx ⁣dx=π20eAyysinA+cosA1+y2 ⁣dy.\int_0^A \frac{\sin x}{x}\,\dd x = \frac{\pi}{2} - \int_0^\infty e^{-Ay}\,\frac{y\sin A + \cos A}{1 + y^2}\,\dd y .

The remainder is bounded by 0eAyy+11+y2 ⁣dy0eAy1+y1+y2 ⁣dy0\int_0^\infty e^{-Ay}\frac{y + 1}{1 + y^2}\dd y \leq \int_0^\infty e^{-Ay}\cdot\frac{1+y}{1+y^2} \,\dd y \to 0 as AA \to \infty (dominated convergence, or the crude bound 1+y1+y232\frac{1 + y}{1 + y^2} \leq \frac32 giving 32A\frac{3}{2A}). Hence 0sinxx ⁣dx=π2\int_0^\infty\frac{\sin x}{x}\dd x = \frac\pi2 — the same value obtained in Chapter 9 by differentiating a parameter integral; here Fubini does the work instead.

Exercise 20.10 ★★★

(Isoperimetric inequality via Wirtinger) Let γ\gamma be a simple closed C1\mathcal{C}^1 curve of length 2π2\pi, parametrized by arc length on [0,2π][0, 2\pi], enclosing area AA. Using Corollary 20.22, Parseval and the Wirtinger inequality (exercises of Chapter 14), prove AπA \leq \pi, with equality for the circle. (Normalize 02πx(s) ⁣ds=0\int_0^{2\pi} x(s)\dd s = 0; write 2A=x ⁣dyy ⁣dx2A = \oint x\,\dd y - y\,\dd x and bound 2A(x2+y2)2A \leq \int (x^2 + y'^2) carefully via 2A=02π(xyyx) ⁣ds2A = \int_0^{2\pi}(xy' - yx')\dd s and x2+y22xyx^2 + y'^2 \geq 2xy'.)

Solution

Solution of Exercise 20.10.

Parametrize by arc length s[0,2π]s \in [0, 2\pi], so x2+y2=1x'^2 + y'^2 = 1, and translate so that 02πx(s) ⁣ds=0\int_0^{2\pi} x(s)\,\dd s = 0. By Corollary 20.22,

2A=x ⁣dyy ⁣dx=02π(xyyx) ⁣ds.2A = \oint x\,\dd y - y\,\dd x = \int_0^{2\pi}\bigl(xy' - yx'\bigr)\dd s .

Integrating y ⁣dx\oint y\,\dd x by parts over the period (boundary terms cancel by periodicity), yx=yx-\int yx' = \int y'x, so in fact 2A=202πxy ⁣ds2A = 2\int_0^{2\pi}xy'\,\dd s. Then 2xyx2+y22xy' \leq x^2 + y'^2 gives

2A02π(x2+y2) ⁣ds=02πx2+02π(1x2)=2π02π(x2x2) ⁣ds.2A \leq \int_0^{2\pi}\bigl(x^2 + y'^2\bigr)\dd s = \int_0^{2\pi} x^2 + \int_0^{2\pi}\bigl(1 - x'^2\bigr) = 2\pi - \int_0^{2\pi}\bigl(x'^2 - x^2\bigr)\dd s .

Wirtinger’s inequality (Chapter 14 exercises: for a 2π2\pi-periodic C1\mathcal{C}^1 function with zero mean, x2x2\int x^2 \leq \int x'^2) makes the last integral nonnegative: AπA \leq \pi. Equality requires equality in Wirtinger (x(s)=acoss+bsinsx(s) = a\cos s + b\sin s) and in 2xyx2+y22xy' \leq x^2 + y'^2 (y=xy' = x pointwise), which forces y=asinsbcoss+cy = a\sin s - b\cos s + c: the curve is the unit circle (suitably centered). Since a curve of length LL rescales to length 2π2\pi, the general statement is AL24πA \leq \frac{L^2}{4\pi}: among all closed curves of given perimeter, the circle encloses the largest area.

Exercise 20.11 ★★

(Moments of the ball) For the ball BB of radius RR in R3\R^3, compute Bz2 ⁣dx ⁣dy ⁣dz\iiint_B z^2\,\dd x\,\dd y\,\dd z in spherical coordinates, and deduce B(x2+y2+z2) ⁣dx ⁣dy ⁣dz\iiint_B (x^2 + y^2 + z^2)\,\dd x\,\dd y\,\dd z by symmetry. Cross-check the latter against the shell computation 0Rr24πr2 ⁣dr\int_0^R r^2\cdot4\pi r^2\,\dd r.

Solution

Solution of Exercise 20.11.

In spherical coordinates z=rsinφz = r\sin\varphi and  ⁣dx ⁣dy ⁣dz=r2cosφ ⁣dr ⁣dθ ⁣dφ\dd x\,\dd y\,\dd z = r^2\cos\varphi\,\dd r\,\dd\theta\,\dd\varphi:

Bz2=0Rr4 ⁣dr02π ⁣dθπ/2π/2sin2φcosφ ⁣dφ=R552π[sin3φ3]π/2π/2=4πR515.\iiint_B z^2 = \int_0^R r^4\,\dd r\int_0^{2\pi}\dd\theta \int_{-\pi/2}^{\pi/2}\sin^2\varphi\cos\varphi\,\dd\varphi = \frac{R^5}5\cdot2\pi\cdot \Bigl[\frac{\sin^3\varphi}3\Bigr]_{-\pi/2}^{\pi/2} = \frac{4\pi R^5}{15}.

By the symmetry of the ball under permuting coordinates, Bx2=By2=Bz2\iiint_B x^2 = \iiint_B y^2 = \iiint_B z^2, so B(x2+y2+z2)=34πR515=4πR55\iiint_B(x^2 + y^2 + z^2) = 3\cdot\frac{4\pi R^5}{15} = \frac{4\pi R^5}5. Shell check: 0Rr24πr2 ⁣dr=4πR55\int_0^R r^2\cdot 4\pi r^2\,\dd r = \frac{4\pi R^5}5 — the integrand r2r^2 is constant on the sphere of radius rr, of area 4πr24\pi r^2.

Exercise 20.12 ★★

(Shoelace formula) Let KK be a polygon with vertices (x1,y1),,(xm,ym)(x_1, y_1), \dots, (x_m, y_m) in counterclockwise order (indices mod mm). Deduce from Corollary 20.22 that

Area(K)=12i=1m(xiyi+1xi+1yi),\operatorname{Area}(K) = \frac12\sum_{i=1}^m \bigl(x_iy_{i+1} - x_{i+1}y_i\bigr) ,

and check the formula on the triangle (0,0)(0,0), (1,0)(1,0), (0,1)(0,1).

Solution

Solution of Exercise 20.12.

Parametrize the edge from (xi,yi)(x_i, y_i) to (xi+1,yi+1)(x_{i+1}, y_{i+1}) by γ(t)=((1t)xi+txi+1, (1t)yi+tyi+1)\gamma(t) = \bigl((1-t)x_i + tx_{i+1},\ (1-t)y_i + ty_{i+1}\bigr). Its contribution to 12(x ⁣dyy ⁣dx)\frac12\oint(x\,\dd y - y\,\dd x) is

1201(((1t)xi+txi+1)(yi+1yi)((1t)yi+tyi+1)(xi+1xi)) ⁣dt,\frac12\int_0^1\Bigl(\bigl((1-t)x_i + tx_{i+1}\bigr)(y_{i+1} - y_i) - \bigl((1-t)y_i + ty_{i+1}\bigr)(x_{i+1} - x_i)\Bigr)\dd t ,

and since 01((1t)u+tv) ⁣dt=u+v2\int_0^1\bigl((1-t)u + tv\bigr)\dd t = \frac{u + v}2, this equals

14((xi+xi+1)(yi+1yi)(yi+yi+1)(xi+1xi))=12(xiyi+1xi+1yi),\frac14\Bigl((x_i + x_{i+1})(y_{i+1} - y_i) - (y_i + y_{i+1})(x_{i+1} - x_i)\Bigr) = \frac12\bigl(x_iy_{i+1} - x_{i+1}y_i\bigr),

the cross terms cancelling. Summing over the mm edges gives the shoelace formula, by Corollary 20.22. Triangle (0,0),(1,0),(0,1)(0,0), (1,0), (0,1): 12((0010)+(1100)+(0001))=12\frac12\bigl((0\cdot0 - 1\cdot0) + (1\cdot1 - 0\cdot0) + (0\cdot0 - 0\cdot1)\bigr) = \frac12, the correct area.

20.6 Problem: the volume of the ball in dimension nn

Problem 20.1

Weekend problem — Vn=πn/2/Γ(n2+1)V_n = \pi^{n/2}/\Gamma(\frac n2 + 1), and the strangeness of high dimensions

The disk has area π\pi, the ball volume 43π\frac43\pi — and then? This problem computes the volume of the unit ball of Rn\R^n for every nn, twice (by a slicing recursion driven by the Wallis integrals, then via the Γ\Gamma function and the Gauss integral of Example 20.17), and then reads off the geometry: the volumes peak in dimension five and rush to zero, and almost all of a high-dimensional ball hides in a thin shell near its boundary. For a continuous function on a ball of Rn\R^n, the integral is understood as the nn-fold iterated integral (slicing one coordinate at a time, as in the chapter for n3n \leq 3); we write Bn(R)B_n(R) for the closed ball of radius RR centered at 00, vn(R)v_n(R) for its volume, and Vn=vn(1)V_n = v_n(1), with V0=1V_0 = 1 by convention.

Part I — The slicing recursion.

  1. Substituting xi=Ruix_i = Ru_i in each of the nn iterated integrals, show vn(R)=VnRnv_n(R) = V_nR^n.
  2. Slicing Bn(1)B_n(1) along its last coordinate, show

    Vn=Vn111(1t2)n12 ⁣dt.V_n = V_{n-1}\int_{-1}^{1}(1 - t^2)^{\frac{n-1}2}\,\dd t .
  3. With t=sinθt = \sin\theta, identify the integral as a Wallis integral: 11(1t2)n12 ⁣dt=2Wn\int_{-1}^1(1 - t^2)^{\frac{n-1}2}\dd t = 2W_n, where Wn=0π/2cosnθ ⁣dθ=0π/2sinnθ ⁣dθW_n = \int_0^{\pi/2}\cos^n\theta\,\dd\theta = \int_0^{\pi/2}\sin^n\theta\,\dd\theta.
  4. Prove the two Wallis identities (integrate by parts; then telescope nWnWn1nW_nW_{n-1}):

    Wn=n1nWn2(n2),WnWn1=π2n(n1).W_n = \frac{n-1}nW_{n-2} \quad (n \geq 2), \qquad W_nW_{n-1} = \frac{\pi}{2n} \quad (n \geq 1).

Part II — The recursion solved.

  1. Combine questions 2–4 into the two-step recursion

    Vn=2πnVn2(n2).V_n = \frac{2\pi}{n}\,V_{n-2} \qquad (n \geq 2).
  2. Deduce the closed forms, for k0k \geq 0:

    V2k=πkk!,V2k+1=2k+1πk135(2k+1).V_{2k} = \frac{\pi^k}{k!}, \qquad V_{2k+1} = \frac{2^{k+1}\pi^k}{1\cdot3\cdot5\cdots (2k+1)} .
  3. Tabulate V1,,V7V_1, \dots, V_7 numerically. Using the ratio Vn/Vn2=2π/nV_n/V_{n-2} = 2\pi/n and the values of 2W52W_5 and 2W62W_6, prove that the sequence (Vn)(V_n) increases up to its maximum V5=8π2155.26V_5 = \frac{8\pi^2}{15} \approx 5.26 and decreases from then on.
  4. Show that Vn0V_n \to 0 faster than any geometric sequence, and that n1Vn\sum_{n\geq1} V_n converges: all the unit balls together have finite total volume.
  5. Prove the generating identity

    k0V2kx2k=eπx2(xR),\sum_{k\geq0} V_{2k}\,x^{2k} = \eu^{\pi x^2} \qquad (x \in \R),

    and deduce k0V2k=eπ23.14\sum_{k\geq0}V_{2k} = \eu^\pi \approx 23.14.

Part III — Second route: Γ\Gamma and the Gauss integral.

  1. Show by Fubini (the integrand is a product) that

    In=Rnex2 ⁣dx=(+et2 ⁣dt) ⁣n=πn/2,I_n = \int_{\R^n}\eu^{-\norm x^2}\dd x = \Bigl(\int_{-\infty}^{+\infty} \eu^{-t^2}\dd t\Bigr)^{\!n} = \pi^{n/2},

    the nn-dimensional Gauss integral, understood as a limit over cubes [R,R]n\intcc{-R}{R}^n.

  2. Recall Γ(s)=0ts1et ⁣dt\Gamma(s) = \int_0^\infty t^{s-1}\eu^{-t}\dd t (Definition 9.17). From Γ(s+1)=sΓ(s)\Gamma(s+1) = s\,\Gamma(s) (Theorem 9.18) and Γ(12)=π\Gamma(\tfrac12) = \sqrt\pi (substitute t=u2t = u^2 and invoke the Gauss integral), compute

    Γ(k+1)=k!,Γ(k+32)=13(2k+1)2k+1π.\Gamma(k + 1) = k!, \qquad \Gamma\Bigl(k + \frac32\Bigr) = \frac{1\cdot3\cdots(2k+1)}{2^{k+1}}\,\sqrt\pi .
  3. Prove, by induction through the recursion of question 5, the single formula

    Vn=πn/2Γ(n2+1)(n1),V_n = \frac{\pi^{n/2}}{\Gamma\bigl(\frac n2 + 1\bigr)} \qquad (n \geq 1),

    and check it reproduces both closed forms of question 6.

  4. Show 0er2rn1 ⁣dr=12Γ(n2)\int_0^\infty \eu^{-r^2}r^{n-1}\dd r = \tfrac12\Gamma\bigl(\tfrac n2\bigr) and deduce the identity

    In=nVn0er2rn1 ⁣dr.I_n = n\,V_n\int_0^\infty \eu^{-r^2}\,r^{n-1}\,\dd r.

    Interpret it: the Gaussian mass of Rn\R^n is collected along spherical shells whose “(n1)(n-1)-dimensional area” at radius rr is nVnrn1nV_nr^{n-1} — both sides are now proved independently, so the interpretation costs nothing.

  5. Set sn1=nVns_{n-1} = nV_n (the area of the unit sphere Sn1S^{n-1}, consistently with vn(R)=0Rsn1rn1 ⁣drv_n(R) = \int_0^R s_{n-1}r^{n-1}\dd r). Tabulate s0,,s3s_0, \dots, s_3 and check s1=2πs_1 = 2\pi, s2=4πs_2 = 4\pi, s3=2π2s_3 = 2\pi^2.

Part IV — High dimensions are strange.

  1. From Stirling’s formula (Theorem 6.13) applied to k!k!, show for even n=2kn = 2k:

    Vn1πn(2πen)n/2(n, n even),V_n \sim \frac{1}{\sqrt{\pi n}} \Bigl(\frac{2\pi\eu}{n}\Bigr)^{n/2} \qquad (n \to \infty, \ n \text{ even}),

    and explain why the same super-geometric decay bound extends to odd nn via the recursion.

  2. The unit ball sits in the cube [1,1]n\intcc{-1}1^n of volume 2n2^n. Compute the filling ratio Vn/2nV_n/2^n for n=2,3,10n = 2, 3, 10, and show it tends to 00: in high dimension, essentially all of the cube lies in its corners.
  3. Show that the fraction of vn(1)v_n(1) lying within distance ε\varepsilon of the boundary sphere is 1(1ε)n11 - (1 - \varepsilon)^n \to 1; numerically, what fraction of a 100100-dimensional ball lies in the outer shell of thickness 1%1\%?
  4. Prove the Wallis asymptotic Wnπ2nW_n \sim \sqrt{\dfrac{\pi}{2n}} (monotonicity of (Wn)(W_n), the ratio Wn/Wn21W_n/W_{n-2} \to 1, and WnWn1=π2nW_nW_{n-1} = \frac\pi{2n}), and the lower bound Wnπ2(n+1)W_n \geq \sqrt{\dfrac{\pi}{2(n+1)}} for all nn.
  5. (Concentration on a slab) The fraction of the unit ball with first coordinate beyond δ\delta is δ1(1x2)n12 ⁣dx/(2Wn)\int_\delta^1(1 - x^2)^{\frac{n-1}2}\dd x \,\big/\, (2W_n). Using 1ueu1 - u \leq \eu^{-u} and the tail bound δeax2 ⁣dxeaδ22aδ\int_\delta^\infty \eu^{-a x^2}\dd x \leq \frac{\eu^{-a\delta^2}}{2a\delta}, show this fraction is at most

    e(n1)δ2/2(n1)δ/2πn+1\frac{\eu^{-(n-1)\delta^2/2}}{(n-1)\,\delta} \Big/ \sqrt{\frac{2\pi}{n+1}}

    and conclude: for δ=s/n1\delta = s/\sqrt{n-1}, all but a fraction O(es2/2/s)O(\eu^{-s^2/2}/s) of the ball lies in the slab x1s/n1\abs{x_1} \leq s/\sqrt{n-1}. A ball of high dimension is, statistically, a thin pancake in every direction at once.

  6. Assemble questions 16–19 into one paragraph: where the volume of Bn(1)B_n(1) sits (near the boundary sphere, yet within O(1/n)O(1/\sqrt n) slabs of every hyperplane through the center), and why these two statements do not contradict each other.

Part V — Other bodies, and synthesis.

  1. (Simplex) Let Δn={xRn:xi0, xi1}\Delta_n = \{x \in \R^n : x_i \geq 0,\ \sum x_i \leq 1\}. Show by slicing and induction that vol(Δn)=1n!\operatorname{vol}(\Delta_n) = \frac1{n!}.
  2. (Cross-polytope) Deduce that Cn={x:xi1}C_n = \{x : \sum\abs{x_i} \leq 1\} has volume 2nn!\frac{2^n}{n!}, and verify the sandwich CnBn(1)[1,1]nC_n \subseteq B_n(1) \subseteq \intcc{-1}1^n at the level of volumes: 2nn!Vn2n\frac{2^n}{n!} \leq V_n \leq 2^n.
  3. Compute V4V_4 a third way: slice R4=R2×R2\R^4 = \R^2 \times \R^2, integrate the area of the (z,w)(z, w)-disk over the (x,y)(x, y)-disk in polar coordinates, and recover V4=π22V_4 = \frac{\pi^2}2.
  4. (Monte Carlo in trouble) A point is drawn uniformly in the cube [1,1]20\intcc{-1}1^{20}. Show that the probability that it lands in the inscribed ball is V20/2202.5108V_{20}/2^{20} \approx 2.5\cdot10^{-8}, so about forty million draws are needed before the first hit is expected: estimating VnV_n by rejection sampling collapses in high dimension (the curse of dimensionality).
  5. Synthesis. Two independent derivations met at Vn=πn/2/Γ(n2+1)V_n = \pi^{n/2}/\Gamma(\frac n2 + 1): list which theorem of this chapter each one used (Fubini, change of variables, the polar Gauss integral), and which one-variable inputs (Wallis, Γ\Gamma, Stirling). Where does the Year 3 volume redo this computation with Lebesgue’s theory, and what does it add?
Solution

Solution of Problem 20.1.

1. The ball Bn(R)B_n(R) is described by iterated bounds RxnR-R \leq x_n \leq R, then xn1R2xn2\abs{x_{n-1}} \leq \sqrt{R^2 - x_n^2}, and so on; substituting xi=Ruix_i = Ru_i in each of the nn one-variable integrals multiplies each by RR and maps the bounds onto those of Bn(1)B_n(1): vn(R)=Rnvn(1)=VnRnv_n(R) = R^n\,v_n(1) = V_nR^n.

2. Slicing along xn=tx_n = t: the slice of Bn(1)B_n(1) is the ball Bn1(1t2)B_{n-1}\bigl(\sqrt{1 - t^2}\bigr), so, by question 1,

Vn=11vn1(1t2) ⁣dt=Vn111(1t2)n12 ⁣dt.V_n = \int_{-1}^1 v_{n-1}\bigl(\sqrt{1 - t^2}\bigr)\,\dd t = V_{n-1}\int_{-1}^{1}(1 - t^2)^{\frac{n-1}2}\,\dd t .

3. With t=sinθt = \sin\theta,  ⁣dt=cosθ ⁣dθ\dd t = \cos\theta\,\dd\theta and (1t2)n12=cosn1θ(1 - t^2)^{\frac{n-1}2} = \cos^{n-1}\theta on [π/2,π/2]\intcc{-\pi/2}{\pi/2}:

11(1t2)n12 ⁣dt=π/2π/2cosnθ ⁣dθ=20π/2cosnθ ⁣dθ=2Wn,\int_{-1}^1(1 - t^2)^{\frac{n-1}2}\dd t = \int_{-\pi/2}^{\pi/2}\cos^n\theta\,\dd\theta = 2\int_0^{\pi/2}\cos^n\theta\,\dd\theta = 2W_n,

and θπ2θ\theta \mapsto \frac\pi2 - \theta interchanges the sine and cosine forms of WnW_n.

4. Write sinn=sinn2(1cos2)\sin^n = \sin^{n-2}(1 - \cos^2) and integrate sinn2coscos\int\sin^{n-2}\cos\cdot\cos by parts (v=sinn1n1v = \frac{\sin^{n-1}}{n-1}):

Wn=Wn2Wnn1Wn=n1nWn2.W_n = W_{n-2} - \frac{W_n}{n-1} \quad\Longrightarrow\quad W_n = \frac{n-1}{n}W_{n-2}.

Hence nWnWn1=(n1)Wn1Wn2nW_nW_{n-1} = (n-1)W_{n-1}W_{n-2}: the sequence (nWnWn1)(nW_nW_{n-1}) is constant, equal to 1W1W0=1π21\cdot W_1W_0 = 1\cdot\frac\pi2, so WnWn1=π2nW_nW_{n-1} = \frac{\pi}{2n}.

5. Questions 2–3 give Vn=2WnVn1V_n = 2W_nV_{n-1}, twice:

Vn=2Wn2Wn1Vn2=4π2nVn2=2πnVn2.V_n = 2W_n\cdot 2W_{n-1}\,V_{n-2} = 4\,\frac{\pi}{2n}\,V_{n-2} = \frac{2\pi}n\,V_{n-2}.

6. From V0=1V_0 = 1: V2k=2π2kV2k2=πkV2k2V_{2k} = \frac{2\pi}{2k}V_{2k-2} = \frac\pi kV_{2k-2}, so V2k=πkk!V_{2k} = \frac{\pi^k}{k!} by induction. From V1=2V_1 = 2: V2k+1=2π2k+1V2k1V_{2k+1} = \frac{2\pi}{2k+1}V_{2k-1}, so

V2k+1=2j=1k2π2j+1=2k+1πk135(2k+1).V_{2k+1} = 2\prod_{j=1}^k\frac{2\pi}{2j+1} = \frac{2^{k+1}\pi^k}{1\cdot3\cdot5\cdots(2k+1)} .

7. V1=2V_1 = 2, V2=π3.142V_2 = \pi \approx 3.142, V3=4π34.189V_3 = \frac{4\pi}3 \approx 4.189, V4=π224.935V_4 = \frac{\pi^2}2 \approx 4.935, V5=8π2155.264V_5 = \frac{8\pi^2}{15} \approx 5.264, V6=π365.168V_6 = \frac{\pi^3}6 \approx 5.168, V7=16π31054.725V_7 = \frac{16\pi^3}{105} \approx 4.725. The one-step ratio is Vn/Vn1=2WnV_n/V_{n-1} = 2W_n, and (Wn)(W_n) is decreasing (sinnsinn1\sin^n \leq \sin^{n-1} pointwise). Now 2W5=24523=1615>12W_5 = 2\cdot\frac45\cdot\frac23 = \frac{16}{15} > 1 while 2W6=2563412π2=5π16<12W_6 = 2\cdot\frac56\cdot\frac34\cdot\frac12\cdot\frac\pi2 = \frac{5\pi}{16} < 1: the ratios exceed 11 up to n=5n = 5 and are below 11 from n=6n = 6 on — (Vn)(V_n) increases to its maximum V5V_5 and then decreases.

8. For n13>4πn \geq 13 > 4\pi: Vn/Vn2=2π/n<12V_n/V_{n-2} = 2\pi/n < \tfrac12, so VnC2n/2V_{n} \leq C\cdot 2^{-n/2} with a fixed constant; better, for any q>0q > 0, 2π/n<q22\pi/n < q^2 for large nn, so Vn/qn0V_n/q^n \to 0: the decay beats every geometric sequence. Convergence of Vn\sum V_n follows from the ratio Vn/Vn20V_n/V_{n-2} \to 0 (compare with a geometric series from some rank on).

9. k0V2kx2k=k0(πx2)kk!=eπx2\sum_{k\geq0}V_{2k}x^{2k} = \sum_{k\geq0}\frac{(\pi x^2)^k}{k!} = \eu^{\pi x^2}, the exponential series (Chapter 11), convergent for every xx. At x=1x = 1: kV2k=eπ23.14\sum_kV_{2k} = \eu^\pi \approx 23.14.

10. On the cube [R,R]n\intcc{-R}R^n the integrand is the product iexi2\prod_i\eu^{-x_i^2}, so the iterated integral factorizes: (RRet2 ⁣dt)n\bigl(\int_{-R}^R\eu^{-t^2}\dd t\bigr)^n. Letting RR \to \infty and using Ret2 ⁣dt=π\int_\R\eu^{-t^2}\dd t = \sqrt\pi (Example 20.17): In=πn/2I_n = \pi^{n/2}.

11. t=u2t = u^2 gives Γ(12)=0t1/2et ⁣dt=20eu2 ⁣du=π\Gamma(\tfrac12) = \int_0^\infty t^{-1/2}\eu^{-t}\dd t = 2\int_0^\infty\eu^{-u^2}\dd u = \sqrt\pi. Iterating Γ(s+1)=sΓ(s)\Gamma(s+1) = s\Gamma(s): Γ(k+1)=k!Γ(1)=k!\Gamma(k+1) = k!\,\Gamma(1) = k!, and

Γ(k+32)=(k+12)(k12)12Γ(12)=(2k+1)(2k1)12k+1π.\Gamma\Bigl(k + \frac32\Bigr) = \Bigl(k + \frac12\Bigr)\Bigl(k - \frac12\Bigr)\cdots \frac12\cdot\Gamma\Bigl(\frac12\Bigr) = \frac{(2k+1)(2k-1)\cdots1}{2^{k+1}}\,\sqrt\pi .

12. Set Fn=πn/2/Γ(n2+1)F_n = \pi^{n/2}/\Gamma(\frac n2 + 1). Since Γ(n2+1)=n2Γ(n2)=n2Γ(n22+1)\Gamma(\frac n2 + 1) = \frac n2\,\Gamma(\frac n2) = \frac n2\,\Gamma(\frac{n-2}2 + 1), we get Fn=2πnFn2F_n = \frac{2\pi}nF_{n-2}: the same recursion as VnV_n (question 5). Bases: F1=π/Γ(32)=π/(π2)=2=V1F_1 = \sqrt\pi/\Gamma(\frac32) = \sqrt\pi/(\frac{\sqrt\pi}2) = 2 = V_1 and F2=π/Γ(2)=π=V2F_2 = \pi/\Gamma(2) = \pi = V_2. By induction Vn=FnV_n = F_n for all nn; question 11 turns this back into the two closed forms of question 6.

13. With r=tr = \sqrt t: 0er2rn1 ⁣dr=120tn21et ⁣dt=12Γ(n2)\int_0^\infty \eu^{-r^2}r^{n-1}\dd r = \frac12\int_0^\infty t^{\frac n2 - 1}\eu^{-t}\dd t = \frac12\Gamma(\frac n2). Hence

nVn0er2rn1 ⁣dr=Vnn2Γ(n2)=VnΓ(n2+1)=πn/2=In.n\,V_n\int_0^\infty\eu^{-r^2}r^{n-1}\dd r = V_n\cdot\frac n2\,\Gamma\Bigl(\frac n2\Bigr) = V_n\,\Gamma\Bigl(\frac n2 + 1\Bigr) = \pi^{n/2} = I_n .

Both sides being proved, the identity can be read as the shell decomposition of the Gaussian integral: the sphere of radius rr carries area nVnrn1nV_nr^{n-1}, and the Gaussian weight er2\eu^{-r^2} is integrated over the shells.

14. s0=V1=2s_0 = V_1 = 2 (the 00-sphere is two points), s1=2V2=2πs_1 = 2V_2 = 2\pi, s2=3V3=4πs_2 = 3V_3 = 4\pi, s3=4V4=2π2s_3 = 4V_4 = 2\pi^2; and 0Rsn1rn1 ⁣dr=VnRn=vn(R)\int_0^R s_{n-1}r^{n-1}\dd r = V_nR^n = v_n(R): area is the radial derivative of volume.

15. For n=2kn = 2k, Stirling (Theorem 6.13) gives k!2πk(k/e)kk! \sim \sqrt{2\pi k}\,(k/\eu)^k, so

V2k=πkk!(πe/k)k2πk=1πn(2πen)n/2(n=2k).V_{2k} = \frac{\pi^k}{k!} \sim \frac{(\pi\eu/k)^k}{\sqrt{2\pi k}} = \frac1{\sqrt{\pi n}}\Bigl(\frac{2\pi\eu}n\Bigr)^{n/2} \qquad (n = 2k).

For odd nn: V2k+1=2W2k+1V2k2V2kV_{2k+1} = 2W_{2k+1}V_{2k} \leq 2V_{2k}, so the same super-geometric decay bounds hold (up to a factor 22 and a shift of one in the exponent) — for every q>0q > 0, Vn=o(qn)V_n = o(q^n).

16. V2/4=π/40.785V_2/4 = \pi/4 \approx 0.785; V3/8=π/60.524V_3/8 = \pi/6 \approx 0.524; V10/210=π512010240.0025V_{10}/2^{10} = \frac{\pi^5}{120\cdot1024} \approx 0.0025. In general Vn/2nVn2/2n2=2π4n=π2n0\frac{V_n/2^n}{V_{n-2}/2^{n-2}} = \frac{2\pi}{4n} = \frac{\pi}{2n} \to 0: the ratio tends to 00 (super-geometrically). The inscribed ball occupies a vanishing fraction: the cube’s volume migrates to its corners.

17. By question 1 the inner ball of radius 1ε1 - \varepsilon has volume Vn(1ε)nV_n(1-\varepsilon)^n, so the outer shell carries the fraction 1(1ε)n11 - (1 - \varepsilon)^n \to 1. For n=100n = 100, ε=0.01\varepsilon = 0.01: (0.99)100=e100ln0.99e1.0050.366(0.99)^{100} = \eu^{100\ln0.99} \approx \eu^{-1.005} \approx 0.366: about 63%63\% of the ball lies within 1%1\% of its surface.

18. (Wn)(W_n) decreases, so WnWn1Wn2=nn1WnW_n \leq W_{n-1} \leq W_{n-2} = \frac{n}{n-1}W_n: squeezing, Wn1/Wn1W_{n-1}/W_n \to 1. Multiplying by WnWn1=π2nW_nW_{n-1} = \frac\pi{2n}: Wn2π2nW_n^2 \sim \frac\pi{2n}, i.e. Wnπ/(2n)W_n \sim \sqrt{\pi/(2n)}. Lower bound: Wn2WnWn+1=π2(n+1)W_n^2 \geq W_nW_{n+1} = \frac{\pi}{2(n+1)}, so Wnπ/(2(n+1))W_n \geq \sqrt{\pi/(2(n+1))} for every nn.

19. Numerator: 1x2ex21 - x^2 \leq \eu^{-x^2} gives (1x2)n12e(n1)x2/2(1 - x^2)^{\frac{n-1}2} \leq \eu^{-(n-1)x^2/2}, and with a=n12a = \frac{n-1}2,

δ1(1x2)n12 ⁣dxδeax2 ⁣dxδxδeax2 ⁣dx=eaδ22aδ=e(n1)δ2/2(n1)δ.\int_\delta^1(1 - x^2)^{\frac{n-1}2}\dd x \leq \int_\delta^\infty\eu^{-ax^2}\dd x \leq \int_\delta^\infty\frac x\delta\,\eu^{-ax^2}\dd x = \frac{\eu^{-a\delta^2}}{2a\delta} = \frac{\eu^{-(n-1)\delta^2/2}}{(n-1)\delta}.

Denominator: 2Wn2π/(n+1)2W_n \geq \sqrt{2\pi/(n+1)} by question 18. Dividing gives the displayed bound. For δ=s/n1\delta = s/\sqrt{n-1} it becomes n+12π(n1)  es2/2/s=O(es2/2/s)\sqrt{\tfrac{n+1}{2\pi(n-1)}}\;\eu^{-s^2/2}/s = O\bigl( \eu^{-s^2/2}/s\bigr), uniformly in nn: outside the slab x1s/n1\abs{x_1} \leq s/\sqrt{n-1} there is almost no volume, for ss moderately large — and by symmetry the same holds for every direction.

20. The two statements coexist because they describe different coordinates of the same point. Almost every point of Bn(1)B_n(1) has norm close to 11 (question 17: radial concentration near the sphere), yet each of its nn coordinates is small, of order 1/n1/\sqrt n (question 19), which is consistent since nn coordinates of size 1/n1/\sqrt n have norm of order 11. High-dimensional volume concentrates where all coordinates share the norm budget equally — near the sphere, but far from every coordinate axis pole.

21. Slice Δn\Delta_n at xn=t[0,1]x_n = t \in \intcc01: the slice is {xRn1:xi0, xi1t}=(1t)Δn1\{x' \in \R^{n-1} : x_i \geq 0,\ \sum x_i \leq 1 - t\} = (1-t)\Delta_{n-1}, of volume (1t)n1vol(Δn1)(1-t)^{n-1}\operatorname{vol}(\Delta_{n-1}) by homogeneity. So

vol(Δn)=vol(Δn1)01(1t)n1 ⁣dt=vol(Δn1)nvol(Δn)=1n!.\operatorname{vol}(\Delta_n) = \operatorname{vol}(\Delta_{n-1})\int_0^1(1 - t)^{n-1}\dd t = \frac{\operatorname{vol}(\Delta_{n-1})}{n} \quad\Longrightarrow\quad \operatorname{vol}(\Delta_n) = \frac1{n!}\,.

22. The 2n2^n sign-orthants cut CnC_n into 2n2^n copies of Δn\Delta_n (with negligible overlaps on coordinate hyperplanes): vol(Cn)=2nn!\operatorname{vol}(C_n) = \frac{2^n}{n!}. If xi1\sum\abs{x_i} \leq 1 then xi2(xi)21\sum x_i^2 \leq \bigl(\sum\abs{x_i}\bigr)^2 \leq 1: CnBn(1)C_n \subseteq B_n(1); and Bn(1)[1,1]nB_n(1) \subseteq \intcc{-1}1^n since xix\abs{x_i} \leq \norm x. Hence 2nn!Vn2n\frac{2^n}{n!} \leq V_n \leq 2^n — consistent with question 15, which places VnV_n between the factorial and geometric scales.

23. For (x,y)(x, y) in the unit disk, the slice of B4(1)B_4(1) is the disk of radius 1x2y2\sqrt{1 - x^2 - y^2} in the (z,w)(z, w)-plane, of area π(1x2y2)\pi(1 - x^2 - y^2). In polar coordinates:

V4=x2+y21π(1x2y2) ⁣dx ⁣dy=π02π ⁣ ⁣01(1ρ2)ρ ⁣dρ ⁣dα=π2π14=π22,V_4 = \iint_{x^2+y^2\leq1}\pi(1 - x^2 - y^2)\,\dd x\,\dd y = \pi\int_0^{2\pi}\!\!\int_0^1(1 - \rho^2)\rho\, \dd\rho\,\dd\alpha = \pi\cdot2\pi\cdot\frac14 = \frac{\pi^2}2 ,

agreeing with question 6.

24. The probability is the volume ratio V20220=π1010!2200.025810485762.5108\dfrac{V_{20}}{2^{20}} = \dfrac{\pi^{10}}{10!\cdot2^{20}} \approx \dfrac{0.0258}{1\,048\,576} \approx 2.5\cdot10^{-8}. The number of draws until the first hit is of order the inverse, about 41074\cdot10^7: a rejection sampler that worked beautifully for the disk (π/4\pi/4 of hits) is useless in dimension 2020 — the curse of dimensionality in one line.

25. Route one (Parts I–II) used: Fubini-type slicing of the iterated integral, one-variable substitution in each coordinate (homogeneity), and the Wallis integrals — pure one-variable calculus plus induction. Route two (Part III) used: Fubini for the product structure of InI_n, the polar change of variables through the Gauss integral of Example 20.17, and the Γ\Gamma function’s functional equation. They meet in Vn=πn/2/Γ(n2+1)V_n = \pi^{n/2}/\Gamma(\frac n2 + 1), with Stirling (Theorem 6.13) converting the formula into asymptotics. The Year 3 volume rebuilds all of this on Lebesgue’s integral: there Fubini and the change of variables are theorems for general integrable functions, spherical coordinates exist in every dimension, and the same ball volumes reappear as the worked dividends of the product-measure and Stirling problems — with dominated convergence replacing our hand-made squeezes.