Course: CSCI 1900

Union (or)

  • Denoted with 𝐴𝐵
  • {𝑥|𝑥𝐴or𝑥𝐵}

Intersection (and)

  • Denoted with 𝐴𝐵
  • {𝑥|𝑥𝐴and𝑥𝐵}
  • If the intersections are empty, then 𝐴 and 𝐵 are disjoint

Difference

  • Denoted with 𝐴𝐵
  • {𝑥|𝑥𝐴and𝑥𝐵}
  • Every element of 𝐴 that is not also an element in 𝐵

Complement

  • Denoted with 𝐴
  • {𝑥𝑈|𝑥𝐴}
  • All elements in universal set that are not in 𝐴

Symmetric Difference

  • Denoted with 𝐴𝐵
  • {𝑥|𝑥𝐴and𝑥𝐵or𝑥𝐵and𝑥𝐴}
  • The elements that are in either 𝐴 or 𝐵 but not in both (exclusive or)

Order of Operations

  1. Parenthesis
  2. Complements
  3. Intersections, unions, differences ()

Example

  • (𝐴𝐵)𝐶
    • 𝑈={1,2,3,4,5,6}
    • 𝐴={1,2,3}
    • 𝐵={2,3,4}
    • 𝐶={1,3,5}
  • 𝐵{1,5,6}
  • 𝐴{1,5,6}{1,2,3,5,6}
  • {1,2,3,5,6}𝐶{1,3,5}