Definition

  • An unordered collection of distinct objects (elements)
  • A set is said to contain its elements.
    • Set with no element is empty set or null set
    • A set with one element is called a singleton set
  • We write to denote that is an element of the set
    • For every set, and theorem

Ways to specify a set:

  • set roster:
  • set builder notation: : such that …
  • Popular sets
  • | Natural | Integer | Positive int | Rational | Real | Positive Real | Complex | | --- | --- | --- | --- | --- | --- | --- | | | | | | | | |

Equal sets:

  • Two sets are equal if and only if they have the same elements.
    • We write if and are equal sets.

Subset:

  • A is subset of B, B is super set of A
    • : proper subset, when
    • if and

Set cardinality:

  • : non-negative integer denotes exact number of element for a finite set S

Infinite set:

  • A set is said to be infinite if it is not finite

Power sets:

  • power set of S is set of all subsets of set S, e.g.
    • every subset of a set is an element in its power set

Set operations:

  • Union operation
  • Intersect operation
  • Difference operation
  • Complement operation