The density is symmetric about , giving expected value . Its second moment is . Therefore
Equivalently, each equally weighted interval has variance and its centre is from the overall mean, giving by the law of total variance.
For a continuous random variable with probability density function , its expected value and variance are
The mean requires an integrable first absolute moment, and a finite variance requires a finite second moment. When these hold, .
The lazy choice weights are and , in ratio three to one. Normalizing gives . Let denote selection of the first question and let . Its conditional expected value, divided by , is
so . If the overall lazy fraction is , the law of total probability gives . Bayes' theorem then gives
Solving yields . The observed mean is conditioned on the chosen question, so it cannot be equated directly to the unconditional mean over all students.
The expected value is the improper integral . It converges exactly when , yielding
At this improper integral diverges logarithmically, and for it diverges as a power of its upper endpoint. In both cases the nonnegative variable has infinite mean. This is the first Pareto moment threshold.
Write , with . The expected value, variance, and strict lower-tail probability are
The upper summation limit is essential because the inequality is strict and the variable is integer-valued.
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.
Normalize the Rayleigh distribution by substituting :
For its sketch, the density starts at zero, is positive for , and tends to zero at infinity. Differentiation gives
It therefore has a single maximum at , with height .
Figure 1.
Rayleigh density in units of its scale parameter, with its mode and mean
. Details.
The expected value is
Integrating by parts with makes the boundary term vanish and leaves . The Gaussian integral gives
The second moment is
Subtracting 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 atom at zero contributes zero to the expected value, while all positive delays must retain their unconditional density. Therefore
This mean is times the mean conditional on encountering a stop; using alone would omit the vehicles passing without delay.
The same integration by substitution gives the expected value
The remaining integrand is an odd function. Its integral is absolutely convergent, since and is integrable. Thus cancellation under symmetry in integration is legitimate, rather than merely a principal-value calculation. Consequently
Equivalently, the logistic distribution is symmetric about , and its exponentially decaying tails ensure that its expected value exists.
Write for , with . Provided the relevant moments exist, the expected value and variance are
The displayed support includes zero, so these are nonnegative integer values.
The zero-goal term contributes nothing to the expected value. Shift the summation index in the remaining terms:
The exponential series justifies the convergent reindexing. Thus the parameter is the mean goals per game.
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 . Thus
The 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 new angular interval has width , so its probability density function is there. Its endpoints stay away from the poles of the tangent function, making bounded and its expected value finite. Integrate over the continuous uniform distribution of angles:
The two cosines are and . Hence
It has units of length and is positive because the permitted positive angles extend farther than the negative ones.