In probability theory, the sum of all probabilities must equal one. Whether there are $2$ possible outcomes or $1~000$ possible outcomes of an experiment. When all possibilities are considered and all probabilities are calculated, the total must sum to $1$. This is the underlying principle when discussing discrete random variables.
There are $2$ types of random variables discussed in the IB curriculum. Discrete random variables and continuous random variables. In the A&A SL course, only discrete random variables will be discussed, with the exception of the Normal Distribution. It is natural to ask the question “What does discrete mean?” Discrete refers to the fact that there are a finite number of outcomes. For example, when rolling a fair six sided die, there are a finite number of outcomes, namely $1$, $2$, $3$, $4$, $5$ or $6$. It is not possible to roll a $3.5$ or a $4.29$ or $1,276368…$ As opposed to the number of different weights a person could weigh. A person could weigh $\rm 46~kgs.$, $\rm 46.1~kgs.$, $\rm 46.001~kgs.$, $\rm 46.0001~kgs$, and so on. Obviously there are infinitely many weights a person could weigh. This is an example of a continuous random variable; one in which there are infinitely many possibilities.
Example 1: Consider an unfair die with $6$ possible outcomes. The probability distribution of rolling a certain number face up is shown below:
| $x$ | $1$ | $2$ | $3$ | $4$ | $5$ | $6$ |
| $\mathrm P(x)$ | $\dfrac{2}{20}$ | $\dfrac{1}{20}$ | $\dfrac{3}{20}$ | $\dfrac{3}{20}$ | $\dfrac{9}{20}$ | $\dfrac{2}{20}$ |
Clearly, the most likely event to occur is rolling a $5$ and the least likely event to occur is rolling a $2$. However, when all possibilities are considered, the sum is $1$. In other words:
$\rm P(1)+P(2)+P(3)+P(4)$ $+$ $\rm P(5)+P(6)=1$
Example 2: Consider an experiment where 3 possible outcomes can occur with the following probabilities. Determine the probability that event $\rm B$ occurs.
| $x$ | $\rm A$ | $\rm B$ | $\rm C$ |
| $\mathrm P(x)$ | $\dfrac{x}{12}$ | $\dfrac{x+1}{12}$ | $\dfrac{3}{12}$ |
Explanation: The sum of all probabilities must be $1$. Therefore: $\dfrac{x}{12} + \dfrac{x + 1}{12} + \dfrac{3}{12}=1$
$\dfrac{2x+4}{12} =1$ $\Rightarrow 2x+4=12$ $\Rightarrow x=4$ $\Rightarrow \rm P(B)= \dfrac{5}{12}$
Nouveau ! Découvrez Nomad'IA : le savoir de nos 400 profs + la magie de l'IA