Subset

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Euler diagram showing
A is a subset of B (denoted AB) and, conversely, B is a superset of A (denoted BA)

In mathematics, a set A is a subset of a set B if all elements 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.

When quantified, AB is represented as x(xAxB).[1]

One can prove the statement

AB

by applying a proof technique known as the element argument[2]:

Let sets A and B be given. To prove that

AB,
  1. suppose that a is a particular but arbitrarily chosen element of A
  2. 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

(cA)(cB)

for an arbitrarily chosen element c. Universal generalisation then implies

x(xAxB),

which is equivalent to

AB,

as stated above.

Definition

[edit | edit source]

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 AB, or equivalently,
  • B is a superset of A, denoted by BA.

If A is a subset of B, but A is not equal 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 AB, or equivalently,
  • B is a proper (or strict) superset of A, denoted by BA.

The empty set, written {} or , has no elements, and therefore is vacuously a subset of any set X.

Basic properties

[edit | edit source]
AB and BC implies AC.

Proper subset

[edit | edit source]

⊂ and ⊃ symbols

[edit | edit source]

Some authors use the symbols and to indicate subset and superset respectively; that is, with the same meaning as and instead of the symbols and .[4] For example, for these authors, it is true of every set A that AA. (a reflexive relation).

Other authors prefer to use the symbols and to indicate proper (also called strict) subset and proper superset respectively; that is, with the same meaning as and instead of the symbols and .[5] This usage makes and analogous to the inequality symbols and <. For example, if xy, then x may or may not equal y, but if x<y, then x definitely does not equal y, and is less than y (an irreflexive relation). Similarly, using the convention that is proper subset, if AB, then A may or may not equal B, but if AB, then A definitely does not equal B.

Examples of subsets

[edit | edit source]
The regular polygons form a subset of the polygons.
  • The set A = {1, 2} is a proper subset of B = {1, 2, 3}, thus both expressions AB and AB are true.
  • The set D = {1, 2, 3} is a subset (but not a proper subset) of E = {1, 2, 3}, thus DE is true, and DE is not true (false).
  • The set {x: x is a prime number greater than 10} is a proper subset of {x: x is an odd number greater than 10}
  • The set of natural numbers is a proper subset of the set of rational numbers; likewise, the set of points in a line segment is a proper subset of the set of points in a line. 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 numbers. In this example, both sets are infinite, but the latter set has a larger cardinality (or power) than the former set.

Another example in an Euler diagram:

Power set

[edit | edit source]

The set of all subsets of S is called its power set, and is denoted by 𝒫(S).[6]

The inclusion relation is a partial order on the set 𝒫(S) defined by ABAB. We may also partially order 𝒫(S) by reverse set inclusion by defining AB if and only if BA.

For the power set 𝒫(S) of a set S, the inclusion partial order is—up to an order isomorphism—the Cartesian product of k=|S| (the cardinality of S) copies of the partial order on {0,1} for which 0<1. This can be illustrated by enumerating S={s1,s2,,sk},, and associating with each subset TS (i.e., each element of 2S) the k-tuple from {0,1}k, of which the ith coordinate is 1 if and only if si is a member of T.

The set of all k-subsets of A is denoted by (Ak), in analogue with the notation for binomial coefficients, which count the number of k-subsets of an n-element set. In set theory, the notation [A]k is also common, especially when k is a transfinite cardinal number.

Other properties of inclusion

[edit | edit source]
  • A set A is a subset of B if and only if their intersection is equal to A. Formally:
AB if and only if AB=A.
  • A set A is a subset of B if and only if their union is equal to B. Formally:
AB if and only if AB=B.
  • 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:
AB if and only if |AB|=|A|.

See also

[edit | edit source]
  • Convex subset – In geometry, set whose intersection with every line is a single line segment
  • Inclusion order – Partial order that arises as the subset-inclusion relation on some collection of objects
  • Mereology – Study of parts and the wholes they form
  • Region – Connected open subset of a topological space
  • Subset sum problem – Decision problem in computer science
  • Subsumptive containment – System of elements that are subordinated to each other
  • Subspace – Mathematical set with some added structure
  • Total subset – Subset T of a topological vector space X where the linear span of T is a dense subset of X

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Bibliography

[edit | edit source]
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
[edit | edit source]
  • Error creating thumbnail: File missing Media related to Lua error in Module:Commons_link at line 62: attempt to index field 'wikibase' (a nil value). at Wikimedia Commons
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).