Documentation

TauCeti.Geometry.Euclidean.Volume.Sphere

Hausdorff measure of spheres #

Let E be a real inner product space of dimension n. Mathlib's surface measure Measure.toSphere volume on the unit sphere is defined through cones: a set s of the sphere has measure n times the volume of Ioo 0 1 • s. This file identifies it with the normalized (n - 1)-dimensional Hausdorff measure μHE[n - 1] of the sphere, and deduces

μHE[n - 1] (sphere c r) = n ω_n r ^ (n - 1), for r > 0,

where ω_n = volume (ball 0 1). These are the constants of polar integration with respect to Hausdorff measure, and they agree with Mathlib's volume of balls. The passage from the unit sphere to sphere c r is a rescaling statement valid for every dimension d in every real normed space: μHE[d] on sphere c r is r ^ d times the pushforward of μHE[d] on the unit sphere by u ↦ c + r • u.

The comparison is a cone formula for parametrizations of pieces of the unit sphere. If ψ : W → E takes values in the unit sphere near a measurable set s, where dim W = n - 1, and ψ is injective on s with injective derivative, then (t, w) ↦ t • ψ w parametrizes the cone Ioo 0 1 • ψ '' s. Since ψ w is a unit vector orthogonal to the range of the derivative of ψ, the Jacobian of the cone map at (t, w) is t ^ (n - 1) times the Jacobian of ψ at w (LinearMap.normDet_toSpanSingleton_coprod). The area formula applied to both maps, and integration of t ^ (n - 1) over (0, 1), give μHE[n - 1] (ψ '' s) = n volume (Ioo 0 1 • ψ '' s). The inverse of Mathlib's stereographic projection from a unit vector v parametrizes the sphere minus v in this way, and the projections from v and -v together cover the sphere. No lower bound on the dimension is needed: in dimension one, both measures count points.

Main results #

References #

Rescaling Hausdorff measure on spheres. For r > 0, the d-dimensional Hausdorff measure on the sphere sphere c r is r ^ d times the pushforward of the d-dimensional Hausdorff measure on the unit sphere by u ↦ c + r • u.

Rescaling integrals over spheres. For r > 0, integrating a nonnegative function against d-dimensional Hausdorff measure on sphere c r amounts to integrating its pullback by u ↦ c + r • u over the unit sphere, with the factor r ^ d.

Rescaling integrals over spheres. For r > 0, integrating a function against d-dimensional Hausdorff measure on sphere c r amounts to integrating its pullback by u ↦ c + r • u over the unit sphere, with the factor r ^ d.

A function is integrable for d-dimensional Hausdorff measure on sphere c r, r > 0, if and only if its pullback by u ↦ c + r • u is integrable on the unit sphere.

Cone formula. Let ψ : W → E take values in the unit sphere near a measurable set s, where dim W + 1 = dim E, and let ψ be injective on s and differentiable on s with injective derivative. Then the dim W-dimensional Hausdorff measure of ψ '' s is dim E times the volume of the cone Ioo 0 1 • ψ '' s.

Mathlib's surface measure Measure.toSphere volume on the unit sphere of an n-dimensional real inner product space is normalized (n - 1)-dimensional Hausdorff measure.

Normalized (n - 1)-dimensional Hausdorff measure restricted to the unit sphere of an n-dimensional real inner product space is the pushforward of Mathlib's surface measure Measure.toSphere volume.

The unit sphere of an n-dimensional real inner product space has (n - 1)-dimensional Hausdorff measure n ω_n, where ω_n is the volume of the unit ball.

The unit sphere of an n-dimensional real inner product space has (n - 1)-dimensional Hausdorff measure 2 π ^ (n / 2) / Γ(n / 2). In dimension zero both sides vanish.

The surface area of the unit sphere. On a real inner product space of dimension n, Mathlib's surface measure Measure.toSphere volume gives the unit sphere total mass 2 π ^ (n / 2) / Γ(n / 2). In dimension zero the sphere is empty and both sides vanish.

A sphere of radius r > 0 in an n-dimensional real inner product space has (n - 1)-dimensional Hausdorff measure n ω_n r ^ (n - 1), where ω_n is the volume of the unit ball.

noncomputable def TauCeti.roundSphereVolume (n : ℕ) :

The area |Sⁿ| of the unit round sphere Sⁿ ⊆ ℝⁿ⁺¹: the normalized n-dimensional Hausdorff measure of the unit sphere of EuclideanSpace ℝ (Fin (n + 1)).

Instances For

    The area of the unit round sphere: |Sⁿ| = 2 π ^ ((n + 1) / 2) / Γ((n + 1) / 2).

    The unit round sphere has positive area.

    The unit sphere of every real inner product space of dimension n + 1 has normalized n-dimensional Hausdorff measure |Sⁿ|. In particular, this measure is finite.