Finite Probability
An experiment is a procedure that yields one of a given set of possible outcomes.Eksperimen adalah prosedur yang menghasilkan salah satu dari kumpulan kemungkinan hasil yang diberikan.The sample space of the experiment is the set of possible outcomes.
Ruang sampel dari eksperimen adalah kumpulan hasil yang mungkin.An event is a subset of the sample space.
Peristiwa adalah subset dari ruang sampel.
Definition:
Example
An urn contains four blue balls and five red balls. What is the probability that a ball chosen at random from the urn is blue?Solution:
To calculate the probability, note that there are nine possible outcomes, and four of these possible outcomes produce a blue ball.
Hence, the probability that a blue ball is chosen is .
Hence, the probability that a blue ball is chosen is .
What is the probability that when two dice are rolled, the sum of the numbers on the two dice is 7?Solution:
There are a total of 36 equally likely possible outcomes when two dice are rolled.
There are six successful outcomes, namely, , and , where the values of the first and second dice are represented by an ordered pair.
Hence, the probability that a seven comes up when two fair dice are rolled is .
There are six successful outcomes, namely, , and , where the values of the first and second dice are represented by an ordered pair.
Hence, the probability that a seven comes up when two fair dice are rolled is .
Find the probability that a hand of five cards in poker contains four cards of one kind.Solution:
By the product rule, the number of hands of five cards with four cards of one kind is the product of the number of ways to pick one kind, the number of ways to pick the four of this kind out of the four in the deck of this kind, and the number of ways to pick the fifth card.
.
There are C(52, 5) different hands of five cards. Hence, the probability that a hand contains four cards of one kind is
.
.
There are C(52, 5) different hands of five cards. Hence, the probability that a hand contains four cards of one kind is
.
Probabilities of Complements
Theorem:
Example
A sequence of 10 bits is randomly generated. What is the probability that at least one of these bits is 0?Solution:
Let be the event that at least one of the 10 bits is 0.
Then is the event that all the bits are 1s.
Because the sample space is the set of all bit strings of length 10, it follows that
.
Then is the event that all the bits are 1s.
Because the sample space is the set of all bit strings of length 10, it follows that
.
Unions of Events
Theorem:
Example
What is the probability that a positive integer selected at random from the set of positive integers not exceeding 100 is divisible by either 2 or 5?Solution:
Let be the event that the integer selected at random is divisible by 2, and let be the event that it is divisible by 5.
Then is the event that it is divisible by either 2 or 5.
Also, is the event that it is divisible by both 2 and 5, or equivalently, that it is divisible by 10.
Because , and , it follows that
.
Then is the event that it is divisible by either 2 or 5.
Also, is the event that it is divisible by both 2 and 5, or equivalently, that it is divisible by 10.
Because , and , it follows that
.