Basic Probability

Event, Sample Space, and Probability

In probability theory, an experiment is any procedure that can be infinitely repeated and has a well-defined set of possible outcomes, known as the sample space, SS. We define an event to be a set of outcomes of an experiment (also known as a subset of SS) to which a probability (numerical value) is assigned.

The probability of the occurrence of an event, AA, is:

P(A)=Number of favorable outcomesTotal number of outcomes\huge P(A) =\frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}}

Here are the first two fundamental rules of probability:

  1. Any probability, P(A)P(A), is a number between 00 and 11 (i.e., 0P(A)10\leq P(A) \leq1).

  2. The probability of the sample space, SS, is 11 (i.e., P(S)=1P(S) = 1).

So how do we bridge the gap between the value of P(A)P(A) and the sample space? Quite simply, since we know that P(A)P(A) is the probability that event AA will occur, then we define P(A)P(A') (also written as P(Ac)P(A^c)) to be the probability that event will not occur (the complement of P(A)P(A)). If our sample space is composed of the probabilities of 's occurrence and non-occurrence, we can then say P(A)+P(A)=1P(A) + P(A')=1, or the sum of all possible outcomes of AA in the sample space is equal to 11. This is the third fundamental rule of probability: P(Ac)=1P(A)\newline P(A^c)=1 - P(A).

Question 1 Find the probability of getting an odd number when rolling a 66-sided fair die.

Given the above question, we can extract the following:

  • Experiment: rolling a 66-sided die.

  • Sample space (SS): S={1,2,3,4,5,6}S=\{1, 2, 3, 4, 5, 6\}.

  • Event (AA): that the number rolled is odd (i.e., A={1,3,5}A=\{1, 3, 5\}).

If we refer back to the basic formula for the probability of the occurrence of an event, we can say: P(A)=Number of favorable outcomesTotal number of outcomes=AS=36=12\large P(A) =\frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}} = \frac{\vert{A}\vert}{\vert{S}\vert} =\frac{3}{6}=\frac{1}{2}

Compound Events, Mutually Exclusive Events, and Collectively Exhaustive Events

Let's consider 22 events: AA and BB. A compound event is a combination of 22 or more simple events. If AA and BB are simple events, then ABA\cup B denotes the occurrence of either AA or BB. Similarly, ABA\cap B denotes the occurrence of AA and BB together.

AA and BB are said to be mutually exclusive or disjoint if they have no events in common (i.e., AB=A \cap B = \emptyset and P(AB)=0P(A \cap B) = 0). The probability of any of 22 or more events occurring is the union (\cup) of events. Because disjoint probabilities have no common events, the probability of the union of disjoint events is the sum of the events' individual probabilities. AA and BB are said to be collectively exhaustive if their union covers all events in the sample space (i.e., AB=SA \cup B = S and P(AB)=1P(A \cup B) = 1). This brings us to our next fundamental rule of probability: if 22 events, AA and BB, are disjoint, then the probability of either event is the sum of the probabilities of the 22 events (i.e., P(A orB)=P(A)+P(B)P(A \ or B) = P(A) + P(B)).

If the outcome of the first event (AA) has no impact on the second event (BB), then they are considered to be independent (e.g., tossing a fair coin). This brings us to the next fundamental rule of probability: the multiplication rule. It states that if two events, AA and BB, are independent, then the probability of both events is the product of the probabilities for each event (i.e., P(A and B)=P(A)P(B)P(A \ and\ B) = P(A) * P(B)). The chance of all events occurring in a sequence of events is called the intersection (\cap) of those events.

Question 2 Find the probability of getting 11head and 11 tail when 22 fair coins are tossed.

Given the above question, we can extract the following:

  • Experiment: tossing 22 coins.

  • Sample space (SS): The possible outcomes for the toss of 11 coin are {H,T}\{H, T\}, where H=headsH = heads and T=tailsT = tails. As our experiment tosses 22 coins, we have to consider all possible toss outcomes by finding the Cartesian Product of the possible outcomes for each coin: S={{H,T}{H,T}={(H,H),(H,T),(T,H),(T,T)}\newline S = \{\{ H, T\} *\{H, T\} = \{(H,H),(H,T),(T,H),(T,T)\}.

  • Event (ABA \cap B): that the outcome of 11 toss will be HH, and the outcome of the other toss will be TT(i.e., A={(H,T),(T,H)}A=\{(H, T), (T, H)\}.

Connecting this information back to our basic formula for P(A)P(A), we can say:

P(A)=Number of favorable outcomesTotal number of outcomes=AS=24=12\large P(A) =\frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}} = \frac{\vert{A}\vert}{\vert{S}\vert} =\frac{2}{4}=\frac{1}{2}

Question 3 Let AA and BB be two events such that P(A)=25P(A)=\frac{2}{5} and P(B)=45P(B)=\frac{4}{5}. If the probability of the occurrence of either AA or BB is 35\frac{3}{5}, find the probability of the occurrence of both AA and BB together (i.e., ABA \cap B).

We can use our fundamental rules of probability to solve this problem:

AB=A+BABP(AB)=P(A)+P(B)P(AB)P(AB)=P(A)+P(B)P(AB)P(AB)=25+4535=35\vert A \cup B\vert = \vert A \vert + \vert B \vert - \vert A \cap B\vert \newline \Rightarrow P(A \cup B) = P(A)+P(B)-P(A \cap B)\newline \Rightarrow P(A \cap B) = P(A)+P(B)-P(A \cup B)\newline \Rightarrow P(A \cup B) = \frac{2}{5}+\frac{4}{5} -\frac{3}{5}=\frac{3}{5}

Task

There are urns labeled XX, YY, and ZZ.

  • Urn XX contains 44 red balls and 33 black balls.

  • Urn YY contains 55 red balls and 44 black balls.

  • Urn ZZ contains 44 red balls and 44 black balls.

One ball is drawn from each of the 33 urns. What is the probability that, of the 33 balls drawn, 22 are red and 11 is black?

Solution

Urn X has a 4/7 probability of giving a red ball Urn Y has a 5/9 probability of giving a red ball Urn Z has a 1/2 probability of giving a red ball

Urn X has a 3/7 probability of giving a black ball Urn Y has a 4/9 probability of giving a black ball Urn Z has a 1/2 probability of giving a black ball

P(2 red, 1 black) = P(Red Red Black) + P(Red Black Red) + P(Black Red Red) = (4/7)(5/9)(1/2) + (4/7)(4/9)(1/2) + (3/7)(5/9)(1/2) = 20/126 + 16/126 + 15/126 = 51/126 = 17/42

Last updated