The real volume of the unit ball #
Mathlib computes the volume of a ball in a finite-dimensional real inner product space as an
extended nonnegative real (InnerProductSpace.volume_ball). This file records the real volume of
the unit ball in the form π ^ (d / 2) / Γ(d / 2 + 1), where d is the dimension, which is the
form used in normalizing constants. It also shows that every finite-dimensional real inner
product space has a closed ball of volume one about the origin, that a closed ball of
radius r in a one-dimensional space has volume 2 * r, and that a disc of radius r in ℂ has
real volume π * r ^ 2, so that a constant c on it has L² norm ‖c‖ r √π.
The real volume of the unit ball of a real inner product space of dimension d is
π ^ (d / 2) / Γ(d / 2 + 1).
There is a closed ball about the origin of volume one.
In a one-dimensional real inner product space, a closed ball of radius r ≥ 0 has volume
2 * r.
A disc of radius r ≥ 0 in ℂ has real volume π * r ^ 2.
The L² norm of a constant c on the closed disc of radius R in ℂ is ‖c‖ R √π, the
square root of the disc area π R² times ‖c‖.