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 conce ...
, the intersection of two
sets and
denoted by
is the set containing all elements of
that also belong to
or equivalently, all elements of
that also belong to
Notation and terminology
Intersection is written using the symbol "
" between the terms; that is, in
infix notation
Infix notation is the notation commonly used in arithmetical and logical formulae and statements. It is characterized by the placement of operators between operands—" infixed operators"—such as the plus sign in .
Usage
Binary relations a ...
. For example:
The intersection of more than two sets (generalized intersection) can be written as:
which is similar to
capital-sigma notation
In mathematics, summation is the addition of a sequence of any kind of numbers, called ''addends'' or ''summands''; the result is their ''sum'' or ''total''. Beside numbers, other types of values can be summed as well: functions, vectors, mat ...
.
For an explanation of the symbols used in this article, refer to the
table of mathematical symbols
A mathematical symbol is a figure or a combination of figures that is used to represent a mathematical object, an action on mathematical objects, a relation between mathematical objects, or for structuring the other symbols that occur in a formula ...
.
Definition
The intersection of two sets
and
denoted by
,
is the set of all objects that are members of both the sets
and
In symbols:
That is,
is an element of the intersection
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 bicondi ...
is both an element of
and an element of
For example:
* The intersection of the sets and is .
* The number 9 is in the intersection of the set of
prime number
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
s and the set of
odd numbers
In mathematics, parity is the property of an integer of whether it is even or odd. An integer is even if it is a multiple of two, and odd if it is not.. For example, −4, 0, 82 are even because
\begin
-2 \cdot 2 &= -4 \\
0 \cdot 2 &= 0 \\
41 ...
, because 9 is not prime.
Intersecting and disjoint sets
We say that if there exists some
that is an element of both
and
in which case we also say that . Equivalently,
intersects
if their intersection
is an , meaning that there exists some
such that
We say that if
does not intersect
In plain language, they have no elements in common.
and
are disjoint if their intersection is
empty
Empty may refer to:
Music Albums
* ''Empty'' (God Lives Underwater album) or the title song, 1995
* ''Empty'' (Nils Frahm album), 2020
* ''Empty'' (Tait album) or the title song, 2001
Songs
* "Empty" (The Click Five song), 2007
* ...
, denoted
For example, the sets
and
are disjoint, while the set of even numbers intersects the set of
multiples of 3 at the multiples of 6.
Algebraic properties
Binary intersection is an
associative operation; that is, for any sets
and
one has
Thus the parentheses may be omitted without ambiguity: either of the above can be written as
. Intersection is also
commutative
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name o ...
. That is, for any
and
one has
The intersection of any set with 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 other ...
results in the empty set; that is, that for any set
,
Also, the intersection operation is
idempotent
Idempotence (, ) is the property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application. The concept of idempotence arises in a number of pl ...
; that is, any set
satisfies that
. All these properties follow from analogous facts about
logical conjunction
In logic, mathematics and linguistics, And (\wedge) is the truth-functional operator of logical conjunction; the ''and'' of a set of operands is true if and only if ''all'' of its operands are true. The logical connective that represents this ...
.
Intersection
distributes over
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 union distributes over intersection. That is, for any sets
and
one has
Inside a universe
one may define the
complement
A complement is something that completes something else.
Complement may refer specifically to:
The arts
* Complement (music), an interval that, when added to another, spans an octave
** Aggregate complementation, the separation of pitch-clas ...
of
to be the set of all elements of
not in
Furthermore, the intersection of
and
may be written as the complement of the
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 ...
of their complements, derived easily from
De Morgan's laws
In propositional logic and Boolean algebra, De Morgan's laws, also known as De Morgan's theorem, are a pair of transformation rules that are both valid rules of inference. They are named after Augustus De Morgan, a 19th-century British mathem ...
:
Arbitrary intersections
The most general notion is the intersection of an arbitrary collection of sets.
If
is a
nonempty
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 other ...
set whose elements are themselves sets, then
is an element of the of
if and only if
for every
In mathematical logic, a universal quantification is a type of quantifier, a logical constant which is interpreted as "given any" or "for all". It expresses that a predicate can be satisfied by every member of a domain of discourse. In other ...
element
of
is an element of
In symbols:
The notation for this last concept can vary considerably.
Set theorists
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
* Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electr ...
will sometimes write "
", while others will instead write "
".
The latter notation can be generalized to "
", which refers to the intersection of the collection
Here
is a nonempty set, and
is a set for every
In the case that the
index set
In mathematics, an index set is a set whose members label (or index) members of another set. For instance, if the elements of a set may be ''indexed'' or ''labeled'' by means of the elements of a set , then is an index set. The indexing consists ...
is 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 n ...
s, notation analogous to that of an
infinite product In mathematics, for a sequence of complex numbers ''a''1, ''a''2, ''a''3, ... the infinite product
:
\prod_^ a_n = a_1 a_2 a_3 \cdots
is defined to be the limit of a sequence, limit of the Multiplication#Capital pi notation, partial products ''a' ...
may be seen:
When formatting is difficult, this can also be written "
". This last example, an intersection of countably many sets, is actually very common; for an example, see the article on
σ-algebras.
Nullary intersection
Note that in the previous section, we excluded the case where
was 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 other ...
(
). The reason is as follows: The intersection of the collection
is defined as the set (see
set-builder notation)
If
is empty, there are no sets
in
so the question becomes "which
's satisfy the stated condition?" The answer seems to be . When
is empty, the condition given above is an example of a
vacuous truth
In mathematics and logic, a vacuous truth is a conditional or universal statement (a universal statement that can be converted to a conditional statement) that is true because the antecedent cannot be satisfied. For example, the statement "she d ...
. So the intersection of the empty family should be the
universal set
In set theory, a universal set is a set which contains all objects, including itself. In set theory as usually formulated, it can be proven in multiple ways that a universal set does not exist. However, some non-standard variants of set theory inc ...
(the
identity element
In mathematics, an identity element, or neutral element, of a binary operation operating on a set is an element of the set that leaves unchanged every element of the set when the operation is applied. This concept is used in algebraic structures su ...
for the operation of intersection),
but in standard (
ZF) set theory, the universal set does not exist.
In
type theory
In mathematics, logic, and computer science, a type theory is the formal presentation of a specific type system, and in general type theory is the academic study of type systems. Some type theories serve as alternatives to set theory as a foundat ...
however,
is of a prescribed type
so the intersection is understood to be of type
(the type of sets whose elements are in
), and we can define
to be the universal set of
(the set whose elements are exactly all terms of type
).
See also
*
*
*
*
*
*
*
*
*
*
*
*
References
Further reading
*
*
*
External links
*
{{Mathematical logic
Basic concepts in set theory
Operations on sets
Intersection