The Foundations: Logic and Proofs

Set Operations Union Definition: The union of sets A and B, denoted by A B, contains those elements that are in A or B or both: Example: {1, 2, 3} {3, 4, 5} = {1, 2, 3, 4, 5} U A Venn Diagram for A B B Intersection Definition: The intersection of sets A and B,

denoted by A B, contains elements that are in both A and B If the intersection is empty, then A and B are disjoint. Examples: {1, 2, 3} {3, 4, 5} = {3} {1, 2, 3} {4, 5, 6} = Venn Diagram for A B U A B Difference Definition: The difference of sets A and B, denoted by AB, is the set containing the

elements of A that are not in B: AB = {x | x A x B} Example: {1, 2, 3} {3, 4, 5} = {1, 2} U A B Venn Diagram for AB Complement Definition: The complement of a set A, denoted by is the set UA; i.e., it contains all elements that are not in A = {x U | x A} Example: If U are positive integers less than 100 then the complement of {x | x > 70} is {x | x 70}

U A Venn Diagram for Complement Examples U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10} A = {1, 2, 3, 4, 5} B ={4, 5, 6, 7, 8} A B = {1, 2, 3, 4, 5, 6, 7, 8} A B = {4, 5} = {0, 6, 7, 8, 9, 10} = {0, 1, 2, 3, 9, 10} AB = {1, 2, 3} BA = {6, 7, 8} Set Identities

How can we compare sets constructed using the various operators? Identity laws Domination laws Idempotent laws Complementation law Set Identities Commutative laws Associative laws Distributive laws Set Identities De Morgans laws Absorption laws

Complement laws Proving Set Identities Different ways to prove set identities: 1. Prove that each set is a subset of the other. 2. Use set builder notation and propositional logic. 3. Membership Tables: To compare two sets S1 and S2, each constructed from some base sets using intersections, unions, differences, and

complements: Consider an arbitrary element x from U and use 1 or 0 to represent its presence or absence in a given set Construct all possible combinations of memberships of x in the base sets Use the definitions of set operators to establish the membership of x in S1 and S2 S1=S2 iff the memberships are identical for all combinations Membership Table Exampl Show that the distributive law holds. e: Solution: A 1 1 1 1

0 0 0 0 B 1 1 0 0 1 1 0 0 C 1 0 1

0 1 0 1 0 1 0 0 0 1 0 0 0 1 1 1 1

1 0 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1

0 1 0 1 1 1 1 1 0 0 0

Recently Viewed Presentations

  • Trigonometric Ratios - Winston-Salem/Forsyth County Schools

    Trigonometric Ratios - Winston-Salem/Forsyth County Schools

    Trigonometric Ratios A RATIO is a comparison of two numbers. For example; boys to girls cats : dogs right : wrong. In Trigonometry, the comparison is between sides of a triangle ( right triangle). Solution: You know opposite and adjacent...
  • Présentation PowerPoint - Fédération Wallonie-Bruxelles

    Présentation PowerPoint - Fédération Wallonie-Bruxelles

    « Le premier caractère du roman naturaliste, dont Madame Bovary est le type, est la reproduction exacte de la vie, l'absence de tout élément romanesque. » ... Le Réalisme se prolonge dans le Naturalisme qui en accentue les caractéristiques. Ce...
  • Narrator's Perspective - Ereading Worksheets

    Narrator's Perspective - Ereading Worksheets

    Narrator's Perspective Point of View ... From whose perspective is the story told? In Second-Person the perspective of "you" is narrated. It is mainly used for instruction or directions. Third-Person Narration The narrator is outside of the story. Third-Person tells...
  • Swamy Paripoornanandas NJ/NY discourses info@SaveTemples.org www.sreepeetham.org +91-884-2348111 NJ/NY

    Swamy Paripoornanandas NJ/NY discourses [email protected] www.sreepeetham.org +91-884-2348111 NJ/NY

    Swamiji's, Maataji's and scholars should initiate programs to conduct lectures and rituals in the villages, towns, mandalas and districts to propagate Hindu religion vigorously to strengthen the religious values and reinforce the believes among Hindus.
  • Diapositiva 1 - ILO

    Diapositiva 1 - ILO

    Perú: Incidencia Elaborado por F. Verdera Para el 2007, el índice de confianza de las centrales sindicales es mayor al del TC, la Contraloría, el Gobierno Central, el Poder Judicial, el Congreso y los Partidos Políticos Se habla del crecimiento...
  • Will that be allele cache or Mendelian credit?

    Will that be allele cache or Mendelian credit?

    Susan J. Lolle Purdue University National Science Foundation Two heads are better than one... hothead - phenotype Organ fusion Pollen hydration on vegetative surfaces Increased rate of chlorophyll extraction Limited self-fertility Fundamentals of Mendelian Genetics Two alleles per locus Alleles...
  • Will Infants Who Die Go to Heaven?

    Will Infants Who Die Go to Heaven?

    Will Infants Who Die Go to Heaven? An Overview of the Claims, Options, Possible Solutions, Implications, and Concluding Biblically & Theologically Coherent Support for the Doctrine of Infant Salvation.
  • SharePoint and Office - NCDOT

    SharePoint and Office - NCDOT

    SharePoint and Office are tightly integrated. ... Transportation. Import an Excel Spreadsheet. You must define a range in the spreadsheet before importing. Table range. Named range. Range of cells. Settings. gear > Add an app > ... Enter address of...