PROBABILITY of "A OR B" : \(p\begin{pmatrix} A\cup B \end{pmatrix}\)
Combined Events Part 2

(Disjunction Rule & Addition Rule for Mutually Exclusive Events)


Given an experiment and two of its possible events \(A\) and \(B\), we'll often need to calculate probability of event "A or B" ocurring; that's the probability \(p\begin{pmatrix}A\ \text{or} \ B \end{pmatrix}\). We learn how to calculate such probabilities in this section.

In proper mathematical notation, we'll write the probability of A or B occurring as: \[p\begin{pmatrix}A \cup B \end{pmatrix}\] where you can think of the symbol \(\cup \) as the word "or".


In probability theory the word "or" refers to an inclusive or which means that the event "A or B" occurs when either:

  • event \(A\) occurs
  • event \(B\) occurs
  • both \(A\) and \(B\) occur, that's the event \(A\cap B\).
The following tutorial will provide you with all the essentials to know about the probability of A or B.


The formula for calculating the probability of A or B occurring is known as the disjunction rule and is stated here.

Disjunction Formula - Formula for Probability of "A or B"


Given an experent with, the probability of A or B occurring is given by: \[p\begin{pmatrix}A \cup B\end{pmatrix} = p\begin{pmatrix}A\end{pmatrix} + p\begin{pmatrix}B \end{pmatrix} - p \begin{pmatrix}A \cap B\end{pmatrix}\]


Example

At a given school:

  • the probability that a student studies French is \(0.7\)
  • the probability that a student studies Spanish is \(0.6\)
  • the probability that a student studies both French and Spanish is \(0.45\)
A student is taken at random. Find the probability that this student studies French or Spanish.

Solution

It's always good to start by defining the events as well as listing the probabilities we're given:

  • \(F\): the student studies French, \(p\begin{pmatrix}F\end{pmatrix} = 0.7\)
  • \(S\): the student studies Spanish, \(p\begin{pmatrix}S\end{pmatrix} = 0.6\)
  • \(F\cap S\): the student studies both French and Spanish, \(p\begin{pmatrix}F \cap S\end{pmatrix} = 0.45\)
Now that our events are defined, we can find the probability \(p\begin{pmatrix}A\cup B\end{pmatrix}\) using the disjunction rule: \[\begin{aligned} \begin{pmatrix}F \cup S \end{pmatrix} & = p\begin{pmatrix}F\end{pmatrix} + p\begin{pmatrix}S\end{pmatrix} - p\begin{pmatrix}F \cap S\end{pmatrix} \\ & = 0.7 + 0.6 - 0.45 \\ \begin{pmatrix}F \cup S \end{pmatrix} & = 0.85 \end{aligned}\] The probability that the student studies both French and spanish is \(0.85\).


Example

A card is picked, at random, from a regular deck of 52 playing cards. Find the probability that the card is an 8 or a heart.

Solution

We can define the events:

  • \(A\): picking an 8. Since there are four 8's the probability is \(p\begin{pmatrix}A\end{pmatrix} = \frac{4}{52}\)
  • \(B\): picking a heart. There are 13 hearts so the probability is \(p\begin{pmatrix}B\end{pmatrix} = \frac{13}{52}\)
  • \(A\cap B\): picking the 8 of hearts. There is 1 8 of hearts so the probability is \(p\begin{pmatrix}A\cap B\end{pmatrix} = \frac{1}{52}\)
Now, using the disjunction rule: \[\begin{aligned} p\begin{pmatrix}A\cup B \end{pmatrix} &= p\begin{pmatrix}A\end{pmatrix} + p\begin{pmatrix}B\end{pmatrix} - p\begin{pmatrix}A \cap B \end{pmatrix} \\ & = \frac{4}{52} + \frac{13}{52} - \frac{1}{52} \\ & = \frac{4 + 13 - 1}{52} \\ & = \frac{16}{52} \\ p\begin{pmatrix}A\cup B \end{pmatrix} & = \frac{4}{13} \end{aligned}\] So the probability of picking an 8 or a heart is \(\frac{4}{13} \approx 0.308\).


MUTUALLY EXCLUSIVE EVENTS


Given an experiment and two events \(A\) and \(B\), we say that \(A\) and \(B\) are Mutually Exclusive if it is impossible for them to occur simultaneously. In other words the two events cannot both occur simultanesouly, it can only be one or the other, but not both. \[p\begin{pmatrix}A \cap B\end{pmatrix}=0\] When represented on a Venn diagram, as we can see here, the sets representing mutually exclusive events do not overlap (they do not intersect).

Furthermore, since \(p\begin{pmatrix}A \cap B\end{pmatrix}=0\), the disjunction rule (seen further-up) leads to the following result for the probability of A or B for mutually exclsuive events


Addition Rule: Probability of A or B for Mutually Exclusive Events


Given 2 mutually exclusive events \(A\) and \(B\) the probability or \(A\) or \(B\) occurring is: \[p\begin{pmatrix}A \cup B\end{pmatrix} = p\begin{pmatrix}A\end{pmatrix} + p\begin{pmatrix}B \end{pmatrix}\]


Example

A box contains 5 blue, 3 red and 2 green paper slips. A paper slip is picked at random, find the probability that the slip is blue or green.

Solution

Let's start by defining the events and the number of ways each of them can happen:

  • \(B\): picking a blue slip, \(n\begin{pmatrix}B\end{pmatrix} = 5\)
  • \(R\): picking a red slip, \(n\begin{pmatrix}R\end{pmatrix} = 3\)
  • \(G\): picking a green slip, \(n\begin{pmatrix}G\end{pmatrix} = 2\)
  • \(U\): universal set, \(n\begin{pmatrix}U\end{pmatrix} = 10\)
Each of the events \(B\), \(R\) and \(G\) are mutually exclusive. Indeed when picking a paper slip we can obtain either of the three colors but it is impossible to get two different colors with one paper slip.

We can therefore use the addition rule for mutually exclusive events but first we need to calculate the probability of picking a blue slip and the probability of picking a green slip.

  • \(p\begin{pmatrix}B\end{pmatrix} = \frac{n\begin{pmatrix}B\end{pmatrix}}{n\begin{pmatrix}U\end{pmatrix}} = \frac{5}{10} = 0.5\)
  • \(p\begin{pmatrix}G\end{pmatrix} = \frac{n\begin{pmatrix}G\end{pmatrix}}{n\begin{pmatrix}U\end{pmatrix}} = \frac{2}{10} = 0.2\)
Now we can use the addition rule: \[\begin{aligned} p\begin{pmatrix}B \cup G \end{pmatrix} & = p\begin{pmatrix}B \end{pmatrix} + p\begin{pmatrix}G\end{pmatrix} \\ & = 0.5 + 0.2 \\ p\begin{pmatrix}B \cup G \end{pmatrix} & = 0.7 \end{aligned}\] Finally, we can state that the probability of picking a blue or a green paper slip is \(0.7\).


Example

Charlotte is asked to pick a number, at random, between 3 and 12 included. Find the probability that she picks a prime number or an even number.

Solution

We start by defining the events \(A\) and \(B\):

  • \(A\): she picks a prime number
  • \(B\): she picks an even number
The events \(A\) and \(B\) are mutually exclusive.

Indeed since all prime numbers (except for 2) are odd: its is impossible for the number Charlotte picks to be both odd and even i.e. \(p\begin{pmatrix}A\cap B \end{pmatrix}=0\).

We can therefore use the addition rule to calculate the probability \(p\begin{pmatrix}A\cup B \end{pmatrix}\). First we need the probabilities \(p\begin{pmatrix}A\end{pmatrix}\) and \(p\begin{pmatrix}B\end{pmatrix}\).

From 3 to 12 (included):

  • there are 10 numbers so: \(n\begin{pmatrix}U\end{pmatrix}=10\).
  • there are 4 prime numbers. Indeed 3, 5, 7 and 11 are the only prime numbers between 3 and 12, so: \(n\begin{pmatrix}A\end{pmatrix} = 4\) and \(p\begin{pmatrix}A\end{pmatrix} = \frac{n\begin{pmatrix}A\end{pmatrix}}{n\begin{pmatrix}U\end{pmatrix}} = \frac{4}{10} = 0.4\)
  • there are 5 even numbers, 4, 6, 8, 10 and 12, so: \(n\begin{pmatrix}B\end{pmatrix}=5\) and \(p\begin{pmatrix}B\end{pmatrix} = \frac{n\begin{pmatrix}B\end{pmatrix}}{n\begin{pmatrix}U\end{pmatrix}} = \frac{5}{10} = 0.5\)

Finally we use the addition rule: \[\begin{aligned} p\begin{pmatrix}A\cup B\end{pmatrix} & = p\begin{pmatrix}A\end{pmatrix} + p\begin{pmatrix}B\end{pmatrix} \\ & = 0.4 + 0.5 \\ p\begin{pmatrix}A\cup B\end{pmatrix} & = 0.9 \end{aligned}\] The probability that Charlotte picks an even or a prime number is \(0.9\).




Scan this QR-Code with your phone/tablet and view this page on your preferred device.


Subscribe Now and view all of our playlists & tutorials.