The three preceding probabilities satisfy
Their expected value and second moment are
Subtracting the squared mean gives
The value also follows from linearity of expectation. The variance includes the finite-population reduction caused by sampling without replacement.
Let be the indicator random variable of a black ball at draw . The black count after three draws is . By linearity of expectation,
Independence is not required for this step. This is also the mean of the corresponding hypergeometric distribution.
The th screen distance is , starting at . The previous expected value therefore scales to . To justify the infinite linearity of expectation, note that throughout the restricted angular interval. Thus
This deterministic integrable bound justifies the expectation of an absolutely summable random series, even without assuming independent firing angles. Summing the geometric series gives
Let be the indicator random variable of an apple in lunch . The number remaining is . Each expected value . The linearity of expectation therefore gives
Although the indicator random variables are dependent under sampling without replacement, the linearity of expectation needs no independence assumption.
Assume the three standard dice are fair and independent. For one die , a discrete uniform distribution on gives
The variance is . For the sum , linearity of expectation and addition of variances for independent random variables give
The random variable is the sum . The linearity of expectation gives
Multiplication by reverses the mean but preserves the variance. Under the independence assumption used in part (b), the variance of a sum gives
Thus both predictions agree with the direct integrals. For the actual elapsed time, adding twenty-five changes the mean to twenty-five minutes and leaves the variance at minute squared.
Without independence, the correct expression is when both marginals are uniform. This explains why independent endpoint errors must be part of the intended model rather than a consequence of the display format.
The finite irreducible aperiodic Markov chain converges to its stationary distribution, regardless of its initial law. Therefore . Taking the arithmetic means of this convergent sequence gives
This uses linearity of expectation and convergence of Cesàro means; it does not require the variables to be independent.
Replacement and mixing make the one hundred draws independent and identically distributed. Writing , linearity of expectation and additivity of variances of independent variables give
The finite irreducible aperiodic Markov chain converges to its stationary distribution, regardless of its initial law. Therefore . Taking the arithmetic means of this convergent sequence gives
This uses linearity of expectation and convergence of Cesàro means; it does not require the variables to be independent.
Generate independent and identically distributed random variables with probability density function , evaluate for each draw, and return the Monte Carlo estimator
Linearity of expectation makes this an unbiased estimator: . Independence and the specified variance give . Its Monte Carlo standard error is therefore , and the strong law of large numbers gives convergence to almost surely.
Let be the indicator random variable that coin shows a head. Each expectation is , so linearity of expectation gives the expected number of heads:
For the game, write for the probability that eventually holds all coins when starting with . The states are absorbing, so and . Conditioning on the first toss and using the law of total probability gives
Thus : successive differences are constant, and . The boundary values give , , hence the gambler's ruin answer is
For completeness, the game terminates with probability one. From any nonabsorbing state, a run of consecutive heads would reach within the next tosses, and that run has probability . Conditional on survival, the same bound applies to the next block. Therefore the probability of surviving tosses is at most , which tends to zero.
Let be the number of heads in the initial allocation tosses. Then has the binomial distribution with parameters and . Given , the winning probability is , including the already finished games . The law of total probability and linearity of expectation give
Thus, for ,
Assume the variances are finite. Expand the square and apply linearity of expectation:
Part (i), applied to the identity functions, makes the bracketed covariance zero by independence of random variables. Hence
Part (a) with gives and . By linearity of expectation,
Independence of random variables and give the same variance for the sum and difference:
By linearity of expectation and independence,
For , apply Chebyshev's inequality at threshold and take the complementary event:
If , every almost surely, so almost surely and the bound holds directly. This handles the zero-threshold case without applying Chebyshev's inequality at an inadmissible threshold.
Both sides of (ii) are polynomials in the colour count, and they agree at every integer . A nonzero polynomial has only finitely many roots, so this is a polynomial identity and holds also at . It can therefore be evaluated at every possible value of the Poisson random variable .
Take expectations and use the factorial moments from (a)(iv). The sum over is finite, so linearity of expectation gives
Combining this with (iii) proves Dobiński's formula for the Bell numbers:
For completeness, the empty set has one partition of a set, giving ; that case uses the empty-product conventions in this identity and a term in the partition sum.
Assume a finite second moment, so the following expectations are finite. Expand the square and use linearity of expectation:
Thus
The same equality holds in the extended sense when the mean is finite and the second moment is infinite.
The source prints bare differentials in both integrals; the integration variable is , so we write them as .[ref]
The normalization of a probability distribution for gives
Therefore
Next, the standard normal distribution has and , so the second moment is . Since , linearity of expectation yields . Expressing this expectation using the probability density function gives
Consequently
These evaluate the gamma function at and , respectively, directly from a transformed normal random variable.
By linearity of expectation, . Part (ii) gives . Independent random variables have zero pairwise covariance, so the variance of their sum is the sum of their variances. Therefore