upgrade
upgrade

Intro to the Theory of Sets

Key Concepts of Complement of a Set

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

The complement of a set is one of the most powerful tools in set theory because it lets you define what something isn't—and mathematically, that's just as important as defining what something is. You're being tested on your ability to work with complements in proofs, simplify complex set expressions, and apply fundamental laws like De Morgan's laws that appear throughout mathematics, computer science, and logic.

Think of complements as the "flip side" of set membership. Mastering this concept connects directly to Boolean algebra, probability theory, and logical reasoning. When you encounter exam questions about set operations, you'll need to quickly recognize complement properties and apply them correctly. Don't just memorize the notation—understand why a set and its complement together exhaust all possibilities, and how complement laws let you transform complicated expressions into simpler ones.


Foundational Definitions

Before you can manipulate complements, you need rock-solid understanding of what they are and how we write them. The complement operation only makes sense when you've established a universal set as your frame of reference.

Definition of Complement of a Set

  • The complement of set AA consists of all elements in the universal set UU that are not in AA
  • Formally written as Ac={xU:xA}A^c = \{x \in U : x \notin A\}, capturing the precise membership condition
  • Conceptually, the complement answers "what's left over?"—essential for partitioning problems and probability calculations

Notation for Complement (AcA^c or AA')

  • AcA^c and AA' are interchangeable—different textbooks prefer different notations, so recognize both instantly
  • Some texts also use A\overline{A} or A\sim A, particularly in logic and computer science contexts
  • Consistent notation matters in proofs; pick one style and stick with it throughout any single problem

Universal Set (UU) and Its Role in Complements

  • The universal set UU defines the "universe of discourse"—all elements under consideration for a given problem
  • Complements are always relative to UU; the same set AA has different complements depending on which universal set you choose
  • Identifying UU is your first step in any complement problem; without it, AcA^c is undefined

Compare: Definition vs. Notation—the definition tells you what the complement contains, while notation gives you how to write it. On exams, you might be asked to state the definition formally or translate between notations. Know both cold.


Core Properties of Complements

These properties are the workhorses of set theory proofs. Each property follows logically from the definition, but you should be able to state and apply them without re-deriving them every time.

Properties of Set Complements

  • Union property: AAc=UA \cup A^c = U—a set and its complement together contain everything in the universal set
  • Intersection property: AAc=A \cap A^c = \emptyset—a set and its complement share no elements (mutually exclusive)
  • These two properties establish that {A,Ac}\{A, A^c\} forms a partition of UU, a key concept in probability and counting

Relationship Between a Set and Its Complement

  • Mutual exclusivity means AA and AcA^c cannot overlap—if xAx \in A, then xAcx \notin A^c, and vice versa
  • Exhaustive coverage means every element of UU belongs to exactly one of AA or AcA^c
  • This partition structure is why complements are fundamental to proof by cases and probability calculations where P(A)+P(Ac)=1P(A) + P(A^c) = 1

Double Complement Property

  • The double complement law states (Ac)c=A(A^c)^c = A—complementing twice returns the original set
  • Intuitively, if you "flip" membership and then "flip" again, you're back where you started
  • This property is essential for simplifying nested complement expressions and verifying algebraic manipulations

Compare: Union property vs. Intersection property—both involve AA and AcA^c, but union gives you everything (UU) while intersection gives you nothing (\emptyset). FRQs often ask you to prove one of these from the definition.


Special Cases: Empty Set and Universal Set

These boundary cases test whether you truly understand complement mechanics. They're simple but frequently appear as "gotcha" questions.

Complement of the Empty Set

  • c=U\emptyset^c = U because every element in UU is "not in the empty set" (the empty set contains nothing)
  • This follows directly from the definition: c={xU:x}=U\emptyset^c = \{x \in U : x \notin \emptyset\} = U
  • Remember this pair with its counterpart below—they're logical duals of each other

Complement of the Universal Set

  • Uc=U^c = \emptyset because no element can be "outside" the universal set by definition
  • This makes sense: if UU contains everything under consideration, nothing remains for the complement
  • These two results (c=U\emptyset^c = U and Uc=U^c = \emptyset) often appear in true/false or quick-answer sections

Compare: c\emptyset^c vs. UcU^c—these are perfect opposites. The set with nothing complements to everything; the set with everything complements to nothing. If you forget one, derive it from the other using the double complement property.


De Morgan's Laws

These laws are arguably the most important complement rules you'll use. They let you "distribute" complementation across unions and intersections—but with a twist.

De Morgan's Laws for Complements

  • First law: (AB)c=AcBc(A \cup B)^c = A^c \cap B^c—the complement of a union is the intersection of complements
  • Second law: (AB)c=AcBc(A \cap B)^c = A^c \cup B^c—the complement of an intersection is the union of complements
  • The key pattern: complementation swaps \cup and \cap—this "duality" appears throughout Boolean algebra and logic

Compare: De Morgan's First Law vs. Second Law—both swap the operation (\cup \leftrightarrow \cap), but watch which direction you're going. A common exam mistake is forgetting to swap the operation when distributing the complement. Practice both directions until the swap is automatic.


Visual Representation

Diagrams turn abstract complement relationships into something you can see and verify. Venn diagrams are especially useful for checking your algebraic work.

Venn Diagrams for Visualizing Complements

  • The complement appears as the shaded region outside set AA but still inside the rectangle representing UU
  • Venn diagrams verify De Morgan's laws—shade (AB)c(A \cup B)^c and AcBcA^c \cap B^c separately; they should match
  • Use diagrams strategically on exams to check answers or generate intuition before attempting formal proofs

Quick Reference Table

ConceptKey Facts
DefinitionAc={xU:xA}A^c = \{x \in U : x \notin A\}
NotationAcA^c, AA', A\overline{A}, A\sim A
Union with complementAAc=UA \cup A^c = U
Intersection with complementAAc=A \cap A^c = \emptyset
Double complement(Ac)c=A(A^c)^c = A
Complement of \emptysetc=U\emptyset^c = U
Complement of UUUc=U^c = \emptyset
De Morgan's Laws(AB)c=AcBc(A \cup B)^c = A^c \cap B^c and (AB)c=AcBc(A \cap B)^c = A^c \cup B^c

Self-Check Questions

  1. If U={1,2,3,4,5}U = \{1, 2, 3, 4, 5\} and A={2,4}A = \{2, 4\}, what is AcA^c? What is (Ac)c(A^c)^c?

  2. Explain why AAc=UA \cup A^c = U and AAc=A \cap A^c = \emptyset must both be true for any set AA. How do these properties relate to the concept of a partition?

  3. Use De Morgan's laws to simplify (AcBc)c(A^c \cup B^c)^c. What single set operation does this equal?

  4. Compare and contrast c\emptyset^c and UcU^c. Why are these results logical consequences of the definition of complement?

  5. Draw a Venn diagram showing sets AA and BB within universal set UU. Shade the region representing (AB)c(A \cap B)^c and verify it matches AcBcA^c \cup B^c.