# 6.1: Uniform Distribution

- Page ID
- 5192

If you have a situation where the probability is always the same, then this is known as a uniform distribution. An example would be waiting for a commuter train. The commuter trains on the Blue and Green Lines for the Regional Transit Authority (RTA) in Cleveland, OH, have a waiting time during peak hours of ten minutes ("2012 annual report," 2012). If you are waiting for a train, you have anywhere from zero minutes to ten minutes to wait. Your probability of having to wait any number of minutes in that interval is the same. This is a uniform distribution. The graph of this distribution is in *Figure 6.1.1*.

*Figure 6.1.1**: Uniform Distribution Graph*

Suppose you want to know the probability that you will have to wait between five and ten minutes for the next train. You can look at the probability graphically such as in *Figure 6.1.2*.

*Figure 6.1.2**: Uniform Distribution with P (5<x<10)*

How would you find this probability? Calculus says that the probability is the area under the curve. Notice that the shape of the shaded area is a rectangle, and the area of a rectangle is length times width. The length is \(10-5=5\) and the width is 0.1. The probability is \(P(5<x<10)=0.1 * 5=0.5\), where and *x* is the waiting time during peak hours.

Example \(\PageIndex{1}\) finding probabilities in a uniform distribution

The commuter trains on the Blue and Green Lines for the Regional Transit Authority (RTA) in Cleveland, OH, have a waiting time during peak rush hour periods of ten minutes ("2012 annual report," 2012).

- State the random variable.
- Find the probability that you have to wait between four and six minutes for a train.
- Find the probability that you have to wait between three and seven minutes for a train.
- Find the probability that you have to wait between zero and ten minutes for a train.
- Find the probability of waiting exactly five minutes.

**Solution**:

a. *x* = waiting time during peak hours

b. \(P(4<x<6)=(6-4)^{*} 0.1=0.2\)

c. \(P(3<x<7)=(7-3) * 0.1=0.4\)

d. \(P(0<x<10)=(10-0) * 0.1=1.0\)

e. Since this would be just one line, and the width of the line is 0, then the \(P(x=5)=0 * 0.1=0\).

Notice that in *Example 6.1.1d*, the probability is equal to one. This is because the probability that was computed is the area under the entire curve. Just like in discrete probability distributions, where the total probability was one, the probability of the entire curve is one. This is the reason that the height of the curve is 0.1. In general, the height of a uniform distribution that ranges between *a* and *b*, is \(\frac{1}{b-a}\).

## Homework

Exercise \(\PageIndex{1}\)

- The commuter trains on the Blue and Green Lines for the Regional Transit Authority (RTA) in Cleveland, OH, have a waiting time during peak rush hour periods of ten minutes ("2012 annual report," 2012).
- State the random variable.
- Find the probability of waiting between two and five minutes.
- Find the probability of waiting between seven and ten minutes.
- Find the probability of waiting eight minutes exactly.

- The commuter trains on the Red Line for the Regional Transit Authority (RTA) in Cleveland, OH, have a waiting time during peak rush hour periods of eight minutes ("2012 annual report," 2012).
- State the random variable.
- Find the height of this uniform distribution.
- Find the probability of waiting between four and five minutes.
- Find the probability of waiting between three and eight minutes.
- Find the probability of waiting five minutes exactly.

**Answer**-
1. a. See solutions, b. \(P(2<x<5)=0.3\), c. \(P(7<x<10)=0.3\), d. \(P(x=8)=0\)