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:
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
-
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:
- In the tabular (or roster) form, all the elements of a set are listed inside curly braces
-
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:
basic terms of sets
cardinality
- the number of elements in the set is called as the cardinality of the set
- it is represented by
- ex: the cardinality of set A is 4.
subset
- let there are 2 sets . set is said to be subset of if and only if all the elements of is present in the set
- it is represented as
proper subset
- if is subset of and , then is the proper subset of .
- proper subset is denoted by .