Uniform Distribution

Context: FIT1058_MOC, FIT2086_MOC Β· equal probability to every outcome in a bounded range Β· models fairness or pure ignorance Β· the simplest named parametric family β€” discrete on , continuous on

Quick Revision

  • 🎯 Objective: every outcome in the range equally likely βž” discrete ; continuous on .
  • πŸ“¦ Core Components: both give βž” variance differs: discrete vs continuous .
  • ⚑ Key Constraint: models genuine fairness or pure ignorance (maximally uninformative); the discrete and continuous variance formulas are not interchangeable.

πŸ“ Core

1. The Discrete Distribution

  • Definition βž” : for , else 0.
  • Count βž” integers in .
  • Generalised support βž” for any finite , β€” the set need not be contiguous.

2. Moments

  • Mean βž” (midpoint, by symmetry) β€” need not be an integer.
  • Variance βž” .
  • Check βž” = fair die: , .
  • Alternative parameterisation βž” on written : , , (the case).

3. Two Motivations

  • Fairness βž” die, coin (genuine symmetry).
  • Ignorance βž” only the range known ⟹ assume nothing more.

4. Continuous Uniform (FIT2086)

  • Density βž” with
  • Parameters read geometrically βž” sets the start, the width; height , so a narrow interval has density (a density is not a probability β€” Random Variables and Probability Distributions (FIT2086)).
  • Mean βž” β€” the midpoint, as in the discrete case.
  • Variance βž” βž” no , unlike the discrete formula.
  • Probabilities are length ratios βž” for : integrating a constant density just measures a sub-interval.
  • cdf derivation βž” βž” linear in , from at to at .
  • β€œFraction of the way along” shortcut βž” any bound expressed as a weighted midpoint reads off instantly: is halfway ⟹ ; is three-quarters along ⟹ . No integration required.
  • Outside the support the probability is exactly βž” for with : (since ) and (the interval ends where the support starts) βž” check the support before computing anything.

Key identities:

βš–οΈ Core Decision Matrix

Case
discrete 0.5
discrete 3.5
discrete general
continuous

When It Flips: uniform over a sample space = Equally Likely Outcomes; is a fair Bernoulli Trial. It is the natural prior when the distribution's shape is entirely unknown. Reach for the continuous form when the variable is measured rather than counted (weight, waiting time, position).

πŸ“Š Exam Execution Trace & Applied Exercises

Manual Execution Trace

:

Step / StateQuantityValue
0 (Init)6
1
23.5
3

Applied Exercise 1 β€” fair die events (discrete)

Problem: = face shown by a fair six-sided die. (i) ; (ii) .

Key move: under a uniform pmf every event probability collapses to favourable count .

Applied Exercise 2 β€” car weight (continuous)

Problem: weight of a randomly selected car kg. Find (i) , (ii) , (iii) .

Final Extracted Output: kg, , . Key move: the integral of a constant density is a length ratio β€” no antiderivative work needed.

Applied Exercise 3 β€” deriving from the definition (Studio 2)

Problem: . Derive by integration rather than quoting .

Final Extracted Output: , consistent with at . Key move: the constant pulls outside the integral, leaving the elementary β€” the same trick works for if the question wants from scratch.

Applied Exercise 4 β€” two dice by linearity (Studio 2)

Problem: = one roll of a fair six-sided die, = an independent second roll. Give and .

Final Extracted Output: and . Key move: is linearity β€” it needs no independence at all; independence would only be required for (see Expectations and Covariance (FIT2086)).

⚠️ Common Mistakes

  • πŸ’‘ Count is , not βž” inclusive endpoints; the uniform is the maximally non-committal choice given only the range.
  • πŸ’‘ Discrete variance formula on a continuous uniform βž” counts lattice points and is meaningless on an interval, where applies.
  • πŸ’‘ Continuous density can exceed 1 βž” has ; only the area under it is a probability.
  • πŸ’‘ Computing a probability for a region outside βž” and are zero, not small; students reflexively apply the length ratio and produce a negative or answer. Sketch the support first.
  • πŸ’‘ Assuming any bounded variable is uniform βž” daily temperature and adult heights are bounded but centre-heavy βž” normal. Uniform requires genuine symmetry (fair die/coin) or deliberate ignorance. Selection drill βž” Parametric Probability Distributions.

🧠 Active Recall