In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern 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 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, their i ...
and
union, 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 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, 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 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 postu ...
, and is denoted by
. The set of all
-subsets of
is denoted by
, in analogue with the notation for
binomial coefficients, which count the number of
-subsets of an
-element set. In
set theory, the notation
is also common, especially when
is a
transfinite 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 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 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 numbers; 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:
Arts ...
. These are two examples in which both the subset and the whole set are infinite, and the subset has the same
cardinality (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 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:
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
In mathematics, an isomorphism is a structure-preserving mapping between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between them. The word is ...
to some collection of sets ordered by inclusion. The
ordinal number
In set theory, an ordinal number, or ordinal, is a generalization of ordinal numerals (first, second, th, etc.) aimed to extend enumeration to infinite sets.
A finite set can be enumerated by successively labeling each element with the lea ...
s are a simple example: if each ordinal ''n'' is identified with the set