Computing the same expected value directly from the Poisson distribution instead givesFor each fixed positive integer , the ratio test shows that this sum converges. This identity is Dobiński's formula. The case also gives if is interpreted as one in this particular moment formula.
Expand the square and use linearity of expectation, together with and :This proof applies whenever the second moment is finite, and does not require the random variable to be continuous.
For a random variable with a continuous probability distribution and probability density function , the mean and variance areA finite mean requires . A finite variance additionally requires the second moment to be finite; without that condition the nonnegative integral for the variance may be infinite.
Past exam of the mathematics course of the year 1 of the natural sciences course of the University of Cambridge 2006 Paper 2 8 b iii Solution Created 2026-10-18 Updated 2026-10-20
Past exam of the mathematics course of the year 1 of the natural sciences course of the University of Cambridge 2006 Paper 2 8 b ii Solution Created 2026-10-18 Updated 2026-10-20
Past exam of the mathematics course of the year 1 of the natural sciences course of the University of Cambridge 2006 Paper 2 8 c ii Solution Created 2026-10-18 Updated 2026-10-20
The density is symmetric about , giving expected value . Its second moment is . ThereforeEquivalently, each equally weighted interval has variance and its centre is from the overall mean, giving by the law of total variance.
Write . The probability density function normalizes when , so . Its survival function is for ; hence, for ,Differentiating this conditional tail givesThe value assigned at the single endpoint does not affect any probability. The memorylessness of the exponential distribution says that , conditional on , is again an exponential distribution of rate . Its first two moments are and , found by integration by parts, so translation leaves the variance unchanged:
The three preceding probabilities satisfyTheir expected value and second moment areSubtracting the squared mean givesThe value also follows from linearity of expectation. The variance includes the finite-population reduction caused by sampling without replacement.
The second moment isSubtracting the squared expected value gives the variance and standard deviation:The variance is nonnegative because . Both and have units of time. At the result reduces to , the standard deviation of a uniform distribution over one full cycle.
The expected value is not defined: the integral of over the positive half-line diverges logarithmically to , and the negative half-line gives . In particular, symmetry alone does not supply a mean. More explicitly,The second moment also diverges because as . ThusThe symmetric Cauchy principal value of the first-moment integral is zero, but it is not an expected value and does not define a variance.
The time-independent Schrödinger equation isPut . For , differentiation gives . Substitution cancels the terms in and leaves .
The Gaussian integral gives . Hence a normalized wave function isMultiplication by any constant of modulus one gives the same quantum state. The position probability density is . Its first moment vanishes by oddness. Integration by parts gives , with the boundary term zero. Therefore
The moment-generating function of a real random variable isfor real for which this expected value is finite. Because the integrand is nonnegative, the extended expected value is always defined, but it may equal . We always have ; the usual uniqueness and convergence theorems require finiteness on an open interval containing zero. When this condition holds, derivatives at zero recover the moments, .
The strong law of large numbers says that, for real independent and identically distributed random variables with ,The assertion is almost sure convergence of the entire sequence of sample means. Finite first absolute moment suffices; a finite variance is not required.