Mathematical Reasoning: Sets, Subsets, Algebra of Sets
1. Sets
A set is a well-defined collection of distinct objects, called elements or members of the set. Sets are usually denoted by capital letters such as A,B,C, and elements by lowercase letters such as a,b,c. If an element a is in a set A, it is written as a∈A. If not, a∈/A.
There are several ways to describe a set:
- Roster (Tabular) form: Listing all elements, e.g., A={1,2,3,4}
- Set-builder form: Describing elements by a property, e.g., A={x∣x is a natural number less than 5}
Special types of sets:
- Empty Set (∅): A set with no elements.
- Finite Set: A set with a finite number of elements.
- Infinite Set: A set with an unending number of elements.
- Universal Set (U): The set that contains all possible elements under consideration.
- Power Set: The set of all subsets of a set A, denoted P(A). If A has n elements, P(A) has 2n elements.
2. Subsets
If every element of set A is also in set B, then A is a subset of B, denoted A⊆B. If A⊆B but A=B, then A is a proper subset of B, written A⊂B.
Basic properties of subsets:
- Every set is a subset of itself: A⊆A
- The empty set is a subset of every set: ∅⊆A
- If A⊆B and B⊆C, then A⊆C (transitivity)
3. Algebra of Sets
Operations on sets follow specific algebraic rules. The major operations include:
Union ( A∪B )
The union of sets A and B is the set containing all elements that are in A, in B, or in both.
A∪B={x∣x∈A or x∈B}
Intersection ( A∩B )
The intersection of sets A and B contains only those elements that are common to both.
A∩B={x∣x∈A and x∈B}
Difference ( A−B or A∖B )
The difference between sets A and B is the set of elements that are in A but not in B.
A−B={x∣x∈A and x∈/B}
Complement ( Ac or A )
The complement of a set A with respect to the universal set U is the set of all elements in U that are not in A.
Ac={x∈U∣x∈/A}
Laws of Set Algebra
-
Idempotent Laws:
- A∪A=A
- A∩A=A
-
Identity Laws:
- A∪∅=A
- A∩U=A
-
Domination Laws:
- A∪U=U
- A∩∅=∅
-
Complement Laws:
- A∪Ac=U
- A∩Ac=∅
-
Commutative Laws:
- A∪B=B∪A
- A∩B=B∩A
-
Associative Laws:
- A∪(B∪C)=(A∪B)∪C
- A∩(B∩C)=(A∩B)∩C
-
Distributive Laws:
- A∪(B∩C)=(A∪B)∩(A∪C)
- A∩(B∪C)=(A∩B)∪(A∩C)
-
De Morgan’s Laws:
- (A∪B)c=Ac∩Bc
- (A∩B)c=Ac∪Bc
-
Double Complement Law:
- (Ac)c=A
-
Absorption Laws:
- A∪(A∩B)=A
- A∩(A∪B)=A