Skip to main content

Sets

What is a set

sets are the fundamental discrete structure on which all the discrete structures are built. sets are used to group objects together.

formally speaking, An unordered, well defined, collection of distinct objects is called a set. the object of set is called as element or member of set

example:

A={0,2,4,8}A = \{0, 2, 4, 8\}
B={1,3,5}B = \{1, 3, 5\}
C={xxN}C = \{x \mid x \in \mathbb{N}\}

Forms of Representing a Set

Set is denoted by capital letter (S). The objects of set is denoted with small letters Generally the sets are represented in two ways

  1. Tabular Form (Roster Form)

    • In the tabular (or roster) form, all the elements of a set are listed inside curly braces {} and separated by commas.
    • This method is suitable when the set contains a small number of elements.
    • Example: A={0,2,4,8}A = \{0, 2, 4, 8\}
  2. Set-Builder Form

    • In the set-builder form, a set is described by stating the common property or rule that all its elements satisfy.
    • This method is useful for representing large or infinite sets.
    • Example: C={xxN}C = \{x \mid x \in \mathbb{N}\}

basic terms of sets

cardinality

  • the number of elements in the set is called as the cardinality of the set
  • it is represented by A|A|
  • ex: A={1,2,3,4}A = \{1, 2, 3, 4\} the cardinality of set A is 4.

subset

  • let there are 2 sets A,BA, B. set AA is said to be subset of BB if and only if all the elements of AA is present in the set BB
  • it is represented as ABA \subseteq B

proper subset

  • if AA is subset of BB and ABA \neq B, then AA is the proper subset of BB.
  • proper subset is denoted by ABA \subset B.