Forming Set Complements Step by Step

How to Form the Set Difference A – B

The set difference, also known as the complement of one set with respect to another, is formed by taking all the elements that are in the first set (A) but not in the second set (B).

  1. Identify the Sets: Start by identifying the two sets you are working with, A and B.
  2. Examine Each Element in A: Go through each element in set A.
  3. Check Against B: For each element in A, check if it is also in B.
  4. Exclude Common Elements: If an element is in both A and B, exclude it from the set difference.
  5. Form the Set Difference: The remaining elements in A form the set difference A – B.

For example, if A = {1, 2, 3, 4, 5} and B = {4, 5, 6}, then A – B = {1, 2, 3}.

Example: If A = {a, b, c, d, e} and B = {d, e, f}, then A – B = {a, b, c}.

Example with Complement Notation: If A = {a, b, c, d, e} and B = {d, e, f}, then A’ = A – B = {a, b, c}.