The classical definition of probability is only applicable when we are considering events that are equally likely.
\[P(E) = \frac{\text{number of outcomes favorable to E}}{\text{total number of outcomes}}\]Example 1:
Roll a die. Find the probability of rolling
The relative frequency definition of probability is only applicable when we are considering events that can be repeated. Note that this can also include events that are equally likely so in that case the classical definition and the relative frequency definition will overlap.
\[P(E) = \frac{\text{number of times E occurs}}{\text{total number of trials where the number of trials is large}}\] Flip a coin. The probability of getting a head is equal to the long run proportion of heads in many many flips. In the trials below, you can see in the first flip we got a tail so the proportion of heads is 0/1. In the second flip, we got another tail so the proportion of heads is 0/2. In the third flip, we got a head so the proportion of heads is 1/3. We can see up to the eighth trial in this example.
Below we have about 500 trials and we can see that the proportion of heads settles down to about 0.5 which is the probability of getting heads when tossing a fair coin.
Try flipping your own coin here
Example 2:
Select one card at random from a standard deck of cards. Let A be the event that the chosen card is an Ace. Find \(P(A^c)\)\(P(A) = \frac{4}{52}\) and \(P(A^c) = 1 - P(A) = \frac{48}{52}\)
Using the addition rule, \(P(A \cup B) = P(A)+P(B)-P(A \cap B) = \frac{4}{52} + \frac{26}{52} - \frac{2}{52} = \frac{28}{52}\) Notice that we double counted the red Aces so that’s why we had to subtract the last term.
Example 4:
Sixty people were asked for their gender and political party.
| Democrat | Republican | Independent | Total | |
|---|---|---|---|---|
| Male | 10 | 5 | 5 | 20 |
| Female | 15 | 15 | 10 | 40 |
| Total | 25 | 20 | 15 | 60 |
Find the probability that a randomly selected person is