#set document(title: "4.2 Theoretical Probability", author: "Kathryn Kozak") #set page(width: 8.5in, height: auto, margin: 1in) #import "@preview/cetz:0.5.2" #set text(font: ("STIX Two Text", "Libertinus Serif", "New Computer Modern"), size: 10.5pt, lang: "en") #show math.equation: set text(font: ("STIX Two Math", "New Computer Modern Math")) #set par(justify: true, leading: 0.62em, spacing: 0.9em) #set enum(spacing: 1.1em) // room between list items so tall inline fractions don't collide #set list(spacing: 1.1em) #set table(stroke: 0.5pt + rgb("#c7ccd3")) #let BLUE = rgb("#183B6F") // brand navy — section bars + example/solution labels (white on navy 11.09:1) #let ORANGE = rgb("#A94509") // brand primary-700 — AA-safe deep orange for TEXT (5.93:1 on white; raw brand #F37021 is 2.94:1 and must never carry text) #let RED = rgb("#DC2626") // brand error-600 #let GREEN = rgb("#059669") // brand success-600 (decoration only; small green text uses green-text #007942) #show heading.where(level: 1): it => block(width: 100%, above: 0pt, below: 16pt, fill: gradient.linear(BLUE, rgb("#2C5AA0")), inset: (x: 14pt, y: 12pt), radius: 3pt, text(fill: white, weight: "bold", size: 19pt, it.body)) #show heading.where(level: 2): it => block(width: 100%, above: 18pt, below: 10pt, fill: BLUE, inset: (x: 10pt, y: 6pt), radius: 2pt, text(fill: white, weight: "bold", size: 12pt, it.body)) #show heading.where(level: 3): it => text(fill: ORANGE, weight: "bold", size: 12.5pt, it.body) #show heading.where(level: 4): it => text(fill: BLUE, weight: "bold", size: 10.5pt, it.body) #let examplebox(label, title, body) = block(width: 100%, breakable: true, fill: rgb("#EFF1F5"), stroke: 0.5pt + rgb("#CFDDF0"), radius: 4pt, inset: 10pt, above: 12pt, below: 12pt)[ #block(below: 6pt)[#box(fill: BLUE, inset: (x: 6pt, y: 2pt), radius: 2pt, text(fill: white, weight: "bold", size: 8.5pt, label)) #h(0.4em) #strong[#title]] #body] // rail = decorative left rule (raw brand token); labelcolor = AA-safe label text shade #let notebox(label, rail, labelcolor, tint, body) = block(width: 100%, breakable: true, fill: tint, stroke: (left: 3pt + rail), inset: (left: 10pt, rest: 8pt), radius: (right: 4pt), above: 11pt, below: 11pt)[ #text(fill: labelcolor, weight: "bold", size: 7.5pt, tracking: 0.5pt)[#upper(label)] #linebreak() #body] #let solutionbox(body) = block(above: 4pt, below: 8pt)[ #text(fill: BLUE, weight: "bold", size: 8.5pt)[Solution] #linebreak() #body] #let figph(msg) = block(width: 100%, height: 60pt, fill: rgb("#f6f7f9"), stroke: (paint: rgb("#c7ccd3"), dash: "dashed"), radius: 4pt, inset: 10pt)[ #align(center + horizon, text(fill: rgb("#889"), style: "italic", size: 9pt, msg))] // Standardize inlined figure sizes: measure the natural CeTZ canvas, then scale to a // consistent envelope (aspect-aware; see build_typst.py FIG_* constants). Unlike the // print preamble, dimensions are FLOORED: in an editor a user can trim a figure to a // degenerate 1-D shape (a bare line), and w/h or tw/w would then divide by zero. #let _STD_W = 3.5 #let _WIDE_W = 5.6 #let _MAX_H = 3.4 #let _ASPECT_WIDE = 2.2 #let _UPSCALE_MAX = 1.15 #let stdfig(body) = context { let m = measure(body) let w = calc.max(m.width / 1in, 0.01) let h = calc.max(m.height / 1in, 0.01) let tw = if w / h > _ASPECT_WIDE { _WIDE_W } else { _STD_W } let s = calc.min(tw / w, _MAX_H / h, _UPSCALE_MAX) align(center, box(scale(x: s * 100%, y: s * 100%, reflow: true, body))) } #show figure: set block(breakable: false) #set figure(gap: 8pt) #show figure.caption: set text(size: 8.5pt, fill: rgb("#555")) == 4.2#h(0.6em)Theoretical Probability It is not always feasible to conduct an experiment over and over again, so it would be better to be able to find the probabilities without conducting the experiment. These probabilities are called #strong[Theoretical Probabilities]. To be able to do theoretical probabilities, there is an assumption that you need to consider. It is that all of the outcomes in the sample space need to be #strong[equally likely outcomes]. This means that every outcome of the experiment needs to have the same chance of happening. #examplebox("Example 1")[Equally likely outcomes][ Which of the following experiments have equally likely outcomes? + Rolling a fair die. + Flip a coin that is weighted so one side comes up more often than the other. + Pull a ball out of a can containing 6 red balls and 8 green balls. All balls are the same size. + Picking a card from a deck. + Rolling a die to see if it is fair. #solutionbox[ + Since the die is fair, every side of the die has the same chance of coming up. The outcomes are the different sides, so each outcome is equally likely. + Since the coin is weighted, one side is more likely to come up than the other side. The outcomes are the different sides, so each outcome is not equally likely. + Since each ball is the same size, then each ball has the same chance of being chosen. The outcomes of this experiment are the individual balls, so each outcome is equally likely. Don’t assume that because the chances of pulling a red ball are less than pulling a green ball that the outcomes are not equally likely. The outcomes are the individual balls and they are equally likely. + If you assume that the deck is fair, then each card has the same chance of being chosen. Thus the outcomes are equally likely outcomes. You do have to make this assumption. For many of the experiments you will do, you do have to make this kind of assumption. + In this case you are not sure the die is fair. The only way to determine if it is fair is to actually conduct the experiment, since you don’t know if the outcomes are equally likely. If the experimental probabilities are fairly close to the theoretical probabilities, then the die is fair. ] ] If the outcomes are not equally likely, then you must do experimental probabilities. If the outcomes are equally likely, then you can do theoretical probabilities. #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ #emph[Theoretical Probabilities] If the outcomes of an experiment are equally likely, then the probability of event A happening is #math.equation(block: true, alt: "P open parenthesis A close parenthesis equals the fraction # of outcomes in event space over # of outcomes in sample space")[$P ( A ) = frac(\# " of outcomes in event space ", \# " of outcomes in sample space ")$] ] #examplebox("Example 2")[calculating theoretical probabilities][ Suppose you conduct an experiment where you flip a fair coin twice. + What is the sample space? + What is the probability of getting exactly one head? + What is the probability of getting at least one head? + What is the probability of getting a head and a tail? + What is the probability of getting a head or a tail? + What is the probability of getting a foot? + What is the probability of each outcome? What is the sum of these probabilities? #solutionbox[ a. There are several different sample spaces you can do. One is SS={0, 1, 2} where you are counting the number of heads. However, the outcomes are not equally likely since you can get one head by getting a head on the first flip and a tail on the second or a tail on the first flip and a head on the second. There are 2 ways to get that outcome and only one way to get the other outcomes. Instead it might be better to give the sample space as listing what can happen on each flip. Let H = head and T = tail, and list which can happen on each flip. SS={HH, HT, TH, TT} b. Let A = getting exactly one head. The event space is A = {HT, TH}. So #math.equation(block: true, alt: "P open parenthesis A close parenthesis equals the fraction 2 over 4 or the fraction 1 over 2")[$P ( A ) = frac(2, 4) " or " frac(1, 2)$] It may not be advantageous to reduce the fractions to lowest terms, since it is easier to compare fractions if they have the same denominator. c. Let B = getting at least one head. At least one head means get one or more. The event space is B = {HT, TH, HH} and #math.equation(block: true, alt: "P open parenthesis B close parenthesis equals the fraction 3 over 4")[$P ( B ) = frac(3, 4)$] Since P(B) is greater than the P(A), then event B is more likely to happen than event A. d. Let C = getting a head and a tail = {HT, TH} and #math.equation(block: true, alt: "P open parenthesis C close parenthesis equals the fraction 2 over 4")[$P ( C ) = frac(2, 4)$] This is the same event space as event A, but it is a different event. Sometimes two different events can give the same event space. e. Let D = getting a head or a tail. Since or means one or the other or both and it doesn’t specify the number of heads or tails, then D = {HH, HT, TH, TT} and #math.equation(block: true, alt: "P open parenthesis D close parenthesis equals the fraction 4 over 4 equals 1")[$P ( D ) = frac(4, 4) = 1$] f. Let E = getting a foot. Since you can’t get a foot, E = {} or the empty set and #math.equation(block: true, alt: "P open parenthesis E close parenthesis equals the fraction 0 over 4 equals 0")[$P ( E ) = frac(0, 4) = 0$] g. #math.equation(block: false, alt: "P open parenthesis H H close parenthesis equals P open parenthesis H T close parenthesis equals P open parenthesis T H close parenthesis equals P open parenthesis T T close parenthesis equals the fraction 1 over 4")[$P ( H H ) = P ( H T ) = P ( T H ) = P ( T T ) = frac(1, 4)$]. If you add all of these probabilities together you get 1. ] ] This example had some results in it that are important concepts. They are summarized below: === Probability Properties + #math.equation(block: false, alt: "0 less than or equal to P open parenthesis event close parenthesis less than or equal to 1")[$0 ≤ P ( " event " ) ≤ 1$] + If the P(event)=1, then it will happen and is called the certain event. + If the P(event)=0, then it cannot happen and is called the impossible event. + #math.equation(block: false, alt: "∑ P open parenthesis outcome close parenthesis equals 1")[$∑ P ( " outcome " ) = 1$] #examplebox("Example 3")[calculating theoretical probabilities][ Suppose you conduct an experiment where you pull a card from a standard deck. + What is the sample space? + What is the probability of getting a Spade? + What is the probability of getting a Jack? + What is the probability of getting an Ace? + What is the probability of not getting an Ace? + What is the probability of getting a Spade and an Ace? + What is the probability of getting a Spade or an Ace? + What is the probability of getting a Jack and an Ace? + What is the probability of getting a Jack or an Ace? #solutionbox[ a. SS = {2S, 3S, 4S, 5S, 6S, 7S, 8S, 9S, 10S, JS, QS, KS, AS, 2C, 3C, 4C, 5C, 6C, 7C, 8C, 9C, 10C, JC, QC, KC, AC, 2D, 3D, 4D, 5D, 6D, 7D, 8D, 9D, 10D, JD, QD, KD, AD, 2H, 3H, 4H, 5H, 6H, 7H, 8H, 9H, 10H, JH, QH, KH, AH} b. Let A = getting a spade = {2S, 3S, 4S, 5S, 6S, 7S, 8S, 9S, 10S, JS, QS, KS, AS} so #math.equation(block: true, alt: "P open parenthesis A close parenthesis equals the fraction 13 over 52")[$P ( A ) = frac(13, 52)$] c. Let B = getting a Jack = {JS, JC, JH, JD} so #math.equation(block: true, alt: "P open parenthesis B close parenthesis equals the fraction 4 over 52")[$P ( B ) = frac(4, 52)$] d. Let C = getting an Ace = {AS, AC, AH, AD} so #math.equation(block: true, alt: "P open parenthesis C close parenthesis equals the fraction 4 over 52")[$P ( C ) = frac(4, 52)$] e. Let D = not getting an Ace = {2S, 3S, 4S, 5S, 6S, 7S, 8S, 9S, 10S, JS, QS, KS, 2C, 3C, 4C, 5C, 6C, 7C, 8C, 9C, 10C, JC, QC, KC, 2D, 3D, 4D, 5D, 6D, 7D, 8D, 9D, 10D, JD, QD, KD, 2H, 3H, 4H, 5H, 6H, 7H, 8H, 9H, 10H, JH, QH, KH} so #math.equation(block: true, alt: "P open parenthesis D close parenthesis equals the fraction 48 over 52")[$P ( D ) = frac(48, 52)$] Notice, #math.equation(block: false, alt: "P open parenthesis D close parenthesis plus P open parenthesis C close parenthesis equals the fraction 48 over 52 plus the fraction 4 over 52 equals 1")[$P ( D ) + P ( C ) = frac(48, 52) + frac(4, 52) = 1$], so you could have found the probability of D by doing 1 minus the probability of C #math.equation(block: false, alt: "P open parenthesis D close parenthesis equals 1 minus P open parenthesis C close parenthesis equals 1 minus the fraction 4 over 52 equals the fraction 48 over 52")[$P ( D ) = 1 − P ( C ) = 1 − frac(4, 52) = frac(48, 52)$]. f. Let E = getting a Spade and an Ace = {AS} so #math.equation(block: true, alt: "P open parenthesis E close parenthesis equals the fraction 1 over 52")[$P ( E ) = frac(1, 52)$] g. Let F = getting a Spade and an Ace ={2S, 3S, 4S, 5S, 6S, 7S, 8S, 9S, 10S, JS, QS, KS, AS, AC, AD, AH} so #math.equation(block: true, alt: "P open parenthesis F close parenthesis equals the fraction 16 over 52")[$P ( F ) = frac(16, 52)$] h. Let G = getting a Jack and an Ace = { } since you can’t do that with one card. So #math.equation(block: true, alt: "P open parenthesis G close parenthesis equals 0")[$P ( G ) = 0$] i. Let H = getting a Jack or an Ace = {JS, JC, JD, JH, AS, AC, AD, AH} so #math.equation(block: true, alt: "P open parenthesis H close parenthesis equals the fraction 8 over 52")[$P ( H ) = frac(8, 52)$] ] ] #examplebox("Example 4")[calculating theoretical probabilities][ Suppose you have an iPod Shuffle with the following songs on it: 5 Rolling Stones songs, 7 Beatles songs, 9 Bob Dylan songs, 4 Faith Hill songs, 2 Taylor Swift songs, 7 U2 songs, 4 Mariah Carey songs, 7 Bob Marley songs, 6 Bunny Wailer songs, 7 Elton John songs, 5 Led Zeppelin songs, and 4 Dave Mathews Band songs. The different genre that you have are rock from the 60s which includes Rolling Stones, Beatles, and Bob Dylan; country includes Faith Hill and Taylor Swift; rock of the 90s includes U2 and Mariah Carey; Reggae includes Bob Marley and Bunny Wailer; rock of the 70s includes Elton John and Led Zeppelin; and bluegrasss/rock includes Dave Mathews Band. The way an iPod Shuffle works, is it randomly picks the next song so you have no idea what the next song will be. Now you would like to calculate the probability that you will hear the type of music or the artist that you are interested in. The sample set is too difficult to write out, but you can figure it from looking at the number in each set and the total number. The total number of songs you have is 67. + What is the probability that you will hear a Faith Hill song? + What is the probability that you will hear a Bunny Wailer song? + What is the probability that you will hear a song from the 60s? + What is the probability that you will hear a Reggae song? + What is the probability that you will hear a song from the 90s or a bluegrass/rock song? + What is the probability that you will hear an Elton John or a Taylor Swift song? + What is the probability that you will hear a country song or a U2 song? #solutionbox[ a. There are 4 Faith Hill songs out of the 67 songs, so #math.equation(block: true, alt: "P open parenthesis Faith Hill song close parenthesis equals the fraction 4 over 67")[$P ( " Faith Hill song " ) = frac(4, 67)$] b. There are 6 Bunny Wailer songs, so #math.equation(block: true, alt: "P open parenthesis Bunny Wailer close parenthesis equals the fraction 6 over 67")[$P ( " Bunny Wailer " ) = frac(6, 67)$] c. There are 5, 7, and 9 songs that are classified as rock from the 60s, which is 21 total, so #math.equation(block: true, alt: "P open parenthesis rock from the 60 s close parenthesis equals the fraction 21 over 67")[$P ( " rock from the " 60 s ) = frac(21, 67)$] d. There are 6 and 7 songs that are classified as Reggae, which is 13 total, so #math.equation(block: true, alt: "P open parenthesis Reggae close parenthesis equals the fraction 13 over 67")[$P ( " Reggae " ) = frac(13, 67)$] e. There are 7 and 4 songs that are songs from the 90s and 4 songs that are bluegrass/rock, for a total of 15, so #math.equation(block: true, alt: "P open parenthesis rock from the 90 s or bluegrass/rock close parenthesis equals the fraction 15 over 67")[$P ( " rock from the " 90 " s or bluegrass/rock " ) = frac(15, 67)$] f. There are 7 Elton John songs and 2 Taylor Swift songs, for a total of 9, so #math.equation(block: true, alt: "P open parenthesis Elton John or Taylor Swift song close parenthesis equals the fraction 9 over 67")[$P ( " Elton John or Taylor Swift song " ) = frac(9, 67)$] g. There are 6 country songs and 7 U2 songs, for a total of 13, so #math.equation(block: true, alt: "P open parenthesis country or U 2 song close parenthesis equals the fraction 13 over 67")[$P ( " country or " U 2 " song " ) = frac(13, 67)$] Of course you can do any other combinations you would like. ] ] Notice in Example #math.equation(block: false, alt: "3")[$3$] part e, it was mentioned that the probability of event D plus the probability of event C was 1. This is because these two events have no outcomes in common, and together they make up the entire sample space. Events that have this property are called #strong[complementary events]. #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ #emph[complementary events] If two events are #strong[complementary events] then to find the probability of one just subtract the probability of the other from one. Notation used for complement of A is not A or #math.equation(block: false, alt: "A to the power c")[$A^(c)$]. #math.equation(block: true, alt: "P open parenthesis A close parenthesis plus P open parenthesis A to the power c close parenthesis equals 1 , or P open parenthesis A close parenthesis equals 1 minus P open parenthesis A to the power c close parenthesis")[$P ( A ) + P ( A^(c) ) = 1 , " or " P ( A ) = 1 − P ( A^(c) )$] ] #examplebox("Example 5")[complementary events][ + Suppose you know that the probability of it raining today is 0.45. What is the probability of it not raining? + Suppose you know the probability of not getting the flu is 0.24. What is the probability of getting the flu? + In an experiment of picking a card from a deck, what is the probability of not getting a card that is a Queen? #solutionbox[ a. Since not raining is the complement of raining, then #math.equation(block: true, alt: "P open parenthesis not raining close parenthesis equals 1 minus P open parenthesis raining close parenthesis equals 1 minus 0.45 equals 0.55")[$P ( " not raining " ) = 1 − P ( " raining " ) = 1 − 0.45 = 0.55$] b. Since getting the flu is the complement of not getting the flu, then #math.equation(block: true, alt: "P open parenthesis getting the flu close parenthesis equals 1 minus P open parenthesis not getting the flu close parenthesis equals 1 minus 0.24 equals 0.76")[$P ( " getting the flu " ) = 1 − P ( " not getting the flu " ) = 1 − 0.24 = 0.76$] c. You could do this problem by listing all the ways to not get a queen, but that set is fairly large. One advantage of the complement is that it reduces the workload. You use the complement in many situations to make the work shorter and easier. In this case it is easier to list all the ways to get a Queen, find the probability of the Queen, and then subtract from one. Queen = {QS, QC, QD, QH} so #math.equation(block: false, alt: "P open parenthesis Queen close parenthesis equals the fraction 4 over 52")[$P ( " Queen " ) = frac(4, 52)$] and #math.equation(block: true, alt: "P open parenthesis not Queen close parenthesis equals 1 minus P open parenthesis Queen close parenthesis equals 1 minus the fraction 4 over 52 equals the fraction 48 over 52")[$P ( " not Queen " ) = 1 − P ( " Queen " ) = 1 − frac(4, 52) = frac(48, 52)$] ] ] The complement is useful when you are trying to find the probability of an event that involves the words at least or an event that involves the words at most. As an example of an at least event is suppose you want to find the probability of making at least \$50,000 when you graduate from college. That means you want the probability of your salary being greater than or equal to \$50,000. An example of an at most event is suppose you want to find the probability of rolling a die and getting at most a 4. That means that you want to get less than or equal to a 4 on the die. The reason to use the complement is that sometimes it is easier to find the probability of the complement and then subtract from 1. Example #math.equation(block: false, alt: "6")[$6$] demonstrates how to do this. #examplebox("Example 6")[using the complement to find probabilities][ + In an experiment of rolling a fair die one time, find the probability of rolling at most a 4 on the die. + In an experiment of pulling a card from a fair deck, find the probability of pulling at least a 5 (ace is a high card in this example). #solutionbox[ a. The sample space for this experiment is {1, 2, 3, 4, 5, 6}. You want the event of getting at most a 4, which is the same as thinking of getting 4 or less. The event space is {1, 2, 3, 4}. The probability is #math.equation(block: true, alt: "P open parenthesis at most 4 close parenthesis equals the fraction 4 over 6")[$P ( " at most " 4 ) = frac(4, 6)$] Or you could have used the complement. The complement of rolling at most a 4 would be rolling number bigger than 4. The event space for the complement is {5, 6}. The probability of the complement is #math.equation(block: false, alt: "the fraction 2 over 6")[$frac(2, 6)$]. The probability of at most 4 would be #math.equation(block: true, alt: "P open parenthesis at most 4 close parenthesis equals 1 minus P open parenthesis more than 4 close parenthesis equals 1 minus the fraction 2 over 6 equals the fraction 4 over 6")[$P ( " at most " 4 ) = 1 − P ( " more than " 4 ) = 1 − frac(2, 6) = frac(4, 6)$] Notice you have the same answer, but the event space was easier to write out. On this example it probability wasn’t that useful, but in the future there will be events where it is much easier to use the complement. b. The sample space for this experiment is SS = {2S, 3S, 4S, 5S, 6S, 7S, 8S, 9S, 10S, JS, QS, KS, AS, 2C, 3C, 4C, 5C, 6C, 7C, 8C, 9C, 10C, JC, QC, KC, AC, 2D, 3D, 4D, 5D, 6D, 7D, 8D, 9D, 10D, JD, QD, KD, AD, 2H, 3H, 4H, 5H, 6H, 7H, 8H, 9H, 10H, JH, QH, KH, AH} Pulling a card that is at least a 5 would involve listing all of the cards that are a 5 or more. It would be much easier to list the outcomes that make up the complement. The complement of at least a 5 is less than a 5. That would be the event of 4 or less. The event space for the complement would be {2S, 3S, 4S, 2C, 3C, 4C, 2D, 3D, 4D, 2H, 3H, 4H}. The probability of the complement would be #math.equation(block: false, alt: "the fraction 12 over 52")[$frac(12, 52)$]. The probability of at least a 5 would be #math.equation(block: true, alt: "P open parenthesis at least 𝐚 5 close parenthesis equals 1 minus P open parenthesis 4 or less close parenthesis equals 1 minus the fraction 12 over 52 equals the fraction 40 over 52")[$P ( " at least " 𝐚 5 ) = 1 − P ( 4 " or less " ) = 1 − frac(12, 52) = frac(40, 52)$] ] ] Another concept was show in Example #math.equation(block: false, alt: "3")[$3$] parts g and i. The problems were looking for the probability of one event or another. In part g, it was looking for the probability of getting a Spade or an Ace. That was equal to #math.equation(block: false, alt: "the fraction 16 over 52")[$frac(16, 52)$]. In part i, it was looking for the probability of getting a Jack or an Ace. That was equal to #math.equation(block: false, alt: "the fraction 8 over 52")[$frac(8, 52)$]. If you look back at the parts b, c, and d, you might notice the following result: #math.equation(block: true, alt: "P open parenthesis Jack close parenthesis plus P open parenthesis Ace close parenthesis equals P open parenthesis Jack or Ace close parenthesis but P open parenthesis Spade close parenthesis plus P open parenthesis Ace close parenthesis not equal to P open parenthesis Spade or Ace close parenthesis")[$P ( " Jack " ) + P ( " Ace " ) = P ( " Jack or Ace " ) " but " P ( " Spade " ) + P ( " Ace " ) ≠ P ( " Spade or " " Ace " )$] Why does adding two individual probabilities together work in one situation to give the probability of one or another event and not give the correct probability in the other? The reason this is true in the case of the Jack and the Ace is that these two events cannot happen together. There is no overlap between the two events, and in fact the #math.equation(block: false, alt: "P open parenthesis Jack and A c c close parenthesis equals 0")[$P ( " Jack and " upright(A) upright(c) upright(c) ) = 0$]. However, in the case of the Spade and Ace, they can happen together. There is overlap, mainly the ace of spades. The #math.equation(block: false, alt: "P open parenthesis Spade and A c e close parenthesis not equal to 0")[$P ( " Spade and " upright(A) upright(c) upright(e) ) ≠ 0$]. When two events cannot happen at the same time, they are called #strong[mutually exclusive]. In the above situation, the events Jack and Ace are mutually exclusive, while the events Spade and Ace are not mutually exclusive. === Addition Rules: If two events A and B are mutually exclusive, then #math.equation(block: true, alt: "P open parenthesis A or B close parenthesis equals P open parenthesis A close parenthesis plus P open parenthesis B close parenthesis and P open parenthesis A and B close parenthesis equals 0")[$P ( A " or " B ) = P ( A ) + P ( B ) " and " P ( A " and " B ) = 0$] If two events A and B are not mutually exclusive, then #math.equation(block: true, alt: "P open parenthesis A or B close parenthesis equals P open parenthesis A close parenthesis plus P open parenthesis B close parenthesis minus P open parenthesis A and B close parenthesis")[$P ( A " or " B ) = P ( A ) + P ( B ) − P ( A " and " B )$] #examplebox("Example 7")[using addition rules][ Suppose your experiment is to roll two fair dice. + What is the sample space? + What is the probability of getting a sum of 5? + What is the probability of getting the first die a 2? + What is the probability of getting a sum of 7? + What is the probability of getting a sum of 5 and the first die a 2? + What is the probability of getting a sum of 5 or the first die a 2? + What is the probability of getting a sum of 5 and sum of 7? + What is the probability of getting a sum of 5 or sum of 7? #solutionbox[ a. As with the other examples you need to come up with a sample space that has equally likely outcomes. One sample space is to list the sums possible on each roll. That sample space would look like: SS = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}. However, there are more ways to get a sum of 7 then there are to get a sum of 2, so these outcomes are not equally likely. Another thought is to list the possibilities on each roll. As an example you could roll the dice and on the first die you could get a 1. The other die could be any number between 1 and 6, but say it is a 1 also. Then this outcome would look like (1,1). Similarly, you could get (1, 2), (1, 3), (1,4), (1, 5), or (1, 6). Also, you could get a 2, 3, 4, 5, or 6 on the first die instead. Putting this all together, you get the sample space: #math.equation(block: true, alt: "S S equals { open parenthesis 1 , 1 close parenthesis , open parenthesis 1 , 2 close parenthesis , open parenthesis 1 , 3 close parenthesis , open parenthesis 1 , 4 close parenthesis , open parenthesis 1 , 5 close parenthesis , open parenthesis 1 , 6 close parenthesis; open parenthesis 2 , 1 close parenthesis , open parenthesis 2 , 2 close parenthesis , open parenthesis 2 , 3 close parenthesis , open parenthesis 2 , 4 close parenthesis , open parenthesis 2 , 5 close parenthesis , open parenthesis 2 , 6 close parenthesis; open parenthesis 3 , 1 close parenthesis , open parenthesis 3 , 2 close parenthesis , open parenthesis 3 , 3 close parenthesis , open parenthesis 3 , 4 close parenthesis , open parenthesis 3 , 5 close parenthesis , open parenthesis 3 , 6 close parenthesis; open parenthesis")[$upright(S) upright(S) = \{ ( 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 ) \}$] Notice that a (2,3) is different from a (3,2), since the order that you roll the die is important and you can tell the difference between these two outcomes. You don’t need any of the doubles twice, since these are not distinguishable from each other in either order. This will always be the sample space for rolling two dice. b. Let A = getting a sum of 5 = {(4,1), (3,2), (2,3), (1,4)} so #math.equation(block: true, alt: "P open parenthesis A close parenthesis equals the fraction 4 over 36")[$P ( A ) = frac(4, 36)$] c. Let B = getting first die a 2 = {(2,1), (2,2), (2,3), (2,4), (2,5), (2,6)} so #math.equation(block: true, alt: "P open parenthesis B close parenthesis equals the fraction 6 over 36")[$P ( B ) = frac(6, 36)$] d. Let C = getting a sum of 7 = {(6,1), (5,2), (4,3), (3,4), (2,5), (1,6)} so #math.equation(block: true, alt: "P open parenthesis C close parenthesis equals the fraction 6 over 36")[$P ( C ) = frac(6, 36)$] e. This is events A and B which contains the outcome {(2,3)} so #math.equation(block: true, alt: "P open parenthesis A and B close parenthesis equals the fraction 1 over 36")[$P ( A " and " B ) = frac(1, 36)$] f. Notice from part e, that these two events are not mutually exclusive, so #math.equation(block: true, alt: "P open parenthesis A or B close parenthesis equals P open parenthesis A close parenthesis plus P open parenthesis B close parenthesis minus P open parenthesis A and B close parenthesis")[$P ( A " or " B ) = P ( A ) + P ( B ) − P ( A " and " B )$] #math.equation(block: true, alt: "equals the fraction 4 over 36 plus the fraction 6 over 36 minus the fraction 1 over 36")[$= frac(4, 36) + frac(6, 36) − frac(1, 36)$] #math.equation(block: true, alt: "equals the fraction 9 over 36")[$= frac(9, 36)$] g. These are the events A and C, which have no outcomes in common. Thus A and C = { } so #math.equation(block: true, alt: "P open parenthesis A and C close parenthesis equals 0")[$P ( A " and " C ) = 0$] h. From part g, these two events are mutually exclusive, so #math.equation(block: true, alt: "P open parenthesis A or C close parenthesis equals P open parenthesis A close parenthesis plus P open parenthesis C close parenthesis")[$P ( A " or " C ) = P ( A ) + P ( C )$] #math.equation(block: true, alt: "equals the fraction 4 over 36 plus the fraction 6 over 36")[$= frac(4, 36) + frac(6, 36)$] #math.equation(block: true, alt: "equals the fraction 10 over 36")[$= frac(10, 36)$] ] ] === Odds Many people like to talk about the odds of something happening or not happening. Mathematicians, statisticians, and scientists prefer to deal with probabilities since odds are difficult to work with, but gamblers prefer to work in odds for figuring out how much they are paid if they win. #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ The #strong[actual odds against] event #emph[A]occurring are the ratio #math.equation(block: false, alt: "P open parenthesis A to the power c close parenthesis / P open parenthesis A close parenthesis")[$P ( A^(c) ) / P ( A )$], usually expressed in the form #emph[a:b] or #emph[a] to #emph[b], where #emph[a] and #emph[b] are integers with no common factors. ] #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ The #strong[actual odds in favor] event #emph[A] occurring are the ratio #math.equation(block: false, alt: "P open parenthesis A close parenthesis / P open parenthesis A to the power c close parenthesis")[$P ( A ) / P ( A^(c) )$], which is the reciprocal of the odds against. If the odds against event #emph[A] are #emph[a:b], then the odds in favor event #emph[A] are #emph[b:a]. ] #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ The #strong[payoff odds] against event #emph[A] occurring are the ratio of the net profit (if you win) to the amount bet. payoff odds against event #emph[A] = (net profit) : (amount bet) ] #examplebox("Example 8")[odds against and payoff odds][ In the game of Craps, if a shooter has a come-out roll of a 7 or an 11, it is called a natural and the pass line wins. The payoff odds are given by a casino as 1:1. + Find the probability of a natural. + Find the actual odds for a natural. + Find the actual odds against a natural. + If the casino pays 1:1, how much profit does the casino make on a \$10 bet? #solutionbox[ a. A natural is a 7 or 11. The sample space is #math.equation(block: true, alt: "S S equals { open parenthesis 1 , 1 close parenthesis , open parenthesis 1 , 2 close parenthesis , open parenthesis 1 , 3 close parenthesis , open parenthesis 1 , 4 close parenthesis , open parenthesis 1 , 5 close parenthesis , open parenthesis 1 , 6 close parenthesis; open parenthesis 2 , 1 close parenthesis , open parenthesis 2 , 2 close parenthesis , open parenthesis 2 , 3 close parenthesis , open parenthesis 2 , 4 close parenthesis , open parenthesis 2 , 5 close parenthesis , open parenthesis 2 , 6 close parenthesis; open parenthesis 3 , 1 close parenthesis , open parenthesis 3 , 2 close parenthesis , open parenthesis 3 , 3 close parenthesis , open parenthesis 3 , 4 close parenthesis , open parenthesis 3 , 5 close parenthesis , open parenthesis 3 , 6 close parenthesis; open parenthesis")[$upright(S) upright(S) = \{ ( 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 ) \}$] The event space is {(1,6), (2,5), (3,4), (4,3), (5,2), (6,1), (5,6), (6,5)} So #math.equation(block: false, alt: "P open parenthesis 7 or 11 close parenthesis equals the fraction 8 over 36")[$P ( 7 " or " 11 ) = frac(8, 36)$] b. odd for a natural #math.equation(block: false, alt: "equals the fraction P open parenthesis 7 or 11 close parenthesis over P open parenthesis not 7 or 11 close parenthesis")[$= frac(P ( 7 " or " 11 ), P ( "not" 7 " or " 11 ))$] #math.equation(block: true, alt: "equals the fraction 8 / 36 over 1 minus 8 / 36")[$= frac(8 / 36, 1 − 8 / 36)$] #math.equation(block: true, alt: "equals the fraction 8 / 36 over 28 / 36")[$= frac(8 / 36, 28 / 36)$] #math.equation(block: true, alt: "equals the fraction 8 over 28")[$= frac(8, 28)$] #math.equation(block: true, alt: "equals the fraction 2 over 7")[$= frac(2, 7)$] c. odds against a natural #math.equation(block: false, alt: "equals the fraction P open parenthesis not 7 or 11 close parenthesis over P open parenthesis 7 or 11 close parenthesis equals the fraction 28 over 8 equals the fraction 7 over 2 equals the fraction 3.5 over 1")[$= frac(P ( " not " 7 " or " 11 ), P ( 7 " or " 11 )) = frac(28, 8) = frac(7, 2) = frac(3.5, 1)$] d. The actual odds are 3.5 to 1 while the payoff odds are 1 to 1. The casino pays you \$10 for your \$10 bet. If the casino paid you the actual odds, they would pay \$3.50 on every \$1 bet, and on \$10, they pay #math.equation(block: false, alt: "3.5 * $ 10 equals $ 35")[$3.5 * \$ 10 = \$ 35$]. Their profit is #math.equation(block: false, alt: "$ 35 minus $ 10 equals $ 25")[$\$ 35 − \$ 10 = \$ 25$]. ] ] === Homework #notebox("Your Turn", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ + Example #math.equation(block: false, alt: "1")[$1$] contains the number of M&M’s of each color that were found in a case (Madison, 2013). Table #math.equation(block: false, alt: "1")[$1$]#emph[: M&M Distribution] #linebreak() a. Find the probability of choosing a green or red M&M. #linebreak() b. Find the probability of choosing a blue, red, or yellow M&M. #linebreak() c. Find the probability of not choosing a brown M&M. #linebreak() d. Find the probability of not choosing a green M&M. #figure(table( columns: 7, align: left, inset: 6pt, table.header([Blue], [Brown], [Green], [Orange], [Red], [Yellow], [Total]), [481], [371], [483], [544], [372], [369], [2620], )) + Eyeglassomatic manufactures eyeglasses for different retailers. They test to see how many defective lenses they made in a time period. Example #math.equation(block: false, alt: "2")[$2$] gives the defect and the number of defects. Table #math.equation(block: false, alt: "2")[$2$]#emph[: Number of Defective Lenses] #linebreak() a. Find the probability of picking a lens that is scratched or flaked. #linebreak() b. Find the probability of picking a lens that is the wrong PD or was lost in lab. #linebreak() c. Find the probability of picking a lens that is not scratched. #linebreak() d. Find the probability of picking a lens that is not the wrong shape. #figure(table( columns: 2, align: left, inset: 6pt, table.header([Defect type], [Number of defects]), [Scratch], [5865], [Right shaped - small], [4613], [Flaked], [1992], [Wrong axis], [1838], [Chamfer wrong], [1596], [Crazing, cracks], [1546], [Wrong shape], [1485], [Wrong PD], [1398], [Spots and bubbles], [1371], [Wrong height], [1130], [Right shape - big], [1105], [Lost in lab], [976], [Spots/bubble], [976], )) + An experiment is to flip a fair coin three times. + State the sample space. + Find the probability of getting exactly two heads. Make sure you state the event space. + Find the probability of getting at least two heads. Make sure you state the event space. + Find the probability of getting an odd number of heads. Make sure you state the event space. + Find the probability of getting all heads or all tails. Make sure you state the event space. + Find the probability of getting exactly two heads or exactly two tails. + Find the probability of not getting an odd number of heads. + An experiment is rolling a fair die and then flipping a fair coin. + State the sample space. + Find the probability of getting a head. Make sure you state the event space. + Find the probability of getting a 6. Make sure you state the event space. + Find the probability of getting a 6 or a head. + Find the probability of getting a 3 and a tail. + An experiment is rolling two fair dice. + State the sample space. + Find the probability of getting a sum of 3. Make sure you state the event space. + Find the probability of getting the first die is a 4. Make sure you state the event space. + Find the probability of getting a sum of 8. Make sure you state the event space. + Find the probability of getting a sum of 3 or sum of 8. + Find the probability of getting a sum of 3 or the first die is a 4. + Find the probability of getting a sum of 8 or the first die is a 4. + Find the probability of not getting a sum of 8. + An experiment is pulling one card from a fair deck. + State the sample space. + Find the probability of getting a Ten. Make sure you state the event space. + Find the probability of getting a Diamond. Make sure you state the event space. + Find the probability of getting a Club. Make sure you state the event space. + Find the probability of getting a Diamond or a Club. + Find the probability of getting a Ten or a Diamond. + An experiment is pulling a ball from an urn that contains 3 blue balls and 5 red balls. + Find the probability of getting a red ball. + Find the probability of getting a blue ball. + Find the odds for getting a red ball. + Find the odds for getting a blue ball. + In the game of roulette, there is a wheel with spaces marked 0 through 36 and a space marked 00. + Find the probability of winning if you pick the number 7 and it comes up on the wheel. + Find the odds against winning if you pick the number 7. + The casino will pay you \$20 for every dollar you bet if your number comes up. How much profit is the casino making on the bet? Answer 1. a. P(green or red) = 0.326, b. P(blue, red, or yellow) = 0.466, c. P(not brown) = 0.858, d. P(not green) = 0.816 3. a. See solutions, b. P(2 heads) = 0.375, c. P(at least 2 heads) = 0.50, d. P(odd number of heads) = 0.50, e. P(all heads or all tails) = 0.25, f. P(two heads or two tails) = 0.75, g. P(no an odd number of heads) = 0.50 5. a. See solutions, b. P(sum of 3) = 0.056, c. P(1st die a 4) = 0.167, d. P(sum of 8) = 0.139, e. P(sum of 3 or sum of 8) = 0.194, f. P(sum of 3 or 1st die a 4) = 0.222, g. P(sum of 8 or 1st die a 4) = 0.278, h. P(not getting a sum of 8) = 0.861 7. a. P(red ball) = 0.625, b. P(blue ball) = 0.375, c. 5 to 3 d. 3 to 5 ]