Documentation

TauCeti.MeasureTheory.Constructions.HaarToSphere

Integration in polar coordinates #

Let E be a nontrivial finite-dimensional real normed space of dimension d with an additive Haar measure μ. Mathlib's MeasureTheory.Measure.measurePreserving_homeomorphUnitSphereProd identifies μ on E \ {0} with the product of the surface measure μ.toSphere on the unit sphere and the radial measure r ^ (d - 1) dr on (0, ∞), but upstream only integrates radial functions against it (MeasureTheory.integral_fun_norm_addHaar). This file records the integral formula for an arbitrary integrable function, in both orders of integration,

∫ x, f x ∂μ = ∫ u ∈ S, ∫ r in (0, ∞), r ^ (d - 1) • f (r • u) ∂μ.toSphere = ∫ r in (0, ∞), r ^ (d - 1) • ∫ u ∈ S, f (r • u) ∂μ.toSphere,

and uses the first for a radial fundamental theorem of calculus: for a C¹ function f with compact support,

∫ x, ‖x‖ ^ (-d) * f' x x ∂μ = -(d * μ (ball 0 1)) * f 0.

In the language of distributions the second formula says that the vector field x / ‖x‖ ^ d has divergence d μ(ball 0 1) δ₀; it is the flux computation behind the fundamental solution of the Laplacian.

Main declarations #

theorem TauCeti.integral_volumeIoiPow {F : Type u_2} [NormedAddCommGroup F] [NormedSpace ℝ F] (k : ℕ) (h : ℝ → F) :
∫ (r : ↑(Set.Ioi 0)), h ↑r ∂MeasureTheory.Measure.volumeIoiPow k = ∫ (r : ℝ) in Set.Ioi 0, r ^ k • h r

Integration against MeasureTheory.Measure.volumeIoiPow k is integration on (0, ∞) against the weight r ^ k.

Integration in polar coordinates. An integrable function on a finite-dimensional real normed space is integrated by first integrating along each ray r ↦ r • u, against the radial Jacobian r ^ (d - 1), and then over the unit sphere against μ.toSphere.

Integration in polar coordinates, radial variable outermost. An integrable function on a finite-dimensional real normed space is integrated by first integrating over the sphere of radius r (parametrized by the unit sphere against μ.toSphere), and then in r against the radial Jacobian r ^ (d - 1).

The integral of f over the sphere of radius r about the origin, parametrized by the unit sphere, depends continuously on r ∈ [0, R] when f is continuous on the closed ball of radius R.

Integration over a ball in polar coordinates. For f integrable on the ball ball 0 R, the integral of f over ball 0 R is the integral over the radii s ∈ (0, R) of the sphere integrals, against the radial Jacobian s ^ (d - 1).

The radial Jacobian integrates against the total surface measure to the measure of the ball: (∫ s in (0, R), s ^ (d - 1)) * μ.toSphere(S) = μ (ball 0 R).

Radial fundamental theorem of calculus. For a C¹ function f with compact support on a nontrivial finite-dimensional real normed space of dimension d, ∫ ‖x‖ ^ (-d) * f' x x ∂μ = -(d * μ (ball 0 1)) * f 0.

In the language of distributions, div (x / ‖x‖ ^ d) = d μ(ball 0 1) δ₀.