The addition rule of probabilities is used to solve probability questions and problems. Several examples are presented along with their detailed solutions.
The minimum background needed to understand the examples, is the concept of sample space of an experiment and the event of interest. Also reviewing basic probability questions could be helpful.
In what follows, n(S) is the number of elements in the sample space S and n(E) is the number of elements in the event E.
The best way to explain the addition rule is to solve the following example using two different methods.
Example 1
A fair die is rolled one time, find the probability of getting an odd number or a number less than or equal to 3.
Solution to Example 1
Two methods are suggested.
Method 1: Use the sample space
The sample space S, which is the set of all possible outcomes, of the experiment in rolling a die is given by
S={1,2,3,4,5,6}
The number of elements n(S) in the set S is given by
n(S)=6
Let E be the event "getting and odd number or a number less than or equal to 3". Check each element of the sample spaceS to see if it is odd or less than or equal to 3 to end up with all outcomes belonging to the set E given by
E={1,2,3,5}
The number of elements n(E) in the set E is given by
n(E)=4
Let P(E) be the probability that event E, defined above, occurs. We now use the formula of the classical probability to find P(E) as:
P(E)=n(E)n(S)=46=23
Method 2: Use addition formula
E is the event "getting an odd number or a number less than or equal to 3" is in fact the union of two events: event A corresponding to "getting an odd number" and event B corresponding to "getting a number less than or equal to 3".
A={1,3,5}
B={1,2,3}
such that
E=A∪B={1,3,5}∪{1,2,3}={1,2,3,5}
The Venn diagrams below show set A and set B and their union A∪B. Note also the intersection of A and B has two elements: A∩B={1,3}
Let n(E),n(A), n(B) and n(A∩B) be the numbers of elements in the sets E, A, B and (A∩B) respectively.
We know from above that
n(E)=4 , n(A)=3 , n(B)=3 and n(A∩B)=2
We can write: n(E)=n(A)+n(B)−n(A∩B)=3+3−2=4
The reason we subtracted n(A∩B) in the expression of n(E) above, is because n(A∩B) is counted twice: once in n(A) and once in n(B)
The probability P(E) of event E=A∪B is given by
P(E)=n(E)n(S)=n(A)+n(B)−n(A∩B)n(S)=n(A)n(S)+n(B)n(S)−n(A∩B)n(S)=P(A)+P(B)−P(A∩B)
Hence the general rule of addition in probabilities is given by
P(A∪B)=P(A)+P(B)−P(A∩B)
or
P(AorB)=P(A)+P(B)−P(AandB)
where p(A) is the probability of A happening, P(B) is the probability of B happening, and P(A∩B) is the probability of both A and B happening at the same time.
p(A)=n(A)n(S)=36=12
P(B)=n(B)n(S)=36=12
P(A∩B)=n(A∩B)n(S)=26=13
Use the addition rule above
P(A∪B)=P(A)+P(B)−P(A∩B)=1/2+1/2−1/3=2/3
NOTE: If events A and B are mutually exclusive, meaning that they cannot happen at the same time, the intersection A∩B=ϕ, empty set, and therefore P(A∩B)=0 which simplifies the addition rule to
P(A∪B)=P(A)+P(B)
or
P(AorB)=P(A)+P(B)
Example 2
A fair die is rolled one time, find the probability of getting a "1" or a "5 ".
Solution to Example 2
Let event A: getting a "1" and event B: getting a "5 ". We are then asked to find P(A∪B) which given by
P(A∪B)=P(A)+P(B)−P(A∩B)
These two events are mutually exclusive because you cannot get "1" and a "5 " at the same time. Hence
P(A∩B)=0
and
P(A∪B)=P(A)+P(B)
The probability of getting a 1 (event A) when rolling a die is
P(A)=16
The probability of getting a 5 (event B) when rolling a die is
P(B)=16
P(A∪B)=P(A)+P(B)=16+16=13
Example 3
A box contains 3 red balls, 2 green balls and 5 blue balls. A ball is drawn at random from the box. Find the probability that the ball is either green or blue.
Solution to Example 3
Let event A: the ball is green and event B: the ball is blue. We are then asked to find P(A∪B) which is given by ".
P(A∪B)=P(A)+P(B)−P(A∩B)
The probability of getting a green (event A) is calculated as follows
There is a total of 10 balls and 2 are green; hence
P(A)=210=1/5
The probability of getting a blue (event B) is calculated as follows
There is a total of 10 balls and 5 are blue; hence
P(B)=510=1/2
These two events are mutually exclusive: we cannot get a green and a blue ball at the same time. Hence
P(A∩B)=0
and
P(A∪B)=P(A)+P(B)=1/5+1/2=7/10
Example 4
In a school of 100 students, 50 play football, 20 play basketball and 10 play both football and basketball. If a student is selected at random, what is the probability that he/she plays at least one of the two sports?
Solution to Example 4
Let event A: the student plays football , Let event B: the student plays basketball
We are looking for the probability that the selected student plays football, basketball or both written as
P(A∪B)=P(A)+P(B)−P(A∩B)
If 50 out of 100 students play football, then
P(A)=50100=1/2
If 20 out of 100 play basketball, then
P(B)=20100=1/5
If 10 play both, then
P(A∩B)=10100=1/10
and the probability we are calculating is given by
P(A∪B)=P(A)+P(B)−P(A∩B)=1/2+1/5−1/10=3/5
Example 5
A single card is drawn from a deck. Find the probability of selecting the following.
a) a "2" or a "5"
b) An "8" or a "heart"
c) A "Queen" or a "red card"
Solution to Example 5
a)
Let event A: selecting a "2" and event B: selecting a "5".
In a deck of 52 cards, there 4 "2"s and 4 "5"s.
Events A and B are mutually exclusive you cannot get a "2" and "5" at the same time if you draw one card. Hence
P(A∩B)=0
P(A)=4/52=1/3
P(B)=4/52=1/3
P(A∪B)=P(A)+P(B)=1/13+1/13=2/13
b)
Let event C: selecting an "8" and event D: selecting a "heart".
In a deck of 52 cards, there 4 "8"s ; hence
P(C)=4/52=1/13
and 13 "hearts"; hence
P(D)=13/52=1/4
Events C and D are NOT mutually exclusive; you can get a "8" and a "heart" at the same time if you draw an "8" of "hearts". Hence
P(C∩D)=1/52
P(C∪D)=P(C)+P(D)−P(C∪D)=1/13+1/4−1/52=4/13
c)
Let event E: selecting a "Queen" and event F: selecting a "red card".
In a deck of 52 cards, there 4 "Queens"s ; hence
P(E)=4/52=1/13
and 26 "red cards"; hence
P(F)=26/52=1/2
Events C and D are NOT mutually exclusive; you can get a "Queen" of "Hearts" which a "red card " and you can also get "Queen" of "Diamonds" which a "red card " . Hence
P(E∩F)=2/52=1/26
P(E∪F)=P(E)+P(F)−P(E∪F)=1/13+1/2−2/52=7/13
Example 6
A car dealer has the cars listed in the table below classified by type and color. If a car is selected at random, what is the probability that it is
a) a black or a white car?
b) blue car or a coupe?
c) a black car or an SUV?
SUV | Sport Car | Van | Coupe | Total | |
---|---|---|---|---|---|
Black | 35 | 10 | 25 | 15 | 85 |
white | 10 | 15 | 20 | 5 | 50 |
Blue | 15 | 15 | 5 | 30 | 65 |
Total | 60 | 40 | 50 | 50 | 200 |
Example 7
The table below shows the number of hours students spend on their homework every week.
Time (hours) | Number of students |
---|---|
0 - 2 | 5 |
3 - 4 | 20 |
5 - 7 | 35 |
8 - 10 | 50 |
11 - 12 | 60 |
13 and more | 30 |
Example 8
The customers of an insurance company have at least one of two insurances: home, auto or both. 80% of the customers have home insurance and 60% have auto insurance. If we select one person at random, what is the probability that this person has both insurances with the company?
Solution to Example 8
Let event A: have home insurance and event B : have auto insurance.
P(A∪B)=P(A)+P(B)−P(A∩B)
We need to find P(A∩B)
100% of the customers have either one or both insurances; hence
P(A∪B)=100%
80% of customers have home insurance, hence
P(A)=80%
60% of customers have auto insurance, hence
P(B)=60%
100%=80%+60%−P(A∩B)
P(A∩B)=140%−100%=40%=0.4