SlideShare a Scribd company logo
1 of 20
Download to read offline
Introduction to set theory and to methodology and philosophy of
mathematics and computer programming
Properties of union, intersection and complement
An overview
by Jan Plaza
c 2017 Jan Plaza
Use under the Creative Commons Attribution 4.0 International License
Version of February 5, 2017
Proposition. Let X, Y , Z ⊆ U. Then:
1. (Identity Laws)
∅ ∪ X = X
U ∩ X = X
2. (Dominance Laws or Annihilation Laws)
∅ ∩ X = ∅
U ∪ X = U
3. (Idempotence Laws)
X ∪ X = X
X ∩ X = X
4. (Associativity Laws)
(X ∪ Y ) ∪ Z = X ∪ (Y ∪ Z)
(X ∩ Y ) ∩ Z = X ∩ (Y ∩ Z)
5. (Commutativity Laws)
X ∪ Y = Y ∪ X
X ∩ Y = Y ∩ X
Proposition. Let X, Y , Z ⊆ U. Then:
1. (Identity Laws)
∅ ∪ X = X analogous to 0 + x = x
U ∩ X = X analogous to 1 · x = x
2. (Dominance Laws or Annihilation Laws)
∅ ∩ X = ∅ analogous to 0 · x = 0
U ∪ X = U
3. (Idempotence Laws)
X ∪ X = X
X ∩ X = X
4. (Associativity Laws)
(X ∪ Y ) ∪ Z = X ∪ (Y ∪ Z) analogous to (x + y) + z = x + (y + z)
(X ∩ Y ) ∩ Z = X ∩ (Y ∩ Z) analogous to (x · y) · z = x · (y · z)
5. (Commutativity Laws)
X ∪ Y = Y ∪ X analogous to x + y = y + x
X ∩ Y = Y ∩ X analogous to x · y = y · x
6. (Distributivity Laws)
X ∩ (Y ∪ Z) = (X ∩ Y ) ∪ (X ∩ Z)
X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z)
7. (Absorption Laws)
X ∩ (X ∪ Y ) = X
X ∪ (X ∩ Y ) = X
8. (De Morgan Laws)
(X ∪ Y )c
= Xc ∩ Y c
(X ∩ Y )c
= Xc ∪ Y c
9. (Complement Laws)
X ∪ Xc = U
X ∩ Xc = ∅
10. (Double Complement Law)
(Xc)c
= X
6. (Distributivity Laws)
X ∩ (Y ∪ Z) = (X ∩ Y ) ∪ (X ∩ Z) analogous to x · (y + z) = x · y + x · z
X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z)
7. (Absorption Laws)
X ∩ (X ∪ Y ) = X
X ∪ (X ∩ Y ) = X
8. (De Morgan Laws)
(X ∪ Y )c
= Xc ∩ Y c
(X ∩ Y )c
= Xc ∪ Y c
9. (Complement Laws)
X ∪ Xc = U
X ∩ Xc = ∅
10. (Double Complement Law)
(Xc)c
= X analogous to −(−x) = x
We will prove the distributivity of union with respect to intersection:
X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
To prepare for the proof, recall that,
1. z ∈ X ∪ Y iff z ∈ X or z ∈ Y ,
2. z ∈ X ∩ Y iff z ∈ X and z ∈ Y ,
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
In order to prove it, consider an arbitrary u.
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
In order to prove it, consider an arbitrary u.
We have the following equivalences.
u ∈ X ∪ (Y ∩ Z)
iff
iff
iff
u ∈ (X ∪ Y ) ∩ (X ∪ Z).
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
In order to prove it, consider an arbitrary u.
We have the following equivalences.
u ∈ X ∪ (Y ∩ Z)
iff
u ∈ X ∨ u ∈ (Y ∩ Z)
iff
iff
u ∈ (X ∪ Y ) ∩ (X ∪ Z).
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
In order to prove it, consider an arbitrary u.
We have the following equivalences.
u ∈ X ∪ (Y ∩ Z)
iff
u ∈ X ∨ u ∈ (Y ∩ Z)
iff
u ∈ X ∨ (u ∈ Y ∧ u ∈ Z)
iff
u ∈ (X ∪ Y ) ∩ (X ∪ Z).
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
In order to prove it, consider an arbitrary u.
We have the following equivalences.
u ∈ X ∪ (Y ∩ Z)
iff
u ∈ X ∨ u ∈ (Y ∩ Z)
iff
u ∈ X ∨ (u ∈ Y ∧ u ∈ Z)
iff
(u ∈ X ∪ Y ) ∧ (u ∈ X ∪ Z)
iff
u ∈ (X ∪ Y ) ∩ (X ∪ Z).
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
In order to prove it, consider an arbitrary u.
We have the following equivalences.
u ∈ X ∪ (Y ∩ Z)
iff
u ∈ X ∨ u ∈ (Y ∩ Z)
iff
u ∈ X ∨ (u ∈ Y ∧ u ∈ Z)
(u ∈ X ∨ u ∈ Y ) ∧ (u ∈ X ∨ u ∈ Z)
iff
(u ∈ X ∪ Y ) ∧ (u ∈ X ∪ Z)
iff
u ∈ (X ∪ Y ) ∩ (X ∪ Z).
Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
By the Axiom of Extensionality it is enough to prove that:
for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
In order to prove it, consider an arbitrary u.
We have the following equivalences.
u ∈ X ∪ (Y ∩ Z)
iff
u ∈ X ∨ u ∈ (Y ∩ Z)
iff
u ∈ X ∨ (u ∈ Y ∧ u ∈ Z)
iff (because x ∨ (y ∧ z) ↔ (x ∨ y) ∧ (x ∨ z) is a tautology)
(u ∈ X ∨ u ∈ Y ) ∧ (u ∈ X ∨ u ∈ Z)
iff
(u ∈ X ∪ Y ) ∧ (u ∈ X ∪ Z)
iff
u ∈ (X ∪ Y ) ∩ (X ∪ Z).
Exercise: To complete the proof above, verify that x ∨ (y ∧ z) ↔ (x ∨ y) ∧ (x ∨ z) is a
tautology.
Exercise: Prove the remaining points of the Proposition above.
Proposition. Uc = ∅
Proof. Version 1 - A proof by reduction to the propositional calculus.
By exensionality, it is enough to take an arbitrary x ∈ U and show that x ∈ Uc iff
x ∈ ∅.
Notice that:
x ∈ Uc
iff
x ∈ U
iff
⊥
iff
x ∈ ∅.
Proposition. Uc = ∅
Proof. Version 2 - by rewriting expressions.
Uc
= (by absorption)
Uc ∩ (Uc ∪ U)
= (by commutativity)
Uc ∩ (U ∪ Uc)
= (by commutativity)
(U ∪ Uc) ∩ Uc
= (by complement laws)
U ∩ Uc
= (by complement laws)
∅.
Exercise
Prove ∅c = U
Exercise
Prove (X ∪ Y ) ∩ Xc = (X ∪ Y c)c
.
Proofs by reduction for propositional calculus are easier.

More Related Content

What's hot

Introduction to graph theory (All chapter)
Introduction to graph theory (All chapter)Introduction to graph theory (All chapter)
Introduction to graph theory (All chapter)sobia1122
 
Learn Set Theory
Learn Set TheoryLearn Set Theory
Learn Set Theoryyochevedl
 
Mathematics and History of Complex Variables
Mathematics and History of Complex VariablesMathematics and History of Complex Variables
Mathematics and History of Complex VariablesSolo Hermelin
 
Group homomorphism
Group homomorphismGroup homomorphism
Group homomorphismNaliniSPatil
 
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TESTINTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TESTJAYDEV PATEL
 
Continutiy of Functions.ppt
Continutiy of Functions.pptContinutiy of Functions.ppt
Continutiy of Functions.pptLadallaRajKumar
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal intervalDr. Nirav Vyas
 
Abstract algebra & its applications (1)
Abstract algebra & its applications (1)Abstract algebra & its applications (1)
Abstract algebra & its applications (1)drselvarani
 
Ppt on sequences and series by mukul sharma
Ppt on sequences and series by mukul sharmaPpt on sequences and series by mukul sharma
Ppt on sequences and series by mukul sharmajoywithmath
 
Basics of Integration and Derivatives
Basics of Integration and DerivativesBasics of Integration and Derivatives
Basics of Integration and DerivativesFaisal Waqar
 

What's hot (20)

Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Alternating Group presentation
Alternating Group presentationAlternating Group presentation
Alternating Group presentation
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Complex function
Complex functionComplex function
Complex function
 
Introduction to graph theory (All chapter)
Introduction to graph theory (All chapter)Introduction to graph theory (All chapter)
Introduction to graph theory (All chapter)
 
Learn Set Theory
Learn Set TheoryLearn Set Theory
Learn Set Theory
 
Power set
Power setPower set
Power set
 
Mathematics and History of Complex Variables
Mathematics and History of Complex VariablesMathematics and History of Complex Variables
Mathematics and History of Complex Variables
 
Group homomorphism
Group homomorphismGroup homomorphism
Group homomorphism
 
Abstract Algebra
Abstract AlgebraAbstract Algebra
Abstract Algebra
 
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TESTINTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
INTEGRAL TEST, COMPARISON TEST, RATIO TEST AND ROOT TEST
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Continutiy of Functions.ppt
Continutiy of Functions.pptContinutiy of Functions.ppt
Continutiy of Functions.ppt
 
Vector space
Vector spaceVector space
Vector space
 
Interpolation with unequal interval
Interpolation with unequal intervalInterpolation with unequal interval
Interpolation with unequal interval
 
Sets.pptx
Sets.pptxSets.pptx
Sets.pptx
 
Abstract algebra & its applications (1)
Abstract algebra & its applications (1)Abstract algebra & its applications (1)
Abstract algebra & its applications (1)
 
Real analysis
Real analysis Real analysis
Real analysis
 
Ppt on sequences and series by mukul sharma
Ppt on sequences and series by mukul sharmaPpt on sequences and series by mukul sharma
Ppt on sequences and series by mukul sharma
 
Basics of Integration and Derivatives
Basics of Integration and DerivativesBasics of Integration and Derivatives
Basics of Integration and Derivatives
 

Viewers also liked

2.3 Set difference
2.3 Set difference2.3 Set difference
2.3 Set differenceJan Plaza
 
2.5 Disjoint, covering and complementary sets
2.5 Disjoint, covering and complementary sets2.5 Disjoint, covering and complementary sets
2.5 Disjoint, covering and complementary setsJan Plaza
 
2.6 Properties of inclusion
2.6 Properties of inclusion2.6 Properties of inclusion
2.6 Properties of inclusionJan Plaza
 
2.7 Ordered pairs
2.7 Ordered pairs2.7 Ordered pairs
2.7 Ordered pairsJan Plaza
 
2.4 Symmetric difference
2.4 Symmetric difference2.4 Symmetric difference
2.4 Symmetric differenceJan Plaza
 
2.8 Ordered tuples
2.8 Ordered tuples2.8 Ordered tuples
2.8 Ordered tuplesJan Plaza
 
2.9 Cartesian products
2.9 Cartesian products2.9 Cartesian products
2.9 Cartesian productsJan Plaza
 

Viewers also liked (7)

2.3 Set difference
2.3 Set difference2.3 Set difference
2.3 Set difference
 
2.5 Disjoint, covering and complementary sets
2.5 Disjoint, covering and complementary sets2.5 Disjoint, covering and complementary sets
2.5 Disjoint, covering and complementary sets
 
2.6 Properties of inclusion
2.6 Properties of inclusion2.6 Properties of inclusion
2.6 Properties of inclusion
 
2.7 Ordered pairs
2.7 Ordered pairs2.7 Ordered pairs
2.7 Ordered pairs
 
2.4 Symmetric difference
2.4 Symmetric difference2.4 Symmetric difference
2.4 Symmetric difference
 
2.8 Ordered tuples
2.8 Ordered tuples2.8 Ordered tuples
2.8 Ordered tuples
 
2.9 Cartesian products
2.9 Cartesian products2.9 Cartesian products
2.9 Cartesian products
 

Similar to 2.2 Properties of union, intersection and complement

Advanced Microeconomics
Advanced MicroeconomicsAdvanced Microeconomics
Advanced MicroeconomicsJim Webb
 
On uniformly continuous uniform space
On uniformly continuous uniform spaceOn uniformly continuous uniform space
On uniformly continuous uniform spacetheijes
 
CISEA 2019: ABC consistency and convergence
CISEA 2019: ABC consistency and convergenceCISEA 2019: ABC consistency and convergence
CISEA 2019: ABC consistency and convergenceChristian Robert
 
Truth, deduction, computation lecture e
Truth, deduction, computation   lecture eTruth, deduction, computation   lecture e
Truth, deduction, computation lecture eVlad Patryshev
 
Multivariate Distributions, an overview
Multivariate Distributions, an overviewMultivariate Distributions, an overview
Multivariate Distributions, an overviewArthur Charpentier
 
Uniform spaces -_riyas
Uniform spaces -_riyasUniform spaces -_riyas
Uniform spaces -_riyasarathyan
 
Use of quantifiers
Use of quantifiersUse of quantifiers
Use of quantifiersLakshmi R
 
Conditional Expectations Liner algebra
Conditional Expectations Liner algebra Conditional Expectations Liner algebra
Conditional Expectations Liner algebra AZIZ ULLAH SURANI
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceasimnawaz54
 
IRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
IRJET - Fuzzy Soft Hyperideals in Meet HyperlatticesIRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
IRJET - Fuzzy Soft Hyperideals in Meet HyperlatticesIRJET Journal
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and LiftingMegha Sharma
 

Similar to 2.2 Properties of union, intersection and complement (20)

Advanced Microeconomics
Advanced MicroeconomicsAdvanced Microeconomics
Advanced Microeconomics
 
On uniformly continuous uniform space
On uniformly continuous uniform spaceOn uniformly continuous uniform space
On uniformly continuous uniform space
 
Quantification
QuantificationQuantification
Quantification
 
CISEA 2019: ABC consistency and convergence
CISEA 2019: ABC consistency and convergenceCISEA 2019: ABC consistency and convergence
CISEA 2019: ABC consistency and convergence
 
Universal algebra (1)
Universal algebra (1)Universal algebra (1)
Universal algebra (1)
 
Truth, deduction, computation lecture e
Truth, deduction, computation   lecture eTruth, deduction, computation   lecture e
Truth, deduction, computation lecture e
 
3 fol examples v2
3 fol examples v23 fol examples v2
3 fol examples v2
 
Course notes2summer2012
Course notes2summer2012Course notes2summer2012
Course notes2summer2012
 
Multivariate Distributions, an overview
Multivariate Distributions, an overviewMultivariate Distributions, an overview
Multivariate Distributions, an overview
 
1. Probability.pdf
1. Probability.pdf1. Probability.pdf
1. Probability.pdf
 
Uniform spaces -_riyas
Uniform spaces -_riyasUniform spaces -_riyas
Uniform spaces -_riyas
 
Use of quantifiers
Use of quantifiersUse of quantifiers
Use of quantifiers
 
Predicates Logic.pptx
Predicates Logic.pptxPredicates Logic.pptx
Predicates Logic.pptx
 
Conditional Expectations Liner algebra
Conditional Expectations Liner algebra Conditional Expectations Liner algebra
Conditional Expectations Liner algebra
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 
IRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
IRJET - Fuzzy Soft Hyperideals in Meet HyperlatticesIRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
IRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
Predicates
PredicatesPredicates
Predicates
 
Proba stats-r1-2017
Proba stats-r1-2017Proba stats-r1-2017
Proba stats-r1-2017
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
 

More from Jan Plaza

6.3 Equivalences versus partitions
6.3 Equivalences versus partitions6.3 Equivalences versus partitions
6.3 Equivalences versus partitionsJan Plaza
 
6.1 Partitions
6.1 Partitions6.1 Partitions
6.1 PartitionsJan Plaza
 
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)Jan Plaza
 
6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)Jan Plaza
 
5.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)Jan Plaza
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)Jan Plaza
 
5.7 Function powers
5.7 Function powers5.7 Function powers
5.7 Function powersJan Plaza
 
5.6 Function inverse. A handout.
5.6 Function inverse. A handout.5.6 Function inverse. A handout.
5.6 Function inverse. A handout.Jan Plaza
 
5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.Jan Plaza
 
5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.Jan Plaza
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.Jan Plaza
 
5.3 Basic functions. A handout.
5.3 Basic functions. A handout.5.3 Basic functions. A handout.
5.3 Basic functions. A handout.Jan Plaza
 
5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.Jan Plaza
 
5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.Jan Plaza
 
5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.Jan Plaza
 
1.4 Abstract objects and expressions
1.4 Abstract objects and expressions1.4 Abstract objects and expressions
1.4 Abstract objects and expressionsJan Plaza
 
1.2 Axiom of pair
1.2 Axiom of pair1.2 Axiom of pair
1.2 Axiom of pairJan Plaza
 
1.11 Mathematical induction
1.11 Mathematical induction1.11 Mathematical induction
1.11 Mathematical inductionJan Plaza
 
1.7 The sets of numbers
1.7 The sets of numbers1.7 The sets of numbers
1.7 The sets of numbersJan Plaza
 

More from Jan Plaza (20)

6.3 Equivalences versus partitions
6.3 Equivalences versus partitions6.3 Equivalences versus partitions
6.3 Equivalences versus partitions
 
6.1 Partitions
6.1 Partitions6.1 Partitions
6.1 Partitions
 
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
 
6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)
 
5.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)
 
5.7 Function powers
5.7 Function powers5.7 Function powers
5.7 Function powers
 
5.6 Function inverse. A handout.
5.6 Function inverse. A handout.5.6 Function inverse. A handout.
5.6 Function inverse. A handout.
 
5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.
 
5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.
 
5.3 Basic functions. A handout.
5.3 Basic functions. A handout.5.3 Basic functions. A handout.
5.3 Basic functions. A handout.
 
5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.
 
5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.
 
5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.
 
1.4 Abstract objects and expressions
1.4 Abstract objects and expressions1.4 Abstract objects and expressions
1.4 Abstract objects and expressions
 
1.2 Axiom of pair
1.2 Axiom of pair1.2 Axiom of pair
1.2 Axiom of pair
 
1.11 Mathematical induction
1.11 Mathematical induction1.11 Mathematical induction
1.11 Mathematical induction
 
1.7 The sets of numbers
1.7 The sets of numbers1.7 The sets of numbers
1.7 The sets of numbers
 
1.6 Subsets
1.6 Subsets1.6 Subsets
1.6 Subsets
 

Recently uploaded

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
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.pdfQucHHunhnh
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
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
 

2.2 Properties of union, intersection and complement

  • 1. Introduction to set theory and to methodology and philosophy of mathematics and computer programming Properties of union, intersection and complement An overview by Jan Plaza c 2017 Jan Plaza Use under the Creative Commons Attribution 4.0 International License Version of February 5, 2017
  • 2. Proposition. Let X, Y , Z ⊆ U. Then: 1. (Identity Laws) ∅ ∪ X = X U ∩ X = X 2. (Dominance Laws or Annihilation Laws) ∅ ∩ X = ∅ U ∪ X = U 3. (Idempotence Laws) X ∪ X = X X ∩ X = X 4. (Associativity Laws) (X ∪ Y ) ∪ Z = X ∪ (Y ∪ Z) (X ∩ Y ) ∩ Z = X ∩ (Y ∩ Z) 5. (Commutativity Laws) X ∪ Y = Y ∪ X X ∩ Y = Y ∩ X
  • 3. Proposition. Let X, Y , Z ⊆ U. Then: 1. (Identity Laws) ∅ ∪ X = X analogous to 0 + x = x U ∩ X = X analogous to 1 · x = x 2. (Dominance Laws or Annihilation Laws) ∅ ∩ X = ∅ analogous to 0 · x = 0 U ∪ X = U 3. (Idempotence Laws) X ∪ X = X X ∩ X = X 4. (Associativity Laws) (X ∪ Y ) ∪ Z = X ∪ (Y ∪ Z) analogous to (x + y) + z = x + (y + z) (X ∩ Y ) ∩ Z = X ∩ (Y ∩ Z) analogous to (x · y) · z = x · (y · z) 5. (Commutativity Laws) X ∪ Y = Y ∪ X analogous to x + y = y + x X ∩ Y = Y ∩ X analogous to x · y = y · x
  • 4. 6. (Distributivity Laws) X ∩ (Y ∪ Z) = (X ∩ Y ) ∪ (X ∩ Z) X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z) 7. (Absorption Laws) X ∩ (X ∪ Y ) = X X ∪ (X ∩ Y ) = X 8. (De Morgan Laws) (X ∪ Y )c = Xc ∩ Y c (X ∩ Y )c = Xc ∪ Y c 9. (Complement Laws) X ∪ Xc = U X ∩ Xc = ∅ 10. (Double Complement Law) (Xc)c = X
  • 5. 6. (Distributivity Laws) X ∩ (Y ∪ Z) = (X ∩ Y ) ∪ (X ∩ Z) analogous to x · (y + z) = x · y + x · z X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z) 7. (Absorption Laws) X ∩ (X ∪ Y ) = X X ∪ (X ∩ Y ) = X 8. (De Morgan Laws) (X ∪ Y )c = Xc ∩ Y c (X ∩ Y )c = Xc ∪ Y c 9. (Complement Laws) X ∪ Xc = U X ∩ Xc = ∅ 10. (Double Complement Law) (Xc)c = X analogous to −(−x) = x
  • 6. We will prove the distributivity of union with respect to intersection: X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). To prepare for the proof, recall that, 1. z ∈ X ∪ Y iff z ∈ X or z ∈ Y , 2. z ∈ X ∩ Y iff z ∈ X and z ∈ Y ,
  • 7. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z).
  • 8. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to
  • 9. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z).
  • 10. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z). In order to prove it, consider an arbitrary u.
  • 11. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z). In order to prove it, consider an arbitrary u. We have the following equivalences. u ∈ X ∪ (Y ∩ Z) iff iff iff u ∈ (X ∪ Y ) ∩ (X ∪ Z).
  • 12. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z). In order to prove it, consider an arbitrary u. We have the following equivalences. u ∈ X ∪ (Y ∩ Z) iff u ∈ X ∨ u ∈ (Y ∩ Z) iff iff u ∈ (X ∪ Y ) ∩ (X ∪ Z).
  • 13. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z). In order to prove it, consider an arbitrary u. We have the following equivalences. u ∈ X ∪ (Y ∩ Z) iff u ∈ X ∨ u ∈ (Y ∩ Z) iff u ∈ X ∨ (u ∈ Y ∧ u ∈ Z) iff u ∈ (X ∪ Y ) ∩ (X ∪ Z).
  • 14. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z). In order to prove it, consider an arbitrary u. We have the following equivalences. u ∈ X ∪ (Y ∩ Z) iff u ∈ X ∨ u ∈ (Y ∩ Z) iff u ∈ X ∨ (u ∈ Y ∧ u ∈ Z) iff (u ∈ X ∪ Y ) ∧ (u ∈ X ∪ Z) iff u ∈ (X ∪ Y ) ∩ (X ∪ Z).
  • 15. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z). In order to prove it, consider an arbitrary u. We have the following equivalences. u ∈ X ∪ (Y ∩ Z) iff u ∈ X ∨ u ∈ (Y ∩ Z) iff u ∈ X ∨ (u ∈ Y ∧ u ∈ Z) (u ∈ X ∨ u ∈ Y ) ∧ (u ∈ X ∨ u ∈ Z) iff (u ∈ X ∪ Y ) ∧ (u ∈ X ∪ Z) iff u ∈ (X ∪ Y ) ∩ (X ∪ Z).
  • 16. Proof of X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z). By the Axiom of Extensionality it is enough to prove that: for every u, u ∈ X ∪ (Y ∩ Z) is equivalent to u ∈ (X ∪ Y ) ∩ (X ∪ Z). In order to prove it, consider an arbitrary u. We have the following equivalences. u ∈ X ∪ (Y ∩ Z) iff u ∈ X ∨ u ∈ (Y ∩ Z) iff u ∈ X ∨ (u ∈ Y ∧ u ∈ Z) iff (because x ∨ (y ∧ z) ↔ (x ∨ y) ∧ (x ∨ z) is a tautology) (u ∈ X ∨ u ∈ Y ) ∧ (u ∈ X ∨ u ∈ Z) iff (u ∈ X ∪ Y ) ∧ (u ∈ X ∪ Z) iff u ∈ (X ∪ Y ) ∩ (X ∪ Z).
  • 17. Exercise: To complete the proof above, verify that x ∨ (y ∧ z) ↔ (x ∨ y) ∧ (x ∨ z) is a tautology. Exercise: Prove the remaining points of the Proposition above.
  • 18. Proposition. Uc = ∅ Proof. Version 1 - A proof by reduction to the propositional calculus. By exensionality, it is enough to take an arbitrary x ∈ U and show that x ∈ Uc iff x ∈ ∅. Notice that: x ∈ Uc iff x ∈ U iff ⊥ iff x ∈ ∅.
  • 19. Proposition. Uc = ∅ Proof. Version 2 - by rewriting expressions. Uc = (by absorption) Uc ∩ (Uc ∪ U) = (by commutativity) Uc ∩ (U ∪ Uc) = (by commutativity) (U ∪ Uc) ∩ Uc = (by complement laws) U ∩ Uc = (by complement laws) ∅.
  • 20. Exercise Prove ∅c = U Exercise Prove (X ∪ Y ) ∩ Xc = (X ∪ Y c)c . Proofs by reduction for propositional calculus are easier.