| {{ '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.
Below, some basic definitions of probability are examined.
An outcome is a possible result of a probability experiment. For example, when rolling a six-sided die, getting a 3 is one possible outcome.
Note that when performing an experiment, each possible outcome is unique. That means only one outcome will occur for each trial.An event is a combination of one or more specific outcomes. For example, when playing cards, an event might be drawing a spade or a heart. For this event, one possible outcome is drawing the A♠ or drawing the 7♡.
However, these are not the only outcomes of this event. All the possible outcomes that satisfy the event are listed below.
The sample space of an experiment is the set of all possible outcomes. For example, when flipping a coin, there are two possible outcomes: heads, H, or tails, T. Therefore, the sample space is {H,T}.
Here, the sample space is shown in a tree diagram. Each row represents the possible outcomes of a toss. When the coin is flipped another time, the tree diagram gets another row with the possible outcomes.
In this case, the sample space has 4 possible outcomes.
For each of the following experiments, list the possible outcomes in the sample space and count the total number of outcomes.
Outcomes:
Consequently, the sample space is the set {1,2,3,4,5,6}.
To list all the possible outcomes, create all possible combinations by determining one outcome for the first die and then varying the outcome of the second die. Then, change the outcome of the first die and repeat the process.
Since each die has 6 possible outcomes, the total number of possible outcomes for this experiment is 6⋅6=36.
Paulina bought two white and three black marbles, all of different sizes, and put them in a bag. When she got home, her little brother Diego and sister Emily asked her to give them two marbles. Paulina agreed but told them to draw one marble each without looking inside the bag. Diego drew the first marble, then Emily.
Outcomes: {W1,W2} and {W2,W1}
Since both marbles are randomly drawn, each outcome of the event will consist of two labels. For the first marble, there are 5 possible outcomes. For the second marble, there are 4 possible outcomes because one marble has already been removed from the bag.
Since the Diego draws a marble first and Emily draws a marble after him, the order in which the marbles are drawn matters. Therefore, the outcomes {W1,W2} and {W2,W1} are different. The following table lists all the possible outcomes for the event of drawing two marbles from the bag.Sometimes more than one event can be involved in an experiment. In such cases, it is important to know how to determine the union or intersection of the events.
A or Bor
A∪B.
A and Bor
A∩B.
Also, there may be situations where it is easier to determine which outcomes do not satisfy an event rather than determining which outcomes do. For such cases, the following concept will be useful.
Outcomes: A∩B={3,5,7}
Outcomes: B∪C′={1,2,3,4,5,7,8,9}
Event | Complement |
---|---|
A: picking a prime number | A′: picking a non-prime number |
B: picking an odd number | B′: picking an even number |
C: picking a multiple of 3 | C′: picking a number that is not a multiple of 3 |
A - event of picking a prime number
B - event of picking an odd number
Therefore, A∩B is the event of picking a prime and odd number.
Number | Is it prime? | Is it odd? |
---|---|---|
1 | No | Yes |
2 | Yes | No |
3 | Yes | Yes |
4 | No | No |
5 | Yes | Yes |
6 | No | No |
7 | Yes | Yes |
8 | No | No |
9 | No | Yes |
Consequently, A∩B={3,5,7}.
B - event of picking an odd number
C′ - event of picking a number that is not a multiple of 3
Therefore, B∪C′ is the event of picking either an odd number or a number that is not multiple of 3.
Number | Is it odd? | Is not a multiple of 3 |
---|---|---|
1 | Yes | Yes |
2 | No | Yes |
3 | Yes | No |
4 | No | Yes |
5 | Yes | Yes |
6 | No | No |
7 | Yes | Yes |
8 | No | Yes |
9 | Yes | No |
Consequently, B∪C′={1,2,3,4,5,7,8,9}. Notice that 6 is the only element of U that is not in B∪C′ since it satisfies neither B nor C′.
Next, draw three sets representing the events A, B, and C and write down the outcomes of each event inside the corresponding set.
Comparing the outcomes of the three events, some conclusions can be drawn.
With this information, the Venn diagram can be drawn.
In the following diagram, the events and their complements can be appreciated separately.Since an event is a combination of possible outcomes of an experiment, in some cases the event happens rarely, while in others it happens frequently. This frequency depends on the experiment and the event itself.
The probability of an event occurring can be determined both theoretically and experimentally. Theoretical probability expresses the expected probability when all outcomes in a sample space are equally likely. In comparison, experimental probability is expressed by analyzing data collected from repeated trials of an experiment.
When all outcomes in a sample space are equally likely to occur, the theoretical probability of an event is the ratio of the number of favorable outcomes to the number of possible outcomes.
P(event)=Number of possible outcomesNumber of favorable outcomes
When an experiment is performed, the results may be a little different from what was expected. In other words, slightly different results may be obtained from what the theoretical probability predicted.
Experimental probability is the probability of an event occurring based on data collected from repeated trials of a probability experiment. For each trial, the outcome is noted. When all trials are performed, the experimental probability of an event is calculated by dividing the number of times the event occurs, or its frequency, by the number of trials.
Ramsha and Mark conducted an experiment consisting of rolling two dice and adding their results. The following diagram shows the numbers obtained in each roll.
Consider the event of getting a result greater than or equal to 8.
The 5 in the second row and third column represents the event of rolling a 2 on the first die and a 3 on the second die. The other outcomes can be calculated in the same fashion. Next, highlight the outcomes satisfying the given event, that the sum of the dice is greater than or equal to 8.
There is a total of 15 favorable outcomes. With this information, the theoretical probability can be calculated.Favorable outcomes=15, Total outcomes=36
ba=b/3a/3
Calculate quotient
Round to 2 decimal place(s)