sets

A set is an unordered collection of elements or members.

Definition

a set is donated by {} and is defined by listing elements or describing the elements in mathematical notation, For example:

  • finite set: {}, where is a set with 3 elements.
  • infinite set: {x\mid$$x is an even integer},represents the set of all even integers. The set can represent any set, such as:
  • numbered sets
  • geometric objects
  • functions
  • matrices and vectors
  • sequence and series
  • etc… Sets can be compared by using Set Equivalence.

Properties

  • Uniqueness: each element only appears once in a set.
  • Unordered: The order does not matter, so {1,2} {2,1}.

Set Notation

Empty Set notation:()
  • A set that contains no elements
roster or list notation:
  • lists all elements of the set in {}(i.e. represents a set with 5 elements)
set-builder notation:
  • describes the properties that define the elements of a set(i.e. {x\mid$$x is a prime number})
universal set:()
  • includes all elements under consideration, and all other sets are subsets of this universal set.

Set Operations

Union()
  • the set of all elements in either or
Intersection()
  • the set of all elements in common between and
Deference()
  • for , the set of elements in but not in
Subset()
  • for , is a subset if every element of is also an element in
Symmetric Deference()
  • the set of elements where, is in and not in , or is in and not in
Cardinality()
  • the number of elements in a set.
    • for finite sets, this is a non-negative integer.
    • for infinite sets, cardinality refers to the size of the infinity (e.g. countable vs. uncountable infinity).
Power set()
  • the set of all subsets of S(the empty set counts as a subset)
Compliment
  • the set of all elements in the universal set that are not in A.
Disjoint
  • two sets are disjoint if they contain no common elements.

Observations

Power Set Size - the size of a power set if base set cardinality is n