
In
mathematics,
set ''A'' is a subset of a set ''B'' if all
elements
Element or elements may refer to:
Science
* Chemical element, a pure substance of one type of atom
* Heating element, a device that generates heat by electrical resistance
* Orbital elements, parameters required to identify a specific orbit of ...
of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are unequal, then ''A'' is a proper subset of ''B''. The relationship of one set being a subset of another is called inclusion (or sometimes containment). ''A'' is a subset of ''B'' may also be expressed as ''B'' includes (or contains) ''A'' or ''A'' is included (or contained) in ''B''. A ''k''-subset is a subset with ''k'' elements.
The subset relation defines a
partial order
In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binary ...
on sets. In fact, the subsets of a given set form a
Boolean algebra
In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variables are the truth values ''true'' and ''false'', usually denoted 1 and 0, whereas ...
under the subset relation, in which the
join and meet
In mathematics, specifically order theory, the join of a subset S of a partially ordered set P is the supremum (least upper bound) of S, denoted \bigvee S, and similarly, the meet of S is the infimum (greatest lower bound), denoted \bigwedg ...
are given by
intersection
In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, thei ...
and
union
Union commonly refers to:
* Trade union, an organization of workers
* Union (set theory), in mathematics, a fundamental operation on sets
Union may also refer to:
Arts and entertainment
Music
* Union (band), an American rock group
** ''Un ...
, and the subset relation itself is the
Boolean inclusion relation.
Definition
If ''A'' and ''B'' are sets and every
element of ''A'' is also an element of ''B'', then:
:*''A'' is a subset of ''B'', denoted by
, or equivalently,
:* ''B'' is a superset of ''A'', denoted by
If ''A'' is a subset of ''B'', but ''A'' is not
equal
Equal(s) may refer to:
Mathematics
* Equality (mathematics).
* Equals sign (=), a mathematical symbol used to indicate equality.
Arts and entertainment
* ''Equals'' (film), a 2015 American science fiction film
* ''Equals'' (game), a board game
...
to ''B'' (i.e.
there exists
In predicate logic, an existential quantification is a type of quantifier, a logical constant which is interpreted as "there exists", "there is at least one", or "for some". It is usually denoted by the logical operator symbol ∃, which, wh ...
at least one element of B which is not an element of ''A''), then:
:*''A'' is a proper (or strict) subset of ''B'', denoted by
, or equivalently,
:* ''B'' is a proper (or strict) superset of ''A'', denoted by
.
The
empty set
In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in oth ...
, written
or
is a subset of any set ''X'' and a proper subset of any set except itself, the inclusion
relation is a
partial order
In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binary ...
on the set
(the
power set
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is ...
of ''S''—the set of all subsets of ''S'') defined by
. We may also partially order
by reverse set inclusion by defining
When quantified,
is represented as
We can prove the statement
by applying a proof technique known as the element argument:
Let sets ''A'' and ''B'' be given. To prove that
# suppose that ''a'' is a particular but arbitrarily chosen element of A
# show that ''a'' is an element of ''B''.
The validity of this technique can be seen as a consequence of
Universal generalization: the technique shows
for an arbitrarily chosen element ''c''. Universal generalisation then implies
which is equivalent to
as stated above.
The set of all subsets of
is called its
powerset
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is p ...
, and is denoted by
. The set of all
-subsets of
is denoted by
, in analogue with the notation for
binomial coefficients
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
, which count the number of
-subsets of an
-element set. In
set theory
Set theory is the branch of mathematical logic that studies sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, is mostly concer ...
, the notation
is also common, especially when
is a
transfinite Transfinite may refer to:
* Transfinite number, a number larger than all finite numbers, yet not absolutely infinite
* Transfinite induction, an extension of mathematical induction to well-ordered sets
** Transfinite recursion
Transfinite inducti ...
cardinal number
In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality (size) of sets. The cardinality of a finite set is a natural number: the number of elements in the set. T ...
.
Properties
* A set ''A'' is a subset of ''B''
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false.
The connective is bi ...
their intersection is equal to A.
:Formally:
:
* A set ''A'' is a subset of ''B'' if and only if their union is equal to B.
:Formally:
:
* A finite set ''A'' is a subset of ''B'', if and only if the
cardinality
In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
of their intersection is equal to the cardinality of A.
:Formally:
:
⊂ and ⊃ symbols
Some authors use the symbols
and
to indicate and respectively; that is, with the same meaning as and instead of the symbols
and
For example, for these authors, it is true of every set ''A'' that
Other authors prefer to use the symbols
and
to indicate (also called strict) subset and superset respectively; that is, with the same meaning as and instead of the symbols
and
This usage makes
and
analogous to the
inequality symbols
and
For example, if
then ''x'' may or may not equal ''y'', but if
then ''x'' definitely does not equal ''y'', and ''is'' less than ''y''. Similarly, using the convention that
is proper subset, if
then ''A'' may or may not equal ''B'', but if
then ''A'' definitely does not equal ''B''.
Examples of subsets

* The set A = is a proper subset of B = , thus both expressions
and
are true.
* The set D = is a subset (but a proper subset) of E = , thus
is true, and
is not true (false).
* Any set is a subset of itself, but not a proper subset. (
is true, and
is false for any set X.)
* The set is a proper subset of
* The set of
natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called '' cardinal ...
s is a proper subset of the set of
rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...
s; likewise, the set of points in a
line segment
In geometry, a line segment is a part of a straight line that is bounded by two distinct end points, and contains every point on the line that is between its endpoints. The length of a line segment is given by the Euclidean distance between ...
is a proper subset of the set of points in a
line
Line most often refers to:
* Line (geometry), object with zero thickness and curvature that stretches to infinity
* Telephone line, a single-user circuit on a telephone communication system
Line, lines, The Line, or LINE may also refer to:
Art ...
. These are two examples in which both the subset and the whole set are infinite, and the subset has the same
cardinality
In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
(the concept that corresponds to size, that is, the number of elements, of a finite set) as the whole; such cases can run counter to one's initial intuition.
* The set of
rational numbers
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all r ...
is a proper subset of the set of
real number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
s. In this example, both sets are infinite, but the latter set has a larger cardinality (or ) than the former set.
Another example in an
Euler diagram
An Euler diagram (, ) is a diagrammatic means of representing sets and their relationships. They are particularly useful for explaining complex hierarchies and overlapping definitions. They are similar to another set diagramming technique, Ve ...
:
File:Example of A is a proper subset of B.svg, A is a proper subset of B
File:Example of C is no proper subset of B.svg, C is a subset but not a proper subset of B
Other properties of inclusion

Inclusion is the canonical
partial order
In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binary ...
, in the sense that every partially ordered set
is
isomorphic to some collection of sets ordered by inclusion. The
ordinal numbers are a simple example: if each ordinal ''n'' is identified with the set