Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Complement (set theory)

From Wikipedia, the free encyclopedia
Set of the elements not in a given subset
A circle filled with red inside a square. The area outside the circle is unfilled. The borders of both the circle and the square are black.
IfA is the area colored red in this image…
An unfilled circle inside a square. The area inside the square not covered by the circle is filled with red. The borders of both the circle and the square are black.
… then the complement ofA is everything else.

Inset theory, thecomplement of asetA, often denoted byAc{\displaystyle A^{c}} (orA),[1] is the set ofelements not inA.[2]

When all elements in theuniverse, i.e. all elements under consideration, are considered to bemembers of a given setU, theabsolute complement ofA is the set of elements inU that are not inA.

Therelative complement ofA with respect to a setB, also termed theset difference ofB andA, writtenBA,{\displaystyle B\setminus A,} is the set of elements inB that are not inA.

Absolute complement

[edit]
Theabsolute complement of the white disc is the red region

Definition

[edit]

IfA is a set, then theabsolute complement ofA (or simply thecomplement ofA) is the set of elements not inA (within a larger set that is implicitly defined). In other words, letU be a set that contains all the elements under study; if there is no need to mentionU, either because it has been previously specified, or it is obvious and unique, then the absolute complement ofA is the relative complement ofA inU:[3]Ac=UA={xU:xA}.{\displaystyle A^{c}=U\setminus A=\{x\in U:x\notin A\}.}

The absolute complement ofA is usually denoted byAc{\displaystyle A^{c}}. Other notations includeA¯,A,{\displaystyle {\overline {A}},A',}[2]UA, and A.{\displaystyle \complement _{U}A,{\text{ and }}\complement A.}[4]

Examples

[edit]
  • Assume that the universe is the set ofintegers. IfA is the set of odd numbers, then the complement ofA is the set of even numbers. IfB is the set ofmultiples of 3, then the complement ofB is the set of numberscongruent to 1 or 2 modulo 3 (or, in simpler terms, the integers that are not multiples of 3).
  • Assume that the universe is thestandard 52-card deck. If the setA is the suit of spades, then the complement ofA is theunion of the suits of clubs, diamonds, and hearts. If the setB is the union of the suits of clubs and diamonds, then the complement ofB is the union of the suits of hearts and spades.
  • When the universe is theuniverse of sets described in formalizedset theory, the absolute complement of a set is generally not itself a set, but rather aproper class. For more info, seeuniversal set.

Properties

[edit]

LetA andB be two sets in a universeU. The following identities capture important properties of absolute complements:

De Morgan's laws:[5]

Complement laws:[5]

Involution or double complement law:

Relationships between relative and absolute complements:

Relationship with a set difference:

The first two complement laws above show that ifA is a non-empty,proper subset ofU, then{A,A} is apartition ofU.

Relative complement

[edit]

Definition

[edit]

IfA andB are sets, then therelative complement ofA inB,[5] also termed theset difference ofB andA,[6] is the set of elements inB but not inA.

Therelative complement ofA inB:BAc=BA{\displaystyle B\cap A^{c}=B\setminus A}

The relative complement ofA inB is denotedBA{\displaystyle B\setminus A} according to theISO 31-11 standard. It is sometimes writtenBA,{\displaystyle B-A,} but this notation is ambiguous, as in some contexts (for example,Minkowski set operations infunctional analysis) it can be interpreted as the set of all elementsba,{\displaystyle b-a,} whereb is taken fromB anda fromA.

Formally:BA={xB:xA}.{\displaystyle B\setminus A=\{x\in B:x\notin A\}.}

Examples

[edit]

Properties

[edit]
See also:List of set identities and relations andAlgebra of sets

LetA,B, andC be three sets in a universeU. The followingidentities capture notable properties of relative complements:

Complementary relation

[edit]

Abinary relationR{\displaystyle R} is defined as a subset of aproduct of setsX×Y.{\displaystyle X\times Y.} Thecomplementary relationR¯{\displaystyle {\bar {R}}} is the set complement ofR{\displaystyle R} inX×Y.{\displaystyle X\times Y.} The complement of relationR{\displaystyle R} can be writtenR¯ = (X×Y)R.{\displaystyle {\bar {R}}\ =\ (X\times Y)\setminus R.}Here,R{\displaystyle R} is often viewed as alogical matrix with rows representing the elements ofX,{\displaystyle X,} and columns elements ofY.{\displaystyle Y.} The truth ofaRb{\displaystyle aRb} corresponds to 1 in rowa,{\displaystyle a,} columnb.{\displaystyle b.} Producing the complementary relation toR{\displaystyle R} then corresponds to switching all 1s to 0s, and 0s to 1s for the logical matrix of the complement.

Together withcomposition of relations andconverse relations, complementary relations and thealgebra of sets are the elementaryoperations of thecalculus of relations.

LaTeX notation

[edit]
See also:List of mathematical symbols by subject

In theLaTeX typesetting language, the command\setminus[7] is usually used for rendering a set difference symbol, which is similar to abackslash symbol. When rendered, the\setminus command looks identical to\backslash, except that it has a little more space in front and behind the slash, akin to the LaTeX sequence\mathbin{\backslash}. A variant\smallsetminus is available in the amssymb package, but this symbol is not included separately in Unicode. The symbol{\displaystyle \complement } (as opposed toC{\displaystyle C}) is produced by\complement. (It corresponds to the Unicode symbolU+2201 COMPLEMENT.)

See also

[edit]

Notes

[edit]
  1. ^"Complement and Set Difference".web.mnstate.edu. Retrieved2020-09-04.
  2. ^ab"Complement (set) Definition (Illustrated Mathematics Dictionary)".www.mathsisfun.com. Retrieved2020-09-04.
  3. ^The set in which the complement is considered is thus implicitly mentioned in an absolute complement, and explicitly mentioned in a relative complement.
  4. ^Bourbaki 1970, p. E II.6.
  5. ^abcHalmos 1960, p. 17.
  6. ^Devlin 1979, p. 6.
  7. ^[1]Archived 2022-03-05 at theWayback Machine The Comprehensive LaTeX Symbol List

References

[edit]

External links

[edit]
Overview
Venn diagram of set intersection
Axioms
Operations
  • Concepts
  • Methods
Set types
Theories
Set theorists
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Complement_(set_theory)&oldid=1320867965"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp