A discrete random variable is given by a table: the values it takes and the probability of each. Two facts do all the work. First, the probabilities of the whole table add up to - that is what lets you recover a missing entry. Second, the distribution function accumulates them from left to right, so between two neighbouring values of it is constant, and at each value it jumps by exactly the probability of that value. The graph is therefore a staircase that starts at and ends at . One warning about conventions: this textbook defines with a strict inequality. Many English-language courses define instead; the staircase is the same, only the endpoints of each step change from open to closed.
A random variable is given by the distribution table
Find the distribution function of and draw its graph.
The probabilities in the table must add up to . Call the unknown one :
So .
The distribution function collects everything strictly to the left of , that is . Walk along the axis: For no value of is smaller than , so
For only the value is to the left:
For the values and are to the left:
For all three values are to the left:
The graph is constant between the values and jumps at by , and - exactly the probabilities from the table. It starts on the axis at height and stays at height to the right of the last value, as every distribution function must.
Screenshot any problem on your screen and get the steps. Chrome on a computer; free.