Skill packs · Pack C
Chance and Counting
Chance sounds vague, but when the outcomes are equally likely it comes down to counting. This pack says what a probability is and why it is a fraction, how to find the chance that something does not happen, how an experiment estimates a probability that counting would give exactly, and how to count the outcomes of two steps without missing any, how to read a probability from a two-way table when you are told which group to look in, and how to count arrangements, codes and orders.
Two fair coins are flipped. Alex reasons: “There are three things that can happen: two heads, one head, or no heads. So the chance of two heads is $\frac13$.” Is Alex right?
- Yes: the chance of two heads is $\frac13$
- No: the chance of two heads is $\frac14$
- No: the chance of two heads is $\frac12$
Alex counted the outcomes, which is the right idea, and still got a wrong answer. The first section says what a probability counts. (The second section is about listing the outcomes of two steps, so that you never miscount them. The third and fourth read a probability from a table and count arrangements by multiplying choices.)
This pack leans on fractions as single numbers (Chapter 1) and on the words “and”, “or” and “not” as they are used for sets (the Interlude). You need no other part of the course, and you can read the pack at any point alongside it.
Three quick ones to wake up what the pack stands on. They are not scored. If one doesn't come to you, its solution says where to look.
Write $\dfrac{6}{20}$ in lowest terms.
Answer: $\dfrac{3}{10}$
The largest number that divides both is $2$, and $\frac{6}{20} = \frac{3}{10}$. See §1.5. A probability is a fraction, and it is usually written this way.
Compute $1 - \dfrac{3}{8}$.
Answer: $\dfrac58$
Write $1 = \frac88$, so $\frac88 - \frac38 = \frac58$. Check: $\frac38 + \frac58 = \frac88 = 1$ ✓. This is exactly how “not” is computed in the first section.
What is $\dfrac{2}{5}$ of $30$?
Answer: $12$
$30 \div 5 = 6$ and $2 \cdot 6 = 12$, so $\frac25 \cdot 30 = 12$. Check: $12$ out of $30$ reduces to $\frac25$ ✓. This is how an expected count is found.
C.1 Probability as a fraction of outcomes
An experiment is anything with an uncertain result: flipping a coin, rolling a die, drawing a marble from a bag. Each possible result is an outcome, and the list of all of them is the sample space. For a die it is $1, 2, 3, 4, 5, 6$. An event is a set of outcomes we care about, such as “an even number”, which is $2, 4, 6$. Suppose the outcomes are equally likely: each is as likely as any other. Then there is no reason to favor any of them, so each gets the same share of the chance, and with $N$ outcomes that share is $\frac1N$. An event with $k$ outcomes in it gets $k$ shares, and so $$P(\text{event}) = \frac{\text{number of favorable outcomes}}{\text{number of outcomes in all}} = \frac{k}{N}.$$ That is the whole idea, and the care goes into the counting. The chance of an even number on a die is $\frac36 = \frac12$. The fraction is never negative and never more than $1$, because $k$ is between $0$ and $N$. A probability of $0$ means the event cannot happen, a probability of $1$ means it must, and the same number written as a percent says it per hundred: $\frac14$ is $25\%$. A spinner needs one extra thought. If it is cut into $8$ equal sections, three red and five blue, the outcomes to count are the eight sections, not the two colors: the chance of red is $\frac38$, not $\frac12$.
Every outcome is either in the event or out of it. So the favorable outcomes and the others together make all $N$, which says that $P(\text{event}) + P(\text{not the event}) = 1$. This is the complement rule: $P(\text{not } A) = 1 - P(A)$. It is a shortcut whenever “not $A$” is the hard thing to count: the chance of rain is $35\%$, so the chance of no rain is $100\% - 35\% = 65\%$. These are the set words of the Interlude at work, and “not” means “everything else”.
Counting gives the theoretical probability, what the setup says should happen. You can also run the experiment and see. The experimental probability is the relative frequency, the number of times the event happened over the number of trials. If a coin lands heads $46$ times in $80$ tosses, the experimental probability of heads is $\frac{46}{80}$, which is a bit above the theoretical $\frac12$. Nothing is wrong with the coin. Chance wanders, and short runs wander the most. The more trials there are, the more the relative frequency tends to settle near the theoretical value, and that is why a large survey can be trusted more than a small one, and why a theoretical value, when you can find it, is better than a few trials.
The same fraction predicts counts. In $n$ trials of an event with probability $p$, the expected count is $p \cdot n$. In $60$ rolls of a die, a six has probability $\frac16$, so we expect $\frac16 \cdot 60 = 10$ sixes. “Expect” is not “get”. It is the average over many such runs, and a single run of $60$ rolls may well give $8$ or $13$.
Example 1. Counting outcomes, and the complement
A bag holds $9$ red, $6$ blue and $5$ yellow marbles. One is drawn at random. Find the probability that it is blue, the probability that it is not blue, and the first as a percent.
- The sample space is the marbles in the bag, all equally likely: $9 + 6 + 5 = 20$ outcomes.
- The favorable outcomes are the blue marbles: $6$. So $P(\text{blue}) = \frac{6}{20} = \frac{3}{10}$.
- By the complement rule, $P(\text{not blue}) = 1 - \frac{3}{10} = \frac{7}{10}$.
- As a percent, $\frac{3}{10} = \frac{30}{100} = 30\%$.
- Check by counting the others: $9 + 5 = 14$ marbles are not blue, and $\frac{14}{20} = \frac{7}{10}$ ✓. $\blacksquare$
The answer $\frac{6}{20}$ is also correct. We reduce it only because the smaller fraction is easier to compare.
A fair die has $8$ faces numbered $1$ to $8$. It is rolled once. What is the probability that it shows a number greater than $5$?
Answer: $\dfrac38$
The outcomes greater than $5$ are $6, 7, 8$: three of the eight. So the probability is $\frac38$. Check: the others, $1$ to $5$, are five faces, and $\frac38 + \frac58 = 1$ ✓.
Example 2. Experiment, theory and expected count
A spinner has $8$ equal sections: $3$ red, $4$ blue and $1$ gold. It is spun $40$ times and lands on red $14$ times. Find the experimental probability of red, the theoretical probability of red, and the number of reds expected in $40$ spins.
- Experimental: the event happened $14$ times in $40$ trials, so the relative frequency is $\frac{14}{40} = \frac{7}{20}$, or $35\%$.
- Theoretical: $3$ of the $8$ equal sections are red, so $P(\text{red}) = \frac38$.
- Expected count: $\frac38 \cdot 40 = 15$, since $40 \div 8 = 5$ and $3 \cdot 5 = 15$.
- Compare: the run gave $14$, one short of the $15$ expected. That is the ordinary wandering of chance, not a sign that the spinner is unfair ✓. $\blacksquare$
Here the experimental $\frac{7}{20}$ is $0.35$ and the theoretical $\frac38$ is $0.375$. With $400$ spins the two would usually be closer.
The forecast gives a $35\%$ chance of rain tomorrow. What is the chance, as a percent, that it does not rain?
Answer: $65\%$
$100\% - 35\% = 65\%$. Check: $35\% + 65\% = 100\%$ ✓.
The probability that a spinner lands on blue is $\dfrac25$. If it is spun $60$ times, how many blues do you expect?
Answer: $24$
$\frac25 \cdot 60$: $60 \div 5 = 12$, and $2 \cdot 12 = 24$. Check: $24$ out of $60$ reduces to $\frac25$ ✓.
C.2 Compound events
Many events take two steps: flip a coin and roll a die, draw a card and then another. The way not to lose outcomes is to list them in an organized way, one step after the other. For two coins the list is $HH, HT, TH, TT$. That is four equally likely outcomes, and the answer to the puzzle: “one head” is two of them, $HT$ and $TH$, so it is not one outcome to count beside the others. The chance of two heads is $\frac14$. A table does the same job: rows for the first step, columns for the second, one cell for each pair. A tree draws it as branches, and the number of pairs is the number of choices at the first step times the number at the second. A coin and a die make $2 \cdot 6 = 12$ pairs.
| Coin | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| H | H1 | H2 | H3 | H4 | H5 | H6 |
| T | T1 | T2 | T3 | T4 | T5 | T6 |
Now ask for “heads and an even number”. In the table those are $H2, H4, H6$: $3$ of $12$, which is $\frac14$. The same answer comes without the table. Half of the pairs have heads, and of those, half have an even die, so the chance is $\frac12$ of $\frac12$, which is a product. When the two steps do not affect each other (the events are independent), $P(A \text{ and } B) = P(A) \cdot P(B)$. The reason is the one just given: $P(B)$ is the share of the second step's outcomes in $B$, and that share is the same whatever the first step did, so it takes that share of the share $P(A)$.
For “or”, adding is the right first move but it counts twice any outcome that is in both events. For $A$ or $B$, the outcomes in both are counted once in $A$ and once in $B$, so we take them away once: $P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)$. If the two events cannot happen together, there is nothing to take away. This is the same overlap rule as for counting the members of two sets.
The last case is where the steps do affect each other. Draw two marbles from a bag without replacement, which means the first stays out. The second draw is made from a smaller bag, so its fraction has changed. With $5$ red and $3$ blue marbles, the chance that the first is red is $\frac58$. Given that, $4$ red remain among $7$ marbles, so the chance that the second is red is $\frac47$. The chance of both is the product, $\frac58 \cdot \frac47$. If the first marble were put back, the second fraction would stay $\frac58$.
Example 3. A probability with “or”
Cards numbered $1$ to $20$ are shuffled and one is drawn. What is the probability that its number is a multiple of $3$ or a multiple of $5$?
- Multiples of $3$: $3, 6, 9, 12, 15, 18$, which is $6$ cards. Multiples of $5$: $5, 10, 15, 20$, which is $4$ cards.
- The card $15$ is in both lists, so adding $6 + 4$ counts it twice. Cards in either list: $6 + 4 - 1 = 9$.
- There are $20$ equally likely cards, so the probability is $\frac{9}{20}$.
- Check by listing the cards once each: $3, 5, 6, 9, 10, 12, 15, 18, 20$ is $9$ numbers ✓. $\blacksquare$
In probabilities, the same steps read $\frac{6}{20} + \frac{4}{20} - \frac{1}{20} = \frac{9}{20}$.
A fair coin is flipped and a fair six-sided die is rolled. What is the probability of tails and an odd number?
Answer: $\dfrac14$
$P(\text{tails}) = \frac12$ and $P(\text{odd}) = \frac36 = \frac12$, so the probability of both is $\frac12 \cdot \frac12 = \frac14$. Check: in the table, $T1, T3, T5$ are $3$ of $12$ pairs, and $\frac{3}{12} = \frac14$ ✓.
Example 4. Two draws without replacement
A bag holds $5$ red and $3$ blue marbles. Two are drawn one after the other without putting the first back. What is the probability that both are red?
- The first draw is red with probability $\frac58$.
- Given that, $4$ red marbles are left among $7$, so the second is red with probability $\frac47$.
- Both happen: $\frac58 \cdot \frac47 = \frac{20}{56} = \frac{5}{14}$.
- Check by counting ordered pairs of different marbles: $8 \cdot 7 = 56$ in all, and $5 \cdot 4 = 20$ of them are red then red. $\frac{20}{56} = \frac{5}{14}$ ✓. $\blacksquare$
Had the first marble been put back, the answer would be $\frac58 \cdot \frac58 = \frac{25}{64}$, a little larger.
A number from $1$ to $10$ is chosen at random. What is the probability that it is even or greater than $6$?
Answer: $\dfrac{7}{10}$
Even: $2, 4, 6, 8, 10$ (5 numbers). Greater than $6$: $7, 8, 9, 10$ (4 numbers). In both: $8, 10$ (2 numbers). In either: $5 + 4 - 2 = 7$. Check by listing: $2, 4, 6, 7, 8, 9, 10$ is $7$ numbers ✓.
A bag holds $4$ red and $6$ blue marbles. Two are drawn one after the other without replacement. What is the probability that both are blue?
Answer: $\dfrac13$
$\frac{6}{10} \cdot \frac{5}{9} = \frac{30}{90} = \frac13$. Check by counting ordered pairs: $10 \cdot 9 = 90$ in all, and $6 \cdot 5 = 30$ are blue then blue ✓.
C.3 Two-way tables and conditional probability
A survey often asks each person two questions at once: does the student play a sport, and does the student ride the bus? A two-way table counts the answers in a grid, one question down the side and the other across the top. Each cell counts the people who gave one particular pair of answers. The totals in the last column and the last row (the margins) say how many gave each answer to one question alone, and the corner holds the grand total.
| Group | Bus | Walk | Total |
|---|---|---|---|
| Plays a sport | 15 | 25 | 40 |
| No sport | 6 | 14 | 20 |
| Total | 21 | 39 | 60 |
Choose one of the $60$ students at random. Every student is equally likely, so a probability read from the whole table divides by the grand total, $60$. The chance of a student who plays a sport and rides the bus is one cell over the grand total, $\frac{15}{60} = \frac14$. The chance of a student who rides the bus, whether or not the student plays a sport, is a margin over the grand total, $\frac{21}{60} = \frac{7}{20}$.
Now suppose we are told the student plays a sport. The twenty students with no sport are no longer in the picture. The group is the top row, $40$ students, and $15$ of them ride the bus, so the chance is $\frac{15}{40} = \frac38$. This is a conditional probability: the probability of one event given that another has happened. We write it $P(\text{bus} \mid \text{sport})$ and read it “the probability of bus given sport”. The bar means “given”. What changed from the first calculation is the bottom of the fraction: the denominator is the total of the group named after “given”, and not the grand total.
Conditional probabilities compare groups fairly. Fifteen sport players ride the bus against only $6$ of the others, but the groups are different sizes, so the raw counts say little. The relative frequency of each row does: $\frac{15}{40} = 37.5\%$ of the sport players ride the bus, and $\frac{6}{20} = 30\%$ of the others do. When a question asks which group is more likely to do something, compare these row (or column) fractions.
Take care with the direction. The same $15$ gives a different fraction when the group changes: of the $21$ students who ride the bus, $15$ play a sport, so $P(\text{sport} \mid \text{bus}) = \frac{15}{21} = \frac57$, which is not $P(\text{bus} \mid \text{sport}) = \frac38$. In general $P(A \mid B)$ and $P(B \mid A)$ are different questions. Almost every sparrow is a bird, and few birds are sparrows.
Sometimes knowing the group changes nothing. Events are independent when the conditional equals the unconditional: $P(A \mid B) = P(A)$. In the table, $P(\text{bus}) = \frac{7}{20} = 35\%$ while $P(\text{bus} \mid \text{sport}) = 37.5\%$. They are close but not equal, so in this survey sport and bus are slightly related. In a table, independence shows up as the same relative frequency in every row. This is the product rule of C.2 in other words. If $P(A \mid B) = P(A)$, then the share of group $B$ that is $A$ equals the share of everyone that is $A$, and taking that share of $P(B)$ gives $P(A \text{ and } B) = P(A) \cdot P(B)$. Read the other way, the product rule divided by $P(B)$ gives back $P(A \mid B) = P(A)$.
Example 5. Reading one row, and reading it backwards
| Group | Dog | No dog | Total |
|---|---|---|---|
| Has a yard | 18 | 12 | 30 |
| No yard | 4 | 16 | 20 |
| Total | 22 | 28 | 50 |
Find $P(\text{dog} \mid \text{yard})$ and $P(\text{dog} \mid \text{no yard})$, and say which kind of family is more likely to have a dog. Then find $P(\text{yard} \mid \text{dog})$.
- “Given a yard” makes the yard row the group: $30$ families, of whom $18$ have a dog. $P(\text{dog} \mid \text{yard}) = \frac{18}{30} = \frac35$.
- “Given no yard” makes the other row the group: $20$ families, $4$ with a dog. $P(\text{dog} \mid \text{no yard}) = \frac{4}{20} = \frac15$.
- Compare $\frac35 = 60\%$ with $\frac15 = 20\%$: a family with a yard is more likely to have a dog.
- Backwards, the group is the dog column: $22$ families, of whom $18$ have a yard. $P(\text{yard} \mid \text{dog}) = \frac{18}{22} = \frac{9}{11}$.
- Check that the edges add up: $18 + 12 = 30$, $18 + 4 = 22$, and $22 + 28 = 50$ ✓. $\blacksquare$
The $18$ is on top of both $\frac35$ and $\frac{9}{11}$. Only the group underneath changed.
In the table of Example 5, what fraction of the families with no dog have a yard, in lowest terms?
Answer: $\dfrac37$
The group is the families with no dog, $28$ of them, and $12$ have a yard: $\frac{12}{28} = \frac37$. Check: the other $16$ have no yard, and $\frac{16}{28} = \frac47$, with $\frac37 + \frac47 = 1$ ✓.
Of $80$ people at a gym, $50$ are members. Of the members, $35$ use the pool, and of the non-members, $5$ use the pool. What fraction of the people who use the pool are members?
Answer: $\dfrac78$
The pool users are $35 + 5 = 40$ people, and $35$ of them are members, so the fraction is $\frac{35}{40} = \frac78$. Check: the other $5$ pool users are not members, and $\frac{5}{40} = \frac18$, with $\frac78 + \frac18 = 1$ ✓.
C.4 Counting arrangements
In C.2 we listed the outcomes of two steps in rows: for each first choice, the same number of second choices. Every row of the list has the same length, so the list has (rows) times (row length) entries. That is the counting principle: if a task is done in steps, and each step has a number of choices that does not depend on what was chosen before, the number of ways is the product of the numbers of choices. A third step multiplies again. With $3$ shirts, $4$ pairs of pants and $2$ pairs of shoes there are $3 \cdot 4 \cdot 2 = 24$ outfits.
Arrangements are the case where the choices shrink. Put three books, Atlas, Birds and Cacti, in a row on a shelf. The first place can take any of the $3$ books. Whichever is chosen, $2$ are left for the second place, and then $1$ for the last. So there are $3 \cdot 2 \cdot 1 = 6$ orders: ABC, ACB, BAC, BCA, CAB, CBA. For $n$ different items the count is $n \cdot (n-1) \cdots 2 \cdot 1$, which is written $n!$ and read “$n$ factorial”. So $4! = 24$, $5! = 120$, $6! = 720$ and $7! = 5040$. The count grows fast, which is why a list stops being a good way to find it.
We often arrange only some of the items. Eight runners race, and the first three places win medals: how many ways can the medals go out? The gold medal can go to any of $8$ runners, the silver to any of the $7$ left, the bronze to any of the $6$ left: $8 \cdot 7 \cdot 6 = 336$. The product stops after as many factors as there are places, each one smaller by one than the factor before. There is no formula to memorize. Ask at every place how many items are still available.
That question separates two kinds of code. If a digit may be used again, nothing is used up, and every place has the same number of choices: a code of $3$ digits from $0$ to $9$ has $10 \cdot 10 \cdot 10 = 1000$ possibilities. If the digits must all be different, each digit chosen is gone for the later places, and the count is $10 \cdot 9 \cdot 8 = 720$.
Example 6. Codes with and without repeats
A door code has $4$ digits, each chosen from $1$ to $6$. How many codes are there if a digit may be used more than once? How many if all four digits must be different?
- With repeats allowed, each of the $4$ places has $6$ choices: $6 \cdot 6 \cdot 6 \cdot 6 = 1296$.
- With all digits different, the first place has $6$ choices and every later place has one fewer: $6 \cdot 5 \cdot 4 \cdot 3 = 360$.
- As a check on the idea, try $2$ places and the digits $1, 2, 3$. Repeats allowed: the list $11, 12, 13, 21, 22, 23, 31, 32, 33$ is $9 = 3 \cdot 3$ codes. All different: $12, 13, 21, 23, 31, 32$ is $6 = 3 \cdot 2$ codes ✓. $\blacksquare$
The code with all digits different is a smaller number than the one with repeats allowed, because it keeps only some of the codes of the first kind.
A pizza shop offers $4$ crusts, $6$ toppings and $3$ sizes. A pizza has one of each. How many different pizzas can be ordered?
Answer: $72$
$4 \cdot 6 \cdot 3 = 72$. Check: the crusts and toppings alone make $4 \cdot 6 = 24$ pairs, and each pair comes in $3$ sizes, $24 \cdot 3 = 72$ ✓.
A school has $7$ different trophies, and a shelf has room for $4$ of them in a row. How many different displays can be made?
Answer: $840$
$7 \cdot 6 \cdot 5 \cdot 4 = 840$. Check: all $7$ trophies in a row make $7! = 5040$ orders, and the last three places can be swapped among themselves in $3! = 6$ ways without changing the four on display, so $5040 \div 6 = 840$ ✓.
The arrangements are also the equally likely outcomes of a random order, and so they give probabilities. Put the three books on the shelf in a random order. The $6$ orders are equally likely, and only one of them, ABC, is alphabetical, so the chance is $\frac16$. Count the arrangements, and put the favorable ones over them. The idea of listing the rearrangements of a set returns, as functions, in §13.3, but this pack does not need it.
Finally, sometimes only who is chosen matters, not the order. Choose a team of $2$ students from $5$. Counting in order gives $5 \cdot 4 = 20$, but the pair Ana and Ben was counted twice, once as Ana then Ben and once as Ben then Ana. Every team is counted once for each order of its members, so we divide: list the orders of one chosen group, and divide the ordered count by that number.
Example 7. Choosing a group when order does not matter
A teacher picks $2$ of the $5$ students A, B, C, D and E to carry the equipment. How many different pairs can be picked?
- Count as if the order mattered: $5 \cdot 4 = 20$ ordered picks.
- One pair can be picked in $2 \cdot 1 = 2$ orders, such as AB and BA, so each pair has been counted $2$ times.
- Divide: $20 \div 2 = 10$ pairs.
- Check by listing the pairs once each: AB, AC, AD, AE, BC, BD, BE, CD, CE, DE is $10$ ✓. $\blacksquare$
For a group of $3$ the ordered count is divided by $3 \cdot 2 \cdot 1 = 6$, the orders of one group of three.
Four different books are put on a shelf in a random order. What is the probability that they stand in alphabetical order?
Answer: $\dfrac{1}{24}$
The number of orders is $4 \cdot 3 \cdot 2 \cdot 1 = 24$, all equally likely, and one is alphabetical, so the probability is $\frac{1}{24}$. Check: with $3$ books it was $\frac16$ and with a fourth book each of the $6$ orders can place it in $4$ ways, $6 \cdot 4 = 24$ ✓.
Practice
Give each probability as a fraction, each count as a single number, and each answer that asks for a percent as a percent. Every die, coin, spinner section, card and marble is equally likely unless the question says otherwise, and a draw is made at random. In a survey, a person is chosen at random, and a question that says “of those who” or “given that” names the group to count in the bottom of the fraction. For a count of ways, give the number.
A bag holds $5$ red, $7$ blue and $8$ green marbles. One marble is drawn at random. What is the probability that it is green?
Answer: $\dfrac25$
The bag holds $5 + 7 + 8 = 20$ marbles, and $8$ are green. So $P = \frac{8}{20} = \frac25$. Check: the other colors are $12$ marbles, and $\frac{8}{20} + \frac{12}{20} = 1$ ✓.
A fair $12$-sided die is numbered $1$ to $12$. It is rolled once. What is the probability of a multiple of $4$?
Answer: $\dfrac14$
The multiples of $4$ from $1$ to $12$ are $4, 8, 12$: three outcomes of twelve, so $P = \frac{3}{12} = \frac14$.
Each letter of the word PROBABILITY is written on its own card, and the cards are shuffled face down. One card is drawn. What is the probability that it shows a vowel? (Count Y as a consonant.)
Answer: $\dfrac{4}{11}$
The word has $11$ letters, so there are $11$ cards. The vowels are O, A, I, I: four cards. So $P = \frac{4}{11}$. It cannot be reduced, because $11$ is prime.
A drawer holds $6$ black, $5$ white and $3$ gray socks. One sock is taken out without looking. What is the probability that it is not black?
Answer: $\dfrac47$
There are $6 + 5 + 3 = 14$ socks, and $14 - 6 = 8$ are not black. So $P = \frac{8}{14} = \frac47$. Check by the complement: $1 - \frac{6}{14} = \frac{8}{14}$ ✓.
Of the $25$ students in a class, $7$ walk to school. One student is chosen at random. What is the probability, as a percent, that the student does not walk?
Answer: $72\%$
$25 - 7 = 18$ students do not walk, so $P = \frac{18}{25} = \frac{72}{100} = 72\%$. Check: $\frac{7}{25} = 28\%$ walk, and $28\% + 72\% = 100\%$ ✓.
A coin is tossed $80$ times and lands heads $46$ times. What is the experimental probability of heads?
Answer: $\dfrac{23}{40}$
The relative frequency is $\frac{46}{80}$, and dividing both by $2$ gives $\frac{23}{40}$. It is a little above the theoretical $\frac12 = \frac{20}{40}$, which is ordinary for $80$ tosses.
A spinner has $8$ equal sections: $3$ red, $4$ blue and $1$ gold. It is spun $96$ times. About how many times would you expect it to land on red?
Answer: $36$
$P(\text{red}) = \frac38$, so the expected count is $\frac38 \cdot 96$: $96 \div 8 = 12$ and $3 \cdot 12 = 36$.
Spinner A has $4$ equal sections numbered $1$ to $4$. Spinner B has $5$ equal sections numbered $1$ to $5$. Both are spun. What is the probability that both show an even number?
Answer: $\dfrac15$
Spinner A: $2$ of $4$, so $\frac12$. Spinner B: $2, 4$, so $\frac25$. Both: $\frac12 \cdot \frac25 = \frac{2}{10} = \frac15$. Check by counting pairs: $4 \cdot 5 = 20$ in all, and $2 \cdot 2 = 4$ have two even numbers, $\frac{4}{20} = \frac15$ ✓.
A bag holds $3$ red and $5$ green marbles. A marble is drawn, put back, and the bag is shaken. A second marble is drawn. What is the probability that the first is red and the second is green?
Answer: $\dfrac{15}{64}$
Each draw is from $8$ marbles. $P(\text{red}) = \frac38$ and $P(\text{green}) = \frac58$, so $\frac38 \cdot \frac58 = \frac{15}{64}$. Check: there are $8 \cdot 8 = 64$ ordered pairs of draws, and $3 \cdot 5 = 15$ are red then green ✓.
A pizza shop offers $3$ crusts and $5$ toppings. A pizza has one crust and one topping. How many different pizzas can be ordered?
Answer: $15$
The table has $3$ rows (crusts) and $5$ columns (toppings), and each cell is a different pizza: $3 \cdot 5 = 15$. A tree gives the same count: $3$ branches, each splitting into $5$.
Cards numbered $1$ to $30$ are shuffled and one is drawn. What is the probability that its number is a multiple of $4$ or a multiple of $6$?
Answer: $\dfrac13$
Multiples of $4$: $4, 8, \dots, 28$ is $7$ cards. Multiples of $6$: $6, 12, \dots, 30$ is $5$ cards. Both, the multiples of $12$: $12, 24$ is $2$ cards. In either: $7 + 5 - 2 = 10$, so $P = \frac{10}{30} = \frac13$. Check by listing: $4, 6, 8, 12, 16, 18, 20, 24, 28, 30$ is $10$ numbers ✓.
In a class of $28$ students, $15$ play soccer, $12$ are in the band, and $6$ do both. One student is chosen at random. What is the probability, as a percent, that the student plays soccer or is in the band?
Answer: $75\%$
In either group: $15 + 12 - 6 = 21$ students. $P = \frac{21}{28} = \frac34 = 75\%$. Check by regions: $9$ only soccer, $6$ both, $6$ only band is $21$ ✓.
Six cards are numbered $1$ to $6$. Two are drawn one after the other without replacement. What is the probability that both are even?
Answer: $\dfrac15$
The first is even with probability $\frac36$. Then $2$ even cards remain among $5$, so the second is even with probability $\frac25$. Both: $\frac36 \cdot \frac25 = \frac{6}{30} = \frac15$. Check by listing the pairs of evens: $2$ and $4$, $2$ and $6$, $4$ and $6$ is $3$ pairs, out of $15$ pairs of cards, and $\frac{3}{15} = \frac15$ ✓.
A box holds $6$ red pens and $4$ blue pens. Two are drawn one after the other without replacement. What is the probability that one is red and one is blue?
Answer: $\dfrac{8}{15}$
Red then blue: $\frac{6}{10} \cdot \frac{4}{9} = \frac{24}{90}$. Blue then red: $\frac{4}{10} \cdot \frac{6}{9} = \frac{24}{90}$. Add: $\frac{48}{90} = \frac{8}{15}$. Check by counting ordered pairs: $10 \cdot 9 = 90$ in all, and $2 \cdot 6 \cdot 4 = 48$ have one of each color ✓.
Of $40$ students, $24$ play a sport. Of the sport players, $15$ ride the bus, and of the other students, $6$ ride the bus. One student is chosen at random. What is the probability that the student plays a sport and rides the bus?
Answer: $\dfrac38$
The cell for sport and bus is $15$ of the $40$ students, so $P = \frac{15}{40} = \frac38$. Check by filling the table: sport and walk $24 - 15 = 9$, no sport and bus $6$, no sport and walk $16 - 6 = 10$, and $15 + 9 + 6 + 10 = 40$ ✓.
In a survey of $50$ families, $32$ have a dog. Of the families with a dog, $20$ also have a cat, and of the families without a dog, $6$ have a cat. One family is chosen at random. What is the probability that the family has a cat?
Answer: $\dfrac{13}{25}$
Families with a cat: $20 + 6 = 26$ of the $50$, so $P = \frac{26}{50} = \frac{13}{25}$. Check: the families without a cat are $12$ with a dog and $12$ without, $24$, and $26 + 24 = 50$ ✓.
| Class | Tea | Coffee | Total |
|---|---|---|---|
| Morning | 12 | 28 | 40 |
| Evening | 15 | 20 | 35 |
| Total | 27 | 48 | 75 |
An adult is chosen at random from the evening class. What is the probability that the adult prefers coffee?
Answer: $\dfrac47$
The group is the evening row, $35$ adults, and $20$ prefer coffee, so $P(\text{coffee} \mid \text{evening}) = \frac{20}{35} = \frac47$. Check: the other $15$ prefer tea, and $\frac{15}{35} = \frac37$, with $\frac47 + \frac37 = 1$ ✓.
| Housing | Pet | No pet | Total |
|---|---|---|---|
| Own | 21 | 15 | 36 |
| Rent | 9 | 15 | 24 |
| Total | 30 | 30 | 60 |
Of the households with a pet, what fraction rent?
Answer: $\dfrac{3}{10}$
The group is the households with a pet, $30$ of them, and $9$ of those rent: $\frac{9}{30} = \frac{3}{10}$. Check: the other $21$ own, and $\frac{21}{30} = \frac{7}{10}$, with $\frac{3}{10} + \frac{7}{10} = 1$ ✓.
Of $60$ students, $36$ are in the band. Of the band members, $27$ play piano, and of the other students, $6$ play piano. A student is chosen at random from the piano players. What is the probability that the student is in the band?
Answer: $\dfrac{9}{11}$
The piano players number $27 + 6 = 33$, and $27$ of them are in the band, so $P(\text{band} \mid \text{piano}) = \frac{27}{33} = \frac{9}{11}$. The reverse, $P(\text{piano} \mid \text{band}) = \frac{27}{36} = \frac34$, is a different number ✓.
In a survey, $12$ of the $20$ students in grade 7 and $18$ of the $25$ students in grade 8 said they like the new schedule. The percent of grade 8 who like it is how many percentage points higher than the percent of grade 7?
Answer: $12$
Grade 7: $\frac{12}{20} = 60\%$. Grade 8: $\frac{18}{25} = \frac{72}{100} = 72\%$. The difference is $72 - 60 = 12$ percentage points. Check: the raw counts, $18$ and $12$, would have suggested a gap of $6$, which is misleading because the grades differ in size ✓.
In grade 7, $20$ of the $50$ students have a dog. Grade 8 has $30$ students. For having a dog to be independent of grade, how many of the grade 8 students would have a dog?
Answer: $12$
In grade 7 the fraction is $\frac{20}{50} = \frac25$. For independence, grade 8 must have the same fraction, $\frac25 \cdot 30 = 12$. Check: in all, $20 + 12 = 32$ of $80$ have a dog, $\frac{32}{80} = \frac25$, equal to each grade’s share ✓.
A sandwich shop offers $5$ breads, $3$ fillings and $4$ sauces. A sandwich has one bread, one filling and one sauce. How many different sandwiches can be made?
Answer: $60$
$5 \cdot 3 \cdot 4 = 60$. Check: the breads and fillings make $15$ pairs, and each pair goes with $4$ sauces, $15 \cdot 4 = 60$ ✓.
A suitcase lock has $4$ dials, and each dial can show any digit from $0$ to $9$. How many different codes can be set?
Answer: $10000$
$10 \cdot 10 \cdot 10 \cdot 10 = 10000$. Check: the codes run from $0000$ to $9999$, and $9999 - 0 + 1 = 10000$ numbers ✓.
In how many different orders can $8$ different books be placed in a row on a shelf?
Answer: $40320$
$8 \cdot 7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 \cdot 2 \cdot 1 = 40320$. Check: $7! = 5040$, and the eighth book can be inserted among the other seven in $8$ places, $5040 \cdot 8 = 40320$ ✓.
A club of $9$ members elects a president, a secretary and a treasurer. No member holds two jobs. In how many different ways can the three jobs be filled?
Answer: $504$
$9 \cdot 8 \cdot 7 = 504$. Check: once the president is chosen, the other $8$ members fill the two remaining jobs in $8 \cdot 7 = 56$ ways, and each of the $9$ presidents allows that, $9 \cdot 56 = 504$ ✓.
A coach picks $3$ of $6$ players to carry the equipment. The order does not matter, only who is picked. How many different groups can be picked?
Answer: $20$
Counting in order: $6 \cdot 5 \cdot 4 = 120$. One group of three can be listed in $3 \cdot 2 \cdot 1 = 6$ orders, so $120 \div 6 = 20$ groups. Check: the groups with player A are A and a pair from the other $5$, $5 \cdot 4 \div 2 = 10$, and the groups without A are $3$ of the other $5$, $5 \cdot 4 \cdot 3 \div 6 = 10$, and $10 + 10 = 20$ ✓.
A lock code is $3$ different digits, chosen from $1$ to $5$ with no digit used twice. Every code is equally likely. One guess is made at random. What is the probability that it is right?
Answer: $\dfrac{1}{60}$
The number of codes is $5 \cdot 4 \cdot 3 = 60$, and one is right, so $P = \frac{1}{60}$. Check: arranging all $5$ digits gives $5! = 120$ orders, and the two digits left out can swap without changing the code, so $120 \div 2 = 60$ ✓.
Recap
Alex's three cases are not equally likely. The equally likely outcomes of two coins are $HH, HT, TH, TT$, and “one head” is two of the four. So the chance of two heads is $\frac14$, which is also $\frac12 \cdot \frac12$ by the rule for independent events. Before you count, check that the things you count are equally likely.
- With equally likely outcomes, $P(\text{event})$ is the number of favorable outcomes over the number of outcomes in all. It lies from $0$ (cannot happen) to $1$ (must happen) and can be written as a percent.
- Count the outcomes, not the colors: a spinner of $8$ equal sections, $3$ of them red, gives $\frac38$.
- The complement rule: $P(\text{not } A) = 1 - P(A)$.
- Experimental probability is the relative frequency from trials. It wanders, and settles nearer the theoretical value as the trials grow.
- The expected count in $n$ trials is $p \cdot n$. It is an average, not a promise.
- List the outcomes of two steps in order, in a table or in a tree. The number of pairs is the number of first choices times the number of second choices.
- Independent events: $P(A \text{ and } B) = P(A) \cdot P(B)$. For “or”, add and take away the overlap once: $P(A) + P(B) - P(A \text{ and } B)$.
- Without replacement the second fraction changes: the bottom always loses the marble that was taken, and the top loses it too when the second draw is the same kind.
- In a two-way table, a probability over the whole table divides by the grand total. A conditional probability, $P(A \mid B)$, “the probability of $A$ given $B$”, divides by the total of the group $B$ only. $P(A \mid B)$ and $P(B \mid A)$ are different. Compare groups by their relative frequencies, not their raw counts, and events are independent when $P(A \mid B) = P(A)$.
- Choices multiply. $n$ different items can be arranged in $n! = n \cdot (n-1) \cdots 2 \cdot 1$ orders, and arranging $k$ of them in order takes $k$ factors, falling by one from $n$. A code that may repeat has the same number of choices at every place, and one that may not repeat has one fewer each time. For a probability, put the favorable arrangements over all of them. When order does not matter, divide the ordered count by the orders of one group.