Worked examples · Sheet 2
Interval probabilities for uniform distributions
Theory used:Uniform distribution on an intervalProbability at a single point
Go to: Exercise 1Exercise 2
Exercise 1
The time of a reading, in hours, is uniformly distributed between and . Calculate the probability that the reading is taken after and before .
By the definition of the uniform distribution on an interval, the density is the reciprocal of the support length, namely , between and , and zero elsewhere. The model therefore assigns probability only to times between and .
The requested interval runs from to and splits into two parts. Between and the density is . Between and it is zero, so this segment contributes nothing. Only the two hours preceding count, namely the intersection .
The density is constant on the support, so the integral is length times height. Divide the length that contributes, hours, by the six hours in total. The probability that the reading is taken after and before is .
Using the full width of the requested interval would include the times from to , which have zero probability, and give the incorrect result .
Exercise 2
Let . Given , calculate the probability that or .
The conditional probability is the probability of the intersection divided by the probability of the conditioning event, which here is . Let denote the event of interest.
The two intervals forming are disjoint, so their probabilities add. The first has length . The second contributes only from to because the density is zero beyond . Its contributing length is . Since the density equals on the support, we obtain .
Every point in exceeds and therefore exceeds . Thus the union is contained in , and the intersection in the conditional probability is itself.
The common factor cancels in the ratio. Four units of length are favorable out of the eight allowed by the condition, giving conditional probability . Equivalently, given , the variable is uniform on .