In mathematics, a set can be thought of as any collection of distinct things considered as a whole. Though a simple idea, it is nevertheless one of the most important and fundamental concepts in modern mathematics, and the study of the structure of possible sets, set theory, is quite rich.
Set theory, having only been invented at the end of the 19th century, is now a ubiquitous part of mathematics education, being introduced as early as primary school. It is the language in which modern mathematics is described. Set theory can be viewed as the foundation upon which nearly all of mathematics can be built and the source from which nearly all mathematics can be derived.
This article gives a brief and basic introduction to what mathematicians call "intuitive" or "naive" set theory; for a more detailed account see naive set theory. For a rigorous modern axiomatic treatment of sets see axiomatic set theory.
A set is a collection of objects considered as a whole. The objects of a set are called elements or members. The elements of a set can be anything: numbers, people, letters of the alphabet, other sets, and so on. Sets are conventionally denoted with capital letters, A, B, C, etc. Two sets A and B are said to be equal, written A = B, if they have the same members.
As opposed to a multiset and a real-life collection, a set cannot contain multiple copies of an element.
Some sets may be described in words, for example:
By convention, a set can also be defined by explicitly listing its elements between braces (sometimes called curly brackets or curly braces), for example:
Two different descriptions may define the same set. For example, for the sets defined above, A and C are identical, since they have precisely the same members. The shorthand A = C is used to express this equality. Similarly, for the sets defined above, B = D.
Set identity does not depend on the order in which the elements are listed, nor on whether there are repetitions in the list. For example, {6, 11} = {11, 6} = {11, 11, 6, 11}.
For sets with many elements, an abbreviated list is sometimes used. For example, the first one thousand positive whole numbers can be described using the symbolic shorthand:
where the ellipsis (...) indicates that the list continues in the obvious way.
Similarly the set of even numbers can be described by the notation:
More complicated sets are sometimes described by a different notation. For example the set F, whose members are the first twenty numbers which are four less than a square integer, can be described using the following:
For more information on describing sets see Set-builder notation.
For more information on set membership see Element (mathematics).
A set can also have zero members. Such a set is called the empty set (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 = ø. Like the number zero, though seemingly trivial, the empty set turns out to be quite important in mathematics.
For more information on the empty set see Empty set.
A set can also have an infinite number of members; for example, the set of natural numbers is infinite.
For more information on infinity and the size of sets, see cardinality and cardinal number.
For more information on finite sets and counting them, see combinatorics and permutations and combinations.
If A is a subset of but not equal to B, then A is called a proper subset of B, written (A is a proper subset of B) or (B is proper superset of A). However, in some literature these symbols are read the same as and , so it's often preferred to use the more explicit symbols and for proper subsets and supersets.
Examples:
The empty set is a subset of every set and every set is a subset of itself:
For more information about subsets, see Subset.
Each of these sets of numbers has infinite cardinality, and moreover , although the primes are generally used less than the others outside of number theory and related fields.
Examples:
Some basic properties of unions:
For more information about unions of sets, see Union (set theory).
Examples:
Some basic properties of intersections:
For more information about intersections of sets, see Intersection (set theory).
In certain settings all sets under discussion are considered to be subsets of a given universal set U. In such cases, U − A, is called the absolute complement or simply complement of A, and is denoted by A′.
Some basic properties of complements:
For more information about complements of sets, see Complement (set theory).
مجموعة (رياضيات) | সেট | Мноства | Множество | Conjunt | Množina | Menge (Mathematik) | Hulk | Σύνολο | Conjunto | Aro | مجموعه (ریاضی) | Ensemble | 집합 | Ensemblo | Insieme (matematica) | קבוצה (מתמטיקה) | ಗಣ | Aibė | Halmaz | Множество | Verzameling (wiskunde) | 集合 | Mengde | Zbiór | Conjunto | Mulţime | Множество | Bashkësitë | Set | Množina | Množica | Скуп | Joukko | Mängd | Множина | 集合