| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
Here are a few recommended readings before getting started with this lesson.
When discussing probability, a pair of events can be either independent or dependent.
Two events A and B are independent events if the occurrence of one event does not affect the occurrence of the other. It is also said that they are independent if and only if the probability that both events occur is equal to the product of the individual probabilities.
Two events A and B are considered dependent events if the occurrence of either event affects the occurrence of the other. If the events are dependent, the probability that both events occur is equal to the product of the probability of the first event occurring and the probability of the second event occurring after the first event.
Finding the number of possible outcomes of a combination of independent events can be tricky or time-consuming. Luckily, there is a shortcut!
0
As mentioned above, this principle holds true only if the events are independent of each other. If the events are dependent, multiplying the number of possible outcomes for each event will not reflect the actual number of possible outcomes. Returning to the notebooks for sale, suppose now that the spiral-bound notebooks only come in red.
0
There are still 2 types of notebooks and a total of 3 colors for the ring-bound notebooks. However, the possible number of different notebooks a customer may buy is not 2×3=6. Rather, it is 4. This happens because the number of possible colors of the notebook now depends on the type of notebook.
While preparing the raffle, Tiffaniqua considered inviting everyone who purchased a ticket to roll a die and toss a coin.
Fundamental Counting Principle |
If an event A has n possible outcomes and an event B has m possible outcomes, then the total number of different outcomes for A and B combined is n⋅m. |
According to the tree diagram, there are 12 possible outcomes. This is the same number as the one found using the Fundamental Counting Principle. Tiffaniqua wanted to have more possible prizes, so she decided to come up with another idea for the game with more possible outcomes!
In a compound event, the order in which the outcomes occur can sometimes be important. For example, suppose three digits are randomly chosen as a combination to a lock. The outcome 482
is different from the outcome 248,
even though they are made up of the same digits. When the order is important, permutations can be used.
A permutation is an arrangement of objects in which the order is important. For example, consider constructing a number using only the digits 4, 5, and 6 without repetitions. Any of the three digits can be picked for the first position, leaving two choices for the second position, then only one choice for the third position.
Tiffaniqua chose 5 prizes to display at her stall — a movie ticket, a CD, a basketball, a teddy bear, and a pair of sunglasses. She was sure they would attract many people to her raffle!
The next step was to decide what order she should line the prizes up in.
First Prize | 5 choices |
---|---|
Second Prize | |
Third Prize | |
Fourth Prize | |
Fifth Prize |
When choosing the second prize, there are only 4 possible outcomes because one of the five items has already been chosen for the first prize in the arrangement.
First Prize | 5 choices |
---|---|
Second Prize | 4 choices |
Third Prize | |
Fourth Prize | |
Fifth Prize |
For the same reason, there are 3 choices for the third prize, 2 choices for the fourth prize, and only 1 choice for the fifth prize.
First Prize | 5 choices |
---|---|
Second Prize | 4 choices |
Third Prize | 3 choices |
Fourth Prize | 2 choices |
Fifth Prize | 1 choice |
First Prize | 1 option (Teddy Bear) |
---|---|
Second Prize | |
Third Prize | 1 option (CD) |
Fourth Prize | |
Fifth Prize |
The second prize could be the sunglasses, the basketball, or the movie ticket, so there are 3 options for the second prize in the lineup.
First Prize | 1 option (Teddy Bear) |
---|---|
Second Prize | 3 options |
Third Prize | 1 option (CD) |
Fourth Prize | |
Fifth Prize |
The fourth prize cannot be the teddy bear, the CD, or whatever was placed in the second place in the arrangement. This means that there are 2 options left for the fourth prize. Similarly, there is only 1 option left for the final item in the arrangement after the fourth prize is chosen.
First Prize | 1 option (Teddy Bear) |
---|---|
Second Prize | 3 options |
Third Prize | 1 option (CD) |
Fourth Prize | 2 options |
Fifth Prize | 1 option |
Just before the fundraiser started, a new sponsor decided to donate a bunch of new prizes to Tiffaniqua! It was too late to change the way the game works to accommodate the new prizes, so Tiffaniqua decided to add a mystery prize grab.
Players can donate money to draw a random prize from a box of 20 unique prizes without taking part in the raffle. The big box contains prizes like a pair of gloves and a pair of socks.