Sets And Set Theory

1. Fundamentals of Sets

A set is a well-defined collection of distinct objects, referred to as elements or members of the set.

  • Element Notation:

    • If an object xx is an element of set AA, it is written as x∈Ax \in A.

    • If xx is not an element of set AA, it is written as x∉Ax \notin A.

  • Methods of Defining Sets:

    • Roster (Tabular) Form: Elements are listed individually inside curly brackets, separated by commas (e.g., A=2,4,6,8A = {2, 4, 6, 8}).

    • Set-Builder Form: Elements are defined by a characteristic property shared by all members (e.g., A=x∣x is an even natural number, x≤8A = {x \mid x \text{ is an even natural number, } x \le 8}).

2. Common Types of Sets
  • Empty Set (Null Set): A set containing no elements, denoted by ∅\emptyset or {}.

  • Universal Set: The set that contains all possible objects under consideration for a given context, denoted by UU.

  • Finite and Infinite Sets:

    • A set is finite if it contains a countable number of elements (e.g., S=1,2,3S = {1, 2, 3}).

    • A set is infinite if the count of elements is unbounded (e.g., the set of all integers Z\mathbb{Z}).

  • Cardinality: The number of elements in a finite set AA, denoted by ∣A∣|A| or n(A)n(A).

3. Relationships Between Sets
  • Subsets:

    • AA is a subset of BB (written as A⊆BA \subseteq B) if every element of AA is also in BB.

    • AA is a proper subset (written as A⊂BA \subset B) if A⊆BA \subseteq B and A≠BA \ne B.

  • Equal Sets: Two sets AA and BB are equal (A=BA = B) if and only if A⊆BA \subseteq B and B⊆AB \subseteq A.

  • Power Set: The set of all subsets of AA, denoted by P(A)\mathcal{P}(A).

    • If ∣A∣=n|A| = n, then the cardinality of the power set is ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n.

4. Basic Set Operations
  • Union (A∪BA \cup B): The set of all elements that belong to AA, BB, or both.

    • A∪B=x∣x∈A∨x∈BA \cup B = {x \mid x \in A \lor x \in B}

  • Intersection (A∩BA \cap B): The set of all elements that belong to both AA and BB.

    • A∩B=x∣x∈A∧x∈BA \cap B = {x \mid x \in A \land x \in B}

    • If A∩B=∅A \cap B = \emptyset, the sets are called disjoint.

  • Difference / Relative Complement (A∖BA \setminus B or A−BA - B): The set of elements belonging to AA but not to BB.

    • A∖B=x∣x∈A∧x∉BA \setminus B = {x \mid x \in A \land x \notin B}

  • Absolute Complement (AcA^c or A′A'): The set of elements in the universal set UU that are not in AA.

    • Ac=x∈U∣x∉AA^c = {x \in U \mid x \notin A}

  • Cartesian Product (A×BA \times B): The set of all ordered pairs (a,b)(a, b) such that a∈Aa \in A and b∈Bb \in B.

    • A×B=(a,b)∣a∈A,b∈BA \times B = {(a, b) \mid a \in A, b \in B}

5. Important Set Identities
  • Identity Laws:

    • A∪∅=AA \cup \emptyset = A

    • A∩U=AA \cap U = A

  • Idempotent Laws:

    • A∪A=AA \cup A = A

    • A∩A=AA \cap A = A

  • Commutative Laws:

    • A∪B=B∪AA \cup B = B \cup A

    • A∩B=B∩AA \cap B = B \cap A

  • Associative Laws:

    • (A∪B)∪C=A∪(B∪C)(A \cup B) \cup C = A \cup (B \cup C)

    • (A∩B)∩C=A∩(B∩C)(A \cap B) \cap C = A \cap (B \cap C)

  • Distributive Laws:

    • A∩(B∪C)=(A∩B)∪(A∩C)A \cap (B \cup C) = (A \cap B) \cup (A \cap C)

    • A∪(B∩C)=(A∪B)∩(A∪C)A \cup (B \cap C) = (A \cup B) \cap (A \cup C)

  • De Morgan's Laws:

    • (A∪B)c=Ac∩Bc(A \cup B)^c = A^c \cap B^c

    • (A∩B)c=Ac∪Bc(A \cap B)^c = A^c \cup B^c