Documentation

CslibFrontier.Foundations.Probability.Gaussian.ExpSq

Exponential moments of the square of a centered Gaussian #

For a centered real Gaussian Z of variance v and c v < 1 / 2, the function exp (c Z²) is integrable and 𝔼 exp (c Z²) = 1 / √(1 - 2 c v). This is the moment generating function of the chi-squared distribution with one degree of freedom, scaled by v. The nondegenerate case combines the Gaussian density with exp (c z²) into one Gaussian integral. When v = 0 the law is the Dirac mass at 0, and both sides are 1.

Main results #

theorem ProbabilityTheory.integrable_exp_mul_sq_gaussianReal {v : NNReal} {c : ℝ} (hc : c * ↑v < 1 / 2) :
MeasureTheory.Integrable (fun (z : ℝ) => Real.exp (c * z ^ 2)) (gaussianReal 0 v)

For a centered Gaussian of variance v and c v < 1 / 2, exp (c z²) is integrable.

theorem ProbabilityTheory.integral_exp_mul_sq_gaussianReal {v : NNReal} {c : ℝ} (hc : c * ↑v < 1 / 2) :
∫ (z : ℝ), Real.exp (c * z ^ 2) ∂gaussianReal 0 v = (√(1 - 2 * (c * ↑v)))⁻¹

The moment generating function of the square of a centered Gaussian: for variance v and c v < 1 / 2, 𝔼 exp (c Z²) = 1 / √(1 - 2 c v).