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 #
ProbabilityTheory.integrable_exp_mul_sq_gaussianReal:exp (c z²)is integrable forgaussianReal 0 vwhenc v < 1 / 2.ProbabilityTheory.integral_exp_mul_sq_gaussianReal: its integral is(√(1 - 2 c v))⁻¹.
theorem ProbabilityTheory.integrable_exp_mul_sq_gaussianReal {v : NNReal} {c : ℝ} (hc : c * ↑v < 1 / 2) :
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) :
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).