Recent changes Random page
GAMING
Education
 
Schools Wiki
GCSE Wiki
School Computing
Psychology Wiki
Crusades Wiki
Students Wiki
See more...

Set

From Mathematics

Jump to: navigation, search

A set is a collection of distinct, unordered objects. Sets are typically collections of numbers, though a set may contain any type of data (including other sets).

Contents

[edit] Set notation

Sets are notated using french braces (math) with elements delimited by commas. There are three ways to represent a set.

  • Strict enumeration - each element in a set is explicitly stated (e.g., math).
  • Pattern enumeration - sets with elements following a clear pattern can be shortened from strict enumeration by only showing enough elements to describe the pattern and representing the rest with an ellipsis (e.g., math).
  • Set former (or set builder)- elements in a set are defined as a function of one or more variables in a given domain that meets a condition. The presence of a condition is optional. Some syntaxes and variations for a set former are as follows:
    • math For example, math defines the set of integers 1 through 10.
    • math, given a function math and predicate math, the set of all values math for which math is true.
    • math, given a set math and predicate math, a subset of all math in math for which math is true.

[edit] Set properties and operations

Several properties and operations have been defined for sets. For the purpose of this section, sets are assumed to be collections of numbers. Set math is defined as the set math.

[edit] Properties

  • An object is an element of a set when it is contained in the set. For example, 1 is an element of math. This is written as math. Similarly, the fact that 11 is not an element of math is written as math. The universe (usually represented as math) is a set containing all possible elements, while the empty set or null set (represented as math or math) is a set containing no elements.
  • The cardinality of a set is the number of elements in the set. The cardinality of math (written as math or math) is 10.
  • The complement of a set is the set containing all elements of the universe which are not elements of the original set. For example, if the universe is defined as math, then the complement of math with respect to math (written as math) is math. The cardinalities of a set and its complement together equal the cardinality of the universe. Thus, the universe and the null set are complements of each other.
  • A set is a subset of another when all the elements in the first set are contained in the second set. Given sets math and math, math is a subset of math, notated as math, if and only if for all math, math implies math. All sets are subsets of the universe. By definition, all sets are subsets of themselves and by convention, the null set is a subset of all sets. For example, math. Any given set math has math subsets.
  • Two sets are equal if they are subsets of each other.
  • A set's proper subsets are all subsets except the set itself. This relationship is notated by math

[edit] Operations

  • The union of two sets is the set containing all elements of either math or math, including elements of both math and math. This operation is written as math. For example, math.
  • The intersection of two sets is the set containing all elements of both math and math. This is written as math. For example, math. The sum of the cardinalities of the intersection and union of two sets is equal to the sum of the cardinalities of the two sets.

[edit] Other functions on sets

Some functions on sets return a set which may not necessarily be a subset of the universal set. Given sets math and math:

[edit] See also

Rate this article:
Share this article: