No history yet

Introduction to Probability

What Are the Chances?

Life is full of uncertainty. Will it rain tomorrow? Will your favorite team win the championship? Will you catch the bus if you leave five minutes late? We constantly make judgments about how likely things are. Probability is the branch of mathematics that gives us a precise way to talk about these chances.

At its core, probability measures the likelihood of an event occurring. It’s a number between 0 and 1, where 0 means the event is impossible and 1 means it's absolutely certain. A probability of 0.5 means it's just as likely to happen as not to happen, like getting heads when you flip a fair coin.

Probability

noun

A measure of the likelihood that a particular event will occur, expressed as a number between 0 (impossibility) and 1 (certainty).

Sample Spaces and Events

To calculate a probability, we first need to understand all the possible outcomes of a situation. This complete set of possible outcomes is called the sample space. For a simple coin flip, the sample space is {Heads, Tails}. There are only two things that can happen.

If you roll a standard six-sided die, the sample space is all the numbers that can land face up: {1, 2, 3, 4, 5, 6}.

An event is any specific outcome or group of outcomes you're interested in. It's a subset of the sample space. Using our die-rolling example, an event could be "rolling a 4." Another event could be "rolling an odd number," which corresponds to the set of outcomes {1, 3, 5}.

Think of the sample space as the entire menu at a restaurant, and an event is the specific dish you decide to order.

Once we know the sample space and the event, calculating the probability is straightforward, assuming all outcomes are equally likely. We just divide the number of outcomes in our event by the total number of outcomes in the sample space.

P(Event)=Number of favorable outcomesTotal number of outcomes in sample spaceP(\text{Event}) = \frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes in sample space}}

So, the probability of rolling a 4 is $1/6$, because there is only one "4" on the die and six possible sides it could land on. The probability of rolling an even number is $3/6 = 1/2$, since there are three favorable outcomes ({2, 4, 6}) out of six total outcomes.

Fundamental Rules

A few basic rules govern how probabilities work. They help us combine and manipulate probabilities to solve more complex problems.

First is the rule of complementary events. The complement of an event is everything else in the sample space. In other words, it's the event not happening. If event AA is rolling a 6, the complement of AA (written as AcA^c) is rolling any other number ({1, 2, 3, 4, 5}). The probability of an event and its complement always add up to 1.

P(Ac)=1P(A)P(A^c) = 1 - P(A)

This is incredibly useful. If you calculate that the probability of rain tomorrow is 0.2 (or 20%), you can instantly know the probability of it not raining is $1 - 0.2 = 0.8$ (or 80%).

Next is the Addition Rule. This rule helps us find the probability of one event or another event happening. If the two events are mutually exclusive, meaning they can't happen at the same time, we simply add their individual probabilities. For example, you can't roll a 1 and a 2 on a single die at the same time. These are mutually exclusive events.

The probability of rolling a 1 or a 2 is: P(1 or 2)=P(1)+P(2)=1/6+1/6=2/6=1/3P(1 \text{ or } 2) = P(1) + P(2) = 1/6 + 1/6 = 2/6 = 1/3.

Finally, we have the Multiplication Rule for independent events. Two events are independent if the outcome of one doesn't affect the outcome of the other. Flipping a coin twice is a classic example. The result of the first flip has no impact on the second.

To find the probability of two independent events both happening, you multiply their individual probabilities.

The probability of flipping a coin and getting heads, and then flipping it again and getting heads again is: P(Heads and Heads)=P(Heads)×P(Heads)=1/2×1/2=1/4P(\text{Heads and Heads}) = P(\text{Heads}) \times P(\text{Heads}) = 1/2 \times 1/2 = 1/4.

These building blocks are the foundation of probability. By defining our possible outcomes and using these simple rules, we can start to analyze the uncertainty all around us.