Binomial Distribution Explained
Introduction to Probability
The Measure of Chance
Probability is simply a way to measure how likely something is to happen. We use it every day, whether we realize it or not. When you check the weather and see a 30% chance of rain, that's probability. When you decide whether to take a risk, you're weighing the odds of different outcomes.
Probability
noun
A numerical description of how likely an event is to occur, ranging from 0 (impossible) to 1 (certain).
The basic idea is to compare the number of ways a specific outcome can happen to the total number of possible outcomes. Think of rolling a standard six-sided die. There are six possible outcomes: 1, 2, 3, 4, 5, or 6. What's the probability of rolling a 4? There's only one way to get a 4, out of six total possibilities.
So, for rolling a 4:
This fraction, 1/6, is the probability. It's a value between 0 and 1. An event with a probability of 0 is impossible, like rolling a 7 on a six-sided die. An event with a probability of 1 is certain, like rolling a number less than 7.
Probability's Ground Rules
To work with probability, we follow a few simple rules. First, as we saw, the probability of any single event must be between 0 and 1, inclusive. You can't have a negative chance of something happening, and you can't have more than a 100% chance.
Rule 1: For any event A, the probability is .
Second, the sum of the probabilities of all possible outcomes must equal 1. If you list everything that could possibly happen in a situation, the chances must add up to a certainty. For our six-sided die, each number (1 through 6) has a 1/6 chance of being rolled.
Rule 2: The sum of probabilities for all possible outcomes of an experiment is 1.
This leads to a handy trick. The probability that an event doesn't happen is 1 minus the probability that it does happen. This is called the complement rule. If the chance of rain is 30% (or 0.3), the chance of it not raining must be 70% (or 0.7).
Introducing Random Variables
In probability, we often want to attach numbers to the outcomes of an experiment. This is where a random variable comes in. A random variable is a variable whose value is a numerical outcome of a random phenomenon. It's a way to map outcomes we can describe in words (like "heads" or "tails") to numbers we can work with mathematically.
We usually represent random variables with a capital letter, like or . The specific values the variable can take are denoted by a lowercase letter, like or .
Imagine we flip a coin twice. The possible outcomes are HH, HT, TH, and TT. We can define a random variable to be the number of heads we get.
The random variable can take on the values 0, 1, or 2. Let's map the outcomes to these values:
| Outcome | Number of Heads (Value of X) |
|---|---|
| TT | 0 |
| HT | 1 |
| TH | 1 |
| HH | 2 |
Now we can ask questions about the probability of the random variable taking on a certain value. What's the probability that ? We can see there are two outcomes (HT and TH) where we get one head, out of four total possible outcomes.
Similarly, the probability of getting zero heads () is 1/4, and the probability of getting two heads () is also 1/4. Notice that these probabilities add up to 1, just as our rule requires: .
Random variables are powerful because they let us use the tools of algebra to analyze random events, setting the stage for understanding more complex scenarios.
Let's check your understanding of these core ideas.
A bag contains 3 red marbles, 5 blue marbles, and 2 green marbles. If you draw one marble at random, what is the probability of picking a blue one?
If the probability of an event happening is 0, the event is considered certain to occur.
These foundational concepts of probability are the building blocks for exploring more specific types of probability distributions.