4.2: Probability Distributions for Discrete Random Variables

Associated to each possible value \(x\) of a discrete random variable \(X\) is the probability \(P(x)\) that \(X\) will take the value \(x\) in one trial of the experiment.

Definition: probability distribution

The probability distribution of a discrete random variable \(X\) is a list of each possible value of \(X\) together with the probability that \(X\) takes that value in one trial of the experiment.

The probabilities in the probability distribution of a random variable \(X\) must satisfy the following two conditions:

Example \(\PageIndex\): two Fair Coins

A fair coin is tossed twice. Let \(X\) be the number of heads that are observed.

  1. Construct the probability distribution of \(X\).
  2. Find the probability that at least one head is observed.
Solution

imageedit_1_4352531023.png

  1. The possible values that \(X\) can take are \(0\), \(1\), and \(2\). Each of these numbers corresponds to an event in the sample space \(S=\\) of equally likely outcomes for this experiment: \[X = 0\; \text\; \,\; X = 1\; \text\; \, \; \text\; X = 2\; \text\; . \nonumber \] The probability of each of these events, hence of the corresponding value of \(X\), can be found simply by counting, to give \[\beginx & 0 & 1 & 2 \\ \hline P(x) & 0.25 & 0.50 & 0.25\\ \end \nonumber \] This table is the probability distribution of \(X\).
  2. “At least one head” is the event \(X\geq 1\), which is the union of the mutually exclusive events \(X = 1\) and \(X = 2\). Thus \[ \begin P(X\geq 1)&=P(1)+P(2)=0.50+0.25 \\[5pt] &=0.75 \end \nonumber \] A histogram that graphically illustrates the probability distribution is given in Figure \(\PageIndex\).

Example \(\PageIndex\): Two Fair Dice

A pair of fair dice is rolled. Let \(X\) denote the sum of the number of dots on the top faces.

  1. Construct the probability distribution of \(X\) for a paid of fair dice.
  2. Find \(P(X\geq 9)\).
  3. Find the probability that \(X\) takes an even value.
Solution

The sample space of equally likely outcomes is

\[\begin 11 & 12 & 13 & 14 & 15 & 16\\ 21 & 22 & 23 & 24 & 25 & 26\\ 31 & 32 & 33 & 34 & 35 & 36\\ 41 & 42 & 43 & 44 & 45 & 46\\ 51 & 52 & 53 & 54 & 55 & 56\\ 61 & 62 & 63 & 64 & 65 & 66 \end \nonumber \]

where the first digit is die 1 and the second number is die 2.

imageedit_5_3286899950.png

  1. The possible values for \(X\) are the numbers \(2\) through \(12\). \(X= 2\) is the event \(\\), so \(P(2)=1/36\). \(X= 3\) is the event \(\\), so \(P(3)=2/36\). Continuing this way we obtain the following table \[\beginx &2 &3 &4 &5 &6 &7 &8 &9 &10 &11 &12 \\ \hline P(x) &\dfrac&\dfrac&\dfrac&\dfrac&\dfrac&\dfrac&\dfrac&\dfrac&\dfrac&\dfrac&\dfrac\\ \end \nonumber \]This table is the probability distribution of \(X\).
  2. The event \(X\geq 9\) is the union of the mutually exclusive events \(X = 9\), \(X = 10\), \(X = 11\), and \(X = 12\). Thus \[\beginP(X\geq 9) &=P(9)+P(10)+P(11)+P(12) \\[5pt] &=\dfrac+\dfrac+\dfrac+\dfrac\\[5pt] &=\dfrac\\[5pt] &=0.2\bar \end \nonumber \]
  3. Before we immediately jump to the conclusion that the probability that \(X\) takes an even value must be \(0.5\), note that \(X\) takes six different even values but only five different odd values. We compute \[\begin P(X\; \text) &= P(2)+P(4)+P(6)+P(8)+P(10)+P(12) \\[5pt] &= \dfrac+\dfrac+\dfrac+\dfrac+\dfrac+\dfrac\\[5pt] &= \dfrac\\[5pt] &= 0.5 \end \nonumber \]A histogram that graphically illustrates the probability distribution is given in Figure \(\PageIndex\).

The Mean and Standard Deviation of a Discrete Random Variable

Definition: mean

The mean (also called the "expectation value" or "expected value") of a discrete random variable \(X\) is the number

The mean of a random variable may be interpreted as the average of the values assumed by the random variable in repeated trials of the experiment.

Example \(\PageIndex\)

Find the mean of the discrete random variable \(X\) whose probability distribution is

\[\begin x &-2 &1 &2 &3.5\\ \hline P(x) &0.21 &0.34 &0.24 &0.21\\ \end \nonumber \]

Solution

Using the definition of mean (Equation \ref) gives

Example \(\PageIndex\)

A service organization in a large town organizes a raffle each month. One thousand raffle tickets are sold for \(\$1\) each. Each has an equal chance of winning. First prize is \(\$300\), second prize is \(\$200\), and third prize is \(\$100\). Let \(X\) denote the net gain from the purchase of one ticket.

  1. Construct the probability distribution of \(X\).
  2. Find the probability of winning any money in the purchase of one ticket.
  3. Find the expected value of \(X\), and interpret its meaning.
Solution
  1. If a ticket is selected as the first prize winner, the net gain to the purchaser is the \(\$300\) prize less the \(\$1\) that was paid for the ticket, hence \(X = 300-11 = 299\). There is one such ticket, so \(P(299) = 0.001\). Applying the same “income minus outgo” principle to the second and third prize winners and to the \(997\) losing tickets yields the probability distribution: \[\beginx &299 &199 &99 &-1\\ \hline P(x) &0.001 &0.001 &0.001 &0.997\\ \end \nonumber \]
  2. Let \(W\) denote the event that a ticket is selected to win one of the prizes. Using the table \[\begin P(W)&=P(299)+P(199)+P(99)=0.001+0.001+0.001\\[5pt] &=0.003 \end \nonumber \]
  3. Using the definition of expected value (Equation \ref), \[\beginE(X)&=(299)\cdot (0.001)+(199)\cdot (0.001)+(99)\cdot (0.001)+(-1)\cdot (0.997) \\[5pt] &=-0.4 \end \nonumber \] The negative value means that one loses money on the average. In particular, if someone were to buy tickets repeatedly, then although he would win now and then, on average he would lose \(40\) cents per ticket purchased.

The concept of expected value is also basic to the insurance industry, as the following simplified example illustrates.

Example \(\PageIndex\)

A life insurance company will sell a \(\$200,000\) one-year term life insurance policy to an individual in a particular risk group for a premium of \(\$195\). Find the expected value to the company of a single policy if a person in this risk group has a \(99.97\%\) chance of surviving one year.

Solution

Let \(X\) denote the net gain to the company from the sale of one such policy. There are two possibilities: the insured person lives the whole year or the insured person dies before the year is up. Applying the “income minus outgo” principle, in the former case the value of \(X\) is \(195-0\); in the latter case it is \(195-200,000=-199,805\). Since the probability in the first case is 0.9997 and in the second case is \(1-0.9997=0.0003\), the probability distribution for \(X\) is:

\[\begin x &195 &-199,805 \\ \hline P(x) &0.9997 &0.0003 \\ \end\nonumber \]

\[\begin E(X) &=\sum x P(x) \\[5pt]&=(195)\cdot (0.9997)+(-199,805)\cdot (0.0003) \\[5pt] &=135 \end \nonumber \]

Occasionally (in fact, \(3\) times in \(10,000\)) the company loses a large amount of money on a policy, but typically it gains \(\$195\), which by our computation of \(E(X)\) works out to a net gain of \(\$135\) per policy sold, on average.

Definition: variance

The variance (\(\sigma ^2\)) of a discrete random variable \(X\) is the number

which by algebra is equivalent to the formula

\[\sigma ^2=\left [ \sum x^2 P(x)\right ]-\mu ^2 \label \]

Definition: standard deviation

The standard deviation , \(\sigma \), of a discrete random variable \(X\) is the square root of its variance, hence is given by the formulas

The variance and standard deviation of a discrete random variable \(X\) may be interpreted as measures of the variability of the values assumed by the random variable in repeated trials of the experiment. The units on the standard deviation match those of \(X\).

Example \(\PageIndex\)

A discrete random variable \(X\) has the following probability distribution:

A histogram that graphically illustrates the probability distribution is given in Figure \(\PageIndex\).

imageedit_9_8059945449.png

Compute each of the following quantities.

  1. \(a\).
  2. \(P(0)\).
  3. \(P(X> 0)\).
  4. \(P(X\geq 0)\).
  5. \(P(X\leq -2)\).
  6. The mean \(\mu \) of \(X\).
  7. The variance \(\sigma ^2\) of \(X\).
  8. The standard deviation \(\sigma \) of \(X\).
Solution
  1. Since all probabilities must add up to 1, \[a=1-(0.2+0.5+0.1)=0.2 \nonumber \]
  2. Directly from the table, P(0)=0.5\[P(0)=0.5 \nonumber \]
  3. From Table \ref, \[P(X> 0)=P(1)+P(4)=0.2+0.1=0.3 \nonumber \]
  4. From Table \ref, \[P(X\geq 0)=P(0)+P(1)+P(4)=0.5+0.2+0.1=0.8 \nonumber \]
  5. Since none of the numbers listed as possible values for \(X\) is less than or equal to \(-2\), the event \(X\leq -2\) is impossible, so \[P(X\leq -2)=0 \nonumber \]
  6. Using the formula in the definition of \(\mu \) (Equation \ref) \[\begin\mu &=\sum x P(x) \\[5pt] &=(-1)\cdot (0.2)+(0)\cdot (0.5)+(1)\cdot (0.2)+(4)\cdot (0.1) \\[5pt] &=0.4 \end \nonumber \]
  7. Using the formula in the definition of \(\sigma ^2\) (Equation \ref) and the value of \(\mu \) that was just computed, \[\begin \sigma ^2 &=\sum (x-\mu )^2P(x) \\ &= (-1-0.4)^2\cdot (0.2)+(0-0.4)^2\cdot (0.5)+(1-0.4)^2\cdot (0.2)+(4-0.4)^2\cdot (0.1)\\ &= 1.84 \end \nonumber \]
  8. Using the result of part (g), \(\sigma =\sqrt=1.3565\)

Summary

This page titled 4.2: Probability Distributions for Discrete Random Variables is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Anonymous via source content that was edited to the style and standards of the LibreTexts platform.

  1. Back to top

Recommended articles

  1. Article type Section or Page Author Anonymous License CC BY-NC-SA License Version 3.0 OER program or Publisher The Publisher Who Must Not Be Named Show TOC no
  2. Tags
    1. mean
    2. probability distribution function
    3. source@https://2012books.lardbucket.org/books/beginning-statistics
    4. standard deviation