Expectation Value Applications
Introduction to Discrete Random Variables
Countable Outcomes
In probability, we often deal with random events. A random variable is a way to assign a number to every possible outcome of an experiment. Think of it as a bridge between the random things that can happen in the world and the numbers we can work with.
There are different kinds of random variables, but we'll start with the most straightforward type: discrete random variables.
Discrete random variables can only take on specific, countable values.
What does "countable" mean? It means you can list all the possible values. You might not be able to list them all if the list is infinite, but you could start counting them and know that you're not missing any in between. The number of cars passing a point on a highway in an hour is countable. The number of heads in three coin flips is also countable. You can get 0, 1, 2, or 3 heads, but you can't get 1.5 heads.
Random Variable
noun
A variable whose value is a numerical outcome of a random phenomenon. It is typically denoted by a capital letter, like .
Let's use an example. Imagine you flip a coin. The outcomes are Heads or Tails. A random variable, let's call it , could assign the number 1 to Heads and 0 to Tails. The possible values for are just 0 and 1. There's nothing in between. This makes a discrete random variable.
Probability Mass Function
So, we have a random variable that can take on a set of distinct values. Now, how do we talk about the probability of each of those values occurring? We use a probability mass function, or PMF.
A PMF gives us the probability that a discrete random variable is exactly equal to some value. We usually write it as , where is our random variable and is one of its possible outcomes.
Let's go back to the coin flip. If the coin is fair, the probability of getting Heads is 0.5 and the probability of getting Tails is 0.5. Our random variable is 1 for Heads and 0 for Tails. So, the PMF for this variable would be:
A key property of any PMF is that if you add up the probabilities for all possible outcomes, the total must be 1. In our coin flip example, . This makes sense, because one of the outcomes must happen.
Rolling the Dice
A standard six-sided die is another great example. Let the random variable be the number that comes up on a single roll. The possible values for are {1, 2, 3, 4, 5, 6}. Each of these is a distinct, countable outcome.
Assuming the die is fair, each outcome has an equal chance of occurring. Since there are six possible outcomes, the probability of any single one is .
We can represent this PMF visually. Imagine a bar chart where each possible outcome is on the horizontal axis and its probability is on the vertical axis. For a fair die, you'd have six bars of equal height.
This chart shows that the probability is distributed, or spread out, among the possible outcomes. Notice again that if you sum the probabilities of all the bars, you get .
Let's test your understanding of these new concepts.
What is the primary role of a random variable in probability?
Which of the following scenarios describes a discrete random variable?
Understanding discrete random variables and their probability mass functions is a crucial first step. It gives us a framework for assigning probabilities to specific numerical outcomes, which we will build on as we explore what we can expect from these random events.