2.3 Working with Events

A generic candlestick chart.

2.3: Working with Events

Learning Objectives

Upon completion of this section, you should be able to

  • Solve probability applications using the complement rule.
  • Find the probability when there is a union of two events.
  • Find the probability when there is an intersection of two events.

Complement of an Event

Now let us examine the probability that an event does not happen. Let’s start with a simple example: rolling a six-sided fair die. We already saw that the probability of rolling a six is: P(six) = 1/6. But what about not rolling a six? There are 5 outcomes that are not a six, so this give us: P(not a six)=56.

Notice something interesting here: P(six)+P(not a six)=16+56=66=1

This isn’t just a coincidence. When we consider an event “E” and its opposite “Not E“, these two events cover all outcomes in the sample space. In addition these two events do not share any of the outcomes as they are opposites of each other (either an outcome is in E or it is not E). The sum of their probabilities must then add up to 1 as there are no other collection of outcomes left from the sample space.

Complement of an Event

The complement of an event is the event “not E

The notation to represent the complement in this text will be “not E” or EC

We can compute the probability of the complement using P(EC)=1P(E)

Notice that P(E)=1P(EC) and 1=PE+PEC is also true.

Example 1

If you pull a random card from a deck of playing cards, what is the probability it is not a heart?


Solution

There are 13 hearts in the deck, so P(heart)=1352=14.

The probability of not drawing a heart is the complement: P(not heart)=1P(heart)=114=34

Video Solution Example (1 min 40 secs – CC)

Try it Now 1

If the weather forecast predicts there is a 20% chance of rain, then what is the percent chance of it not raining?

Answer (click to Show/Hide)

The event “not raining” is the complement for the event raining, so the percent chance of not raining is
found to be:

P(RC)=1P(R)P(RC)=10.20P(RC)=0.80

We can conclude that there is a 80% chance of it not raining.

Intersection of events

As we continue our study in probability we need a way to describe what outcomes two events have in common. We can do this by bringing in new notation (as shown below) and call it an intersection.

Intersection of Events

The intersection of events A and B, denoted AB, is the collection of all outcomes that are in common to both events A and B. It corresponds to combining descriptions of the two events using the word “and.”

To say that the event AB occurred means that on a particular trial of the experiment both A and B occurred. A visual representation of the intersection of events A and B in a sample space S is given below “The Intersection of Events “. The intersection corresponds to the shaded lens-shaped region that lies within both ovals.

Sample space with events A and B shaped as ovals overlapping and the overlap shaded in
The Intersection of Events

Example 2

In the experiment of rolling a single die, find the intersection ET of the events

E: “the number rolled is even”
T: “the number rolled is greater than two.”


Solution

The sample space is S={1,2,3,4,5,6}.

The outcomes in E={2,4,6} and T={3,4,5,6}.

The outcomes that E and T have in common are 4 and 6, so ET={4,6}.

In words the intersection is described by “the number rolled is even and is greater than two.” The only numbers between one and six that are both even and greater than two are four and six, corresponding to ET given above.

Example 3

A single die is rolled:
  1. Suppose the die is fair. Find the probability that the number rolled is both even and greater than two.
  2. Suppose the die has been “loaded” so that P(1)=112, P(6)=312, and the remaining four outcomes are equally likely with one another. Now find the probability that the number rolled is both even and greater than two.

Solution

In both cases the sample space is S={1,2,3,4,5,6} and the event in question is the intersection ET={4,6} of the previous example.

  1. Since the die is fair, all outcomes are equally likely, so by counting we have P(ET)=26
  2. The information on the probabilities of the six outcomes that we have so far is:
    Outcomes 1 2 3 4 5 6
    Probability 112 p p p p 312

    Since P(1)+P(2)+P(3)+P(4)+P(5)+P(6)=1, we can solve for what p is:

    112+P(2)+P(3)+P(4)+P(5)+312=1112+p+p+p+p+312=1412+4p=14p=14124p=12124124p=812p=81214p=212

    Thus we now have P(4)=212 and we can now find P(ET):
    P(ET)=P(4)+P(6)P(ET)=212+312P(ET)=512

In some cases when we look at an intersection there may be no common outcomes between the two events. For A and B to have no outcomes in common means precisely that it is impossible for both A and B to occur on a single trial of the random experiment. This gives the following rule.

Mutually Exclusive Events

Two or more events are mutually exclusive if they cannot happen at the same time in a single trial of an experiment. This means that if one of these events occurs, it’s impossible for any of the others to occur simultaneously.

Events A and B are mutually exclusive if and only if P(AB)=0.

Example 4

Determine if the events are mutually exclusive for the the experiment of randomly selecting a card from a deck of standard playing cards.

  1. D is the event that you select a diamond and R is the event you select a red card.
  2. D is the event that you select a diamond and B is the event you select a black card.
  3. Q is the event that you select a Queen and R is the event you select a red card.

Solution

  1. The diamonds are already red cards, so the events D and R share in common all the cards that are diamonds, so they are not mutually exclusive.
  2. The diamond cards are red, so there are no outcomes in D that are also in the outcome that the card is black. We would say D and B are mutually exclusive and that P(DB)=0.
  3. There are two black queens and two red queens, so with the event Q we have two outcomes that are in common with the event R that we select a red card. These two events are not mutually exclusive.

Union of Events

Now that we have a way to talk about what outcomes two events have in common we will look at how we describe the total outcomes in two or more events. These outcomes do not have to sit within both (or many) events to be part of that group.

Union of Events

The union of events A and B, denoted AB, is the collection of all outcomes that are in events A and B, or of both of them. It corresponds to combining descriptions of the two events using the word “or.”

To say that the event AB occurred means that on a particular trial of the experiment either A or B occurred (or both did). A visual representation of the union of events A and B in a sample space S is given in “The Union of Events.” The union corresponds to the shaded region.

Sample space with events A and B shaped as ovals overlapping and the both ovals shaded in the same color
The Union of Events

Example 5

In the experiment of rolling a single die, find the union of the events

E: “the number rolled is even”
T: “the number rolled is greater than two.”


Solution

The sample space is S={1,2,3,4,5,6}.

The outcomes in E={2,4,6} and T={3,4,5,6}.

The union E and T is made up of all outcomes they have together: ET={2,3,4,5,6}. Note that an outcome such as 4 that is in both sets is still listed only once (although strictly speaking it is not incorrect to list it twice).

In words the union is described by “the number rolled is even or is greater than two.” Every number between one and six except the number one is either even or is greater than two, corresponding to ET given above.

The following Additive Rule of Probability is a useful formula for calculating the probability of AB.

Addition Rule

The additive rule of probability states how to calculate the probability of the union of two events. For any two events the probability of A or B is:

P(AorB)=P(A)+P(B)P(AandB)P(AB)=P(A)+P(B)P(AB)

The next example, in which we compute the probability of a union both by counting and by using the formula, shows why the last term in the formula is needed.

Example 6

Suppose we flipped a coin and rolled a die, and wanted to know the probability of getting a head on the coin or a 6 on the die.


Solution

Here, there are still 12 possible outcomes: S = {H1,H2,H3,H4,H5,H6,T1,T2,T3,T4,T5,T6}

By simply counting, we can see that 7 of the outcomes have a head on the coin or a 6 on the die or both – we use or inclusively here (these 7 outcomes are H1, H2, H3, H4, H5, H6, T6), so the probability is 712.

How could we have found this from the individual probabilities of tossing a coin and observing Heads and rolling a die and observing a 6?

As we would expect, 12 of these outcomes have a head, and 16 of these outcomes have a 6 on the die. If we add these, 12+16=612+212=812, which is not the correct probability. Looking at the outcomes we can see why: the outcome H6 would have been counted twice, since it contains both a head and a 6; the probability of both a head and rolling a 6 is 112.

If we subtract out this double count, we have the correct probability: 812112=712.

Putting the above into the formula we see the formula for the Additive Rule in work:

P(Heads or roll a 6)=P(Heads)+P(roll a 6)P(Heads and roll a 6)=12+16112=612+212112=812112=712

Video Solution (2 min 27 secs – CC) Another example starts after the 2:27 mark of the video.

Example 7

Two fair dice are thrown. Find the probabilities of the following events:

  1. both dice show a four
  2. at least one die shows a four (which can be translated as the first die is a four or the second die is a four)

Solution

As was the case with tossing two identical coins, actual experience dictates that for the sample space to have equally likely outcomes we should list outcomes as if we could distinguish the two dice. We could imagine that one of them is red and the other is green. Then any outcome can be labeled as a pair of numbers as in the following display, where the first number in the pair is the number of dots on the top face of the green die and the second number in the pair is the number of dots on the top face of the red die.

(1,1)(1,2)(1,3)(1,4)(1,5)(1,6)(2,1)(2,2)(2,3)(2,4)(2,5)(2,6)(3,1)(3,2)(3,3)(3,4)(3,5)(3,6)(4,1)(4,2)(4,3)(4,4)(4,5)(4,6)(5,1)(5,2)(5,3)(5,4)(5,5)(5,6)(6,1)(6,2)(6,3)(6,4)(6,5)(6,6)

  1. There are 36 equally likely outcomes, of which exactly one corresponds to two fours, so the probability of a pair of fours is 136.
  2. First Approach: Counting. From the table we can see that there are 11 pairs that correspond to the event in question: the six pairs in the fourth row (the first die shows a four) plus the additional five pairs other than the pair (4,4), already counted, in the fourth column (the second die is afour), so the answer is 1136

    Second Approach: Using the Additive Rule. Let A be the event the first roll is a 4 and B be the event that the second roll is a 4. Then let us start with first writing out the additive rule in this case:

    P(A or B)=P(A)+P(B)P(A and B)

    There are six outcomes for the event A as we can see in row 4 where the first dice rolled is a 4. There are also six outcomes for event B as we can see in column 4 where the second dice rolled is a 4. Finally there is only one outcome where both the first and the second dice rolled is a four (where the 4th row and 4th column intersect each other). The additive rule would have us find the probabilty as:

    P(A or B)=636+636136=1136

    The first two terms in the additive rule is adding up the total number of outcomes in the two events, but it ignores any duplication so we end up double counting any outcomes that they have in common. The last term takes care to remove the double counts, so that we end up with the correct result.

Example 8

Suppose we draw one card from a standard deck.

  1. What is the probability that we get a Queen or a King?
  2. What is the probability that we get a red card or a King?

Solution

  1. There are 4 Queens and 4 Kings in the deck, hence 8 outcomes corresponding to a Queen or King out of 52 possible outcomes. Thus the probability of drawing a Queen or a King is:

    P(King or Queen)=852 

    Note that in this case, there are no cards that are both a Queen and a King, so P(King and Queen)=0. Using our additive probability rule, we could have said:

    P(King or Queen)=P(King)+P(Queen)P(King and Queen)P(King or Queen)=452+4520P(King or Queen)=852

  2. Half the cards are red, so P(Red)=2652 

    There are four kings, so P(King)=452 

    There are two red kings, so P(Red and King)=252

    We can then calculate
    P(Red or King)=P(Red)+P(King)P(Red and King)P(Red or King)=2652+452252P(Red or King)=2852

Video Solution (2 min 21 secs – CC)

Try it Now 2

A tutoring service specializes in preparing adults for high school equivalence tests. Among all the students seeking help from the service, 63% need help in mathematics, 34% need help in English, and 27% need help in both mathematics and English. What is the percentage of students who need help in either mathematics or English?

Hint 1 (click to Show/Hide)

Imagine selecting a student at random, that is, in such a way that every student has the same chance of being selected. Let M denote the event “the student needs help in mathematics” and let E denote the event “the student needs help in English.” Now write out all the given information into probability values using the probability notation.

  • 63% need help in mathematics: P(M)=0.63
  • 34% need help in English: P(E)=0.34
  • 27% need help in both mathematics and English: P(M and E)=0.27

Next write out the question in probability notation and see if there is something you can use to solve.

Answer (click to Show/Hide)

The given question is asking for P(M or E). With the given information (below) use the additive rule to find a solution.

  • 63% need help in mathematics: P(M)=0.63
  • 34% need help in English: P(E)=0.34
  • 27% need help in both mathematics and English: P(M and E)=0.27

Now use the Additive Rule for Probability

P(M or E)=P(M)+P(E)P(M and E)P(M or E)=0.63+0.340.27P(M or E)=0.70

The probability that a randomly selected student is selected and they need help in either math or english was found to be 0.70. We could also say 70% of the students need help in either math or english.

Note how the reasoning that if 63% need help in mathematics and 34% need help in English then 63 plus 34 or 97% need help in one or the other gives a number that is too large. The percentage that need help in both subjects must be subtracted off, else the people needing help in both are counted twice, once for needing help in mathematics and once again for needing help in English. The simple sum of the probabilities would work if the events in question were mutually exclusive, for then P(AB) is zero, and makes no difference.

We will finish this section with an example that shows data given to us in a two-way classification table.

Example 9

Volunteers for a disaster relief effort were classified according to both specialty (C: construction, E: education, M: medicine) and language ability (S: speaks a single language fluently, T: speaks two or more languages fluently). The results are shown in the following two-way classification table:
Specialty Language Ability
S T
C 12 1
E 4 3
M 6 2

The first row of numbers means that 12 volunteers whose specialty is construction speak a single language fluently, and 1 volunteer whose specialty is construction speaks at least two languages fluently. Similarly for the other two rows.

A volunteer is selected at random, meaning that each one has an equal chance of being chosen. Find the probability that:

  1. their specialty is medicine and they speak two or more languages;
  2. either their specialty is medicine or they speak two or more languages;
  3. their specialty is something other than medicine.

Solution

When information is presented in a two-way classification table it is typically convenient to adjoin to the table the row and column totals, to produce a new table like this:

Specialty Language Ability Total
S T
C 12 1 13
E 4 3 7
M 6 2 8
Total 22 6 28
  1. The probability sought is P(MT). The table shows that there are 2 such people, out of 28 in all, hence P(MT)=2280.07 or about a 7% chance.
  2. The probability sought is P(MT). The third row total and the grand total in the sample give P(M)=228. The second column total and the grand total give P(T)=628.

    P(MT)=P(M)+P(T)P(MT)P(MT)=828+628228P(MT)=1228P(MT)0.43
    Thus using the result from part (a) is about a 43% chance.

  3. This probability can be computed in two ways. Since the event of interest can be viewed as the event CEand the events C and E are mutually exclusive, the answer is, using the first two row totals,

    P(CE)=P(C)+P(E)P(CE)P(CE)=1328+728028P(CE)=2028P(CE)0.71

    On the other hand, the event of interest can be thought of as the complement MC of M, hence using the value of P(M) computed in part (b),

    P(MC)=1P(M)P(MC)=1828P(MC)=2028P(MC)0.71which gives us the same value as before.

Exercises


  1. For the sample space S={a,b,c,d,e} identify the complement of each event given.
    1. A={a,d,e}
    2. B={b,c,d,e}
    3. S
    Answer (click to Show/Hide)
    1. AC={b,c}
    2. BC={a}
    3. SC=: This is called the empty set as the complement of the entire smaple space consists of no outcomes.
  2. For the sample space S={r,s,t,u,v} identify the complement of each event given.
    1. R={t,u}
    2. T={r}
    3. (the “empty” set that has no elements)
    Answer (click to Show/Hide)
    1. RC={r,s,v}
    2. TC={s,t,u,v}
    3. The complement would be the entire sample space S
  3. The sample space for three tosses of a coin is
    S={hhh,hht,hth,thh,htt,tht,tth,ttt}

    The events H and M are defined below.
    H : at least one head is observed
    M: more heads than tails are observed

    Complete the following

    1. List the outcomes that comprise H and all the outcomes that comprise M.
    2. List the outcomes that comprise HM, HM, and HC.
    3. Assuming all outcomes are equally likely, find P(HM), P(HM), and P(HC).
    4. Determine whether or not P(HC) and M are mutually exclusive. Explain why or why not.
    Answer (click to Show/Hide)
    1. H={hhh,hht,hth,thh,htt,tht,tth}, M={hhh,hht,hth,thh}
    2. HM={hhh,hht,hth,thh},

      HM={hhh,hht,hth,thh,htt,tht,tth}=H,

      HC={ttt}

    3. P(HM)=48,
      P(HM)=78,
      P(HC)=18
    4. Mutually exclusive because they have no elements in common.
  4. For the experiment of rolling a single six-sided die once the events T and G are defined below.
    T: the number rolled is three
    G: the number rolled is four or greater

    Complete the following

    1. List the outcomes that comprise T and G.
    2. List the outcomes that comprise TG, TG, TC, and (TG)C.
    3. Assuming all outcomes are equally likely, find P(TG), P(TG), P((TG)C), and P(TC).
    4. Determine whether or not T and G are mutually exclusive. Explain why or why not.
    Answer (click to Show/Hide)
    1. T={3} and G={4,5,6}
    2. The outcomes are:
      TG=TG={3,4,5,6}TC={1,2,4,5,6}(TG)C={1,2}
    3. The probabilities are:
      P(TG)=0P(TG)=46P(TC)=1P(T)=116=56P((TG)C)=1P(TG)=146=26
    4. They are mutually exclusive as they share not outcome in common. T consists of only the outcome of 3 and we do not find that in the set of outcomes for G.
  5. Confirm that the probabilities in the two-way contingency table add up to 1, then use it to find the probabilities of the events indicated.
    U V W
    A 0.15 0.00 0.23
    B 0.22 0.30 0.10
    1. P(A), P(B), P(AB).
    2. P(U), P(W), P(UW).
    3. P(UW).
    4. P(VC).
    5. Determine whether or not the events A and U are mutually exclusive; the events A and V.
    Answer (click to Show/Hide)
    1. P(A)=0.38, P(B)=0.62, P(AB)=0
    2. P(U)=0.37, P(W)=0.33, P(UW)=0
    3. The probability is:
      P(UW)=P(U)+P(W)P(UW)P(UW)=0.37+0.33+0P(UW)=0.70
    4. P(VC)=1P(V)=10.30=0.70, take note how the complement of V is all of U or W.
    5. P(AU)=0.150, so A and U are not mutually exclusive.

      P(AV)=0, A and V are mutually exclusive.

  6. Make a statement in ordinary English that describes the complement of each event (do not simply insert the word “not”).
    1. In the roll of a die: “five or more.”
    2. In a roll of a die: “an even number.”
    3. In two tosses of a coin: “at least one heads.”
    4. In the random selection of a college student: “Not a freshman.”
    Answer (click to Show/Hide)
    1. Roll a four or less.
    2. Roll an odd number.
    3. No heads
    4. Select a freshman
  7. A tourist who speaks English and German but no other language visits a region of Slovenia. If 35% of the residents speak English, 15% speak German, and 3% speak both English and German, what is the probability that the tourist will be able to talk with a randomly encountered resident of the region?
    Answer (click to Show/Hide)

    The randomly chosen resident must speak English or German (or both).

    P(EG)=P(E)+P(G)P(EG)P(EG)=0.35+0.150.03P(EG)=0.47

  8. The table relates the response to a fund-raising appeal by a college to its alumni to the number of years since graduation.
    Response Years Since Graduation
    0–5 6–20 21–35 Over 35
    Responded 120 440 210 90
    No Response 1380 3560 3290 910

    An alumnus is selected at random. Adjoin the row and column totals to the table and use the expanded table to find the probability of each of the following events.

    1. The alumnus responded.
    2. The alumnus did not respond.
    3. The alumnus graduated at least 21 years ago.
    4. The alumnus graduated at least 21 years ago and responded.
    Answer (click to Show/Hide)
    1. P(R)=120+440+210+90120+440+210+90+1380+3560+3290+910=86010000
    2. P(RC)=1P(R)=186010000=914010000
    3. P(at least 21 years)=210+90+3290+91010000=450010000
    4. P(at least 21 yearsR)=210+9010000=30010000
  9. Compute the probability of rolling a fair 12-sided die (numbered 1 to 12) and getting a number other than 8.
    Answer (click to Show/Hide)

    P(not 8)=1P(roll a 8)=1112=1112

  10. Referring to the grade table below, what is the probability that a student chosen at random did NOT earn a C?
    A B C Total
    Male 8 18 13 39
    Female 10 4 12 26
    Total 18 22 25 65
    Answer (click to Show/Hide)

    P(Not a C)=1P(C)=12565=4065

  11. Referring to the credit card table below, what is the probability that a person chosen at random has at least one credit card? Answer the question with and without using the complement rule.
    Zero One Two or more Total
    Male 9 5 19 33
    Female 18 10 20 48
    Total 27 15 39 81
    Answer (click to Show/Hide)

    Without Complement Rule:

    P(at least 1 CC)=15+3981=5481With Complement Rule:

    P(at least 1 CC)=1P(No CC)=12781=5481

  12. A fair die is rolled twice. Find the follow probabilities:
    1. Showing a 5 on the first roll and an even number on the second roll?
    2. Showing a 5 on the first roll or an even number on the second roll?
    Answer (click to Show/Hide)

    Let F1 be the event of an even on the first roll and E2 be the event of even on second roll

    1. P(F1 and E2)=336
    2. Use the additive rule:
      P(F1 or E2)=P(F1)+P(E2)P(F1and E2)P(F1 or E2)=636+1836336P(F1 or E2)=2136
  13. Suppose that P(E)=0.4,P(F)=0.5. From the limited information, find a maximum and minimum value for P(E or F). Make sure to explain your answer for each case.
    Answer (click to Show/Hide)
    1. Maximum: 0.90. E and F are mutually exclusive.
    2. Minimum: 0.50. All outcomes in F are also in E.
  14. Suppose that P(E)=0.4,P(F)=0.5. From the limited information, find a maximum and minimum value for P(E and F). Make sure to explain your answer for each case.
    Answer (click to Show/Hide)
    1. Maximum: 0.40. All outcomes in F are also in E, but largest intersection can be is F.
    2. Minimum: 0. F and E are mutually exclusive.
  15. The probability that you get a raise is 0.68, the probability that you get your own office is 0.41, and the probability that you get a raise and your own office is 0.24. Answer the following:
    1. What is the probability you get a raise or your own office?
    2. What is the probability you do not get your own office?
    Answer (click to Show/Hide)

    Let R be the event you get a raise and O be the event you get your own office.

    1. Use the additive rule.
      P(R or O)=P(R)+P(O)P(R and O)P(R or O)=0.68+0.410.24P(R or O)=0.85
    2. P(OC)=1P(O)=10.41=0.59

Attributions

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Topics in Mathematics Copyright © by Robert Foth is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book