Maths Formulae Statistics Absolute Complement

Absolute Complement – Universal Set and Set Negation

Learn about absolute complement of a set relative to a universal set, including notation and examples.
🔑

Definition of Absolute Complement

The absolute complement of a set A refers to all the elements in the universal set U that are not in A. It represents what is "outside" set A relative to the universe being considered. It is commonly denoted as A', Ac, or Ā.

\[ A' = \{x \in U : x \notin A\} \]
Set-builder notation

In essence, the complement is found by taking the universal set U and removing all the elements that are in set A.

SymbolMeaning
A', A<sup>c</sup>, ĀThe absolute complement of set A
UThe Universal Set, containing all possible elements
x ∉ AThe element x is not a member of set A
The Empty Set, a set with no elements
🔄

Key Formulas

\[ A' = \{x \in U : x \notin A\} \]
Primary Definition
\[ A^c = U - A \]
Set Difference Notation
\[ |A'| = |U| - |A| \]
Cardinality of the Complement
\[ A \cup A' = U \]
Union with Complement
\[ A \cap A' = \emptyset \]
Intersection with Complement
🎨

Venn Diagram

S (Universal set) A {1, 2, 3} 4 5 6 7 Aᶜ = S \ A = {4, 5, 6, 7}
Absolute Complement Aᶜ: all elements in universal set S that are NOT in A — the shaded region outside the circle

A Venn diagram for the absolute complement consists of a large rectangle representing the universal set, U. Inside this rectangle, a circle represents the set A. The absolute complement, A', is visually represented by the entire area inside the rectangle but outside of the circle for A.

⚖️

Properties

Double Complement Law (Involution): The complement of the complement of a set is the original set itself.

\[ (A')' = A \]

Complement Laws: The union of a set and its complement is the universal set, while their intersection is the empty set. This shows that a set and its complement are disjoint and together they partition the universe.

\[ A \cup A' = U \quad \text{and} \quad A \cap A' = \emptyset \]

De Morgan's Laws: These laws describe how the complement operator interacts with set union and intersection.

\[ (A \cup B)' = A' \cap B' \]
Complement of a union
\[ (A \cap B)' = A' \cup B' \]
Complement of an intersection

Complements of Universal and Empty Sets: The complement of the universal set is the empty set, and vice-versa.

\[ U' = \emptyset \quad \text{and} \quad \emptyset' = U \]
🔬

Proof of De Morgan's Law

We can prove De Morgan's Law, (A ∪ B)' = A' ∩ B', by showing that any element in the set on the left-hand side is also in the set on the right-hand side, and vice versa.

Part 1: Show that (A ∪ B)' ⊆ A' ∩ B'

Let x be an arbitrary element such that x ∈ (A ∪ B)'.

By the definition of a complement, this means x ∉ (A ∪ B).

If x is not in the union of A and B, then x cannot be in A and x cannot be in B.

So, we can write: x ∉ A and x ∉ B.

By the definition of complement again, x ∉ A implies x ∈ A', and x ∉ B implies x ∈ B'.

Since x ∈ A' and x ∈ B', by the definition of intersection, it must be that x ∈ (A' ∩ B').

Therefore, (A ∪ B)' ⊆ A' ∩ B'.

Part 2: Show that A' ∩ B' ⊆ (A ∪ B)'

Let y be an arbitrary element such that y ∈ A' ∩ B'.

By the definition of intersection, this means y ∈ A' and y ∈ B'.

By the definition of complement, y ∈ A' means y ∉ A, and y ∈ B' means y ∉ B.

Since y is not in A and y is not in B, it cannot be in their union. Thus, y ∉ (A ∪ B).

By the definition of complement, if y ∉ (A ∪ B), then y ∈ (A ∪ B)'.

Therefore, A' ∩ B' ⊆ (A ∪ B)'.

Since we have shown the inclusion in both directions, we can conclude that the two sets are equal.

\[ (A \cup B)' = A' \cap B' \]
🧮

Worked Example

Given the universal set U = {1, 2, 3, 4, 5, 6, 7, 8} and the set A = {2, 4, 6, 8}, find the absolute complement A'.
  1. Identify the universal set: U = {1, 2, 3, 4, 5, 6, 7, 8}.
  2. Identify the set A: A = {2, 4, 6, 8}.
  3. Determine the elements that are in U but not in A.
  4. Compare the sets: 1 is in U but not A. 3 is in U but not A. 5 is in U but not A. 7 is in U but not A.
  5. Collect these elements to form the complement set A'.
A' = {1, 3, 5, 7}
Let the universal set be U = {a, b, c, d, e, f} and the set B = {a, e}. Find B'.
  1. List the elements of the universal set U: {a, b, c, d, e, f}.
  2. List the elements of the set B: {a, e}.
  3. Remove the elements of B from U.
  4. The remaining elements form the complement B'.
B' = {b, c, d, f}
🧮

Try It

🚀

Applications

Computer Science & Programming: In database queries (e.g., SQL's `NOT IN` clause), the complement concept is used to select records that do not match a certain criteria. In boolean logic, it represents the `NOT` operator, which is fundamental to digital circuit design and programming.

Market Research & Analytics: Analysts use complements to define and study market segments. If a company's target demographic is 'Set A', the complement 'Set A'' represents the rest of the market, which can be analyzed for potential growth opportunities or different marketing strategies.

Medical Diagnosis: In medical testing, the universal set might be all possible symptoms. If a particular disease is associated with 'Set S' of symptoms, its complement S' represents all symptoms not associated with that disease, helping in differential diagnosis.

Quality Control: In manufacturing, if U is the set of all products manufactured and D is the set of defective products, then the complement D' is the set of non-defective, high-quality products that can be shipped to customers.

🌍

Real-World Examples

A library has a total of 5,000 books (the universal set). A search reveals that 850 books are currently checked out (Set C). How many books are available in the library (the complement set C')?
  1. Define the cardinality of the universal set: |U| = 5000.
  2. Define the cardinality of the set of checked-out books: |C| = 850.
  3. Use the cardinality formula for complements: |C'| = |U| - |C|.
  4. Calculate the result: |C'| = 5000 - 850.
There are 4,150 books available in the library.
An email service identifies all incoming emails as the universal set. It classifies 25 emails as 'Spam' (Set S). If a user received a total of 110 emails, how many emails were classified as 'Not Spam' (Set S')?
  1. Define the universal set of all received emails: |U| = 110.
  2. Define the set of spam emails: |S| = 25.
  3. The set of non-spam emails is the complement S'.
  4. Calculate the cardinality: |S'| = |U| - |S| = 110 - 25.
95 emails were classified as 'Not Spam'.
In a school of 1200 students (U), 700 students take the bus (B). How many students do not take the bus (B')?
  1. The total number of students is the universal set: |U| = 1200.
  2. The number of students taking the bus is |B| = 700.
  3. The number of students not taking the bus is the complement, |B'|.
  4. Calculate |B'| = |U| - |B| = 1200 - 700.
500 students do not take the bus.
🏙️

Real-World Scenarios

Members A Aᶜ Non-Members Aᶜ = U \ A = everyone else
Non-Members
A gym's "non-member" mailing list is the complement of its members — everyone in the city database who is not already a member, targeted for promotion campaigns.
A B SALE C D SALE E F SALE G H Full-Price Items (Aᶜ) Items NOT on sale = complement
Retail Pricing
An e-commerce platform finds full-price items as the complement of the sale set — SELECT * FROM products WHERE id NOT IN (sale_items) is complement in SQL.
Car owners transit riders Car-Free Residents Transit planners target Aᶜ
Transit Planning
City planners identify car-free residents (complement of car-owners) to route bus lines, set bike-share stations, and justify public transport investment.

Voter Eligibility: In an election, the universal set might be all residents of a district. The set of eligible voters (A) would include those who are citizens, of legal age, and registered. The complement (A') would include non-citizens, underage residents, or unregistered individuals, who are not eligible to vote.

Dietary Restrictions: A restaurant menu can be seen as a universal set of food items. For a person with a gluten allergy, the set of 'safe' foods (A) contains all gluten-free items. The complement (A') contains all items with gluten, which they must avoid.

Network Security: A firewall's rule set defines a set of allowed connections (e.g., specific IP addresses or ports). This is set A. All other connection attempts form the complement set A', which are blocked by default to protect the network.

📚

Types of Complements

The primary distinction in set complements is between the absolute complement and the relative complement (also known as set difference).

FeatureAbsolute ComplementRelative Complement (Set Difference)
NotationA'B \ A or B - A
DefinitionElements in the universal set U but not in A.Elements in set B but not in set A.
DependencyRequires a defined universal set U.Requires only two sets, B and A. No universal set is needed.
FormulaA' = U \ AB \ A = {x | x ∈ B and x ∉ A}
ExampleIf U={1,2,3,4} and A={1,2}, then A'={3,4}.If B={2,3,4} and A={1,2}, then B \ A = {3,4}.
⚠️

Common Mistakes

⚠️ Forgetting the Universal Set (U): The absolute complement is meaningless without a clearly defined universal set. The complement of A = {1, 2} is different if U = {1, 2, 3, 4} versus U = {1, 2, 5, 10}. Always define U first.
💡 Incorrectly Applying De Morgan's Laws: A common error is to distribute the complement incorrectly. Remember that the operator flips: (A ∪ B)' becomes A' ∩ B', not A' ∪ B'.
⚠️ Confusing Absolute and Relative Complement: Don't mistake the absolute complement A' (everything not in A) with the relative complement B \ A (everything in B that is not in A). The former depends on U, the latter on B.
🚀

Study Strategy

1 🧠 Grasp the Core Concept
  • Focus on the definition: 'What does everything NOT in set A mean within the universal set S?'
  • Trace the shaded area for A' on the Venn Diagram to visually connect the concept and the image.
  • Clearly distinguish the Absolute Complement (A') from the Relative Complement (B \ A).
  • Review the 'Properties' section to understand how the complement interacts with unions and intersections.
2 📝 Commit Formulas to Memory
  • Write the primary formula P(A') = 1 - P(A) repeatedly until it becomes second nature.
  • Use flashcards to memorize De Morgan's Laws: (A ∪ B)' = A' ∩ B' and (A ∩ B)' = A' ∪ B'.
  • Recite the formulas for the complement of the universal set (S' = ∅) and the empty set (∅' = S).
  • Verbally explain why P(A) + P(A') must equal 1, linking it back to the whole sample space.
3 ✍️ Solve Worked Examples
  • Cover the solution to the provided 'Worked Example,' solve it independently, and then compare your steps.
  • Find a practice problem that requires calculating the probability of 'at least one' event by finding the complement of 'no' events.
  • Work through a problem that explicitly uses De Morgan's Law to find the complement of a union or intersection.
  • Intentionally make a mistake from the 'Common Mistakes' list, solve it, and then correct it to understand the pitfall.
4 🌎 Apply to Real-World Scenarios
  • Take a 'Real-World Scenario,' like quality control, and rephrase the problem and solution in your own words.
  • Given the probability of a system failure, use the complement rule to calculate its reliability (probability of not failing).
  • In a medical testing example, calculate the probability of a patient not having a disease given the probability that they do.
  • Create your own simple scenario (e.g., probability of not drawing a King from a deck of cards) and solve it.
Mastering the complement rule is a powerful shortcut to solving complex probability problems by focusing on what doesn't happen.

Frequently Asked Questions

×

×