# Uniform Distribution

Uniform distribution corresponds to experiments where all the outcomes are equally likely.

Consider the case of rolling a fair dice which can take any of the 6 possible values and all the values are equally likely and the probability of any of the values is going to be 1/6 or in other words, the random variable can only take the value 1/6

We call such a random variable as the uniform random variable and its distribution is a uniform distribution

Similarly, we have other such experiments where all the outcomes are equally likely and we have a uniform random variable

In general, we can talk of the support of the random variable(the values that the random variable can take as to lie between two numbers say ‘**a**’ and ‘**b**’)

whereas for the uniform random variable, we have the probability as the following:

The term in the denominator ‘**b-a+1**’ gives the number of elements between ‘**a**’ and ‘**b**’ as per the counting principle

## Is uniform distribution a valid distribution?

The first thing we need to prove is that the probability of any value that the random variable can take is greater than equal to 0

We can prove this by considering the equation for this distribution

So, as long as ‘**b**’ is greater than ‘**a**’ which will be the case as we are defining the range from ‘**a**’ to ‘**b**’, ‘**b-a+1’** would be greater than or equal to 0 and hence this quantity is always going to be positive.

The other question is if the sum of probability values for all the values that the random variable can take is 1:

This again we can answer by taking all the terms in the formula:

Each of the values in the summation has the same probability value and the total number of terms is given as ‘**b-a+1**’

As Uniform distribution satisfies the properties of a standard PMF, we can say that it’s a valid distribution.

References: PadhAI