ArticleslgStudy

science

Complement (set theory)

Complement (set theory) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Complement (set theory) rather than just read about it. In short: In set theory, the complement of a set A, often denoted by Ac (or A′), is the set of elements not in A. When all elements in the universe, i.e. all elements under consideration, are considered to be members of a given set U, the absolute complement of A is the set of elements in U that are not in A.

Complement (set theory) — main illustration
Complement (set theory) — illustration

Key takeaways

  • Complement (set theory) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Complement (set theory) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Complement (set theory) from memory before moving on to harder problems.

Reference excerpt

In set theory, the complement of a set A, often denoted by Ac (or A′), is the set of elements not in A. When all elements in the universe, i.e. all elements under consideration, are considered to be members of a given set U, the absolute complement of A is the set of elements in U that are not in A. The relative complement of A with respect to a set B, also termed the set difference of B and A, written B∖A, is the set of elements in B that are not in A.

Absolute complement

Definition If A is a set, then the absolute complement of A (or simply the complement of A) is the set of elements not in A (within a larger set that is implicitly defined). In other words, let U be a set that contains all the elements under study; if there is no need to mention U, either because it has been previously specified, or it is obvious and unique, then the absolute complement of A is the relative complement of A in U: Ac=U∖A={x∈U:x∉A}. The absolute complement of A is usually denoted by Ac. Other notations include A‾, A′, ∁UA, and ∁A.

Examples Assume that the universe is the set of integers. If A is the set of odd numbers, then the complement of A is the set of even numbers. If B is the set of multiples of 3, then the complement of B is the set of numbers congruent to 1 or 2 modulo 3 (or, in simpler terms, the integers that are not multiples of 3). Assume that the universe is the standard 52-card deck. If the set A is the suit of spades, then the complement of A is the union of the suits of clubs, diamonds, and hearts. If the set B is the union of the suits of clubs and diamonds, then the complement of B is the union of the suits of hearts and spades. When the universe is the universe of sets described in formalized set theory, the absolute complement of a set is generally not itself a set, but rather a proper class. For more info, see universal set.

Properties Let A and B be two sets in a universe U. The following identities capture important properties of absolute complements: De Morgan's laws:

(A∪B)c=Ac∩Bc. (A∩B)c=Ac∪Bc. Complement laws:

A∪Ac=U. A∩Ac=∅︀. ∅︀c=U. Uc=∅︀. If A⊆B, then Bc⊆Ac. (this follows from the equivalence of a conditional with its contrapositive). Involution or double complement law:

(Ac)c=A. Relationships between relative and absolute complements:

A∖B=A∩Bc. (A∖B)c=Ac∪B=Ac∪(B∩A). Relationship with a set difference:

Ac∖Bc=B∖A. The first two complement laws above show that if A is a non-empty, proper subset of U, then {A, Ac} is a partition of U.

Relative complement

Definition If A and B are sets, then the relative complement of A in B, also termed the set difference of B and A, is the set of elements in B but not in A.

The relative complement of A in B is denoted B∖A according to the ISO 31-11 standard. It is sometimes written B−A, but this notation can be ambiguous, as in some contexts (for example, Minkowski set operations in functional analysis) it can be interpreted as the set of all elements b−a, where b is taken from B and a from A. Formally: B∖A={x∈B:x∉A}.

Examples {1,2,3}∖{2,3,4}={1}. {2,3,4}∖{1,2,3}={4}. If ℝ is the set of real numbers and ℚ is the set of rational numbers, then ℝ∖ℚ is the set of irrational numbers.

Properties

Let A, B, and C be three sets in a universe U. The following identities capture notable properties of relative complements:

C∖(A∩B)=(C∖A)∪(C∖B). C∖(A∪B)=(C∖A)∩(C∖B). C∖(B∖A)=(C∩A)∪(C∖B), (B∖A)∩C=(B∩C)∖A=B∩(C∖A). (B∖A)∪C=(B∪C)∖(A∖C). A∖A=∅︀. ∅︀∖A=∅︀. A∖∅︀=A. A∖U=∅︀. If A⊂B, then C∖A⊃C∖B. A⊇B∖C is equivalent to C⊇B∖A.

Complementary relation A binary relation R is defined as a subset of a product of sets X×Y. The complementary relation R¯ is the set complement of R in X×Y. The complement of relation R can be written R¯ = (X×Y)∖R. Here, R is often viewed as a logical matrix with rows representing the elements of X, and columns elements of Y. The truth of aRb corresponds to 1 in row a, column b. Producing the complementary relation to R then corresponds to switching all 1s to 0s, and 0s to 1s for the logical matrix of the complement. Together with composition of relations and converse relations, complementary relations and the algebra of sets are the elementary operations of the calculus of relations.

Notation encoding

Set difference may be written with the ASCII character Backslash (Reverse solidus) 5C, corresponding to Unicode U+005C \ REVERSE SOLIDUS (\). Unicode, also provides a dedicated set difference character, U+2216 ∖ SET MINUS. In the LaTeX typesetting language, the command \setminus is usually used for rendering a set difference symbol, and renders similarly to a backslash 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 ∁ (as opposed to C) is produced by \complement. (It corresponds to the Unicode symbol U+2201 ∁ COMPLEMENT.)

See also Algebra of sets – Identities and relationships involving sets Intersection (set theory) – Set of elements common to all of some sets List of set identities and relations – Equalities for combinations of sets Naive set theory – Informal set theories Symmetric difference – Elements in exactly one of two sets Union (set theory) – Set of elements in any of some sets

Footnotes

Notes

References Bourbaki, N. (1970). Théorie des ensembles (in French). Paris: Hermann. ISBN 978-3-540-34034-8. Devlin, Keith J. (1979). Fundamentals of contemporary set theory. Universitext. Springer. ISBN 0-387-90441-7. Zbl 0407.04003. Halmos, Paul R. (1960). Naive set theory. The University Series in Undergraduate Mathematics. van Nostrand Company. ISBN 9780442030643. Zbl 0087.04403. {{cite book}}: ISBN / Date incompatibility (help) Stoll, Robert R. (1979). Set Theory and Logic. Mineola, N.Y.: Dover Publications. ISBN 0-486-63829-4.

External links Weisstein, Eric W. "Complement". MathWorld. Weisstein, Eric W. "Complement Set". MathWorld.

Illustrations

Complement (set theory) illustration
Complement (set theory) illustration
Complement (set theory): The relative complement of A in B: B∩Ac=B∖A
The relative complement of A in B: B∩Ac=B∖A

Worked examples

Example 1 — a first encounter with Complement (set theory)

Start with the simplest possible case. Write down what Complement (set theory) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Complement (set theory) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Complement (set theory) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Complement (set theory)

In research
Complement (set theory) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Complement (set theory) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Complement (set theory) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Basic concepts in set theory, Operations on sets, so understanding it makes those chapters shorter.
In everyday life
Look for Complement (set theory) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Complement (set theory)” →

How to study Complement (set theory) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Complement (set theory) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Complement (set theory) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Complement (set theory) in simple terms?

In set theory, the complement of a set A, often denoted by Ac (or A′), is the set of elements not in A. When all elements in the universe, i.e. all elements under consideration, are considered to be members of a given set U, the absolute complement of A is the set of elements in U that are not in A.

Why does Complement (set theory) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Complement (set theory)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Complement (set theory).

Tags

  • Basic concepts in set theory
  • Operations on sets

Keep exploring