Discrete Math - Naïve Set Theory
A set is a well-defined collection of objects. You can represent sets using tabular form, for instance N={1,2,3,…}. You can represent sets using set builder form, for instance N={x|x=natural numbers}. In a set order does not matter.
A null set is a set with no elements in it. It can be represented as { } or ∅. A proper subset, for instance A⊆B, states that all elements in A are in B. Example: {1,2}⊆{1,2,3}. However, one rule should be remembered, the empty set is not a subset of the set of the empty set. This is a general rule, {a}⊄{{a}}. A set with all elements in it (relative to context is the Universal set denoted U, aka domain of discourse).
A union of sets is denoted by A∪B, which denotes all elements in sets A or B. In set builder notation, we can say: A∪B={x|x∈A∨x∈B}. There are a couple of laws that follow:
- Commutative Law: A∪B=B∪A
- Associative Law: (A∪B)∪C=A∪(B∪C)
- Idempotent Law: A∪A=A
- A∪U=U iff A⊂U
- A∪∅=A
- Commutative Law: A∩B=B∩A
- Associative Law: (A∩B)∩C=A∩(B∩C)
- Idempotent Law: A∩A=A
- A∩U=A iff A⊂U
- A∩∅=∅
- A∩(B∪C)=(A∩B)∪(A∩C)
- A∪(B∩C)=(A∪B)∩(A∪C)
Comments
Post a Comment