#set document(title: "7.7 What Are the Odds?", author: "OpenStax / XYZ Homework") #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")) == 7.7#h(0.6em)What Are the Odds? #figure(figph[Three lottery tickets have been scratched off to reveal the ticket-holder's winnings.], alt: "Three lottery tickets have been scratched off to reveal the ticket-holder's winnings.", caption: [Scratch-off lottery tickets, as well as many other games, represent the likelihood of winning using odds.]) === Learning Objectives After completing this section, you should be able to: + Compute odds. + Determine odds from probabilities. + Determine probabilities from odds. A particular lottery instant-win game has 2 million tickets available. Of those, 500,000 win a prize. If there are 500,000 winners, then it follows that there are 1,500,000 losing tickets. When we evaluate the risk associated with a game like this, it can be useful to compare the number of ways to win the game to the number of ways to lose. In the case of this game, we would compare the 500,000 wins to the 1,500,000 losses. In other words, there are 3 losing tickets for every winning ticket. Comparisons of this type are the focus of this section. === Computing Odds The ratio of the number of equally likely outcomes in an event #math.equation(block: false, alt: "E")[$E$] to the number of equally likely outcomes #emph[not] in the event #math.equation(block: false, alt: "E ′")[$E ′$] is called the #strong[odds for] (or #strong[odds in favor] of) the event. The opposite ratio (the number of outcomes not in the event to the number in the event #math.equation(block: false, alt: "E ′")[$E ′$] to the number in the event #math.equation(block: false, alt: "E")[$E$] is called the #strong[odds against] the event. #notebox("Checkpoint", rgb("#059669"), rgb("#007942"), rgb("#EAF3EC"))[ #emph[Both odds and probabilities are calculated as ratios. To avoid confusion, we will always use fractions, decimals, or percents for probabilities, and we’ll use colons to indicate odds. The rules for simplifying fractions apply to odds, too. Thus, the odds for winning a prize in the game described in the section opener are] #math.equation(block: false, alt: "500,000 : 1,500,000 equals 1 : 3")[$500,000 : 1,500,000 = 1 : 3$] #emph[and the odds against winning a prize are] #math.equation(block: false, alt: "3 : 1")[$3 : 1$]. #emph[These would often be described in words as “the odds of winning are one to three in favor” or “the odds of winning are three to one against.”]. ] #notebox("Checkpoint", rgb("#059669"), rgb("#007942"), rgb("#EAF3EC"))[ #emph[Notice that, while probabilities must always be between zero and one inclusive, odds can be any (non-negative) number, as we’ll see in the next example.] ] #examplebox("Example 1")[Computing Odds][ + If you roll a fair 6-sided die, what are the odds for rolling a 5 or higher? + If you roll two fair 6-sided dice, what are the odds against rolling a sum of 7? + If you draw a card at random from a standard deck, what are the odds for drawing a #math.equation(block: false, alt: "♡")[$♡$]? + If you draw 2 cards at random from a standard deck, what are the odds against them both being #math.equation(block: false, alt: "♠")[$♠$]? #solutionbox[ + The sample space for this experiment is {1, 2, 3, 4, 5, 6}. Two of those outcomes are in the event “roll a five or higher,” while four are not. So, the odds for rolling a five or higher are #math.equation(block: false, alt: "2 : 4 equals 1 : 2")[$2 : 4 = 1 : 2$]. + In Example 3 in Section 7.5, we found the sample space for this experiment using the following table : #figure( stdfig([#table( columns: (auto,) * 7, align: center+horizon, inset: 5pt, stroke: 0.5pt + black, table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, colspan: 6, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[first die]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[second die]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[1]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[2]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[3]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[4]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[5]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[6]), table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[1]), [2], [3], [4], [5], [6], [7], table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[2]), [3], [4], [5], [6], [7], [8], table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[3]), [4], [5], [6], [7], [8], [9], table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[4]), [5], [6], [7], [8], [9], [10], table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[5]), [6], [7], [8], [9], [10], [11], table.cell(fill: rgb("#f0f0f0"), align: center+horizon, text(font: sys.inputs.at("title-font", default: "STIX Two Text"), weight: "bold", size: 9pt)[6]), [7], [8], [9], [10], [11], [12], )]), alt: "A table with 6 rows and 6 columns. The columns represent the first die and are titled, 1, 2, 3, 4, 5, and 6. The rows represent the second die and are titled, 1, 2, 3, 4, 5, and 6. The data is as follows: Row 1: 2, 3, 4, 5, 6, 7. Row 2: 3, 4, 5, 6, 7, 8. Row 3: 4, 5, 6, 7, 8, 9. Row 4: 5, 6, 7, 8, 9, 10. Row 5: 6, 7, 8, 9, 10, 11. Row 6: 7, 8, 9, 10, 11, 12.", caption: none, ) There are 6 outcomes in the event “roll a sum of 7,” and there are 30 outcomes not in the event. So, the odds against rolling a 7 are #math.equation(block: false, alt: "30 : 6 equals 5 : 1")[$30 : 6 = 5 : 1$]. + There are 13 #math.equation(block: false, alt: "♡")[$♡$] in a standard deck, and #math.equation(block: false, alt: "52 minus 13 equals 39")[$52 − 13 = 39$] others. So, the odds in favor of drawing a #math.equation(block: false, alt: "♡")[$♡$] are #math.equation(block: false, alt: "13 : 39 equals 1 : 3")[$13 : 39 = 1 : 3$]. + There are #math.equation(block: false, alt: "sub 13 C sub 2 equals 78")[$13 C_(2) = 78$] ways to draw 2 #math.equation(block: false, alt: "♠")[$♠$], and #math.equation(block: false, alt: "sub 52 C sub 2 minus 78 equals 1,248")[$52 C_(2) − 78 = 1,248$] ways to draw 2 cards that are #emph[not] both #math.equation(block: false, alt: "♠")[$♠$]. So, the odds against drawing 2 #math.equation(block: false, alt: "♠")[$♠$] are #math.equation(block: false, alt: "1,248 : 78 equals 16 : 1")[$1,248 : 78 = 16 : 1$]. ] ] === Odds as a Ratio of Probabilities We can also think of odds as a ratio of probabilities. Consider again the instant-win game from the section opener, with 500,000 winning tickets out of 2,000,000 total tickets. If a player buys one ticket, the probability of winning is #math.equation(block: false, alt: "the fraction 500 , 000 over 2 , 000 , 000 equals the fraction 1 over 4")[$frac(500 "," 000, 2 "," 000 "," 000) = frac(1, 4)$], and the probability of losing is #math.equation(block: false, alt: "1 minus the fraction 1 over 4 equals the fraction 3 over 4")[$1 − frac(1, 4) = frac(3, 4)$]. Notice that the ratio of the probability of winning to the probability of losing is #math.equation(block: false, alt: "the fraction 1 over 4 : the fraction 3 over 4 equals 1 : 3")[$frac(1, 4) : frac(3, 4) = 1 : 3$], which matches the odds in favor of winning. #notebox("Formula", rgb("#059669"), rgb("#007942"), rgb("#EAF3EC"))[ For an event #math.equation(block: false, alt: "E")[$E$], #math.equation(block: true, alt: "odds for E, equals, n open parenthesis E close parenthesis : n open parenthesis E prime close parenthesis equals P open parenthesis E close parenthesis : P open parenthesis E prime close parenthesis equals P open parenthesis E close parenthesis : open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis; odds against E, equals, n open parenthesis E prime close parenthesis : n open parenthesis E close parenthesis equals P open parenthesis E prime close parenthesis : P open parenthesis E close parenthesis equals open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis : P open parenthesis E close parenthesis")[$"odds for" #h(0.28em) E & = & n ( E ) : n ( E^(′) ) = P ( E ) : P ( E^(′) ) = P ( E ) : ( 1 − P ( E ) ) \ "odds against" #h(0.28em) E & = & n ( E^(′) ) : n ( E ) = P ( E^(′) ) : P ( E ) = ( 1 − P ( E ) ) : P ( E )$] ] We can use these formulas to convert probabilities to odds, and vice versa. #examplebox("Example 2")[Converting Probabilities to Odds][ Given the following probabilities of an event, find the corresponding odds for and odds against that event. + #math.equation(block: false, alt: "P open parenthesis E close parenthesis equals the fraction 3 over 5")[$P ( E ) = frac(3, 5)$] + #math.equation(block: false, alt: "P open parenthesis E close parenthesis equals 17 %")[$P ( E ) = 17 %$] #solutionbox[ + Using the formula, we have: #math.equation(block: true, alt: "odds for E, equals, P open parenthesis E close parenthesis : open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis; equals, the fraction 3 over 5 : open parenthesis 1 minus the fraction 3 over 5 close parenthesis; equals, the fraction 3 over 5 : the fraction 2 over 5; equals, 3 : 2.")[$"odds for" #h(0.28em) E & = & P ( E ) : ( 1 − P ( E ) ) \ & = & frac(3, 5) : ( 1 − frac(3, 5) ) \ & = & frac(3, 5) : frac(2, 5) \ & = & 3 : 2.$] (Note that in the last step, we simplified by multiplying both terms in the ratio by 5.) #linebreak() Since the odds for #math.equation(block: false, alt: "E")[$E$] are #math.equation(block: false, alt: "3 : 2")[$3 : 2$], the odds against #math.equation(block: false, alt: "E")[$E$] must be #math.equation(block: false, alt: "2 : 3")[$2 : 3$]. + Again, we’ll use the formula: #math.equation(block: true, alt: "odds for E, equals, P open parenthesis E close parenthesis : open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis; equals, 0.17 : open parenthesis 1 minus 0.17 close parenthesis; equals, 0.17 : 0.83; approximately equals, 1 : 4.88.")[$"odds for" #h(0.28em) E & = & P ( E ) : ( 1 − P ( E ) ) \ & = & 0.17 : ( 1 − 0.17 ) \ & = & 0.17 : 0.83 \ & ≈ & 1 : 4.88.$] (In the last step, we simplified by dividing both terms in the ratio by 0.17.) #linebreak() It follows that the odds against #math.equation(block: false, alt: "E")[$E$] are approximately #math.equation(block: false, alt: "4.88 : 1")[$4.88 : 1$]. ] ] Now, let’s convert odds to probabilities. Let’s say the odds for an event are #math.equation(block: false, alt: "A : B")[$A : B$]. Then, using the formula above, we have #math.equation(block: false, alt: "A : B equals P open parenthesis E close parenthesis : open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis")[$A : B = P ( E ) : ( 1 − P ( E ) )$]. Converting to fractions and solving for #math.equation(block: false, alt: "P open parenthesis E close parenthesis")[$P ( E )$], we get: #math.equation(block: true, alt: "the fraction A over B, equals, the fraction P open parenthesis E close parenthesis over 1 minus P open parenthesis E close parenthesis; A open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis, equals, B times P open parenthesis E close parenthesis; A minus A times P open parenthesis E close parenthesis, equals, B times P open parenthesis E close parenthesis; A, equals, A times P open parenthesis E close parenthesis plus B times P open parenthesis E close parenthesis; A, equals, open parenthesis A plus B close parenthesis times P open parenthesis E close parenthesis; the fraction A over A plus B, equals, P open parenthesis E close parenthesis .")[$frac(A, B) & = & frac(P ( E ), 1 − P ( E )) \ A ( 1 − P ( E ) ) & = & B × P ( E ) \ A − A × P ( E ) & = & B × P ( E ) \ A & = & A × P ( E ) + B × P ( E ) \ A & = & ( A + B ) × P ( E ) \ frac(A, A + B) & = & P ( E ) .$] Let’s put this result in a formula we can use. #notebox("Formula", rgb("#059669"), rgb("#007942"), rgb("#EAF3EC"))[ If the odds in favor of #math.equation(block: false, alt: "E")[$E$] are #math.equation(block: false, alt: "A : B")[$A : B$], then #math.equation(block: true, alt: "P open parenthesis E close parenthesis equals the fraction A over A plus B")[$P ( E ) = frac(A, A + B)$]. ] #examplebox("Example 3")[Converting Odds to Probabilities][ Find #math.equation(block: false, alt: "P open parenthesis E close parenthesis")[$P ( E )$] if #math.equation(block: false, alt: "E")[$E$]: + The odds of #math.equation(block: false, alt: "E")[$E$] are #math.equation(block: false, alt: "2 : 1")[$2 : 1$] in favor + The odds of #math.equation(block: false, alt: "E")[$E$] are #math.equation(block: false, alt: "6 : 1")[$6 : 1$] against #solutionbox[ + Using the formula we just found, we have #math.equation(block: false, alt: "P open parenthesis E close parenthesis equals the fraction 2 over 2 plus 1 equals the fraction 2 over 3")[$P ( E ) = frac(2, 2 + 1) = frac(2, 3)$]. + If the odds against are #math.equation(block: false, alt: "6 : 1")[$6 : 1$], then the odds for are #math.equation(block: false, alt: "1 : 6")[$1 : 6$]. Thus, using the formula, #math.equation(block: false, alt: "P open parenthesis E close parenthesis equals the fraction 1 over 1 plus 6 equals the fraction 1 over 7")[$P ( E ) = frac(1, 1 + 6) = frac(1, 7)$]. ] ] #notebox("Checkpoint", rgb("#059669"), rgb("#007942"), rgb("#EAF3EC"))[ #emph[Some places, particularly state lottery websites, will use the words “odds” and “probability” interchangeably. Never assume that the word “odds” is being used correctly! Compute one of the odds/probabilities yourself to make sure you know how the word is being used!] ] === Key Terms - odds (for/against) === Key Concepts - Odds are computed as the ratio of the probability of an event to the probability of its compliment. === Formulas - For an event #math.equation(block: false, alt: "E")[$E$], #math.equation(block: true, alt: "odds for E equals n open parenthesis E close parenthesis : n open parenthesis E prime close parenthesis equals P open parenthesis E close parenthesis : P open parenthesis E prime close parenthesis equals P open parenthesis E close parenthesis : open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis; odds against E equals n open parenthesis E prime close parenthesis : n open parenthesis E close parenthesis equals P open parenthesis E prime close parenthesis : P open parenthesis E close parenthesis equals open parenthesis 1 minus P open parenthesis E close parenthesis close parenthesis : P open parenthesis E close parenthesis")[$"odds for" #h(0.28em) E = n ( E ) : n ( E^(′) ) = P ( E ) : P ( E^(′) ) = P ( E ) : ( 1 − P ( E ) ) \ "odds against" #h(0.28em) E = n ( E^(′) ) : n ( E ) = P ( E^(′) ) : P ( E ) = ( 1 − P ( E ) ) : P ( E )$] - If the odds in favor of #math.equation(block: false, alt: "E")[$E$] are #math.equation(block: false, alt: "A : B")[$A : B$], then #math.equation(block: false, alt: "P open parenthesis E close parenthesis equals the fraction A over A plus B")[$P ( E ) = frac(A, A + B)$].