Statistics
Probability Basics: A Practical Introduction
By MathSolver Pro Editorial Team · Published
Probability measures how likely an event is on a scale from 0 to 1. A handful of rules, for complements, unions, independent and dependent events and conditional probability, solve most problems, and knowing the classic traps prevents most mistakes.
Outcomes, events and the probability scale
Probability starts with an experiment, such as rolling a die, and its sample space, the set of all possible outcomes. For one roll of a standard die the sample space is . An event is any collection of outcomes, such as rolling an even number, which is the set .
Every probability lies between 0 and 1. A probability of 0 means the event cannot happen, 1 means it is certain, and 0.5 means it is as likely to happen as not. Probabilities can be written as fractions, decimals or percentages, so , 0.25 and 25 percent all mean the same thing. When all outcomes are equally likely, the probability of an event is a simple ratio:
So the probability of rolling an even number is . With two dice there are equally likely ordered outcomes, and six of them give a sum of 7, namely (1,6), (2,5), (3,4), (4,3), (5,2) and (6,1), so . Counting outcomes in bigger problems uses the techniques in permutations and combinations.
The complement rule
The complement of an event is everything that is not in . Since one or the other must happen, their probabilities add to 1:
Example 1: at least one six
- What is the probability of rolling at least one six in four rolls of a die?
- Counting all the ways to get at least one six is messy, so work with the complement: no sixes at all.
- Each roll avoids a six with probability , so four rolls avoid it with probability .
- .
Whenever a question says at least one, try the complement first. It almost always turns a long calculation into a short one.
The addition rule: A or B
The probability that or happens, or both, is found by adding their probabilities and subtracting the overlap, which would otherwise be counted twice:
Drawing one card from a standard 52-card deck, the probability of a heart or a king is , because the king of hearts belongs to both groups. Events that cannot happen together, such as rolling a 2 and rolling a 5 on a single roll, are mutually exclusive. Their overlap is zero, so their probabilities simply add.
The multiplication rule: A and B
Two events are independent when the outcome of one does not change the probability of the other, as with separate coin flips. For independent events, multiply:
Two heads in two flips therefore has probability . When events are dependent, the second probability must reflect what has already happened. Drawing two cards without replacement, the probability that both are aces is , because after one ace is removed only 3 aces remain among 51 cards.
Conditional probability and Bayes' theorem
Conditional probability is the probability of given that has happened, written . Knowing shrinks the sample space to alone:
Bayes' theorem reverses a conditional probability, turning into . Its most famous application shows why a positive medical test can be less alarming than it sounds.
Example 2: a positive test result
- A condition affects 1 percent of people. A test detects it 90 percent of the time, but also gives a false positive for 5 percent of healthy people.
- Imagine 10,000 people. About 100 have the condition, and 90 of them test positive.
- Of the 9,900 healthy people, 5 percent, which is 495, also test positive.
- So 585 people test positive, and only 90 of them have the condition: .
- Despite the test's accuracy, a positive result means only about a 15 percent chance of having the condition, because the condition is rare.
Expected value
The expected value of a game or random quantity is the long-run average result, found by multiplying each outcome by its probability and adding:
Suppose a game pays 10 dollars if a die shows six and costs you 2 dollars otherwise. The expected value is , so the game is fair: over many plays you would expect to break even. Casino games are designed with a slightly negative expected value for the player, which is how casinos profit over millions of bets even though individual players sometimes win. Insurance works on the same principle from the other side: the insurer collects slightly more in premiums than it expects to pay out in claims.
Common traps
- The gambler's fallacy: after five reds on a fair roulette wheel, black is not due. Each spin is independent, so the probability is unchanged.
- Adding probabilities of events that overlap without subtracting the overlap, which can produce probabilities greater than 1.
- Multiplying probabilities of events that are not independent.
- Confusing with , as in the medical test example.
- Underestimating coincidences: in a group of only 23 people, the chance that two share a birthday is about 50.7 percent.
The law of large numbers explains what probability does promise: as an experiment is repeated many times, the proportion of times an event occurs settles close to its probability. It makes no promise about any short run of results. The probability calculator handles single, combined and conditional events with steps, and the permutation and combination calculator counts the outcomes that many probability problems need.
Tree diagrams for multi-step problems
When an experiment happens in stages, a tree diagram keeps track of every path. Each branch is labelled with its probability, you multiply along a path to get the probability of that whole sequence, and you add the paths that make up the event you want.
Example 3: two draws from a bag
- A bag holds 3 red and 2 blue marbles. Two are drawn without replacement. What is the probability that they are the same colour?
- Red then red: .
- Blue then blue: .
- Add the two paths: .
- Check: the two mixed paths give , and , as all paths together must.
Tree diagrams make the multiplication rule visual and show clearly where probabilities change between stages. They are also the most reliable way to set up a Bayes' theorem problem, because each branch of the second stage is a conditional probability.
Frequently asked questions
What is the difference between independent and mutually exclusive events?
Independent events do not affect each other's probabilities, like two coin flips. Mutually exclusive events cannot both happen, like rolling a 2 and a 5 on one die. Two events with positive probabilities cannot be both independent and mutually exclusive.
Can a probability be greater than 1?
No. Probabilities always lie between 0 and 1 inclusive. If a calculation gives a larger value, an overlap has probably been counted twice.
How do betting odds translate into a probability?
Odds compare favourable with unfavourable outcomes, while probability compares favourable outcomes with all outcomes. Odds of a to b in favour give a probability of a divided by a + b, so odds of 3 to 1 against an event mean a probability of 1 in 4.
Is experimental probability the same as theoretical probability?
Experimental probability is the observed proportion in actual trials, while theoretical probability is calculated from the model. With more trials, the experimental value tends to approach the theoretical one.
What does a 30 percent chance of rain actually mean?
It means that on days with conditions like these, measurable rain falls at the forecast location about 30 percent of the time. It does not mean rain for 30 percent of the day or over 30 percent of the area.