#set document(title: "1.5 Set Operations with Three Sets", 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")) == 1.5#h(0.6em)Set Operations with Three Sets #figure(figph[A person is looking at a phone. A laptop is in the background.], alt: "A person is looking at a phone. A laptop is in the background.", caption: [Companies like Google collect data on how you use their services, but the data requires analysis to really mean something.]) === Learning Objectives After completing this section, you should be able to: + Interpret Venn diagrams with three sets. + Create Venn diagrams with three sets. + Apply set operations to three sets. + Prove equality of sets using Venn diagrams. Have you ever searched for something on the Internet and then soon after started seeing multiple advertisements for that item while browsing other web pages? Large corporations have built their business on data collection and analysis. As we start working with larger data sets, the analysis becomes more complex. In this section, we will extend our knowledge of set relationships by including a third set. A Venn diagram with two intersecting sets breaks up the universal set into four regions; simply adding one additional set will increase the number of regions to eight, doubling the complexity of the problem. === Venn Diagrams with Three Sets Below is a Venn diagram with two intersecting sets, which breaks the universal set up into four distinct regions. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -40.60pt), (56.00pt, 51.80pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 43.40pt), anchor: "north-east", text(size: 10pt)[U]) circle((-15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((-15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[A]) content((15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[B]) content((-28.00pt, 0.00pt), text(size: 9pt)[A ∩ B′]) content((28.00pt, 0.00pt), text(size: 9pt)[B ∩ A′]) content((0.00pt, 0.00pt), text(size: 9pt)[A ∩ B]) content((-50.96pt, -35.56pt), anchor: "south-west", text(size: 9pt)[(A ∪ B)′]) })]), alt: "A two-set Venn diagram of A and B intersecting one another is given. Set A shows A union of B complement. Set B shows B union of A complement. The intersection of the sets shows A union B. Outside the set, the complement of A union B is given. Outside the Venn diagram, it is marked U.", caption: none, ) Next, we see a #strong[Venn diagram with three intersecting sets], which breaks up the universal set into eight distinct regions. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -49.49pt), (56.00pt, 69.58pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 61.18pt), anchor: "north-east", text(size: 10pt)[U]) circle((0.00pt, 17.78pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((-15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((0.00pt, 50.82pt), text(size: 10pt)[A]) content((-44.01pt, -25.41pt), text(size: 10pt)[B]) content((44.01pt, -25.41pt), text(size: 10pt)[C]) content((0.00pt, 30.38pt), text(size: 9pt)[A ∩ (B ∪ C)′]) content((-26.31pt, -15.19pt), text(size: 9pt)[B ∩ (A ∪ C)′]) content((26.31pt, -15.19pt), text(size: 9pt)[C ∩ (A ∪ B)′]) circle((-17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((-17.40pt, 10.05pt), (-71.40pt, 10.05pt), stroke: 0.4pt + black) content((-71.40pt, 10.05pt), anchor: "east", text(size: 9pt)[A ∩ B ∩ C′]) circle((-0.00pt, -20.09pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -20.09pt), (-0.00pt, -64.89pt), stroke: 0.4pt + black) content((-0.00pt, -64.89pt), anchor: "north", text(size: 9pt)[A′ ∩ B ∩ C]) circle((17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((17.40pt, 10.05pt), (71.40pt, 10.05pt), stroke: 0.4pt + black) content((71.40pt, 10.05pt), anchor: "west", text(size: 9pt)[A ∩ B′ ∩ C]) circle((-0.00pt, -0.00pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -0.00pt), (-71.40pt, -64.89pt), stroke: 0.4pt + black) content((-71.40pt, -64.89pt), anchor: "north-east", text(size: 9pt)[A ∩ B ∩ C]) content((-50.96pt, -44.45pt), anchor: "south-west", text(size: 9pt)[(A ∪ B ∪ C)′]) })]), alt: "A three-set Venn diagram of A, B, and C intersecting one another is given. Set A shows A union of the complement of (B union C). Set B shows B union of the complement of (A union C). Set C shows the C union of the complement of (A union B). The intersection of sets A and B shows A union B union complement of C. The intersection of sets B and C shows the complement of A union B union C. The intersection of sets A and C show the A union complement of B union C. The intersection of the sets shows A union B union C. Outside the set, the complement of (A union B union C is given). Outside the Venn diagram, it is marked U.", caption: none, ) #notebox("Tech Check", rgb("#183B6F"), rgb("#183B6F"), rgb("#EFF1F5"))[ #emph[Shading Venn Diagrams] Venn Diagram is an Android application that allows you to visualize how the sets are related in a Venn diagram by entering expressions and displaying the resulting Venn diagram of the set shaded in gray. #figure(figph[A screenshot of an application named Venn Diagram on the Google play store], alt: "A screenshot of an application named Venn Diagram on the Google play store", caption: [Google Play Store image of Venn Diagram app.]) The Venn Diagram application uses some notation that differs from the notation covered in this text. + The complement of set #math.equation(block: false, alt: "A")[$A$] in this text is written symbolically as #math.equation(block: false, alt: "A prime")[$A^(′)$], but the Venn Diagram app uses #math.equation(block: false, alt: "A to the power C")[$A^(C)$] to represent the complement operation. + The set difference operation, #math.equation(block: false, alt: "minus")[$−$], is available in the Venn Diagram app, although this operation is not covered in the text. It is recommended that you explore this application to expand your knowledge of Venn diagrams prior to continuing with the next example. ] In the next example, we will explore the three main blood factors, A, B and Rh. The following background information about blood types will help explain the relationships between the sets of blood factors. If an individual has blood factor A or B, those will be included in their blood type. The Rh factor is indicated with a #math.equation(block: false, alt: "plus")[$+$] or a #math.equation(block: false, alt: "minus")[$−$]. For example, if a person has all three blood factors, then their blood type would be #math.equation(block: false, alt: "AB to the power plus")[$"AB"^(+)$]. In the Venn diagram, they would be in the intersection of all three sets, #math.equation(block: false, alt: "A intersection B intersection R h to the power plus .")[$A ∩ B ∩ R h^(+) .$] If a person did not have any of these three blood factors, then their blood type would be #math.equation(block: false, alt: "O to the power minus ,")[$upright(O)^(−) ,$] and they would be in the set #math.equation(block: false, alt: "open parenthesis A union B union R h to the power plus close parenthesis prime")[$attach(( A ∪ B ∪ R h^(+) ), t: ′)$] which is the region outside all three circles. #examplebox("Example 1")[Interpreting a Venn Diagram with Three Sets][ Use the Venn diagram below, which shows the blood types of 100 people who donated blood at a local clinic, to answer the following questions. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -49.49pt), (56.00pt, 69.58pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 61.18pt), anchor: "north-east", text(size: 10pt)[U = Blood types of 100 people]) circle((0.00pt, 17.78pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((-15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((0.00pt, 50.82pt), text(size: 10pt)[A]) content((-44.01pt, -25.41pt), text(size: 10pt)[B]) content((44.01pt, -25.41pt), text(size: 10pt)[Rh+]) content((0.00pt, 30.38pt), text(size: 9pt)[A⁻ = 6]) content((-26.31pt, -15.19pt), text(size: 9pt)[B⁻ = 2]) content((26.31pt, -15.19pt), text(size: 9pt)[O⁺ = 37]) circle((-17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((-17.40pt, 10.05pt), (-71.40pt, 10.05pt), stroke: 0.4pt + black) content((-71.40pt, 10.05pt), anchor: "east", text(size: 9pt)[AB⁻ = 1]) circle((-0.00pt, -20.09pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -20.09pt), (-0.00pt, -64.89pt), stroke: 0.4pt + black) content((-0.00pt, -64.89pt), anchor: "north", text(size: 9pt)[B⁺ = 8]) circle((17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((17.40pt, 10.05pt), (71.40pt, 10.05pt), stroke: 0.4pt + black) content((71.40pt, 10.05pt), anchor: "west", text(size: 9pt)[A⁺ = 36]) circle((-0.00pt, -0.00pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -0.00pt), (-71.40pt, -64.89pt), stroke: 0.4pt + black) content((-71.40pt, -64.89pt), anchor: "north-east", text(size: 9pt)[AB⁺ = 3]) content((-50.96pt, -44.45pt), anchor: "south-west", text(size: 9pt)[O⁻ = 7]) })]), alt: "A three-set Venn diagram A, B, and Rh plus overlapping one another is given. Set A shows A dash equals 6. Set B shows B dash equals 2. Set Rh plus shows O plus dash equals 37. The intersection of sets A and B shows AB dash equals 1. The intersection of sets B and Rh plus shows B plus equals 8. The intersection of sets A and Rh plus shows A plus equals 36. The intersection of all three sets shows AB plus equals 3. Outside the set, 'O dash equals 7' is given. Outside the Venn diagram, it is marked 'U equals Blood types of 100 people.'", caption: none, ) + How many people with a type A blood factor donated blood? + Julio has blood type #math.equation(block: false, alt: "B to the power plus .")[$upright(B)^(+) .$] If he needs to have surgery that requires a blood transfusion, he can accept blood from anyone who does not have a type A blood factor. How many people donated blood that Julio can accept? + How many people who donated blood do not have the #math.equation(block: false, alt: "Rh to the power plus")[$"Rh"^(+)$] blood factor? + How many people had type A and type B blood? #solutionbox[ + The number of people who donated blood with a type A blood factor will include the sum of all the values included in the A circle. It will be the union of sets #math.equation(block: false, alt: "A to the power minus , A to the power plus , A B to the power minus and A B to the power plus .")[$A^(−) , A^(+) , A B^(−) #h(0.28em) "and" #h(0.28em) A B^(+) .$] #math.equation(block: false, alt: "n open parenthesis A close parenthesis equals n open parenthesis A to the power minus close parenthesis plus n open parenthesis A to the power plus close parenthesis plus n open parenthesis A B to the power minus close parenthesis plus n open parenthesis A B to the power plus close parenthesis equals 6 plus 36 plus 1 plus 3 equals 46.")[$n ( A ) = n ( A^(−) ) + n ( A^(+) ) + n ( A B^(−) ) + n ( A B^(+) ) = 6 + 36 + 1 + 3 = 46.$] + In part 1, it was determined that the number of donors with a type A blood factor is 46. To determine the number of people who did not have a type A blood factor, use the following property, #math.equation(block: false, alt: "A prime")[$A^(′)$] union is equal to #math.equation(block: false, alt: "U")[$U$], which means #math.equation(block: false, alt: "n open parenthesis A close parenthesis plus n open parenthesis A prime close parenthesis equals n open parenthesis U close parenthesis ,")[$n ( A ) + n ( A^(′) ) = n ( U ) ,$] and #math.equation(block: false, alt: "n open parenthesis A prime close parenthesis equals n open parenthesis U close parenthesis minus n open parenthesis A close parenthesis equals 100 minus 46 equals 54.")[$n ( A^(′) ) = n ( U ) − n ( A ) = 100 − 46 = 54.$] Thus, 54 people donated blood that Julio can accept. + This would be everyone outside the #math.equation(block: false, alt: "Rh to the power plus")[$"Rh"^(+)$] circle, or everyone with a negative Rh factor, #math.equation(block: false, alt: "n open parenthesis R h to the power minus close parenthesis equals n open parenthesis O to the power minus close parenthesis plus n open parenthesis A to the power minus close parenthesis plus n open parenthesis A B to the power minus close parenthesis plus n open parenthesis B to the power minus close parenthesis equals 7 plus 6 plus 1 plus 2 equals 16.")[$n ( R h^(−) ) = n ( O^(−) ) + n ( A^(−) ) + n ( A B^(−) ) + n ( B^(−) ) = 7 + 6 + 1 + 2 = 16.$] + To have both blood type A and blood type B, a person would need to be in the intersection of sets #math.equation(block: false, alt: "A")[$A$] and #math.equation(block: false, alt: "B")[$B$]. The two circles overlap in the regions labeled #math.equation(block: false, alt: "A B to the power minus")[$A B^(−)$] and #math.equation(block: false, alt: "A B to the power plus .")[$A B^(+) .$] Add up the number of people in these two regions to get the total: #math.equation(block: false, alt: "1 plus 3 equals 4.")[$1 + 3 = 4.$] This can be written symbolically as #math.equation(block: false, alt: "n open parenthesis A and B close parenthesis equals n open parenthesis A intersection B close parenthesis equals n open parenthesis A B to the power minus close parenthesis plus n open parenthesis A B to the power plus close parenthesis equals 1 plus 3 equals 4.")[$n ( A #h(0.28em) "and" #h(0.28em) B ) = n ( A ∩ B ) = n ( A B^(−) ) + n ( A B^(+) ) = 1 + 3 = 4.$] ] ] #notebox("Who Knew?", rgb("#183B6F"), rgb("#183B6F"), rgb("#EFF1F5"))[ #emph[Blood Types] Most people know their main blood type of A, B, AB, or O and whether they are #math.equation(block: false, alt: "R h to the power plus")[$upright(R) upright(h)^(+)$] or #math.equation(block: false, alt: "R h to the power minus")[$upright(R) upright(h)^(−)$], but did you know that the International Society of Blood Transfusion recognizes twenty-eight additional blood types that have important implications for organ transplants and successful pregnancy? For more information, check out this article: #link("https://openstax.org/r/Two-new-blood-types-identified")[Blood mystery solved: Two new blood types identified] ] === Creating Venn Diagrams with Three Sets In general, when creating Venn diagrams from data involving three subsets of a universal set, the strategy is to work from the inside out. Start with the intersection of the three sets, then address the regions that involve the intersection of two sets. Next, complete the regions that involve a single set, and finally address the region in the universal set that does not intersect with any of the three sets. This method can be extended to any number of sets. The key is to start with the region involving the most overlap, working your way from the center out. #examplebox("Example 2")[Creating a Venn Diagram with Three Sets][ A teacher surveyed her class of 43 students to find out how they prepared for their last test. She found that 24 students made flash cards, 14 studied their notes, and 27 completed the review assignment. Of the entire class of 43 students, 12 completed the review and made flash cards, nine completed the review and studied their notes, and seven made flash cards and studied their notes, while only five students completed all three of these tasks. The remaining students did not do any of these tasks. Create a Venn diagram with subsets labeled: “Notes,” “Flash Cards,” and “Review” to represent how the students prepared for the test. #solutionbox[ #strong[Step 1:] First, draw a Venn diagram with three intersecting circles to represent the three intersecting sets: Notes, Flash Cards, and Review. Label the universal set with the cardinality of the class. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -49.49pt), (56.00pt, 69.58pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 61.18pt), anchor: "north-east", text(size: 10pt)[U equals Class equals 43]) circle((0.00pt, 17.78pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((-15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((0.00pt, 50.82pt), text(size: 10pt)[Notes]) content((-44.01pt, -25.41pt), text(size: 10pt)[Flash Card]) content((44.01pt, -25.41pt), text(size: 10pt)[Review]) })]), alt: "A three-set Venn diagram overlapping one another is given. The first set is labeled Notes, the second set is labeled Flash Card, and the third set is labeled Review. Outside the Venn diagram, 'U equals Class equals 43' is marked.", caption: none, ) #strong[Step 2:] Next, in the region where all three sets intersect, enter the number of students who completed all three tasks. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -49.49pt), (56.00pt, 69.58pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 61.18pt), anchor: "north-east", text(size: 10pt)[U = Class = 43]) circle((0.00pt, 17.78pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((-15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((0.00pt, 50.82pt), text(size: 10pt)[Notes]) content((-44.01pt, -25.41pt), text(size: 10pt)[Flash Card]) content((44.01pt, -25.41pt), text(size: 10pt)[Review]) circle((-0.00pt, -0.00pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -0.00pt), (-71.40pt, -64.89pt), stroke: 0.4pt + black) content((-71.40pt, -64.89pt), anchor: "north-east", text(size: 9pt)[5]) })]), alt: "A three-set Venn diagram overlapping one another is given. The first set is labeled Notes, the second set is labeled Flash Card, and the third set is labeled Review. The intersection of all three sets shows 5. Outside the Venn diagram, 'U equals Class equals 43' is marked.", caption: none, ) #strong[Step 3:] Next, calculate the value and label the three sections where just two sets overlap. + #strong[Review and flash card overlap]. A total of 12 students completed the review and made flash cards, but five of these twelve students did all three tasks, so we need to subtract: #math.equation(block: false, alt: "12 minus 5 equals 7")[$12 − 5 = 7$]. This is the value for the region where the flash card set intersects with the review set. + #strong[Review and notes overlap]. A total of 9 students completed the review and studied their notes, but again, five of these nine students completed all three tasks. So, we subtract: #math.equation(block: false, alt: "9 minus 5 equals 4")[$9 − 5 = 4$]. This is the value for the region where the review set intersects with the notes set. + #strong[Flash card and notes overlap]. A total of 7 students made flash cards and studied their notes; subtracting the five students that did all three tasks from this number leaves 2 students who only studied their notes and made flash cards. Add these values to the Venn diagram. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -49.49pt), (56.00pt, 69.58pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 61.18pt), anchor: "north-east", text(size: 10pt)[U equals Class equals 43]) circle((0.00pt, 17.78pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((-15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((0.00pt, 50.82pt), text(size: 10pt)[Notes]) content((-44.01pt, -25.41pt), text(size: 10pt)[Flash Card]) content((44.01pt, -25.41pt), text(size: 10pt)[Review]) circle((-17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((-17.40pt, 10.05pt), (-71.40pt, 10.05pt), stroke: 0.4pt + black) content((-71.40pt, 10.05pt), anchor: "east", text(size: 9pt)[2]) circle((-0.00pt, -20.09pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -20.09pt), (-0.00pt, -64.89pt), stroke: 0.4pt + black) content((-0.00pt, -64.89pt), anchor: "north", text(size: 9pt)[7]) circle((17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((17.40pt, 10.05pt), (71.40pt, 10.05pt), stroke: 0.4pt + black) content((71.40pt, 10.05pt), anchor: "west", text(size: 9pt)[4]) circle((-0.00pt, -0.00pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -0.00pt), (-71.40pt, -64.89pt), stroke: 0.4pt + black) content((-71.40pt, -64.89pt), anchor: "north-east", text(size: 9pt)[5]) })]), alt: "A three-set Venn diagram overlapping one another is given. The first set is labeled Notes, the second set is labeled Flash Card, and the third set is labeled Review. Outside the Venn diagram, 'U equals Class equals 43' is marked. The intersection of the first and second sets shows 2, the intersection of the second and third sets shows 7, and the intersection of the first and third sets shows 4. The intersection of all three sets shows 5.", caption: none, ) #strong[Step 4:] Now, repeat this process to find the number of students who only completed one of these three tasks. + A total of 24 students completed flash cards, but we have already accounted for #math.equation(block: false, alt: "2 plus 5 plus 7 equals 14")[$2 + 5 + 7 = 14$] of these. Thus, #math.equation(block: false, alt: "24 minus 14 equals 10")[$24 − 14 = 10$] students who just made flash cards. + A total of 14 students studied their notes, but we have already accounted for #math.equation(block: false, alt: "4 plus 5 plus 2 equals 11")[$4 + 5 + 2 = 11$] of these. Thus, #math.equation(block: false, alt: "14 minus 11 equals 3")[$14 − 11 = 3$] students only studied their notes. + A total of 27 students completed the review assignment, but we have already accounted for #math.equation(block: false, alt: "4 plus 5 plus 7 equals 16")[$4 + 5 + 7 = 16$] of these, which means #math.equation(block: false, alt: "27 minus 16 equals 11")[$27 − 16 = 11$] students only completed the review assignment. + Add these values to the Venn diagram. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -49.49pt), (56.00pt, 69.58pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 61.18pt), anchor: "north-east", text(size: 10pt)[U equals Class equals 43]) circle((0.00pt, 17.78pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((-15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((0.00pt, 50.82pt), text(size: 10pt)[Notes]) content((-44.01pt, -25.41pt), text(size: 10pt)[Flash Card]) content((44.01pt, -25.41pt), text(size: 10pt)[Review]) content((0.00pt, 30.38pt), text(size: 9pt)[3]) content((-26.31pt, -15.19pt), text(size: 9pt)[10]) content((26.31pt, -15.19pt), text(size: 9pt)[11]) circle((-17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((-17.40pt, 10.05pt), (-71.40pt, 10.05pt), stroke: 0.4pt + black) content((-71.40pt, 10.05pt), anchor: "east", text(size: 9pt)[2]) circle((-0.00pt, -20.09pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -20.09pt), (-0.00pt, -64.89pt), stroke: 0.4pt + black) content((-0.00pt, -64.89pt), anchor: "north", text(size: 9pt)[7]) circle((17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((17.40pt, 10.05pt), (71.40pt, 10.05pt), stroke: 0.4pt + black) content((71.40pt, 10.05pt), anchor: "west", text(size: 9pt)[4]) circle((-0.00pt, -0.00pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -0.00pt), (-71.40pt, -64.89pt), stroke: 0.4pt + black) content((-71.40pt, -64.89pt), anchor: "north-east", text(size: 9pt)[5]) })]), alt: "A three-set Venn diagram overlapping one another is given. The first set is labeled Notes, the second set is labeled Flash Card, and the third set is labeled Review. The first set shows 3, the second shows 10, and the third set shows 11. The intersection of the first and second sets shows 2, the intersection of the second and third sets shows 7, and the intersection of the first and third sets shows 4. The intersection of all three sets shows 5. Outside the Venn diagram, 'U equals Class equals 43' is marked.", caption: none, ) #strong[Step 5:] Finally, compute how many students did not do any of these three tasks. To do this, we add together each value that we have already calculated for the separate and intersecting sections of our three sets: #math.equation(block: false, alt: "3 plus 2 plus 4 plus 5 plus 10 plus 7 plus 11 equals 42")[$3 + 2 + 4 + 5 + 10 + 7 + 11 = 42$]. Because there 43 students in the class, and #math.equation(block: false, alt: "43 minus 42 equals 1")[$43 − 42 = 1$], this means only one student did not complete any of these tasks to prepare for the test. Record this value somewhere in the rectangle, but outside of all the circles, to complete the Venn diagram. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -49.49pt), (56.00pt, 69.58pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 61.18pt), anchor: "north-east", text(size: 10pt)[U equals Class equals 43]) circle((0.00pt, 17.78pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((-15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, -8.89pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((0.00pt, 50.82pt), text(size: 10pt)[Notes]) content((-44.01pt, -25.41pt), text(size: 10pt)[Flash Card]) content((44.01pt, -25.41pt), text(size: 10pt)[Review]) content((0.00pt, 30.38pt), text(size: 9pt)[3]) content((-26.31pt, -15.19pt), text(size: 9pt)[10]) content((26.31pt, -15.19pt), text(size: 9pt)[11]) circle((-17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((-17.40pt, 10.05pt), (-71.40pt, 10.05pt), stroke: 0.4pt + black) content((-71.40pt, 10.05pt), anchor: "east", text(size: 9pt)[2]) circle((-0.00pt, -20.09pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -20.09pt), (-0.00pt, -64.89pt), stroke: 0.4pt + black) content((-0.00pt, -64.89pt), anchor: "north", text(size: 9pt)[7]) circle((17.40pt, 10.05pt), radius: 1.2pt, fill: black, stroke: none) line((17.40pt, 10.05pt), (71.40pt, 10.05pt), stroke: 0.4pt + black) content((71.40pt, 10.05pt), anchor: "west", text(size: 9pt)[4]) circle((-0.00pt, -0.00pt), radius: 1.2pt, fill: black, stroke: none) line((-0.00pt, -0.00pt), (-71.40pt, -64.89pt), stroke: 0.4pt + black) content((-71.40pt, -64.89pt), anchor: "north-east", text(size: 9pt)[5]) content((-50.96pt, -44.45pt), anchor: "south-west", text(size: 9pt)[1]) })]), alt: "A three-set Venn diagram overlapping one another is given. The first set is labeled Notes, the second set is labeled Flash Card, and the third set is labeled Review. The first set shows 3, the second shows 10, and the third set shows 11. The intersection of the first and second sets shows 2, the intersection of the second and third sets shows 7, and the intersection of the first and third sets shows 4. The intersection of all three sets shows 5. Outside the sets, 1 is marked. Outside the Venn diagram, 'U equals Class equals 43' is marked.", caption: none, ) ] ] === Applying Set Operations to Three Sets Set operations are applied between two sets at a time. Parentheses indicate which operation should be performed first. As with numbers, the inner most parentheses are applied first. Next, find the complement of any sets, then perform any union or intersections that remain. #examplebox("Example 3")[Applying Set Operations to Three Sets][ Perform the set operations as indicated on the following sets: #math.equation(block: false, alt: "U equals { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 }")[$U = \{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 \}$], #math.equation(block: false, alt: "A equals { 0 , 1 , 2 , 3 , 4 , 5 , 6 } ,")[$A = \{ 0 , 1 , 2 , 3 , 4 , 5 , 6 \} ,$] #math.equation(block: false, alt: "B equals { 0 , 2 , 4 , 6 , 8 , 10 , 12 } ,")[$B = \{ 0 , 2 , 4 , 6 , 8 , 10 , 12 \} ,$] and #math.equation(block: false, alt: "C equals { 0 , 3 , 6 , 9 , 12 } .")[$C = \{ 0 , 3 , 6 , 9 , 12 \} .$] + Find #math.equation(block: false, alt: "open parenthesis A intersection B close parenthesis intersection C .")[$( A ∩ B ) ∩ C .$] + Find #math.equation(block: false, alt: "A intersection open parenthesis B union C close parenthesis .")[$A ∩ ( B ∪ C ) .$] + Find #math.equation(block: false, alt: "open parenthesis A intersection B close parenthesis union C prime .")[$( A ∩ B ) ∪ C^(′) .$] #solutionbox[ + Parentheses first, #math.equation(block: false, alt: "A")[$A$] intersection #math.equation(block: false, alt: "B")[$B$] equals #math.equation(block: false, alt: "A intersection B equals { 0 , 2 , 4 , 6 } ,")[$A ∩ B = \{ 0 , 2 , 4 , 6 \} ,$] the elements common to both #math.equation(block: false, alt: "A")[$A$] and #math.equation(block: false, alt: "B")[$B$]. #math.equation(block: false, alt: "open parenthesis A intersection B close parenthesis intersection C equals { 0 , 2 , 4 , 6 } intersection { 0 , 3 , 6 , 9 , 12 } equals { 0 , 6 } ,")[$( A ∩ B ) ∩ C = \{ 0 , 2 , 4 , 6 \} ∩ \{ 0 , 3 , 6 , 9 , 12 \} = \{ 0 , 6 \} ,$] because the only elements that are in both sets are 0 and 6. + Parentheses first, #math.equation(block: false, alt: "B")[$B$] union #math.equation(block: false, alt: "C")[$C$] equals #math.equation(block: false, alt: "B union C equals { 0 , 2 , 3 , 4 , 6 , 8 , 9 , 10 , 12 } ,")[$B ∪ C = \{ 0 , 2 , 3 , 4 , 6 , 8 , 9 , 10 , 12 \} ,$] the collection of all elements in set #math.equation(block: false, alt: "B")[$B$] or set #math.equation(block: false, alt: "C")[$C$] or both. #math.equation(block: false, alt: "A intersection open parenthesis B union C close parenthesis equals { 0 , 1 , 2 , 3 , 4 , 5 , 6 } intersection { 0 , 2 , 3 , 4 , 6 , 8 , 9 , 10 , 12 } equals { 0 , 2 , 3 , 4 , 6 } ,")[$A ∩ ( B ∪ C ) = \{ 0 , 1 , 2 , 3 , 4 , 5 , 6 \} ∩ \{ 0 , 2 , 3 , 4 , 6 , 8 , 9 , 10 , 12 \} = \{ 0 , 2 , 3 , 4 , 6 \} ,$] because the intersection of these two sets is the set of elements that are common to both sets. + Parentheses first, #math.equation(block: false, alt: "A")[$A$] intersection #math.equation(block: false, alt: "B")[$B$] equals #math.equation(block: false, alt: "A intersection B equals { 0 , 2 , 4 , 6 } .")[$A ∩ B = \{ 0 , 2 , 4 , 6 \} .$] Next, find #math.equation(block: false, alt: "C prime .")[$C^(′) .$] The complement of set #math.equation(block: false, alt: "C")[$C$] is the set of elements in the universal set #math.equation(block: false, alt: "U")[$U$] that are not in set #math.equation(block: false, alt: "C .")[$C .$] #math.equation(block: false, alt: "C prime equals { 1 , 2 , 4 , 5 , 7 , 8 , 10 , 11 } .")[$C^(′) = \{ 1 , 2 , 4 , 5 , 7 , 8 , 10 , 11 \} .$] Finally, find #math.equation(block: false, alt: "open parenthesis A intersection B close parenthesis union C prime equals { 0 , 2 , 4 , 6 } union { 1 , 2 , 4 , 5 , 7 , 8 , 10 , 11 } equals { 0 , 1 , 2 , 4 , 5 , 6 , 7 , 8 , 10 , 11 } .")[$( A ∩ B ) ∪ C^(′) = \{ 0 , 2 , 4 , 6 \} ∪ \{ 1 , 2 , 4 , 5 , 7 , 8 , 10 , 11 \} = \{ 0 , 1 , 2 , 4 , 5 , 6 , 7 , 8 , 10 , 11 \} .$] ] ] Notice that rewriting these set operations in equivalent forms produces the same answers. This is not a coincidence. The following equivalences hold true for sets: - #math.equation(block: false, alt: "A intersection open parenthesis B intersection C close parenthesis equals open parenthesis A intersection B close parenthesis intersection C")[$A ∩ ( B ∩ C ) = ( A ∩ B ) ∩ C$] and #math.equation(block: false, alt: "A union open parenthesis B union C close parenthesis equals open parenthesis A union B close parenthesis union C .")[$A ∪ ( B ∪ C ) = ( A ∪ B ) ∪ C .$] These are the associative property for set intersection and set union. - #math.equation(block: false, alt: "A intersection B equals B intersection A")[$A ∩ B = B ∩ A$] and #math.equation(block: false, alt: "A union B equals B union A .")[$A ∪ B = B ∪ A .$] These are the commutative property for set intersection and set union. - #math.equation(block: false, alt: "A intersection open parenthesis B union C close parenthesis equals open parenthesis A intersection B close parenthesis union open parenthesis A intersection C close parenthesis")[$A ∩ ( B ∪ C ) = ( A ∩ B ) ∪ ( A ∩ C )$] and #math.equation(block: false, alt: "A union open parenthesis B intersection C close parenthesis equals open parenthesis A union B close parenthesis intersection open parenthesis A union C close parenthesis .")[$A ∪ ( B ∩ C ) = ( A ∪ B ) ∩ ( A ∪ C ) .$] These are the distributive property for sets over union and intersection, respectively. === Proving Equality of Sets Using Venn Diagrams To prove set equality using Venn diagrams, the strategy is to draw a Venn diagram to represent each side of the equality, then look at the resulting diagrams to see if the regions under consideration are identical. Augustus De Morgan was an English mathematician known for his contributions to set theory and logic. De Morgan’s law for set complement over union states that #math.equation(block: false, alt: "open parenthesis A union B close parenthesis prime equals A prime intersection B prime")[$( A ∪ B )^(′) = A^(′) ∩ B^(′)$]. In the next example, we will use Venn diagrams to prove De Morgan’s law for set complement over union is true. But before we begin, let us confirm De Morgan’s law works for a specific example. While showing something is true for one specific example is not a proof, it will provide us with some reason to believe that it may be true for all cases. Let #math.equation(block: false, alt: "U equals { 1 , 2 , 3 , 4 , 5 , 6 , 7 } ,")[$U = \{ 1 , 2 , 3 , 4 , 5 , 6 , 7 \} ,$] #math.equation(block: false, alt: "A equals { 2 , 3 , 4 } ,")[$A = \{ 2 , 3 , 4 \} ,$] and #math.equation(block: false, alt: "B equals { 3 , 4 , 5 , 6 } .")[$B = \{ 3 , 4 , 5 , 6 \} .$] We will use these sets in the equation #math.equation(block: false, alt: "open parenthesis A union B close parenthesis prime equals A prime intersection B prime .")[$( A ∪ B )^(′) = A^(′) ∩ B^(′) .$] To begin, find the value of the set defined by each side of the equation. #strong[Step 1:] #math.equation(block: false, alt: "A union B")[$A ∪ B$] is the collection of all unique elements in set #math.equation(block: false, alt: "A")[$A$] or set #math.equation(block: false, alt: "B")[$B$] or both. #math.equation(block: false, alt: "A union B equals { 2 , 3 , 4 , 5 , 6 } .")[$A ∪ B = \{ 2 , 3 , 4 , 5 , 6 \} .$] The complement of #emph[A] union #emph[B], #math.equation(block: false, alt: "open parenthesis A union B close parenthesis prime")[$attach(( A ∪ B ), t: ′)$], is the set of all elements in the universal set that are not in #math.equation(block: false, alt: "A union B")[$A ∪ B$]. So, the left side the equation #math.equation(block: false, alt: "open parenthesis A union B close parenthesis prime")[$attach(( A ∪ B ), t: ′)$] is equal to the set #math.equation(block: false, alt: "{ 1 , 7 } .")[$\{ 1 , 7 \} .$] #strong[Step 2:] The right side of the equation is #math.equation(block: false, alt: "A prime intersection B prime .")[$A^(′) ∩ B^(′) .$] #math.equation(block: false, alt: "A prime")[$A^(′)$] is the set of all members of the universal set #math.equation(block: false, alt: "U")[$U$] that are not in set #math.equation(block: false, alt: "A")[$A$]. #math.equation(block: false, alt: "A prime equals { 1 , 5 , 6 , 7 } .")[$A^(′) = \{ 1 , 5 , 6 , 7 \} .$] Similarly, #math.equation(block: false, alt: "B ′ equals { 1 , 2 , 7 } .")[$B ′ = \{ 1 , 2 , 7 \} .$] #strong[Step 3:] Finally, #math.equation(block: false, alt: "A prime intersection B prime")[$A^(′) ∩ B^(′)$] is the set of all elements that are in both #math.equation(block: false, alt: "A prime")[$A^(′)$] and #math.equation(block: false, alt: "B prime .")[$B^(′) .$] The numbers 1 and 7 are common to both sets, therefore, #math.equation(block: false, alt: "A prime intersection B prime equals { 1 , 7 } .")[$A^(′) ∩ B^(′) = \{ 1 , 7 \} .$] Because, #math.equation(block: false, alt: "{ 1 , 7 } equals { 1 , 7 }")[$\{ 1 , 7 \} = \{ 1 , 7 \}$] we have demonstrated that De Morgan’s law for set complement over union works for this particular example. The Venn diagram below depicts this relationship. #figure( stdfig([#cetz.canvas({ import cetz.draw: * rect((-56.00pt, -40.60pt), (56.00pt, 51.80pt), stroke: 0.7pt + black, fill: white) circle((-15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((-15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[A]) content((15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[B]) content((-28.00pt, 0.00pt), text(size: 9pt)[2, 1]) content((28.00pt, 0.00pt), text(size: 9pt)[5, 6]) content((0.00pt, 0.00pt), text(size: 9pt)[3, 4]) content((-50.96pt, -35.56pt), anchor: "south-west", text(size: 9pt)[1, 7]) })]), alt: "A two-set Venn diagram of A and B is given. Set A shows 2, l while set B shows 5, 6. The intersection of the sets shows 3, 4. Outside sets A and B, 1, and 7 are shown. The union of the sets A and B shows (0, 1, 2, 3, 4, 5, 6, 7).", caption: none, ) #examplebox("Example 4")[Proving De Morgan’s Law for Set Complement over Union Using a Venn Diagram][ De Morgan’s Law for the complement of the union of two sets #math.equation(block: false, alt: "A")[$A$] and #math.equation(block: false, alt: "B")[$B$] states that: #math.equation(block: false, alt: "open parenthesis A union B close parenthesis prime equals A prime intersection B prime .")[$( A ∪ B )^(′) = A^(′) ∩ B^(′) .$] Use a Venn diagram to prove that De Morgan’s Law is true. #solutionbox[ #strong[Step 1:] First, draw a Venn diagram representing the left side of the equality. The regions of interest are shaded to highlight the sets of interest. #math.equation(block: false, alt: "A union B")[$A ∪ B$] is shaded on the left, and #math.equation(block: false, alt: "open parenthesis A union B close parenthesis prime")[$attach(( A ∪ B ), t: ′)$] is shaded on the right. #figure( stdfig([#grid(columns: 2, gutter: 1.5em, [#cetz.canvas({ import cetz.draw: * content((0pt, 63.00pt), text(font: sys.inputs.at("title-font", default: "STIX Two Text"), size: 11pt)[Union of A and B]) rect((-56.00pt, -40.60pt), (56.00pt, 51.80pt), stroke: 0.7pt + black, fill: white) content((47.60pt, 43.40pt), anchor: "north-east", text(size: 10pt)[U]) circle((-15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) merge-path(close: true, { arc-through((0.00pt, -23.38pt), (12.60pt, 0.00pt), (0.00pt, 23.38pt)) arc-through((0.00pt, 23.38pt), (-12.60pt, 0.00pt), (0.00pt, -23.38pt)) }, fill: rgb("#d8d8d8"), stroke: none) content((-15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[A]) content((15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[B]) })], [#cetz.canvas({ import cetz.draw: * content((0pt, 63.00pt), text(font: sys.inputs.at("title-font", default: "STIX Two Text"), size: 11pt)[Complement of Union of A and B]) rect((-56.00pt, -40.60pt), (56.00pt, 51.80pt), stroke: 0.7pt + black, fill: rgb("#d8d8d8")) content((47.60pt, 43.40pt), anchor: "north-east", text(size: 10pt)[U]) circle((-15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((-15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[A]) content((15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[B]) })] )]), alt: "A Venn diagram of the union of two sets and the complement is depicted. A union of the two sets A and B shows the intersection of A and B is shaded while the rest of U is unshaded. The complement of the union of sets A and B shows the area of U shaded while the intersection of A and B is unshaded.", caption: none, ) #strong[Step 2:] Next, draw a Venn diagram to represent the right side of the equation. #math.equation(block: false, alt: "A prime")[$A^(′)$] is shaded and #math.equation(block: false, alt: "B prime")[$B^(′)$] is shaded. Because #math.equation(block: false, alt: "A prime")[$A^(′)$] and #math.equation(block: false, alt: "B prime")[$B^(′)$] mix to form #math.equation(block: false, alt: "A prime intersection B prime")[$A^(′) ∩ B^(′)$] is also shaded. #figure( stdfig([#grid(columns: 3, gutter: 1.5em, [#cetz.canvas({ import cetz.draw: * content((0pt, 63.00pt), text(font: sys.inputs.at("title-font", default: "STIX Two Text"), size: 11pt)[A′]) rect((-56.00pt, -40.60pt), (56.00pt, 51.80pt), stroke: 0.7pt + black, fill: rgb("#d8d8d8")) content((47.60pt, 43.40pt), anchor: "north-east", text(size: 10pt)[U]) circle((-15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((-15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[A]) content((15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[B]) })], [#cetz.canvas({ import cetz.draw: * content((0pt, 63.00pt), text(font: sys.inputs.at("title-font", default: "STIX Two Text"), size: 11pt)[B′]) rect((-56.00pt, -40.60pt), (56.00pt, 51.80pt), stroke: 0.7pt + black, fill: rgb("#d8d8d8")) content((47.60pt, 43.40pt), anchor: "north-east", text(size: 10pt)[U]) circle((-15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((-15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[A]) content((15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[B]) })], [#cetz.canvas({ import cetz.draw: * content((0pt, 63.00pt), text(font: sys.inputs.at("title-font", default: "STIX Two Text"), size: 11pt)[A′ ∩ B′]) rect((-56.00pt, -40.60pt), (56.00pt, 51.80pt), stroke: 0.7pt + black, fill: rgb("#d8d8d8")) content((47.60pt, 43.40pt), anchor: "north-east", text(size: 10pt)[U]) circle((-15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) circle((15.40pt, 0.00pt), radius: 28.00pt, stroke: 0.7pt + black, fill: white) content((-15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[A]) content((15.40pt, 24.08pt), anchor: "north", text(size: 10pt)[B]) })] )]), alt: "A Venn diagram of the intersection of the complement of two sets is depicted. Complement of A shows A is unshaded while U is shaded. The complement of B shows B is unshaded while U is shaded. A complement of the union of A and B show A intersecting with B. Sets A and B are not shaded while U is shaded.", caption: [Venn diagram of intersection of the complement of two sets.], ) #strong[Step 3:] Verify the conclusion. Because the shaded region in the Venn diagram for #math.equation(block: false, alt: "open parenthesis A union B close parenthesis prime")[$( A ∪ B )^(′)$] matches the shaded region in the Venn diagram for #math.equation(block: false, alt: "A prime intersection B '")[$A^(′) ∩ B '$], the two sides of the equation are equal, and the statement is true. This completes the proof that De Morgan’s law is valid. ] ] === Key Concepts - A Venn diagram with two overlapping sets breaks the universal set up into four distinct regions. When a third overlapping set is added the Venn diagram is broken up into eight distinct regions. - Analyze, interpret, and create Venn diagrams involving three overlapping sets. - Including the blood factors: A, B and Rh - To find unions and intersections. - To find cardinality of both unions and intersections. - When performing set operations with three or more sets, the order of operations is inner most parentheses first, then fine the complement of any sets, then perform any union or intersection operations that remain. - To prove set equality using Venn diagrams the strategy is to draw a Venn diagram to represent each side of the equality or equation, then look at the resulting diagrams to see if the regions under consideration are identical. If they regions are identical the equation represents a true statement, otherwise it is not true. === Projects ==== Cardinality of Infinite Sets In set theory, it has been shown that the set of irrational numbers has a cardinality greater than the set of natural numbers. That is, the set of irrational numbers is so large that it is uncountably infinite. + Perform a search with the phrase, “Who first proved that the real numbers are uncountable?” + Who first proved that the real numbers are uncountable? + What was the significance of this proof to the development of set theory and by extension other fields of mathematics? + Recent discoveries in the field of set theory include the solution to a 70-year-old problem previously thought to be unprovable. To learn more read #link("https://openstax.org/r/measure-infinities")[this article]: + What does it mean for two infinite sets to have the same size? + The real numbers are sometimes referred to as what? + Summarize your understanding of the problem known as the “Continuum Hypothesis.” + Malliaris and Shelah’s proof of this 70-year-old problem is opening up investigation in what two fields of mathematics? + Summarize your understanding of infinity. + Define what it means to be infinite. + Explain the difference between countable and uncountable sets. + Research the difference between a discrete set and a continuous set, then summarize your findings. ==== Set Notation In arithmetic, the operation of addition is represented by the plus sign, +, but multiplication is represented in multiple ways, including #math.equation(block: false, alt: "times , times , ∗ ,")[$⋅ , × , ∗ ,$] and parentheses, such as 5(3). Several set operations also are written in different forms based on the preferences of the mathematician and often their publisher. + Search for “Set Complement” on the internet and list at least three ways to represent the complement of a set. + Both the Set Challenge and Venn Diagram smartphone apps highlighted in the Tech Check sections have an operation for set difference. List at least two ways to represent set difference and provide a verbal description of how to calculate the difference between two sets #math.equation(block: false, alt: "A")[$A$] and #math.equation(block: false, alt: "B")[$B$]. + When researching possible Venn diagram applications, the Greek letter delta, #math.equation(block: false, alt: "Δ")[$upright(Δ)$] appeared as a symbol for a set operator. List at least one other symbol used for this same operation. + Search for “List of possible set operations and their symbols.” Find and select two symbols that were not presented in this chapter. ==== The Real Number System The set of real numbers and their properties are studied in elementary school today, but how did the number system evolve? The idea of natural numbers or counting numbers surfaced prior to written words, as evidenced by tally marks in cave writing. Create a timeline for significant contributions to the real number system. + Use the following phrase to search online for information on the origins of the number zero: “History of the number zero.” Then, record significant dates for the invention and common use of the number zero on your timeline. + Find out who is credited for discovering that the #math.equation(block: false, alt: "the square root of 2")[$sqrt(2)$] is irrational and add this information to your timeline. Hint: Search for, “Who was the first to discover irrational numbers?” + Research Georg Cantor’s contribution to the representation of real numbers as a continuum and add this to your timeline. + Research Ernst Zermelo’s contribution to the real number system and add this to your timeline.