NLA-lib Explorer

ProbabilityTheory.integral_rpow_mul_exp_neg_sq_div_two

Library · theorem

The Gaussian radial integral: for every real q > -1, \int_0^\infty y^q e^{-y^2/2}\,dy = \frac{2^{(q+1)/2}\,\Gamma((q+1)/2)}{2}\,.

ProbabilityTheory.integral_rpow_mul_exp_neg_sq_div_two {q : ℝ} (hq : -1 < q) :
  ∫ (y : ℝ) in Set.Ioi 0, y ^ q * rexp (-y ^ 2 / 2) =
    2 ^ ((q + 1) / 2) * (1 / 2) * Real.Gamma ((q + 1) / 2)

Full source on GitHub

Import NLAlib.ForMathlib.Probability.Distributions.ChiSquared.