All Topics  
Set

 

   Email Print
   Bookmark   Link






 

Set



 
 
A set is a collection of distinct objects, considered as an object in its own right. Sets are one of the most fundamental concept
Concept

A concept is a cognition unit of meaning— an abstraction idea or a mental symbol sometimes defined as a "unit of knowledge," built from other units which act as a concept's characteristics....
s in mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
. Although it was invented at the end of the 19th century, set theory is now a ubiquitous part of mathematics, and can be used as a foundation from which nearly all of mathematics can be derived. In mathematics education
Mathematics education

Mathematics education is the practice of teaching and learning mathematics, as well as the field of scholarly research on this practice. Researchers in math education are in the first instance concerned with the tools, methods and approaches that facilitate practice or the study of practice....
, elementary topics such as Venn diagram
Venn diagram

Venn diagrams or set diagrams are diagrams that show all hypothetically possible logical relations between a finite collection of Set . Venn diagrams were invented around 1880 by John Venn....
s are taught at a young age, while more advanced concepts are taught as part of a university degree.

In philosophy
Philosophy

Philosophy is the study of general problems concerning matters such as existence, knowledge, truth, beauty, justice, validity, mind, and language....
, sets are ordinarily considered to be abstract object
Abstract object

An abstract object is an object which does not exist at any particular time or place, but rather exists as a Type_ of thing . In philosophy, an important distinction is whether an object is considered abstract or concrete....
s physically represented by groups of objects.






Discussion
Ask a question about 'Set'
Start a new discussion about 'Set'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A set is a collection of distinct objects, considered as an object in its own right. Sets are one of the most fundamental concept
Concept

A concept is a cognition unit of meaning— an abstraction idea or a mental symbol sometimes defined as a "unit of knowledge," built from other units which act as a concept's characteristics....
s in mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
. Although it was invented at the end of the 19th century, set theory is now a ubiquitous part of mathematics, and can be used as a foundation from which nearly all of mathematics can be derived. In mathematics education
Mathematics education

Mathematics education is the practice of teaching and learning mathematics, as well as the field of scholarly research on this practice. Researchers in math education are in the first instance concerned with the tools, methods and approaches that facilitate practice or the study of practice....
, elementary topics such as Venn diagram
Venn diagram

Venn diagrams or set diagrams are diagrams that show all hypothetically possible logical relations between a finite collection of Set . Venn diagrams were invented around 1880 by John Venn....
s are taught at a young age, while more advanced concepts are taught as part of a university degree.

In philosophy
Philosophy

Philosophy is the study of general problems concerning matters such as existence, knowledge, truth, beauty, justice, validity, mind, and language....
, sets are ordinarily considered to be abstract object
Abstract object

An abstract object is an object which does not exist at any particular time or place, but rather exists as a Type_ of thing . In philosophy, an important distinction is whether an object is considered abstract or concrete....
s physically represented by groups of objects. For instance, three cups on a table when spoken of together as "the cups" form a set with three elements. However, proponents of mathematical realism, including Penelope Maddy
Penelope Maddy

Penelope Maddy is a UCI Distinguished Professor of Logic and Philosophy of Science and of Mathematics at the University of California, Irvine. She is well-known for her influential work in the philosophy of mathematics where she has worked on realism and naturalism....
, have argued that sets are concrete objects.

Venn A Intersect B

Definition

At the beginning of his Beiträge zur Begründung der transfiniten Mengenlehre, Georg Cantor
Georg Cantor

Georg Ferdinand Ludwig Philipp Cantor was a Germany mathematician, born in Russia. He is best known as the creator of set theory, which has become a foundations of mathematics in mathematics....
, the principal creator of set theory, gave the following definition of a set:

The element
Element (mathematics)

In mathematics, an element or member of a Set is any one of the distinct objects that make up that set....
s of a set, also called its members, can be anything: numbers, people, letters of the alphabet, other sets, and so on. Sets are conventionally denoted with capital letters
Capital letters

Capital letters or majuscules [IPA pronunciation: /m?'d??skjuls, 'm?d???skjuls/], in the Roman alphabet A, B, C, D, etc., may also be called capitals, or caps....
. The statement that sets A and B are equal means that they have precisely the same members (i.e., every member of A is also a member of B and vice versa).

Unlike a multiset
Multiset

In mathematics, a multiset is a generalization of a Set . A Element of a multiset can have more than one Element , while each member of a set has only one membership....
, every element of a set must be unique; no two members may be identical. All set operations preserve the property that each element of the set is unique. The order in which the elements of a set are listed is irrelevant, unlike a sequence
Sequence

In mathematics, a sequence is an ordered list of objects . Like a Set , it contains Element , and the number of terms is called the length of the sequence....
 or tuple
Tuple

In mathematics, a tuple is a sequence of a specific number of values, called the components of the tuple. These components can be any kind of mathematical objects, where each component of a tuple is a value of a specified type....
.

As discussed below, in formal mathematics the definition given above turned out to be inadequate; instead, the notion of a "set" is taken as an undefined primitive in axiomatic set theory, and its properties are defined by the Zermelo–Fraenkel axioms. The most basic properties are that a set "has" elements, and that two sets are equal (one and the same) if they have the same elements.

Describing sets

There are two ways of describing, or specifying the members of, a set. One way is by intensional definition
Intensional definition

In logic and mathematics, an intensional definition gives the Meaning of a term by specifying all the properties required to come to that definition, that is, the necessary and sufficient conditions for belonging to the set being defined....
, using a rule or semantic description. See this example:

A is the set whose members are the first four positive integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
s.
B is the set of colors of the French flag
Flag of France

The national flag of France is a tricolour featuring three vertical bands coloured blue , white, and red. It is known to English language speakers as the French tricolour or simply, the tricolour....
.


The second way is by extension
Extension (semantics)

In any of several studies that treat the use of sign s, for example in linguistics, logic, mathematics, semantics, and semiotics, the extension of a concept, idea, or sign consists of the things to which it applies, in contrast with its comprehension or intension, which consists very roughly of the ideas, properties, or corresponding signs...
, that is, listing each member of the set. An extensional definition
Extensional definition

An extensional definition of a concept or term formulates its meaning by specifying its extension , that is, every object that falls under the definition of the concept or term in question....
 is notated by enclosing the list of members in brace
Bracket

Brackets are punctuation marks used in pairs to set apart or interject text within other text. In computer science, the term is sometimes said to strictly apply to the square or box type....
s:

C =
D =


The order in which the elements of a set are listed in an extensional definition is irrelevant, as are any repetitions in the list. For example,
= =
are equivalent, because the extensional specification means merely that each of the elements listed is a member of the set.

For sets with many elements, the enumeration of members can be abbreviated. For instance, the set of the first thousand positive whole numbers may be specified extensionally as:

,


where the ellipsis
Ellipsis

Ellipsis in printing and writing refers to a mark or series of marks that usually indicate an intentional omission of a word or a phrase from the original text....
 ("...") indicates that the list continues in the obvious way. Ellipses may also be used where sets have infinitely many members. Thus the set of positive even numbers can be written as

The notation with braces may also be used in an intensional specification of a set. In this usage, the braces have the meaning "the set of all ...". So, E = is the set whose four members are A more general form of this is set-builder notation
Set-builder notation

In set theory and its applications to logic, mathematics, and computer science, set-builder notation is a mathematical notation for describing a Set by stating the properties that its members must satisfy....
, through which, for instance, the set F of the twenty smallest integers that are four less than perfect square
Perfect square

Perfect square may refer to:...
s can be denoted:

F =


In this notation, the colon
Colon (punctuation)

The colon is a punctuation mark, consisting of two equally sized dots centered on the same vertical line....
 (":") means "such that", and the description can be interpreted as "F is the set of all numbers of the form n2 − 4, such that n is a whole number in the range from 0 to 19 inclusive." Sometimes the vertical bar
Vertical bar

The vertical bar has various names including the pipe , verti-bar, vbar, stick, vertical line, vertical slash, think colon, or divider line by others....
 ("|") or the semicolon
Semicolon

A semicolon is a conventional punctuation mark with several uses, mainly for pauses in sentences. The Italy printer Aldus Manutius the Elder established the practice of using the semicolon mark to separate words of opposed meaning, and to indicate interdependent statements....
 (";") is used instead of the colon.

One often has the choice of specifying a set intensionally or extensionally. In the examples above, for instance, A = C and B = D.

Membership

If something is or is not an element of a particular set then this is symbolised by ? and ? respectively. So, with respect to the sets defined above:
  • 4 ∈ A and 285 ∈ F (since 285 = 172 − 4); but
  • 9 ∉ F and green ∉ B.

Cardinality


The cardinality | S | of a set S is "the number of members of S." For example, since the French flag has three colors, In mathematical theory, a set has a cardinality value of 4.

There is a set with no members and zero cardinality, which is called the empty set
Empty set

In mathematics, and more specifically set theory, the empty set is the unique Set having no members. Some axiomatic set theories assure that the empty set exists by including an axiom of empty set; in other theories, its existence can be deduced....
 (or the null set) and is denoted by the symbol ∅. For example, the set A of all three-sided squares has zero members and thus A = ∅. Though it may seem trivial, the empty set, like the number zero
0 (number)

0 is both a number and the numerical digit used to represent that number in numeral system. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures....
, is important in mathematics; indeed, the existence of this set is one of the fundamental concepts of axiomatic set theory.

Some sets have infinite
Infinite set

In set theory, an infinite set is a Set that is not a finite set. Infinite sets may be countable set or uncountable set. Some examples are:* the set of all integers, , is a countably infinite set; and...
 cardinality. The set N of natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
s, for instance, is infinite. Some infinite cardinalities are greater than others. For instance, the set of real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s has greater cardinality than the set of natural numbers. However, it can be shown that the cardinality of (which is to say, the number of points on) a straight line is the same as the cardinality of any segment
Line segment

In geometry, a line segment is a part of a line that is bounded by two end Point , and contains every point on the line between its end points....
 of that line, of the entire plane
Plane (mathematics)

In mathematics, a plane is a curvature surface. Planes can arise as subspaces of some higher dimensional space, as with the walls of a room, or they may enjoy an independent existence in their own right, as in the setting of Euclidean geometry....
, and indeed of any finite-dimensional Euclidean space
Euclidean space

Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....
.

Subsets

If every member of set A is also a member of set B, then A is said to be a subset of B, written AB (also pronounced A is contained in B). Equivalently, we can write BA, read as B is a superset of A, B includes A, or B contains A. The relationship
Relation (mathematics)

In mathematics , a relation is a property that assigns truth values to combinations of k first-order logic. Typically, the property describes a possible connection between the components of a k-tuple....
 between sets established by ⊆ is called inclusion or containment.

If A is a subset of, but not equal to, B, then A is called a proper subset of B, written AB (A is a proper subset of B) or BA (B is proper superset of A).

Note that the expressions AB and AB are used differently by different authors; some authors use them to mean the same as AB (respectively AB), whereas other use them to mean the same as AB (respectively AB).

Example:
  • The set of all men is a proper subset
    Subset

    In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
     of the set of all people.
  • ⊊ .
  • ⊆ .


The empty set is a subset of every set and every set is a subset of itself:
  • ∅ ⊆ A.
  • AA.


An obvious but very handy identity, which can often be used to show that two seemingly different sets are equal:
if and only if and .


Power set

The power set of a set S can be defined as the set of all subsets of S. This includes the subsets formed from all the members of S and the empty set. If a finite set S has cardinality n then the power set of S has cardinality 2n. The power set can be written as P(S).

If S is an infinite (either countable or uncountable) set then the power set of S is always uncountable. Moreover, if S is a set, then there is never a bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
 from S onto P(S). In other words, the power set of S is always strictly "bigger" than S.

As an example, the power set P of is equal to the set

Special sets

There are some sets which hold great mathematical importance and are referred to with such regularity that they have acquired special names and notational conventions to identify them. One of these is the empty set. Many of these sets are represented using blackboard bold
Blackboard bold

Blackboard bold is a typeface style often used for certain symbols in mathematics and physics texts, in which certain lines of the symbol are doubled....
 or bold typeface. Special sets of numbers include:
  • , denoting the set of all primes
    Prime number

    In mathematics, a prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. An infinitude of prime numbers exists, as demonstrated by Euclid around 300 BC....
    .
  • , denoting the set of all natural number
    Natural number

    In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
    s. That is to say, or .
  • , denoting the set of all integer
    Integer

    The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
    s (whether positive, negative or zero). So .
  • , denoting the set of all rational number
    Rational number

    In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
    s (that is, the set of all proper and improper fractions). So, . For example, and . All integers are in this set since every integer can be expressed as the fraction .
  • , denoting the set of all real number
    Real number

    In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
    s. This set includes all rational numbers, together with all irrational
    Irrational number

    In mathematics, an irrational number is any real number that is not a rational number ? that is, it is a number which cannot be expressed as a fraction m/n, where m and n are integers, with n non-zero....
     numbers (that is, numbers which cannot be rewritten as fractions, such as π
    Pi

    Pi or p is a mathematical constant whose value is the ratio of any circle's circumference to its diameter in Euclidean geometry; this is the same value as the ratio of a circle's area to the square of its radius....
    , e
    Exponentiation

    Exponentiation is a mathematics operation , written 'an', involving two numbers, the base a and the exponent n....
    , and ).
  • , denoting the set of all complex number
    Complex number

    In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
    s.


Each of these sets of numbers has an infinite number of elements, and . The primes are used less frequently than the others outside of number theory
Number theory

Number theory is the branch of pure mathematics concerned with the properties of numbers in general, and integers in particular, as well as the wider classes of problems that arise from their study....
 and related fields.

Basic operations


Unions

There are ways to construct new sets from existing ones. Two sets can be "added" together. The union of A and B, denoted by A ? B, is the set of all things which are members of either A or B.

Examples:


Some basic properties of unions are:
if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 


Intersections

A new set can also be constructed by determining which members two sets have "in common". The intersection of A and B, denoted by is the set of all things which are members of both A and B. If then A and B are said to be disjoint.

Examples:


Some basic properties of intersections:
if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 


Complements

Two sets can also be "subtracted". The relative complement of A in B (also called the set theoretic difference of B and A), denoted by (or ) is the set of all elements which are members of B, but not members of A. Note that it is valid to "subtract" members of a set that are not in the set, such as removing the element green from the set doing so has no effect.

In certain settings all sets under discussion are considered to be subsets of a given universal set
Universe (mathematics)

In mathematics, and particularly in set theory and the foundations of mathematics, a universe is a class that contains all the entities one wishes to consider in a given situation....
 U. In such cases, is called the absolute complement or simply complement of A, and is denoted by A′. Examples:
  • If U is the set of integers, E is the set of even integers, and O is the set of odd integers, then the complement of E in U is O, or equivalently, E′ = O.


Some basic properties of complements:
and
.


Cartesian product

A new set can be constructed by associating every element of one set with every element of another set. The Cartesian product of two sets A and B, denoted by A × B is the set of all ordered pairs (a, b) such that a is a member of A and b is a member of B.

Examples:

Some basic properties of cartesian products: Let A and B be finite sets. Then
  • | A × B | = | B × A | = | A | × | B |.


Applications

Set theory is seen as the foundation from which virtually all of mathematics can be derived. For example, structures
Algebraic structure

In algebra, a branch of pure mathematics, an algebraic structure consists of one or more Set Closure under one or more Operation , satisfying some axiom....
 in abstract algebra
Abstract algebra

Abstract algebra is the subject area of mathematics that studies algebraic structures, such as group , ring , field , module , vector spaces, and algebra over a field....
, such as groups
Group (mathematics)

In mathematics, a group is an algebraic structure consisting of a set together with an Binary operation that combines any two of its element to form a third element....
, fields
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
 and rings
Ring (mathematics)

In mathematics, a ring is a type of algebraic structure. There is some variation among mathematicians as to exactly what properties a ring is required to have, as described in detail below....
, are sets closed under one or more operations.

One of the main applications of naive set theory is constructing relations
Relation (mathematics)

In mathematics , a relation is a property that assigns truth values to combinations of k first-order logic. Typically, the property describes a possible connection between the components of a k-tuple....
. A relation from a domain
Domain (mathematics)

In mathematics, the domain of a given function is the set of "input" values for which the function is defined. For instance, the domain of cosine would be all real numbers, while the domain of the square root would be only numbers greater than or equal to 0 ....
 A to a codomain
Codomain

In mathematics, the codomain, range or target set, of a function , described symbolically as ' : ' ? ', is the set ' into which all of the output of the function is constrained to fall....
 B is a subset of the cartesian product A × B. Given this concept, we are quick to see that the set F of all ordered pairs (x, x2), where x is real, is quite familiar. It has a domain set R and a codomain set that is also R, because the set of all squares is subset of the set of all reals. If placed in functional notation, this relation becomes f(x) = x2. The reason these two are equivalent is for any given value, y that the function is defined for, its corresponding ordered pair, (y, y2) is a member of the set F.

Axiomatic set theory

Although initially naive set theory
Naive set theory

Naive set theory is one of several theories of sets used in the discussion of the foundations of mathematics. The informal content of this naive set theory supports both the aspects of mathematical sets familiar in discrete mathematics , and the everyday usage of set theory concepts in most contemporary mathematics....
, which defines a set merely as any well-defined collection, was well accepted, it soon ran into several obstacles. It was found that this definition spawned several paradoxes, most notably:
  • Russell's paradox
    Russell's paradox

    Part of fundamental mathematics, Russell's paradox , discovered by Bertrand Russell in 1901, showed that the naive set theory of Gottlob Frege leads to a contradiction....
    —It shows that the "set of all sets which do not contain themselves," i.e. the "set" does not exist.
  • Cantor's paradox
    Cantor's paradox

    In set theory, Cantor's paradox is the theorem that there is no greatest cardinal number, so that the collection of "infinite sizes" is itself infinite....
    —It shows that "the set of all sets" cannot exist.


The reason is that the phrase well-defined is not very well-defined. It was important to free set theory of these paradoxes because nearly all of mathematics was being redefined in terms of set theory. In an attempt to avoid these paradoxes, set theory was axiomatized based on first-order logic
First-order logic

First-order logic is a formal deductive system used in mathematics, philosophy, linguistics, and computer science. It goes by many names, including: first-order predicate calculus , the lower predicate calculus, the language of first-order logic or predicate logic....
, and thus axiomatic set theory was born.

For most purposes however, naive set theory
Naive set theory

Naive set theory is one of several theories of sets used in the discussion of the foundations of mathematics. The informal content of this naive set theory supports both the aspects of mathematical sets familiar in discrete mathematics , and the everyday usage of set theory concepts in most contemporary mathematics....
 is still useful.

See also


External links