SlideShare une entreprise Scribd logo
1  sur  15
D i s c re te
S tru c tu re s
        (Discrete Mathematics)
  Topic: Set Operations
             ©bilalAmjad
    bilalamjad78633@yahoo.com
Set operations: Union
 Formal definition for the union of two sets:
  A U B = { x | x ∈ A or x ∈ B } or
  A U B = { x ∈ U| x ∈ A or x ∈ B }
 Further examples
   {1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}
   {a, b} ∪ {3, 4} = {a, b, 3, 4}
   {1, 2} ∪ ∅ = {1, 2}
 Properties of the union operation
     A∪∅=A                            Identity law
     A∪U=U                            Domination law
     A∪A=A                            Idempotent law
     A∪B=B∪A                          Commutative law
     A ∪ (B ∪ C) = (A ∪ B) ∪ C        Associative law
05/26/12
Set operations: Intersection
 Formal definition for the intersection of two sets:
  A ∩ B = { x | x ∈ A and x ∈ B }
 Examples
   {1, 2, 3} ∩ {3, 4, 5} = {3}
   {a, b} ∩ {3, 4} = ∅
   {1, 2} ∩ ∅ = ∅
 Properties of the intersection operation
     A∩U=A                         Identity law
     A∩∅=∅                         Domination law
     A∩A=A                         Idempotent law
     A∩B=B∩A                       Commutative law
     A ∩ (B ∩ C) = (A ∩ B) ∩ C     Associative law
Exercise-intersection




05/26/12
Exercise-union




05/26/12
Disjoint sets
 Formal definition for disjoint sets:
  two sets are disjoint if their intersection is the
  empty set
 Further examples
   {1, 2, 3} and {3, 4, 5} are not disjoint
   {a, b} and {3, 4} are disjoint
   {1, 2} and ∅ are disjoint
     • Their intersection is the empty set
   ∅ and ∅ are disjoint!
     • Because their intersection is the empty set
Set operations: Difference
 Formal definition for the difference of two sets:
  A - B = { x | x ∈ A and x ∉ B }
 Further examples
   {1, 2, 3} - {3, 4, 5} = {1, 2}
   {a, b} - {3, 4} = {a, b}
   {1, 2} - ∅ = {1, 2}
     • The difference of any set S with the empty set will be the
       set S
Complement sets
 Formal definition for the complement of a set:
  A = { x | x ∉ A } = Ac
   Or U – A, where U is the universal set
 Further examples (assuming U = Z)
   {1, 2, 3}c = { …, -2, -1, 0, 4, 5, 6, … }
   {a, b}c = Z
 Properties of complement sets
   (Ac)c = A                   Complementation law
   A ∪ Ac = U                  Complement law
   A ∩ Ac = ∅                  Complement law
Set identities
 A∪∅ = A                     A∪U = U
            Identity Law                    Domination law
 A∩U = A                     A∩∅ = ∅
 A∪A = A    Idempotent                      Complementation
                             (Ac)c = A
 A∩A = A       Law                               Law
A∪B = B∪A   Commutative    (A∪B)c = Ac∩Bc
                                            De Morgan’s Law
A∩B = B∩A      Law         (A∩B)c = Ac∪Bc
A∪(B∪C)                     A∩(B∪C) =
= (A∪B)∪C   Associative    (A∩B)∪(A∩C)
                                            Distributive Law
A∩(B∩C)        Law          A∪(B∩C) =
= (A∩B)∩C                  (A∪B)∩(A∪C)
A∪(A∩B) =
    A        Absorption     A ∪ Ac = U
                                            Complement Law
A∩(A∪B) =       Law         A ∩ Ac = ∅
    A
How to prove a set identity
 For example: A∩B=B-(B-A)
 Four methods:
     Use the basic set identities
     Use membership tables
     Prove each set is a subset of each other
     Use set builder notation and logical equivalences
What we are going to prove…
         A∩B=B-(B-A)


        A             B

            B-(B-A)
                          B-A
             A∩B
Proof by Set Identities
 A ∩ B = A - (A - B) = B – (B – A)
Proof: A - (A - B) = A - (A ∩ Bc)
                     = A ∩ (A ∩ Bc)c
                     = A ∩ (Ac ∪ B)
                     = (A ∩ Ac) ∪ (A ∩ B)
                     = ∅ ∪ (A ∩ B)
                     =A∩B
Showing each is a subset of the others
 (A ∩ B)c = Ac ∪ Bc
Proof: Want to prove that
   (A ∩ B)c ⊆ Ac ∪ Bc and Ac ∪ Bc ⊆ (A ∩ B)c
(i) x ∈ (A ∩ B)c
 ⇒ x ∉ (A ∩ B)
 ⇒ ¬ (x ∈ A ∩ B)
 ⇒ ¬ (x ∈ A ∧ x ∈ B)
 ⇒ ¬ (x ∈ A) ∨ ¬ (x ∈ B)
 ⇒x∉A∨x∉B
 ⇒ x ∈ Ac ∨ x ∈ B c
 ⇒ x ∈ Ac ∪ B c
(ii) Similarly we show that Ac ∪ Bc ⊆ (A ∩ B)c
Exercise

Contenu connexe

Tendances

Graphs of polynomial functions
Graphs of polynomial functionsGraphs of polynomial functions
Graphs of polynomial functions
Carlos Erepol
 
Solving Word Problems Involving Quadratic Equations
Solving Word Problems Involving Quadratic EquationsSolving Word Problems Involving Quadratic Equations
Solving Word Problems Involving Quadratic Equations
kliegey524
 

Tendances (20)

Sample space, events, outcomes, and experiments
Sample space, events, outcomes, and experimentsSample space, events, outcomes, and experiments
Sample space, events, outcomes, and experiments
 
Set theory
Set theory Set theory
Set theory
 
Ppt sets and set operations
Ppt sets and set operationsPpt sets and set operations
Ppt sets and set operations
 
Cartesian product of two sets
Cartesian product of two setsCartesian product of two sets
Cartesian product of two sets
 
Operations on sets
Operations on setsOperations on sets
Operations on sets
 
sets and venn diagrams
sets and venn diagramssets and venn diagrams
sets and venn diagrams
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 
Integrals by Trigonometric Substitution
Integrals by Trigonometric SubstitutionIntegrals by Trigonometric Substitution
Integrals by Trigonometric Substitution
 
11.5 Independent and Dependent Events
11.5 Independent and Dependent Events11.5 Independent and Dependent Events
11.5 Independent and Dependent Events
 
Union & Intersection of Sets
Union & Intersection of SetsUnion & Intersection of Sets
Union & Intersection of Sets
 
Graphs of polynomial functions
Graphs of polynomial functionsGraphs of polynomial functions
Graphs of polynomial functions
 
Slope of a line
Slope of a lineSlope of a line
Slope of a line
 
Permutations
PermutationsPermutations
Permutations
 
Sets PowerPoint Presentation
Sets PowerPoint PresentationSets PowerPoint Presentation
Sets PowerPoint Presentation
 
Math 7 - Ways of Defining a Set
Math 7 - Ways of Defining a SetMath 7 - Ways of Defining a Set
Math 7 - Ways of Defining a Set
 
Conditional Probability
Conditional ProbabilityConditional Probability
Conditional Probability
 
Set operations
Set operationsSet operations
Set operations
 
Solving Word Problems Involving Quadratic Equations
Solving Word Problems Involving Quadratic EquationsSolving Word Problems Involving Quadratic Equations
Solving Word Problems Involving Quadratic Equations
 
Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)
 
Set theory
Set theorySet theory
Set theory
 

En vedette

SET THEORY
SET THEORYSET THEORY
SET THEORY
Lena
 
Mean, median, and mode
Mean, median, and modeMean, median, and mode
Mean, median, and mode
guest455435
 
Discrete-Chapter 02 Functions and Sequences
Discrete-Chapter 02 Functions and SequencesDiscrete-Chapter 02 Functions and Sequences
Discrete-Chapter 02 Functions and Sequences
Wongyos Keardsri
 
Discrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part IDiscrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part I
Wongyos Keardsri
 
Discrete-Chapter 03 Matrices
Discrete-Chapter 03 MatricesDiscrete-Chapter 03 Matrices
Discrete-Chapter 03 Matrices
Wongyos Keardsri
 
Discrete-Chapter 08 Relations
Discrete-Chapter 08 RelationsDiscrete-Chapter 08 Relations
Discrete-Chapter 08 Relations
Wongyos Keardsri
 
Discrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part IIDiscrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part II
Wongyos Keardsri
 
Discrete-Chapter 07 Probability
Discrete-Chapter 07 ProbabilityDiscrete-Chapter 07 Probability
Discrete-Chapter 07 Probability
Wongyos Keardsri
 
Discrete-Chapter 09 Algorithms
Discrete-Chapter 09 AlgorithmsDiscrete-Chapter 09 Algorithms
Discrete-Chapter 09 Algorithms
Wongyos Keardsri
 

En vedette (20)

2.2 Set Operations
2.2 Set Operations2.2 Set Operations
2.2 Set Operations
 
Mathematics class XI SETS
Mathematics class XI SETSMathematics class XI SETS
Mathematics class XI SETS
 
Maths sets ppt
Maths sets pptMaths sets ppt
Maths sets ppt
 
Discrete-Chapter 01 Sets
Discrete-Chapter 01 SetsDiscrete-Chapter 01 Sets
Discrete-Chapter 01 Sets
 
Set Theory Presentation
Set Theory PresentationSet Theory Presentation
Set Theory Presentation
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 
01 sets
01   sets01   sets
01 sets
 
Set theory
Set theorySet theory
Set theory
 
Venn diagram guide
Venn diagram guideVenn diagram guide
Venn diagram guide
 
Sets venn diagrams
Sets venn diagramsSets venn diagrams
Sets venn diagrams
 
Mean, median, and mode
Mean, median, and modeMean, median, and mode
Mean, median, and mode
 
Discrete-Chapter 02 Functions and Sequences
Discrete-Chapter 02 Functions and SequencesDiscrete-Chapter 02 Functions and Sequences
Discrete-Chapter 02 Functions and Sequences
 
Introduction to management
Introduction to managementIntroduction to management
Introduction to management
 
Discrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part IDiscrete-Chapter 04 Logic Part I
Discrete-Chapter 04 Logic Part I
 
Discrete-Chapter 03 Matrices
Discrete-Chapter 03 MatricesDiscrete-Chapter 03 Matrices
Discrete-Chapter 03 Matrices
 
Discrete-Chapter 08 Relations
Discrete-Chapter 08 RelationsDiscrete-Chapter 08 Relations
Discrete-Chapter 08 Relations
 
Discrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part IIDiscrete-Chapter 04 Logic Part II
Discrete-Chapter 04 Logic Part II
 
Discrete-Chapter 07 Probability
Discrete-Chapter 07 ProbabilityDiscrete-Chapter 07 Probability
Discrete-Chapter 07 Probability
 
Discrete-Chapter 09 Algorithms
Discrete-Chapter 09 AlgorithmsDiscrete-Chapter 09 Algorithms
Discrete-Chapter 09 Algorithms
 
Set Theory
Set TheorySet Theory
Set Theory
 

Similaire à Set Operations

Set theory and relation
Set theory and relationSet theory and relation
Set theory and relation
ankush_kumar
 
Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Ch1 sets and_logic(1)
Ch1 sets and_logic(1)
Kwonpyo Ko
 

Similaire à Set Operations (20)

8-Sets-2.ppt
8-Sets-2.ppt8-Sets-2.ppt
8-Sets-2.ppt
 
Sets.pdf
Sets.pdfSets.pdf
Sets.pdf
 
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
 
set identities and their examples outlined.pptx
set identities and their examples outlined.pptxset identities and their examples outlined.pptx
set identities and their examples outlined.pptx
 
Sets
SetsSets
Sets
 
Mathematics Sets and Logic Week 1
Mathematics Sets and Logic Week 1Mathematics Sets and Logic Week 1
Mathematics Sets and Logic Week 1
 
04 - Sets
04 - Sets04 - Sets
04 - Sets
 
Discrete mathematics sol
Discrete mathematics solDiscrete mathematics sol
Discrete mathematics sol
 
Discrete Structure Lecture #7 & 8.pdf
Discrete Structure Lecture #7 & 8.pdfDiscrete Structure Lecture #7 & 8.pdf
Discrete Structure Lecture #7 & 8.pdf
 
Set theory and relation
Set theory and relationSet theory and relation
Set theory and relation
 
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions ManualDiscrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
Discrete Mathematics and Its Applications 7th Edition Rose Solutions Manual
 
01_Sets.pdf
01_Sets.pdf01_Sets.pdf
01_Sets.pdf
 
Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Ch1 sets and_logic(1)
Ch1 sets and_logic(1)
 
Sets (1).ppt
Sets (1).pptSets (1).ppt
Sets (1).ppt
 
Truth, deduction, computation lecture h
Truth, deduction, computation   lecture hTruth, deduction, computation   lecture h
Truth, deduction, computation lecture h
 
SETS - Vedantu.pdf
SETS - Vedantu.pdfSETS - Vedantu.pdf
SETS - Vedantu.pdf
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
Set theory self study material
Set theory  self study materialSet theory  self study material
Set theory self study material
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 
Mtk3013 chapter 2-3
Mtk3013   chapter 2-3Mtk3013   chapter 2-3
Mtk3013 chapter 2-3
 

Plus de Bilal Amjad (6)

Organizational structure
Organizational structureOrganizational structure
Organizational structure
 
Arrays and addressing modes
Arrays and addressing modesArrays and addressing modes
Arrays and addressing modes
 
Communication process (effective)
Communication process (effective)Communication process (effective)
Communication process (effective)
 
Graphical User Interface (Gui)
Graphical User Interface (Gui)Graphical User Interface (Gui)
Graphical User Interface (Gui)
 
Ethnic Diversity in Punjab
Ethnic Diversity in PunjabEthnic Diversity in Punjab
Ethnic Diversity in Punjab
 
Social Networking
Social NetworkingSocial Networking
Social Networking
 

Dernier

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Dernier (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Set Operations

  • 1. D i s c re te S tru c tu re s (Discrete Mathematics) Topic: Set Operations ©bilalAmjad bilalamjad78633@yahoo.com
  • 2. Set operations: Union  Formal definition for the union of two sets: A U B = { x | x ∈ A or x ∈ B } or A U B = { x ∈ U| x ∈ A or x ∈ B }  Further examples  {1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}  {a, b} ∪ {3, 4} = {a, b, 3, 4}  {1, 2} ∪ ∅ = {1, 2}  Properties of the union operation  A∪∅=A Identity law  A∪U=U Domination law  A∪A=A Idempotent law  A∪B=B∪A Commutative law  A ∪ (B ∪ C) = (A ∪ B) ∪ C Associative law
  • 4. Set operations: Intersection  Formal definition for the intersection of two sets: A ∩ B = { x | x ∈ A and x ∈ B }  Examples  {1, 2, 3} ∩ {3, 4, 5} = {3}  {a, b} ∩ {3, 4} = ∅  {1, 2} ∩ ∅ = ∅  Properties of the intersection operation  A∩U=A Identity law  A∩∅=∅ Domination law  A∩A=A Idempotent law  A∩B=B∩A Commutative law  A ∩ (B ∩ C) = (A ∩ B) ∩ C Associative law
  • 7. Disjoint sets  Formal definition for disjoint sets: two sets are disjoint if their intersection is the empty set  Further examples  {1, 2, 3} and {3, 4, 5} are not disjoint  {a, b} and {3, 4} are disjoint  {1, 2} and ∅ are disjoint • Their intersection is the empty set  ∅ and ∅ are disjoint! • Because their intersection is the empty set
  • 8. Set operations: Difference  Formal definition for the difference of two sets: A - B = { x | x ∈ A and x ∉ B }  Further examples  {1, 2, 3} - {3, 4, 5} = {1, 2}  {a, b} - {3, 4} = {a, b}  {1, 2} - ∅ = {1, 2} • The difference of any set S with the empty set will be the set S
  • 9. Complement sets  Formal definition for the complement of a set: A = { x | x ∉ A } = Ac  Or U – A, where U is the universal set  Further examples (assuming U = Z)  {1, 2, 3}c = { …, -2, -1, 0, 4, 5, 6, … }  {a, b}c = Z  Properties of complement sets  (Ac)c = A Complementation law  A ∪ Ac = U Complement law  A ∩ Ac = ∅ Complement law
  • 10. Set identities A∪∅ = A A∪U = U Identity Law Domination law A∩U = A A∩∅ = ∅ A∪A = A Idempotent Complementation (Ac)c = A A∩A = A Law Law A∪B = B∪A Commutative (A∪B)c = Ac∩Bc De Morgan’s Law A∩B = B∩A Law (A∩B)c = Ac∪Bc A∪(B∪C) A∩(B∪C) = = (A∪B)∪C Associative (A∩B)∪(A∩C) Distributive Law A∩(B∩C) Law A∪(B∩C) = = (A∩B)∩C (A∪B)∩(A∪C) A∪(A∩B) = A Absorption A ∪ Ac = U Complement Law A∩(A∪B) = Law A ∩ Ac = ∅ A
  • 11. How to prove a set identity  For example: A∩B=B-(B-A)  Four methods:  Use the basic set identities  Use membership tables  Prove each set is a subset of each other  Use set builder notation and logical equivalences
  • 12. What we are going to prove… A∩B=B-(B-A) A B B-(B-A) B-A A∩B
  • 13. Proof by Set Identities  A ∩ B = A - (A - B) = B – (B – A) Proof: A - (A - B) = A - (A ∩ Bc) = A ∩ (A ∩ Bc)c = A ∩ (Ac ∪ B) = (A ∩ Ac) ∪ (A ∩ B) = ∅ ∪ (A ∩ B) =A∩B
  • 14. Showing each is a subset of the others  (A ∩ B)c = Ac ∪ Bc Proof: Want to prove that (A ∩ B)c ⊆ Ac ∪ Bc and Ac ∪ Bc ⊆ (A ∩ B)c (i) x ∈ (A ∩ B)c ⇒ x ∉ (A ∩ B) ⇒ ¬ (x ∈ A ∩ B) ⇒ ¬ (x ∈ A ∧ x ∈ B) ⇒ ¬ (x ∈ A) ∨ ¬ (x ∈ B) ⇒x∉A∨x∉B ⇒ x ∈ Ac ∨ x ∈ B c ⇒ x ∈ Ac ∪ B c (ii) Similarly we show that Ac ∪ Bc ⊆ (A ∩ B)c