SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
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.

Más contenido relacionado

La actualidad más candente

Group homomorphism
Group homomorphismGroup homomorphism
Group homomorphismNaliniSPatil
 
Addition and subtraction of rational expression
Addition and subtraction of rational expressionAddition and subtraction of rational expression
Addition and subtraction of rational expressionMartinGeraldine
 
9 trigonometric functions via the unit circle nat
9 trigonometric functions via the unit circle nat9 trigonometric functions via the unit circle nat
9 trigonometric functions via the unit circle natmath260
 
Normal subgroups- Group theory
Normal subgroups- Group theoryNormal subgroups- Group theory
Normal subgroups- Group theoryAyush Agrawal
 
partialderivatives
partialderivativespartialderivatives
partialderivativesyash patel
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite IntegralJelaiAujero
 
Orthogonal trajectories
Orthogonal trajectoriesOrthogonal trajectories
Orthogonal trajectoriesBilal Amjad
 
Double Integral Powerpoint
Double Integral PowerpointDouble Integral Powerpoint
Double Integral Powerpointoaishnosaj
 
Parabola Lesson Powerpoint Presentation
Parabola Lesson Powerpoint PresentationParabola Lesson Powerpoint Presentation
Parabola Lesson Powerpoint Presentationyanhiggins
 
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
 
Heron's Formula
Heron's FormulaHeron's Formula
Heron's FormulabrutalDLX
 

La actualidad más candente (20)

Group homomorphism
Group homomorphismGroup homomorphism
Group homomorphism
 
Sets and Subsets
Sets and SubsetsSets and Subsets
Sets and Subsets
 
Triple integrals and applications
Triple integrals and applicationsTriple integrals and applications
Triple integrals and applications
 
Addition and subtraction of rational expression
Addition and subtraction of rational expressionAddition and subtraction of rational expression
Addition and subtraction of rational expression
 
9 trigonometric functions via the unit circle nat
9 trigonometric functions via the unit circle nat9 trigonometric functions via the unit circle nat
9 trigonometric functions via the unit circle nat
 
Set Theory
Set Theory Set Theory
Set Theory
 
Normal subgroups- Group theory
Normal subgroups- Group theoryNormal subgroups- Group theory
Normal subgroups- Group theory
 
partialderivatives
partialderivativespartialderivatives
partialderivatives
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite Integral
 
Orthogonal trajectories
Orthogonal trajectoriesOrthogonal trajectories
Orthogonal trajectories
 
Double Integral Powerpoint
Double Integral PowerpointDouble Integral Powerpoint
Double Integral Powerpoint
 
Algebra of sets
Algebra of setsAlgebra of sets
Algebra of sets
 
Integration Ppt
Integration PptIntegration Ppt
Integration Ppt
 
Parabola Lesson Powerpoint Presentation
Parabola Lesson Powerpoint PresentationParabola Lesson Powerpoint Presentation
Parabola Lesson Powerpoint Presentation
 
Maths probability
Maths probabilityMaths probability
Maths probability
 
Topology
TopologyTopology
Topology
 
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.
 
Quadratic equation
Quadratic equationQuadratic equation
Quadratic equation
 
Linear Inequality
Linear InequalityLinear Inequality
Linear Inequality
 
Heron's Formula
Heron's FormulaHeron's Formula
Heron's Formula
 

Destacado

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.4 Symmetric difference
2.4 Symmetric difference2.4 Symmetric difference
2.4 Symmetric differenceJan Plaza
 
3.2 Power sets
3.2 Power sets3.2 Power sets
3.2 Power setsJan 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
 

Destacado (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.4 Symmetric difference
2.4 Symmetric difference2.4 Symmetric difference
2.4 Symmetric difference
 
3.2 Power sets
3.2 Power sets3.2 Power sets
3.2 Power sets
 
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 a 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 a 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
 

Más de 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. 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.8 Separation schema
1.8 Separation schema1.8 Separation schema
1.8 Separation schemaJan 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
 

Más de 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. 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.8 Separation schema
1.8 Separation schema1.8 Separation schema
1.8 Separation schema
 
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
 

Último

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
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_.pdfSherif Taha
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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.pdfAdmir Softic
 
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.MaryamAhmad92
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
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 functionsKarakKing
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 

Último (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
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
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
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.
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 

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.