9.2: Union, Intersection, and Complement (2024)

  1. Last updated
  2. Save as PDF
  • Page ID
    62021
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vectorC}[1]{\textbf{#1}}\)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}}\)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}\)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Commonly sets interact. For example, you and a new roommate decide to have a house party, and you both invite your circle of friends. At this party, two sets are being combined, though it might turn out that there are some friends that were in both sets.

    However, before we talk about multiple sets interacting, we first introduce the idea of a set's complement.

    Complement

    The complement of a set A contains everything that is not in the set A.

    The complement is notated \(A^c\) or \(\bar{A}\).

    Notice that, without context, it is hard (or even impossible) to describe \(A^{c}\), since everything from the color fuchsia to puppies and peanut butter are included in the complement of a random set. For this reason, complements are usually only used when we have a universal set in place (or when we are also taking the intersection of sets, which is introduced later in this section).

    Universal Set

    A universal set \(U\) is a set that contains all the elements we are interested in. This would have to be defined by the context.

    A set complement is relative to the universal set, so \(A^{c}\) contains all the elements in the universal set that are not in \(A\).

    More formally, \(x \in A^c\) if \(x \in U\) and \(x \not\in A\)

    Example 1

    1. If we were discussing searching for books, the universal set might be all the books in the library.
    2. If we were grouping your Facebook friends, the universal set would be all your Facebook friends.
    3. If you were working with sets of numbers, the universal set might be all whole numbers, all integers, or all real numbers

    Example 2

    Suppose the universal set is \(U={1,2,3,4,5,6,7,8,9\) (all whole numbers from \(1\) to \(9 \)). If \(A=\{1,2,4\}\), then

    \(A^{c}=\{3,5,6,7,8,9\}\)

    Union and Intersection

    The union of two sets contains all the elements contained in either set (or both sets).

    The union is notated \(A \cup B\)

    More formally, \(x \in A \cup B\) if \(x \in A\) or \(x \in B\) (or both)

    The intersection of two sets contains only the elements that are in both sets.

    The intersection is notated \(A \cap B\)

    More formally, \(x \in A \cap B\) if \(x \in A\) and \(x \in B\)

    Example 3

    Consider the sets:

    \(\quad A=\{\text { red, green, blue }\} \quad B=\{\text { red, yellow, orange }\} \quad C=\{\text { red, orange, yellow, green, blue, purple }\}\)

    1. Find \(A \cup B\)
    2. Find \(A \cap B\)
    3. Find \(A^{c} \cap C\)
    Solution

    a) The union contains all the elements in either set: \(A \cup B=\{\text { red, green, blue, yellow, orange }\}\)

    Notice we only list red once.

    b) The intersection contains all the elements in both sets: \(A \cap B=\{\text { red }\}\)

    c) Here we're looking for all the elements that are not in set \(A\) and are also in \(C\).

    \(A^{c} \cap C=\{\text { orange, yellow, purple }\}\)

    Notice that in the example above, we do not need a universal set since we are using complement together with the intersection operation.

    Try it Now 1

    Using the sets from the previous example, find \(A \cup C\) and \(B^{c} \cap A\)

    Answer

    \(A \cup C=\{\text { red, orange, yellow, green, blue purple }\}\)

    \(B^{c} \cap A=\{\text { green, blue }\}\)

    As we saw earlier with the expression \(A^{c} \cap C,\) set operations can be grouped together. Grouping symbols can be used like they are with arithmetic - to force an order of operations.

    Example 4

    Suppose

    \(H=\{\text { cat, dog, rabbit, mouse }\}, F=\{\text { dog, cow, duck, pig, rabbit }\} \quad W=\{\text { duck, rabbit, deer, frog, mouse }\}\)

    1. Find \((H \cap P) \cup W\)
    2. Find \(H \cap(F \cup W)\)
    3. Find \((H \cap P) \cap W\)
    Solution

    a) We start with the intersection: \(H \cap F=\{\text { dog, rabbit }\}\)

    Now we union that result with \(W:(H \cap F) \cup W=\{\text{dog, duck, rabbit, deer, frog, mouse }\}\)

    b) We start with the union: \(F \cup W=\{\text{dog, cow, rabbit, duck, pig, deer, frog, mouse }\}\)

    Now we intersect that result with \(H: H \cap(F \cup W)=\{\text { dog, rabbit, mouse }\}\)

    c) We start with the intersection: \(H \cap F=\{\mathrm{dog}, \text { rabbit }\}\)

    Now we want to find the elements of \(W\) that are not in \(\mathrm{H} \cap F\)

    \((H \cap P)^{c} \cap W=\{\text { duck, deer, frog, mouse }\}\)

    CARDINALITY

    Recall that the cardinality of a set is the number of elements in a set. We now discuss how to think about cardinality when taking the union, intersection, or complement of sets.

    Example 5

    Let \(A=\{1,2,3,4,5,6\}\) and \(B=\{2,4,6,8\}\)

    What is the cardinality of the set \(A \cup B\)? The set \(A \cap B ?\)

    Solution

    The cardinality of \(A \cup B\) is \(7,\) since \(A \cup B=\{1,2,3,4,5,6,8\}\), which contains 7 elements.

    The cardinality of \(A \cap B\) is 3 , since \(A \cap B=\{2,4,6\}\), which contains 3 elements.

    Sometimes we may be interested in the cardinality of the union or intersection of sets, but not know the actual elements of each set. This is common in surveying.

    Example 6

    A survey asks 200 people “What beverage do you drink in the morning”, and offers choices:

    • Tea only
    • Coffee only
    • Both coffee and tea

    Suppose 20 report tea only, 80 report coffee only, 40 report both. How many people drink tea in the morning? How many people drink neither tea or coffee?

    Solution

    9.2: Union, Intersection, and Complement (2)We can find the people who drink tea by adding those who drink only tea to those who drink both: \(20+40=60\) people.

    We can also see that those who drink neither are those not contained in the any of the three other groupings, so we can count those by subtracting from the cardinality of the universal set, 200.

    \(200-20-80-40=60\) people who drink neither.

    Note that this question can most easily be answered by creating a Venn diagram (discussed in the next section and pictured here).

    Example 7

    A survey asks 100 people: Which online services have you used in the last month:

    • Twitter
    • Facebook
    • Have used both

    The results show 35 of those surveyed have used Twitter, 30 have used Facebook, and 20 have used both. How many people have used neither Twitter or Facebook?

    Solution

    Let \(T\) be the set of all people who have used Twitter, and \(F\) be the set of all people who have used Facebook. Notice that while the cardinality of \(F\) is \(30\) and the cardinality of \(T\) is \(35 \), the cardinality of \(F \cup T\) is not simply \(30+35\), since that would count those who use both services twice. To find the cardinality of \(F \cup T\), we can add the cardinality of \(F\) and the cardinality of \(T\), then subtract those in intersection that we've counted twice. In symbols,

    \(n(F \cup T)=n(F)+n(T)-n(F \cap T)\)

    \(n(F \cup T)=30+35-20=45\)

    Now, to find how many people have not used either service, we're looking for the cardinality of \((F \cup T)^{c}\). Since the universal set contains \(100\) of people and the cardinality of \(F \cup T=45\), the cardinality of \((F \cup T)^{c}\) must be the other \(55\).

    The previous example illustrated two important properties

    Cardinality properties

    \(n(A \cup B)=n(A)+n(B)-n(A \cap B)\)

    \(n\left(A^{c}\right)=n(U)-n(A)\)

    Notice that the first property can also be written in an equivalent form by solving for the cardinality of the intersection:

    \(n(A \cap B)=n(A)+n(B)-n(A \cup B)\)

    Try it Now 2

    Suppose 500 people are surveyed regarding their music listening habits. The survey found that find 420 people said they listen to music using streaming services, 140 people said they listen to music on the radio, and 110 people said they listen to both the radio and streaming services.

    (a) How many people listened using either streaming services or the radio?

    (b) How many people listened using the radio, but not streaming services?

    Answer

    (a) Letting \(S\) be the set of streaming listeners and \(R\) be the set of radio listeners, this can formulated as finding \(n(S\cup R)\). Since \(n(S) = 420\), \(n(R)=140\), and \(n(S\cap R) = 110\), we can use our formula to get:

    \(n(S \cup R) = 420 + 140 - 110 = 450\) people

    (b) This can be formulated as \(n(R \cap S^c)\). In other words, we need to subtract the people who use both the radio and streaming from the set of people who listen to the radio. In other words,

    \(n(R \cap S^c) = n(R) - n(R \cap S) = 140 - 110 = 30\) people.

    9.2: Union, Intersection, and Complement (2024)

    FAQs

    What is the formula for union intersection and complement? ›

    De-Morgan's Law of Union is nothing but A union B complement formula given by (A U B)' = A' ∩ B' and De-Morgan's Law of Intersection is A intersection B complement formula which is given by, (A ∩ B)' = A' U B'.

    What is the union intersection and complement of sets? ›

    The union is notated A ⋃ B. The intersection of two sets contains only the elements that are in both sets. The intersection is notated A ⋂ B. The complement of a set A contains everything that is not in the set A.

    What does ∩ and ∪ mean in math? ›

    Union of the sets A and B , denoted A ∪ B , is the set of all objects that are a member of A , or B , or both. The union of {1, 2, 3} and {2, 3, 4} is the set {1, 2, 3, 4} . Intersection of the sets A and B , denoted A ∩ B , is the set of all objects that are members of both A and B .

    How do you find the union a complement? ›

    i) Complement Laws: The union of a set A and its complement A' gives the universal set U of which, A and A' are a subset. Also, the intersection of a set A and its complement A' gives the empty set ∅.

    What is the formula for union and intersection? ›

    n(A ∪ B) = n(A) + n(B) – n(A ∩ B) Simply, the number of elements in the union of set A and B is equal to the sum of cardinal numbers of the sets A and B, minus that of their intersection.

    How to find intersection complement? ›

    A Intersection B Complement is equal to the union of the complements of the sets A and B. Mathematically, it is written as (A ∩ B)' = A' U B'. It is one of the important De-Morgan's Law of sets.

    How to find a complement? ›

    Mathematically the complement of a set A is written as, A' = {x ∈ U : x ∉ A}. In other words, the complement of a set A is the difference between the universal set and set A. i.e., A' = U - A.

    What is an example of a union and intersection? ›

    What are examples of union and intersection? For a union and an intersection example, use the set B = {1, 2, 3, 4, 5, 6} and the set D = {3, 5, 7, 9, 10}. The union of sets B and D is the set {1, 2, 3, 4, 5, 6, 7, 9, 10}. The intersection of sets B and D is the set {3, 5}.

    What is a complement in math? ›

    What is a complement in math? The complement of a set in mathematics is the collection of elements not in the set. If a set A is a subset of a universal set U, the complement of A, A', is the set of elements of U that are not in A.

    What does a ∪ B ∪ C mean? ›

    A union B union C is a collection of elements of the sets A, B, and C. It consists of elements belonging to the three sets A, B and C. Mathematically, A union B union C is denoted by A U B U C, where U represents the union of the three sets.

    How to know if it's a union or intersection? ›

    Difference between Union and Intersection of Set

    The union of two sets X and Y is defined as the set of elements that are included either in the set X or set Y, or both X and Y. The intersection of two sets X and Y is defined as the set of elements that belongs to both sets X and Y.

    What is union intersection and complement? ›

    The complement of the union of sets results in universal sets as all elements absent in set P gets filled by P' which is a complement of set P. P ∪ P' = U. Completion of the intersection of sets results in an empty set as all elements present in set P gets excluded which are present in P'. P ∩ P' = φ

    How do you find the complement rule? ›

    Concept Review. The complement, AC , of an event A consists of all of the outcomes in the sample space that are NOT in event A . The probability of the complement can be found from the original event using the formula: P(AC)=1−P(A) P ( A C ) = 1 − P ( A ) .

    What is the formula for the intersection method? ›

    The point of intersection formula is used to find the point of intersection of the two lines, that is the meeting point of two lines. These two lines can be represented by the equation a1x+b1y+c1=0 and a2x+b2y+c2=0, respectively. It is possible to find point of intersection of three or more lines.

    What is the formula for the complement of a set? ›

    Mathematically the complement of a set A is written as, A' = {x ∈ U : x ∉ A}. In other words, the complement of a set A is the difference between the universal set and set A. i.e., A' = U - A.

    What is the formula for intersection sets? ›

    n(A ∩ B) = n(A) + n(B) - n(A ∪ B)

    What is the formula for the probability of the complement? ›

    Since the sum of any two complements is 1, if you know the probability of one complement, you can find the probability of the other. The Complement Rule states that for any two complements, and , the value of P ( A ) = 1 − P ( B ) . In other words, subtract the complement you know from 1 to find the unknown complement.

    References

    Top Articles
    Brain Out PRANK PLAN Level 8 Cut off the water source Answer - Puzzle4U Answers
    Armslist Colorado
    PBC: News & Top Stories
    Thedirtyship
    Transfer and Pay with Wells Fargo Online®
    Walmart Automotive Number
    Ffxiv Ixali Lightwing
    Atrium Attorney Portal
    O'Quinn Peebles Phillips Funeral Home
    Carmax Chevrolet Tahoe
    888-490-1703
    Apryl Prose Wiki
    New & Used Motorcycles for Sale | NL Classifieds
    Solarmovies.ma
    Eggy Car Unblocked - Chrome Web Store
    Plan the Ultimate Trip to Lexington, Kentucky
    20 Cozy and Creative Fall Front Porch Ideas to Welcome the Season in Style
    Faotp Meaning In Text
    Where Is The Nearest Five Below
    Crazy 8S Cool Math
    Bones And All Showtimes Near Tucson Spectrum 18
    Osrs Mahogany Homes Calc
    11 Shows Your Mom Loved That You Should Probably Revisit
    Busted Newspaper Hampton County VA Mugshots
    Amy Riley Electric Video
    25+ Twitter Header Templates & Design Tips - Venngage
    Monroe County Incidents
    Case Overview: SAMA IM01 – SFF.Network
    Adventhealth Employee Handbook 2022
    Ralph Macchio Conservative
    Espn Chargers Depth Chart
    Chihuahua Adoption in Las Vegas, NV: Chihuahua Puppies for Sale in Las Vegas, NV - Adoptapet.com
    Enlightenment Egg Calculator
    5128 Se Bybee Blvd
    Cashtapp Atm Near Me
    Intelligent intranet overview - SharePoint in Microsoft 365
    C Spire Express Pay
    Family Link from Google - Family Safety & Parental Control Tools
    Papajohnxx
    Experity Installer
    Kortni Floribama Shore Drugs
    Download Diablo 2 From Blizzard
    Goldthroat Goldie
    Best Homemade Tartar Sauce
    Obtaining __________ Is A Major And Critical Closure Activity.
    Ukg Dimensions Urmc
    Kieaira.boo
    Commissary Exchange Benefits What You Need To Know Aafes To Offer Service To Former Military
    Online-Shopping bei Temu: Solltest du lieber die Finger davon lassen?
    Fapello.ckm
    Project Zomboid Sleeping Event
    Craigslist Boats Rochester
    Latest Posts
    Article information

    Author: Wyatt Volkman LLD

    Last Updated:

    Views: 6553

    Rating: 4.6 / 5 (46 voted)

    Reviews: 85% of readers found this page helpful

    Author information

    Name: Wyatt Volkman LLD

    Birthday: 1992-02-16

    Address: Suite 851 78549 Lubowitz Well, Wardside, TX 98080-8615

    Phone: +67618977178100

    Job: Manufacturing Director

    Hobby: Running, Mountaineering, Inline skating, Writing, Baton twirling, Computer programming, Stone skipping

    Introduction: My name is Wyatt Volkman LLD, I am a handsome, rich, comfortable, lively, zealous, graceful, gifted person who loves writing and wants to share my knowledge and understanding with you.