Study Vault Search notes, aliases and full text
Graph
ConceptProbability and Statistics used inMSIAI-written · not yet proofread

Uniform Distribution

Also Uniform PDF · Continuous Uniform Distribution · Gleichverteilung · Stetige Gleichverteilung

The uniform distribution on an interval [a, b] has the constant density 1/(b − a) on [a, b] and zero elsewhere; its mean is (a + b)/2 and its variance (b − a)²/12.

Formula#

μX=a+b2,σX2=(b−a)212.\mu_X = \frac{a+b}{2}, \qquad \sigma_X^2 = \frac{(b-a)^2}{12}.
ProofDerivation of mean and variance

Normalization: ∫ab1b−a dx=1\int_a^b \frac{1}{b-a}\,\mathrm{d}x = 1.

Mean: ∫ab1b−a x dx=b2−a22(b−a)=a+b2\displaystyle\int_a^b \frac{1}{b-a}\, x\,\mathrm{d}x = \frac{b^2 - a^2}{2(b-a)} = \frac{a+b}{2}.

Variance: σX2=∫ab1b−a(x−μX)2 dx\sigma_X^2 = \int_a^b \frac{1}{b-a}(x - \mu_X)^2\,\mathrm{d}x. Substitute y=x−μXy = x - \mu_X and write c=b−ac = b - a, so yy runs over [−c/2,c/2][-c/2, c/2]:

σX2=1c∫−c/2c/2y2 dy=1c[13(c2)3−13(−c2)3]=c212=(b−a)212.\sigma_X^2 = \frac1c \int_{-c/2}^{c/2} y^2\,\mathrm{d}y = \frac1c\left[\frac13\left(\frac c2\right)^3 - \frac13\left(-\frac c2\right)^3\right] = \frac{c^2}{12} = \frac{(b-a)^2}{12}.

Properties#

  • The variance depends only on the interval length b−ab - a, not on its position. The standard deviation is σX=(b−a)/12\sigma_X = (b-a)/\sqrt{12}.
  • Every subinterval of the same length has the same probability: P(X∈[x,x+h])=h/(b−a)P(X \in [x, x + h]) = h/(b-a) for [x,x+h]⊆[a,b][x, x+h] \subseteq [a, b].

Example#

Sources#

  • MSI script p. 15 (§2.2.2), MSI Slides 02 > 2.2.2 Simple Example: Uniform Distribution (not published)

Search

Type In
↑ ↓ move ↵ open ⇥ next section Ctrl↵ results page Prefix # to search text only