Math 2.0

Probability theory and stochastic processes Proof

Proof of the formula for the variance of the normal distribution

Builds on Normal distributionDensity of the normal distributionProbability density functionVarianceMean of the normal distributionLaw of the unconscious statisticianIntegration by substitutionIntegration by partsChain ruleThe exponential function is its own derivativePower series of the exponential functionImproper integral

Proof

We substitute x=μ+σzx = \mu + \sigma z and integrate by parts.

  1. Let μ∈ℝ\mu \in \R, σ2>0\sigma^2 > 0, and σ=σ2>0\sigma = \sqrt{\sigma^2} > 0. Let XX have the normal distribution 𝒩(μ,σ2)\mathcal{N}(\mu, \sigma^2).
  2. Let f=φμ,σ2f = \varphi_{\mu, \sigma^2} and φ=φ0,1\varphi = \varphi_{0,1} be the normal densities. By definition, ff is a probability density function of XX.
  3. By the mean of the normal distribution, XX is integrable with E[X]=μE[X] = \mu. So by definition the variance is Var⁡(X)=E[(X−μ)2]\operatorname{Var}(X) = E[(X - \mu)^2].
  4. By the law of the unconscious statistician, if ∫ℝ(x−μ)2f(x) dx<∞\int_\R (x - \mu)^2 f(x) \, dx < \infty, then E[(X−μ)2]E[(X - \mu)^2] equals this integral.
  5. The integrand in step 4 is continuous and nonnegative. So the integral is the limit of ∫μ−σRμ+σR(x−μ)2f(x) dx\int_{\mu - \sigma R}^{\mu + \sigma R} (x - \mu)^2 f(x) \, dx as R→∞R \to \infty, an improper integral.
  6. For all real zz, σf(μ+σz)=φ(z)\sigma f(\mu + \sigma z) = \varphi(z). Substitution with x=μ+σzx = \mu + \sigma z gives ∫μ−σRμ+σR(x−μ)2f(x) dx=σ2∫−RRz2φ(z) dz.\int_{\mu - \sigma R}^{\mu + \sigma R} (x - \mu)^2 f(x) \, dx = \sigma^2 \int_{-R}^{R} z^2 \varphi(z) \, dz.
  7. By the chain rule and the derivative of the exponential function, φ′(z)=−zφ(z)\varphi'(z) = -z \varphi(z).
  8. Integration by parts with u(z)=zu(z) = z and v(z)=−φ(z)v(z) = -\varphi(z), so that v′(z)=zφ(z)v'(z) = z \varphi(z), gives ∫−RRz2φ(z) dz=[−zφ(z)]−RR+∫−RRφ(z) dz=−2Rφ(R)+∫−RRφ(z) dz.\int_{-R}^{R} z^2 \varphi(z) \, dz = \big[-z \varphi(z)\big]_{-R}^{R} + \int_{-R}^{R} \varphi(z) \, dz = -2R\varphi(R) + \int_{-R}^{R} \varphi(z) \, dz.
  9. By the power series of the exponential function, ey≥ye^{y} \ge y for y≥0y \ge 0. With y=R2/2y = R^2/2, this gives Rφ(R)≤2/(R2π)R \varphi(R) \le 2/(R\sqrt{2\pi}) for R>0R > 0.
  10. So Rφ(R)→0R \varphi(R) \to 0 as R→∞R \to \infty.
  11. Since φ\varphi is the density of 𝒩(0,1)\mathcal{N}(0, 1), ∫−RRφ(z) dz→1\int_{-R}^{R} \varphi(z) \, dz \to 1 as R→∞R \to \infty.
  12. By steps 8, 10 and 11, ∫−RRz2φ(z) dz→1\int_{-R}^{R} z^2 \varphi(z) \, dz \to 1.
  13. By steps 5, 6 and 12, the integral in step 4 is finite and equals σ2⋅1\sigma^2 \cdot 1.
  14. By steps 3 and 4, Var⁡(X)=σ2\operatorname{Var}(X) = \sigma^2.

Idea

After the substitution x=μ+σzx = \mu + \sigma z, the variance is σ2\sigma^2 times ∫z2φ(z) dz\int z^2 \varphi(z) \, dz. Since φ′=−zφ\varphi' = -z\varphi, integration by parts turns this integral into ∫φ=1\int \varphi = 1.

Reading path

To understand this page from the ground up, read these 322 pages in order. The foundations come first. The path takes the proofs Proof that Darboux and Riemann integrals agree, Proof of integration by parts, Proof of the Cauchy–Hadamard theorem, Proof of the Weierstrass M-test, Proof of the limit of a sum of sequences, Proof of Rolle's theorem, Proof of the approximation property of the supremum, Proof that every sequence has a monotone subsequence, by peaks, Proof of the formula for the mean of the normal distribution, Proof of the formula for the derivative of a polynomial, Proof of the commutativity of addition by induction, Proof of term-by-term differentiation, Proof of the epsilon-delta form of continuity, Proof of the power rule by induction, Proof that absolutely convergent series converge, Proof of the sum of a finite geometric series, Proof that convergent sequences are Cauchy, Proof that there is a natural number n with 1/n below any positive epsilon, Proof of the chain rule with an auxiliary difference quotient, Proof of the Cauchy criterion for series, Proof of the Cauchy criterion for sequences by the Bolzano–Weierstrass theorem, Proof of the reverse triangle inequality, Proof that the exponential series has infinite radius of convergence, Proof that continuous functions on a closed bounded interval are uniformly continuous, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of the root test, Proof of the double negation law by a truth table, Proof that power series converge uniformly on smaller intervals inside the radius of convergence, Proof of the extreme value theorem by the Bolzano–Weierstrass theorem, Proof of the uniqueness of limits, Proof that Lipschitz functions are uniformly continuous, Proof that the integral of a continuous function is an antiderivative, Proof of strong induction from ordinary induction, Proof that power series are differentiable inside the radius of convergence, Proof of the limit of a product of sequences, Proof that uniform convergence of derivatives allows term-by-term differentiation, Proof that the absolute value is multiplicative, Proof of the squeeze theorem for sequences, Proof of Pascal's rule from the recursive definition, Proof of the linearity of differentiation, Proof of the mean value theorem for integrals, Proof of Riemann's criterion for integrability, Proof of the sequential characterization of limits, Proof that Cauchy sequences are bounded, Proof of the triangle inequality for real numbers, Proof of the epsilon-N definition of the limit of a sequence, Proof of the first fundamental theorem of calculus, Proof of the comparison test, Proof of Fermat's theorem on stationary points, Proof that limits preserve non-strict inequalities, Proof of the linearity of the integral, Proof of the factorial formula for binomial coefficients by induction, Proof of integration by substitution, Proof of the second fundamental theorem of calculus, Proof of the intermediate value theorem by the supremum, Proof of the binomial theorem by induction, Proof that exponentials dominate powers in sequences, by the ratio of consecutive terms, Proof that differentiable functions are continuous, Proof of the epsilon-delta form of the limit of a function, Proof of the well-ordering principle from strong induction, Proof of the Bolzano–Weierstrass theorem by a monotone subsequence, Proof of the Archimedean property in an Archimedean ordered field, Proof that a composition of continuous functions is continuous, Proof of the exponential of a sum by the Cauchy product, Proof of the additivity of the integral over intervals, Proof that a decreasing sequence bounded below converges, Proof of the term test, Proof that the exponential function is its own derivative, by term-by-term differentiation, Proof that the reals are Archimedean from the completeness axiom, Proof of the ratio test, Proof of the power series of the exponential function, Proof that convergent sequences are bounded, Proof of the product rule, Proof of the monotone convergence theorem for sequences, Proof that continuity is equivalent to sequential continuity, Proof of the monotonicity of the integral, Proof of the boundedness theorem by Bolzano–Weierstrass, Proof of the ratio formula for the radius of convergence, Proof that a series of nonnegative terms converges iff its partial sums are bounded, Proof of the mean value theorem from Rolle's theorem, Proof that the Cauchy product of absolutely convergent series converges absolutely to the product, Proof that sums and products of continuous functions are continuous, Proof that continuous functions are Riemann integrable, Proof of the constant multiple rule.

  1. Binomial coefficient definition
  2. Construction of the reals from Cauchy sequences concept
  3. Definition by recursion concept
  4. Element definition
  5. Factorial definition
  6. Group concept
  7. Integers object
  8. Limit point of a set definition
  9. Lipschitz continuity definition
  10. Local maximum definition
  11. Mathematical induction concept
  12. Natural numbers object
  13. Ordered field definition
  14. Partition of an interval definition
  15. Peano axioms concept
  16. Proposition concept
  17. Random experiment concept
  18. Rational numbers object
  19. Real numbers object
  20. Sequence definition
  21. Set bounded above definition
  22. Proof of Pascal's rule from the recursive definition proof
  23. Set definition
  24. Ring definition
  25. Ring of integers statement
  26. Limit of a function definition
  27. Local minimum definition
  28. Archimedean ordered field definition
  29. Successor function definition
  30. Mesh of a partition definition
  31. Refinement of a partition definition
  32. Riemann sum definition
  33. Conjunction definition
  34. Disjunction definition
  35. Implication definition
  36. Negation definition
  37. Predicate definition
  38. The reals form a field statement
  39. Real sequence definition
  40. Subsequence definition
  41. Infimum definition
  42. Supremum definition
  43. Pascal's rule statement
  44. Ordered pair definition
  45. Commutative ring definition
  46. Continuity at a point definition
  47. Derivative definition
  48. Limit at infinity definition
  49. One-sided limit definition
  50. Union definition
  51. Addition of natural numbers definition
  52. Sample space definition
  53. Proof of the Archimedean property in an Archimedean ordered field proof
  54. Riemann integrable function definition
  55. The rationals form a field statement
  56. The successor function is injective statement
  57. Zero is not a successor statement
  58. Biconditional definition
  59. Truth table concept
  60. Modus ponens concept
  61. Existential quantifier definition
  62. Universal quantifier definition
  63. Bounded sequence definition
  64. Cauchy sequence definition
  65. Geometric sequence definition
  66. Limit of a sequence definition
  67. Monotone sequence definition
  68. Sequence tending to infinity definition
  69. Series definition
  70. Completeness axiom statement
  71. Cartesian product definition
  72. Proof of the factorial formula for binomial coefficients by induction proof
  73. Continuous function definition
  74. Antiderivative definition
  75. Differentiable function definition
  76. One-sided derivative definition
  77. Archimedean property statement
  78. Proof of the commutativity of addition by induction proof
  79. Subset definition
  80. Order on the natural numbers definition
  81. Riemann integral definition
  82. The rationals form an ordered field statement
  83. Propositional logic concept
  84. Upper and lower Darboux sums definition
  85. Mathematical proof concept
  86. Uniqueness quantifier definition
  87. Limit superior definition
  88. Proof of the sum of a finite geometric series proof
  89. Convergent sequence definition
  90. Pointwise convergence definition
  91. Sequential continuity definition
  92. The sequence r^n tends to infinity for r > 1 example
  93. Cauchy product definition
  94. Partial sum definition
  95. Power series definition
  96. Factorial formula for binomial coefficients statement
  97. Proof that a composition of continuous functions is continuous proof
  98. Binary relation definition
  99. Derivative function definition
  100. Universal set definition
  101. Order on the reals definition
  102. Improper integral definition
  103. Power set definition
  104. Commutativity of addition statement
  105. Definite integral definition
  106. Proof of strong induction from ordinary induction proof
  107. Upper and lower Darboux integrals definition
  108. Tautology definition
  109. Uniform convergence definition
  110. Sum of a finite geometric series statement
  111. Radius of convergence definition
  112. Convergent series definition
  113. Proof of the binomial theorem by induction proof
  114. Antisymmetric relation definition
  115. Reflexive relation definition
  116. Transitive relation definition
  117. Higher derivative definition
  118. Complement definition
  119. Interval definition
  120. Function definition
  121. Strong induction statement
  122. Uniform convergence on a set definition
  123. Logical equivalence definition
  124. Series of functions definition
  125. Sum of a series definition
  126. Absolute convergence definition
  127. Binomial theorem statement
  128. Preorder definition
  129. Continuously differentiable function definition
  130. Taylor polynomial definition
  131. Proof of the epsilon-delta form of continuity proof
  132. Proof of the epsilon-delta form of the limit of a function proof
  133. Sigma-algebra definition
  134. Injective function definition
  135. Indicator function definition
  136. Preimage of a set definition
  137. Proof of the well-ordering principle from strong induction proof
  138. Proof of the double negation law by a truth table proof
  139. Partial order definition
  140. Smooth function definition
  141. Epsilon-delta definition of continuity statement
  142. Epsilon-delta definition of a limit statement
  143. Countable set definition
  144. Event definition
  145. Well-ordering principle statement
  146. Borel sigma-algebra definition
  147. Double negation law statement
  148. Total order definition
  149. Composition of continuous functions is continuous statement
  150. Uniform continuity definition
  151. Probability axioms concept
  152. Taylor series definition
  153. Proof by contradiction concept
  154. Proof that every sequence has a monotone subsequence, by peaks proof
  155. Uniform continuity on a set definition
  156. Maclaurin series definition
  157. Probability measure definition
  158. Proof that Lipschitz functions are uniformly continuous proof
  159. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  160. Every sequence has a monotone subsequence statement
  161. Lipschitz functions are uniformly continuous statement
  162. Probability distribution definition
  163. Dirac measure definition
  164. Probability space definition
  165. The reals form an ordered field statement
  166. Absolute value definition
  167. Random variable definition
  168. Proof of the approximation property of the supremum proof
  169. Cumulative distribution function definition
  170. Law of a random variable definition
  171. Proof of the triangle inequality for real numbers proof
  172. Proof that the absolute value is multiplicative proof
  173. Discrete random variable definition
  174. Random variable with a density definition
  175. Proof of the epsilon-N definition of the limit of a sequence proof
  176. Approximation property of the supremum statement
  177. Triangle inequality statement
  178. Absolute value is multiplicative statement
  179. Probability density function definition
  180. Probability mass function definition
  181. Expected value definition
  182. Proof of the intermediate value theorem by the supremum proof
  183. Proof that the reals are Archimedean from the completeness axiom proof
  184. Epsilon-N definition of the limit of a sequence statement
  185. Proof of the reverse triangle inequality proof
  186. Density of the normal distribution definition
  187. Law of the unconscious statistician statement
  188. Variance definition
  189. Proof that differentiable functions are continuous proof
  190. Intermediate value theorem statement
  191. Proof of the limit of a sum of sequences proof
  192. Proof of the squeeze theorem for sequences proof
  193. Proof of the uniqueness of limits proof
  194. Proof that limits preserve non-strict inequalities proof
  195. Proof of the linearity of the integral proof
  196. The reals are Archimedean statement
  197. Proof that convergent sequences are bounded proof
  198. Proof that convergent sequences are Cauchy proof
  199. Proof that Cauchy sequences are bounded proof
  200. Proof of the term test proof
  201. The sequence 1/n tends to zero example
  202. Proof of the monotone convergence theorem for sequences proof
  203. Reverse triangle inequality statement
  204. Normal distribution definition
  205. Differentiable functions are continuous statement
  206. Proof that there is a natural number n with 1/n below any positive epsilon proof
  207. Linearity of the integral statement
  208. Proof of the monotonicity of the integral proof
  209. Limit of a sum of sequences statement
  210. Proof that Darboux and Riemann integrals agree proof
  211. Uniqueness of limits statement
  212. Proof of the ratio formula for the radius of convergence proof
  213. Limits preserve non-strict inequalities statement
  214. Convergent sequences are bounded statement
  215. Squeeze theorem statement
  216. Convergent sequences are Cauchy statement
  217. Cauchy sequences are bounded statement
  218. Monotone convergence theorem for sequences statement
  219. Proof of the limit of a product of sequences proof
  220. There is a natural number n with 1/n below any positive epsilon statement
  221. Monotonicity of the integral statement
  222. Darboux and Riemann integrals agree statement
  223. Term test statement
  224. Proof that a series of nonnegative terms converges iff its partial sums are bounded proof
  225. Proof that a decreasing sequence bounded below converges proof
  226. The sequence r^n tends to zero for |r| < 1 example
  227. Proof of the sequential characterization of limits proof
  228. Proof that continuity is equivalent to sequential continuity proof
  229. Decreasing sequence bounded below converges statement
  230. Limit of a product of sequences statement
  231. Proof of Riemann's criterion for integrability proof
  232. Geometric series example
  233. A series of nonnegative terms converges iff its partial sums are bounded statement
  234. Continuity is equivalent to sequential continuity statement
  235. Riemann's criterion for integrability statement
  236. Sequential characterization of limits statement
  237. Proof that the Cauchy product of absolutely convergent series converges absolutely to the product proof
  238. Proof of the root test proof
  239. Proof of the Cauchy–Hadamard theorem proof
  240. Proof that exponentials dominate powers in sequences, by the ratio of consecutive terms proof
  241. Proof of the ratio test proof
  242. Proof of the Bolzano–Weierstrass theorem by a monotone subsequence proof
  243. Proof of the comparison test proof
  244. Proof of the chain rule with an auxiliary difference quotient proof
  245. Proof of the product rule proof
  246. Proof of the linearity of differentiation proof
  247. Proof that sums and products of continuous functions are continuous proof
  248. Comparison test statement
  249. Proof of the additivity of the integral over intervals proof
  250. Cauchy product of absolutely convergent series statement
  251. Bolzano–Weierstrass theorem statement
  252. Exponentials dominate powers in sequences statement
  253. Chain rule statement
  254. Product of continuous functions is continuous statement
  255. Product rule statement
  256. Linearity of differentiation statement
  257. Proof that continuous functions on a closed bounded interval are uniformly continuous proof
  258. Additivity of the integral over intervals statement
  259. Ratio test statement
  260. Root test statement
  261. Proof of the boundedness theorem by Bolzano–Weierstrass proof
  262. Proof of the Cauchy criterion for sequences by the Bolzano–Weierstrass theorem proof
  263. Proof of the constant multiple rule proof
  264. Continuous functions on a closed bounded interval are uniformly continuous statement
  265. Proof of the power rule by induction proof
  266. Boundedness theorem statement
  267. Proof of the first fundamental theorem of calculus proof
  268. Ratio formula for the radius of convergence statement
  269. Cauchy–Hadamard theorem statement
  270. Cauchy criterion for sequences statement
  271. Constant multiple rule statement
  272. Power rule statement
  273. Proof of the extreme value theorem by the Bolzano–Weierstrass theorem proof
  274. Uniformly Cauchy sequence of functions definition
  275. Proof of the Cauchy criterion for series proof
  276. Extreme value theorem statement
  277. Proof of the formula for the derivative of a polynomial proof
  278. Proof of Fermat's theorem on stationary points proof
  279. Cauchy criterion for series statement
  280. Derivative of a polynomial statement
  281. Proof that continuous functions are Riemann integrable proof
  282. Fermat's theorem on stationary points statement
  283. Proof that absolutely convergent series converge proof
  284. Continuous functions are Riemann integrable statement
  285. Proof of Rolle's theorem proof
  286. Absolutely convergent series converge statement
  287. Rolle's theorem statement
  288. Proof of the mean value theorem for integrals proof
  289. Proof of the Weierstrass M-test proof
  290. Proof of the mean value theorem from Rolle's theorem proof
  291. Mean value theorem for integrals statement
  292. Weierstrass M-test statement
  293. Mean value theorem statement
  294. First fundamental theorem of calculus statement
  295. Proof that power series converge uniformly on smaller intervals inside the radius of convergence proof
  296. Proof that the integral of a continuous function is an antiderivative proof
  297. Proof that uniform convergence of derivatives allows term-by-term differentiation proof
  298. Proof of the second fundamental theorem of calculus proof
  299. Power series converge uniformly on smaller discs inside the radius of convergence statement
  300. The integral of a continuous function is an antiderivative statement
  301. Uniform convergence of derivatives allows term-by-term differentiation statement
  302. Second fundamental theorem of calculus statement
  303. Proof that the exponential series has infinite radius of convergence proof
  304. Proof of integration by parts proof
  305. Proof of integration by substitution proof
  306. Proof of term-by-term differentiation proof
  307. The exponential series has infinite radius of convergence statement
  308. Integration by substitution statement
  309. Integration by parts statement
  310. Term-by-term differentiation statement
  311. Exponential function definition
  312. Proof of the exponential of a sum by the Cauchy product proof
  313. Proof that power series are differentiable inside the radius of convergence proof
  314. Exponential of a sum statement
  315. Power series are differentiable inside the radius of convergence statement
  316. Proof that the exponential function is its own derivative, by term-by-term differentiation proof
  317. The exponential function is its own derivative statement
  318. Proof of the formula for the mean of the normal distribution proof
  319. Proof of the power series of the exponential function proof
  320. Mean of the normal distribution statement
  321. Power series of the exponential function statement
  322. Proof of the formula for the variance of the normal distribution proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Normal_distribution, Moments
About this page
TagDXNJGD4BJ6
URIm2://DXNJGD4BJ6
Kindproof
WritingW0 stub
MSC60E05
ProvesVariance of the normal distribution
UsesNormal distribution, Density of the normal distribution, Probability density function, Variance, Mean of the normal distribution, Law of the unconscious statistician, Integration by substitution, Integration by parts, Chain rule, The exponential function is its own derivative, Power series of the exponential function, Improper integral
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.