Skip to content

Set Operations

In mathematics, whenever a new type of mathematical object is introduced or studied, one important aspect is defining appropriate operations that can be performed with or on these objects. These operations help in understanding the properties and behaviors of the objects and allow for their manipulation and analysis within the framework of mathematical theory.

  • For numbers (like integers, real numbers), we define operations such as addition, subtraction, multiplication, and division.
  • For sets, we define operations like union, intersection, and difference.
  • For vectors, operations like vector addition and scalar multiplication are defined.
  • For matrices, operations include matrix addition, multiplication, and finding the inverse or determinant.

Each type of mathematical object has operations that are sensibly defined based on the nature of the objects and the needs of the mathematical or applied context in which they are used. These operations are not arbitrary; they are usually designed to be consistent with existing mathematical principles and to provide useful tools for exploration and problem-solving in various domains.

A boy playing with objects

Set Equality

Two sets \( A \) and \( B \) are considered equal, denoted as \( A = B \), if both of the following conditions are met:

  1. Every element of \( A \) is an element of \( B \). In other words, \( A \) is a subset of \( B \), denoted as \( A \subseteq B \).
  2. Every element of \( B \) is an element of \( A \). In other words, \( B \) is a subset of \( A \), denoted as \( B \subseteq A \).

Examples:

  1. Let \( A = \{1, 2, 3\} \) and \( B = \{1, 2, 3\} \).

    • Since all elements of \( A \) are in \( B \), \( A \subseteq B \).
    • Since all elements of \( B \) are in \( A \), \( B \subseteq A \).
      Therefore, \( A = B \).
  2. Let \( C = \{a, b\} \) and \( D = \{a, b, c\} \).

    • \( C \subseteq D \) (as all elements of \( C \) are in \( D \)).
    • However, \( D \nsubseteq C \) (as \( c \in D \) but \( c \notin C \)).
      Therefore, \( C \neq D \).

Union of Sets

The union of two sets \( A \) and \( B \) is denoted as \( A \cup B \). This union set contains all the elements that are either in \( A \), in \( B \), or in both.

Examples:

  1. Let \( A = \{1, 2, 3\} \) and \( B = \{3, 4, 5\} \). Then, the union \( A \cup B \) is \( \{1, 2, 3, 4, 5\} \).

  2. Let \( C = \{a, b\} \) and \( D = \{b, c, d\} \). The union \( C \cup D \) is \( \{a, b, c, d\} \).

  3. Let \( A = \{x \mid x \text{ is an even number between } 1 \text{ and } 6\} \) and \( B = \{x \mid x \text{ is a prime number less than } 5\} \).

    • \( A = \{2, 4, 6\} \)
    • \( B = \{2, 3\} \)

    The union \( A \cup B \) is \( \{2, 3, 4, 6\} \).

  4. Let \( C = \{x \in \mathbb{Z} \mid -2 \leq x \leq 2\} \) and \( D = \{y \in \mathbb{Z} \mid y \text{ is a multiple of } 3 \text{ and } |y| \leq 6\} \).

    • \( C = \{-2, -1, 0, 1, 2\} \)
    • \( D = \{-6, -3, 0, 3, 6\} \)

    The union \( C \cup D \) is \( \{-6, -3, -2, -1, 0, 1, 2, 3, 6\} \).

  5. Let \( E = \{x \mid x \text{ is a letter in the word 'APPLE'}\} \) and \( F = \{y \mid y \text{ is a letter in the word 'PEAR'}\} \).

    • \( E = \{'A', 'P', 'L', 'E'\} \)
    • \( F = \{'P', 'E', 'A', 'R'\} \)

    The union \( E \cup F \) is \( \{'A', 'P', 'L', 'E', 'R'\} \).

The union of two sets \(A\) and \(B\), denoted by \(A \cup B\), is defined in set-builder form as:

\[ A \cup B = \{x : x \in A \text{ or } x \in B\} \]

Union of two sets

In the Venn diagram, the shaded region represents the union \( A \cup B \), which includes all elements that are in set \( A \), set \( B \), or in both sets \( A \) and \( B \).

Algebraic Properties

The union operation on sets satisfies several algebraic properties:

  1. Closure: The union of any two sets is itself a set.
  2. Identity: The union of a set with the empty set yields the original set, \( A \cup \emptyset = A \).
  3. Universal Bound: The union of a set with the universal set \( U \) yields the universal set, \( A \cup U = U \).
  4. Idempotence: A set unioned with itself yields the set, \( A \cup A = A \).
  5. Commutativity: The union operation is commutative, \( A \cup B = B \cup A \).
  6. Associativity: The union operation is associative, \( A \cup (B \cup C) = (A \cup B) \cup C \).
  7. Absorption: If \( A \) is a subset of \( B \), the union of \( A \) with \( B \) is \( B \), \( A \subseteq B \) implies \( A \cup B = B \).

The union of sets \( A_1, A_2, A_3, \ldots, A_n \) is denoted by

\[ \bigcup_{i=1}^{n} A_i = A_1 \cup A_2 \cup A_3 \cup \ldots \cup A_n \]

Intersection of sets

The intersection of two sets contains only the elements common to both sets. For sets \( A \) and \( B \), the intersection is denoted \( A \cap B \) and is defined as:

\[ A \cap B = \{ x : x \in A \text{ and } x \in B \} \]

An element \( x \) belongs to \( A \cap B \) if and only if \( x \) is an element of both \( A \) and \( B \).

Here are some examples:

  1. Consider \( A = \{1, 2, 3\} \) and \( B = \{2, 3, 4\} \). The intersection \( A \cap B \) is \( \{2, 3\} \).

  2. Let \( C = \{m, n\} \) and \( D = \{n, o, p\} \). The intersection \( C \cap D \) is \( \{n\} \).

  3. Define \( A = \{x | x \text{ is a multiple of } 2 \text{ between } 1 \text{ and } 7\} \) and \( B = \{x | x \text{ is a prime number less than } 6\} \).

    • \( A = \{2, 4, 6\} \)
    • \( B = \{2, 3, 5\} \)

    The intersection \( A \cap B \) is \( \{2\} \).

  4. Let \( C = \{x \in \mathbb{Z} | -4 \leq x \leq 4 \} \) and \( D = \{y \in \mathbb{Z} | y \text{ is a multiple of } 4\} \).

    • \( C = \{-4, -3, -2, -1, 0, 1, 2, 3, 4\} \)
    • \( D = \{\ldots, -8, -4, 0, 4, 8, \ldots\} \)

    The intersection \( C \cap D \) is \( \{-4, 0, 4\} \).

  5. Consider \( E = \{x | x \text{ is a letter in the word 'BANANA'}\} \) and \( F = \{y | y \text{ is a letter in the word 'CANADA'}\} \).

    • \( E = \{'B', 'A', 'N'\} \)
    • \( F = \{'C', 'A', 'N', 'D'\} \)

    intersection \( E \cap F \) is \( \{'A', 'N'\} \).

Intersection of two sets

In Venn diagrams, the intersection of \( A \) and \( B \) is represented by the area common to both circles representing the sets. This region highlights the elements shared by \( A \) and \( B \).

Properties of Intersection

The intersection of sets exhibits the following fundamental properties:

  1. Null Set: The intersection of any set with the null set is the null set, \( A \cap \emptyset = \emptyset \).
  2. Identity: The intersection of a set with the universal set is the set itself, \( A \cap U = A \).
  3. Commutative Law: The intersection of two sets is commutative, \( A \cap B = B \cap A \).
  4. Associativity: The intersection of a set with the intersection of two other sets can be grouped in any order without affecting the result,

    \[A \cap (B \cap C) = (A \cap B) \cap C\]
  5. Idempotent Law: A set intersected with itself is the set, \( A \cap A = A \).

  6. Subset Property: A set is a subset of another set if and only if their intersection is the first set, \( A \subseteq B \) if and only if \( A \cap B = A \).

Disjoint Sets

Two sets \( A \) and \( B \) are considered disjoint if they have no common elements, explicitly stated as \( A \cap B = \emptyset \).

Disjoint sets

In the figure, sets \( A \) and \( B \) are disjoint as there is no overlapping region between them, indicating no common elements. On the other hand, set \( C \) intersects with both \( A \) and \( B \), showing common elements with each.

Pairwise Disjoint Sets: For any collection of sets \( A_1, A_2, \ldots, A_n \), these sets are pairwise disjoint if every pair of distinct sets in the collection has an empty intersection; that is, \( A_i \cap A_j = \emptyset \) for all \( i \neq j \), with \( i \) and \( j \) ranging from 1 to \( n \).

Partitioning: Partitioning a set \( S \) involves dividing it into distinct, non-empty subsets \( S_1, S_2, \ldots, S_n \) such that two conditions are met:

  1. Each subset is mutually exclusive; there is no overlap between them, which is formally described as \( S_i \cap S_j = \emptyset \) for every pair of indices \( i \neq j \) within the index set \( \{1, \ldots, n\} \). This property ensures that the subsets are pairwise disjoint.

  2. The union of all subsets reconstructs the original set \( S \), denoted by \( S_1 \cup S_2 \cup \ldots \cup S_n = S \). This indicates that the subsets are collectively exhaustive, covering all elements of \( S \) without omission.

Each subset \( S_i \) represents a unique piece or component of the entire set \( S \), akin to a puzzle piece that fits into the larger picture formed by the set's partition.

alt text