#set document(title: "7.8 The Addition Rule for Probability", 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.8#h(0.6em)The Addition Rule for Probability #figure(figph[A group of students is standing in a line holding plates of food.], alt: "A group of students is standing in a line holding plates of food.", caption: [Students can be sorted using a variety of possible categories like class year, major, whether they are a varsity athlete, and so forth.]) === Learning Objectives After completing this section, you should be able to: + Identify mutually exclusive events. + Apply the Addition Rule to compute probability. + Use the Inclusion/Exclusion Principle to compute probability. Up to this point, we have looked at the probabilities of #emph[simple] events. Simple events are those with a single, simple characterization. Sometimes, though, we want to investigate more complicated situations. For example, if we are choosing a college student at random, we might want to find the probability that the chosen student is a varsity athlete #emph[or] in a Greek organization. This is a #strong[compound event]: there are two possible criteria that might be met. We might instead try to identify the probability that the chosen student is #emph[both] a varsity athlete #emph[and] in a Greek organization. In this section and the next, we’ll cover probabilities of two types of compound events: those build using “or” and those built using “and.” We’ll deal with the former first. === Mutual Exclusivity Before we get to the key techniques of this section, we must first introduce some new terminology. Let’s say you’re drawing a card from a standard deck. We’ll consider 3 events: #math.equation(block: false, alt: "H")[$H$] is the event “the card is a #math.equation(block: false, alt: "♡")[$♡$],” #math.equation(block: false, alt: "T")[$T$] is the event “the card is a 10,” and #math.equation(block: false, alt: "S")[$S$] is the event “the card is a #math.equation(block: false, alt: "♠")[$♠$].” If the card drawn is #math.equation(block: false, alt: "J ♠")[$"J" ♠$], then #math.equation(block: false, alt: "H")[$H$] and #math.equation(block: false, alt: "T")[$T$] didn’t occur, but #math.equation(block: false, alt: "S")[$S$] did. If the card drawn is instead #math.equation(block: false, alt: "10 ♠")[$10 ♠$], then #math.equation(block: false, alt: "H")[$H$] didn’t occur, but both #math.equation(block: false, alt: "T")[$T$] and #math.equation(block: false, alt: "S")[$S$] did. We can see from these examples that, if we are interested in several possible events, more than one of them can occur simultaneously (both #math.equation(block: false, alt: "T")[$T$] and #math.equation(block: false, alt: "S")[$S$], for example). But, if you think about all the possible outcomes, you can see that #math.equation(block: false, alt: "H")[$H$] and #math.equation(block: false, alt: "S")[$S$] can #emph[never] occur simultaneously; there are no cards in the deck that are both #math.equation(block: false, alt: "♡")[$♡$] and #math.equation(block: false, alt: "♠")[$♠$]. Pairs of events that cannot both occur simultaneously are called #strong[mutually exclusive]. Let’s go through an example to help us better understand this concept. #examplebox("Example 1")[Identifying Mutually Exclusive Events][ Decide whether the following events are mutually exclusive. If they are not mutually exclusive, identify an outcome that would result in both events occurring. + You are about to roll a standard 6-sided die. #math.equation(block: false, alt: "E")[$E$] is the event “the die shows an even number” and #math.equation(block: false, alt: "F")[$F$] is the event “the die shows an odd number.” + You are about to roll a standard 6-sided die. #math.equation(block: false, alt: "E")[$E$] is the event “the die shows an even number” and #math.equation(block: false, alt: "S")[$S$] is the event “the die shows a number less than 4.” + You are about to flip a coin 4 times. #math.equation(block: false, alt: "J")[$J$] is the event “at least 2 heads are flipped” and #math.equation(block: false, alt: "K")[$K$] is the event “fewer than 3 tails are flipped.” #solutionbox[ + Let’s look at the outcomes for each event: #math.equation(block: false, alt: "E equals { 2 , 4 , 6 }")[$E = \{ 2 , 4 , 6 \}$] and #math.equation(block: false, alt: "F equals { 1 , 3 , 5 }")[$F = \{ 1 , 3 , 5 \}$]. There are no outcomes in common, so #math.equation(block: false, alt: "E")[$E$] and #math.equation(block: false, alt: "F")[$F$] are mutually exclusive. + Again, consider the outcomes in each event: #math.equation(block: false, alt: "E equals { 2 , 4 , 6 }")[$E = \{ 2 , 4 , 6 \}$] and #math.equation(block: false, alt: "S equals { 1 , 2 , 3 }")[$S = \{ 1 , 2 , 3 \}$]. Since the outcome 2 belongs to both events, these are #emph[not] mutually exclusive. + Suppose the results of the 4 flips are HTTH. Then at least 2 heads are flipped, and fewer than 3 tails are flipped. That means that both #math.equation(block: false, alt: "J")[$J$] and #math.equation(block: false, alt: "K")[$K$] occurred, and so these events are #emph[not] mutually exclusive. ] ] === The Addition Rule for Mutually Exclusive Events If two events are mutually exclusive, then we can use addition to find the probability that one or the other event occurs. #notebox("Formula", rgb("#059669"), rgb("#007942"), rgb("#EAF3EC"))[ If #math.equation(block: false, alt: "E")[$E$] and #math.equation(block: false, alt: "F")[$F$] are mutually exclusive events, then #math.equation(block: true, alt: "P open parenthesis E or F close parenthesis equals P open parenthesis E close parenthesis plus P open parenthesis F close parenthesis")[$P ( E #h(0.28em) "or" #h(0.28em) F ) = P ( E ) + P ( F )$] ] Why does this formula work? Let’s consider a basic example. Suppose we’re about to draw a #emph[Scrabble] tile from a bag containing A, A, B, E, E, E, R, S, S, U. What is the probability of drawing an E or an S? Since 3 of the tiles are marked with E and 2 are marked with S, there are 5 tiles that satisfy the criteria. There are ten tiles in the bag, so the probability is #math.equation(block: false, alt: "the fraction 5 over 10 equals the fraction 1 over 2")[$frac(5, 10) = frac(1, 2)$]. Notice that the probability of drawing an E is #math.equation(block: false, alt: "the fraction 3 over 10")[$frac(3, 10)$] and the probability of drawing an S is #math.equation(block: false, alt: "the fraction 2 over 10")[$frac(2, 10)$]; adding those together, we get #math.equation(block: false, alt: "the fraction 3 over 10 plus the fraction 2 over 10 equals the fraction 5 over 10")[$frac(3, 10) + frac(2, 10) = frac(5, 10)$]. Look at the numerators in the fractions involved in the sum: the 3 represents the number of E tiles and the 2 is the number of S tiles. This is why the Addition Rule works: The total number of outcomes in one event or the other is the sum of the numbers of outcomes in each of the individual events. #examplebox("Example 2")[Using the Addition Rule][ For each of the given pairs of events, decide if the Addition Rule applies. If it does, use the Addition Rule to find the probability that one or the other occurs. + You are rolling a standard 6-sided die. Event #math.equation(block: false, alt: "A")[$A$] is “roll an even number” and event #math.equation(block: false, alt: "B")[$B$] is “roll a 3.” + You are drawing a card at random from a standard 52-card deck. Event #math.equation(block: false, alt: "R")[$R$] is “draw a #math.equation(block: false, alt: "♡")[$♡$]” and event #math.equation(block: false, alt: "S")[$S$] is “draw a king.” + You are rolling a pair of standard 6-sided dice. Event #math.equation(block: false, alt: "E")[$E$] is “roll an odd sum” and event #math.equation(block: false, alt: "F")[$F$] is “roll a sum of 10.” The table we constructed in Example 3 in Section 7.5 might help. #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, ) #solutionbox[ + Since 3 is not an even number, these events are mutually exclusive. So, we can use the Addition Rule: since #math.equation(block: false, alt: "P open parenthesis A close parenthesis equals the fraction 3 over 6")[$P ( A ) = frac(3, 6)$] and #math.equation(block: false, alt: "P open parenthesis B close parenthesis equals the fraction 1 over 6")[$P ( B ) = frac(1, 6)$], we get #math.equation(block: false, alt: "P open parenthesis A ⁢ or ⁢ B close parenthesis equals the fraction 3 over 6 plus the fraction 1 over 6 equals the fraction 2 over 3")[$P ( A "or" B ) = frac(3, 6) + frac(1, 6) = frac(2, 3)$]. + If the card drawn is #math.equation(block: false, alt: "K ♡")[$"K" ♡$], then both #math.equation(block: false, alt: "R")[$R$] and #math.equation(block: false, alt: "S")[$S$] occur. So, they aren’t mutually exclusive, and the Addition Rule doesn’t apply. + Since 10 is not odd, these events are mutually exclusive. Since #math.equation(block: false, alt: "P open parenthesis E close parenthesis equals the fraction 18 over 36")[$P ( E ) = frac(18, 36)$] and #math.equation(block: false, alt: "P open parenthesis F close parenthesis equals the fraction 3 over 36")[$P ( F ) = frac(3, 36)$], the Addition Rule gives us #math.equation(block: false, alt: "P open parenthesis E ⁢ or ⁢ F close parenthesis equals the fraction 18 over 36 plus the fraction 3 over 36 equals the fraction 7 over 12")[$P ( E "or" F ) = frac(18, 36) + frac(3, 36) = frac(7, 12)$]. ] ] === Finding Probabilities When Events Aren’t Mutually Exclusive Let’s return to the example we used to explore the Addition Rule: We’re about to draw a #emph[Scrabble] tile from a bag containing A, A, B, E, E, E, R, S, S, U. Consider these events: #math.equation(block: false, alt: "J")[$J$] is “draw a vowel” and #math.equation(block: false, alt: "K")[$K$] is “draw a letter that comes after L in the alphabet.” Since there are 6 vowels, #math.equation(block: false, alt: "P open parenthesis J close parenthesis equals the fraction 6 over 10")[$P ( J ) = frac(6, 10)$]. There are 4 tiles with letters that come after L alphabetically, so #math.equation(block: false, alt: "P open parenthesis K close parenthesis equals the fraction 4 over 10")[$P ( K ) = frac(4, 10)$]. What is #math.equation(block: false, alt: "P open parenthesis J ⁢ or ⁢ K close parenthesis")[$P ( J "or" K )$]? If we blindly apply the Addition Rule, we get #math.equation(block: false, alt: "the fraction 6 over 10 plus the fraction 4 over 10 equals 1")[$frac(6, 10) + frac(4, 10) = 1$], which would mean that the compound event #math.equation(block: false, alt: "J")[$J$] or #math.equation(block: false, alt: "K")[$K$] is certain. However, it’s possible to draw a B, in which case neither #math.equation(block: false, alt: "J")[$J$] nor #math.equation(block: false, alt: "K")[$K$] happens. Where’s the error? The events are not mutually exclusive: the outcome U belongs to both events, and so the Addition Rule doesn’t apply. However, there’s a way to extend the Addition Rule to allow us to find this probability anyway; it’s called the #strong[Inclusion/Exclusion Principle]. In this example, if we just add the two probabilities together, the outcome U is included in the sum twice: It’s one of the 6 outcomes represented in the numerator of #math.equation(block: false, alt: "the fraction 6 over 10")[$frac(6, 10)$], and it’s one of the 4 outcomes represented in the numerator of #math.equation(block: false, alt: "the fraction 4 over 10")[$frac(4, 10)$]. So, that particular outcome has been “double counted.” Since it has been #emph[included] twice, we can get a true accounting by #emph[excluding] it once: #math.equation(block: false, alt: "the fraction 6 over 10 plus the fraction 4 over 10 minus the fraction 1 over 10 equals the fraction 9 over 10")[$frac(6, 10) + frac(4, 10) − frac(1, 10) = frac(9, 10)$]. We can generalize this idea to a formula that we can apply to find the probability of any compound event built using “or.” #notebox("Formula", rgb("#059669"), rgb("#007942"), rgb("#EAF3EC"))[ Inclusion/Exclusion Principle: If #math.equation(block: false, alt: "E")[$E$] and #math.equation(block: false, alt: "F")[$F$] are events that contain outcomes of a single experiment, then #math.equation(block: true, alt: "P open parenthesis E or F close parenthesis equals P open parenthesis E close parenthesis plus P open parenthesis F close parenthesis minus P open parenthesis E and F close parenthesis")[$P ( E #h(0.28em) "or" #h(0.28em) F ) = P ( E ) + P ( F ) − P ( E #h(0.28em) "and" #h(0.28em) F )$] ] It’s worth noting that this formula is truly an extension of the Addition Rule. Remember that the Addition Rule requires that the events #math.equation(block: false, alt: "E")[$E$] and #math.equation(block: false, alt: "F")[$F$] are mutually exclusive. In that case, the compound event #math.equation(block: false, alt: "open parenthesis E ⁢ and ⁢ F close parenthesis")[$( E "and" F )$] is impossible, and so #math.equation(block: false, alt: "P open parenthesis E ⁢ and ⁢ F close parenthesis equals 0")[$P ( E "and" F ) = 0$]. So, in cases where the events in question are mutually exclusive, the Inclusion/Exclusion Principle reduces to the Addition Rule. #examplebox("Example 3")[Using the Inclusion/Exclusion Principle][ Suppose we have events #math.equation(block: false, alt: "E")[$E$], #math.equation(block: false, alt: "F")[$F$], and #math.equation(block: false, alt: "G")[$G$], associated with these probabilities: #math.equation(block: true, alt: "P open parenthesis E close parenthesis, equals, 0.45; P open parenthesis F close parenthesis, equals, 0.6; P open parenthesis G close parenthesis, equals, 0.55; P open parenthesis E and ⁢ F close parenthesis, equals, 0.2; P open parenthesis E and ⁢ G close parenthesis, equals, 0.2; P open parenthesis F and ⁢ G close parenthesis, equals, 0.25")[$P ( E ) & = & 0.45 \ P ( F ) & = & 0.6 \ P ( G ) & = & 0.55 \ P ( E #h(0.28em) "and" F ) & = & 0.2 \ P ( E #h(0.28em) "and" G ) & = & 0.2 \ P ( F #h(0.28em) "and" G ) & = & 0.25$] Compute the following: + #math.equation(block: false, alt: "P open parenthesis E ⁢ or ⁢ F close parenthesis")[$P ( E "or" F )$] + #math.equation(block: false, alt: "P open parenthesis E ⁢ or ⁢ G close parenthesis")[$P ( E "or" G )$] + #math.equation(block: false, alt: "P open parenthesis F ⁢ or ⁢ G close parenthesis")[$P ( F "or" G )$] #solutionbox[ + Using the Inclusion/Exclusion Principle, we get: #math.equation(block: true, alt: "P open parenthesis E ⁢ or ⁢ F close parenthesis, equals, P open parenthesis E close parenthesis plus P open parenthesis F close parenthesis minus P open parenthesis E and ⁢ F close parenthesis; equals, 0.45 plus 0.6 minus 0.2; equals, 0.85.")[$P ( E "or" F ) & = & P ( E ) + P ( F ) − P ( E #h(0.28em) "and" F ) \ & = & 0.45 + 0.6 − 0.2 \ & = & 0.85.$] + Again, we’ll apply the Inclusion/Exclusion Principle: #math.equation(block: true, alt: "P open parenthesis E or ⁢ G close parenthesis, equals, P open parenthesis E close parenthesis plus P open parenthesis G close parenthesis minus P open parenthesis E and ⁢ G close parenthesis; equals, 0.45 plus 0.55 minus 0.2; equals, 0.8.")[$P ( E #h(0.28em) "or" G ) & = & P ( E ) + P ( G ) − P ( E #h(0.28em) "and" G ) \ & = & 0.45 + 0.55 − 0.2 \ & = & 0.8.$] + Applying the Inclusion/Exclusion Principle one more time: #math.equation(block: true, alt: "P open parenthesis F ⁢ or ⁢ G close parenthesis, equals, P open parenthesis F close parenthesis plus P open parenthesis G close parenthesis minus P open parenthesis F and ⁢ G close parenthesis; equals, 0.6 plus 0.55 minus 0.25; equals, 0.9.")[$P ( F "or" G ) & = & P ( F ) + P ( G ) − P ( F #h(0.28em) "and" G ) \ & = & 0.6 + 0.55 − 0.25 \ & = & 0.9.$] ] ] === Key Terms - mutually exclusive === Key Concepts - The Addition Rule is used to find the probability that one event or another will occur when those events are mutually exclusive. - The Inclusion/Exclusion Principle is used to find probabilities when events are not mutually exclusive. === Formulas - If #math.equation(block: false, alt: "E")[$E$] and #math.equation(block: false, alt: "F")[$F$] are mutually exclusive events, then #math.equation(block: true, alt: "P open parenthesis E or F close parenthesis equals P open parenthesis E close parenthesis plus P open parenthesis F close parenthesis")[$P ( E #h(0.28em) "or" #h(0.28em) F ) = P ( E ) + P ( F )$] - If #math.equation(block: false, alt: "E")[$E$] and #math.equation(block: false, alt: "F")[$F$] are events that contain outcomes of a single experiment, then #math.equation(block: true, alt: "P open parenthesis E or F close parenthesis equals P open parenthesis E close parenthesis plus P open parenthesis F close parenthesis minus P open parenthesis E ⁢ and ⁢ F close parenthesis")[$P ( E #h(0.28em) "or" #h(0.28em) F ) = P ( E ) + P ( F ) − P ( E "and" F )$]