Skip to main content

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:
If S is a finite nonempty sample space of equally likely outcomes, and E is an event, that is, a subset of S, then the probability of E is P(E)=ESP(E) = \frac{|E|}{|S|}.
According to Laplace’s definition, the probability of an event is between 0 and 1.

Example

1.1. 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 49\dfrac{4}{9}.

2.2. 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, (1,6),(2,5),(3,4),(4,3),(5,2)(1, 6), (2, 5), (3, 4), (4, 3), (5, 2), and (6,1)(6, 1), 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 636=16\dfrac{6}{36} = \dfrac{1}{6}.

3.3. 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.
          C(13,1) C(4,4) C(48,1)~~~~~~~~~~ C(13,1)~C(4,4)~C(48,1).
There are C(52, 5) different hands of five cards. Hence, the probability that a hand contains four cards of one kind is
          C(13,1) C(4,4) C(48,1)C(52,5)=13×1×482,598,9600.00024~~~~~~~~~~ \dfrac{C(13,1)~C(4,4)~C(48,1)}{C(52, 5)} = \dfrac{13 \times 1 \times 48}{2,598,960} \approx 0.00024.

Probabilities of Complements

Theorem:
Let EE be an event in a sample space SS. The probability of the event E=SEE = S - E, the complementary event of EE, is given by
          p(Eˉ)=1p(E)~~~~~~~~~~ p(\bar E) = 1 - p(E).

Example

A sequence of 10 bits is randomly generated. What is the probability that at least one of these bits is 0?Solution:
Let EE be the event that at least one of the 10 bits is 0.
Then Eˉ\bar E is the event that all the bits are 1s.
Because the sample space SS is the set of all bit strings of length 10, it follows that
          p(E)=1p(Eˉ)=1SEˉS=11210~~~~~~~~~~ p(E) = 1 - p(\bar E) = 1 - \dfrac{|S - \bar E|}{|S|} = 1 - \dfrac{1}{2^{10}}
                   =111024=10231024~~~~~~~~~~~~~~~~~~~ = 1 - \dfrac{1}{1024} = \dfrac{1023}{1024}.

Unions of Events

Theorem:
Let E1E_1 and E2E_2 be events in the sample space SS. Then
          p(E1E2)=p(E1)+p(E2)p(E1E2)~~~~~~~~~~ p(E_1 \cup E_2) = p(E_1) + p(E_2) - p(E_1 \cap E_2).

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 E1E_1 be the event that the integer selected at random is divisible by 2, and let E2E_2 be the event that it is divisible by 5.
Then E1E2E_1 \cup E_2 is the event that it is divisible by either 2 or 5.
Also, E1E2E_1 \cap E_2 is the event that it is divisible by both 2 and 5, or equivalently, that it is divisible by 10.
Because E1=50,E2=20|E_1| = 50, |E_2| = 20, and E1E2=10|E_1 \cap E_2| = 10, it follows that
          p(E1E2)=p(E1)+p(E2)p(E1E2)~~~~~~~~~~ p(E_1 \cup E_2) = p(E_1) + p(E_2) - p(E_1 \cap E_2)
                              =50100+2010010100=35~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ = \dfrac{50}{100} + \dfrac{20}{100} - \dfrac{10}{100} = \dfrac{3}{5}.