Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Venn Diagrams: Two Sets Laws and Complex Identities

How to use
  1. The eight category tabs, from Idempotent to Compound Complements, switch the row of formula buttons below them; the loaded law stays on screen while you browse. Learn more about the category tabs
  2. Tap a formula button, such as A∪A′=UA \cup A' = U, to load that law into both diagrams; the badge above them shows the full equation. Learn more about selecting an identity
  3. The Jump to menu lists all 26 laws grouped by tab; picking one also switches to its tab. Learn more about the Jump to menu
  4. The left diagram shades the left-hand side and the right diagram the right-hand side, each labelled above it; hover a region to see its name. Learn more about reading the side-by-side proof
  5. The badge under the diagrams reads ✓ Regions match — identity holds when both sides shade the same regions; every law in the catalog passes. Learn more about the match indicator
  6. The Theme panel sets the shading Color and Opacity from 0.00 to 1.00 for both diagrams; Reset returns blue at 0.85. Learn more about the theme controls
  7. ← Previous and Next → step through the 26 laws in tab order and wrap around; the counter shows the position, such as 1 / 26. Learn more about Previous and Next
  8. The Explanation panel names the law; Overview gives its definition and Learn More links to the law's own section on this page. Learn more about the explanation panel


Visual proofs — both diagrams should highlight the same regions

Jump to
IdentityA ∪ A = A
A ∪ A
UAB
=
A
UAB
✓ Regions match — identity holds
Theme
ColorOpacity0.85
1 / 26
Explanation

Idempotent (Union)

A ∪ A = A

Definition

Uniting a set with itself yields the same set.







Key Terms


  • Set identity — an equation between two set expressions that holds for all sets
  • Idempotent law — A∪A=AA \cup A = A, A∩A=AA \cap A = A
  • Commutative law — A∪B=B∪AA \cup B = B \cup A, A∩B=B∩AA \cap B = B \cap A
  • Identity element — ∅\emptyset for union, UU for intersection
  • Annihilator — UU for union, ∅\emptyset for intersection
  • Complement law — A∪A′=UA \cup A' = U, A∩A′=∅A \cap A' = \emptyset
  • Double complement — (A′)′=A(A')' = A
  • De Morgan's laws — (A∪B)′=A′∩B′(A \cup B)' = A' \cap B', (A∩B)′=A′∪B′(A \cap B)' = A' \cup B'
  • Absorption law — A∪(A∩B)=AA \cup (A \cap B) = A, A∩(A∪B)=AA \cap (A \cup B) = A
  • Visual proof — two diagrams shading the same regions confirm an identity


Getting Started with the Explorer

Open the explorer and you'll see two miniature Venn diagrams side by side, separated by an equals sign. The left diagram shades the regions for the left-hand side of an identity; the right diagram shades the regions for the right-hand side. When the two shaded patterns match, the identity holds — and a green badge below the diagrams confirms it.

The current identity is shown as a badge above the diagrams (e.g. A∪A=AA \cup A = A). Each side has a label showing the specific expression it represents. The first identity loads automatically, so you can start interacting immediately.

The interface has three control areas: the category tabs at the top, the formula buttons below them, and the Jump to dropdown on the right. Underneath the diagrams are theme controls and a Previous/Next navigation strip with a counter showing your position among the 26 identities.

Selecting an Identity

DemoJump to and the explanation panel
Step 0 of 5
Two ways to pick a law. The formula buttons under the active tab display every identity in that category — each button shows the full equation (e.g. A∪A=AA \cup A = A, (A∪B)′=A′∩B′(A \cup B)' = A' \cap B'). Click any one to load it into the diagrams.

The Jump to dropdown lists all 26 identities across every category in a single menu, grouped by tab. Useful when you know the formula but not which group it belongs to.

When you select an identity, four things update simultaneously:

• The badge above the diagrams shows the new equation
• The left diagram re-shades for the new LHS expression
• The right diagram re-shades for the new RHS expression
• The match indicator below confirms whether the two patterns agree

Reading the Side-by-Side Proof

Each side of the equals sign is a complete two-circle Venn diagram with four disjoint regions: outside both, only in AA, only in BB, and the intersection. The shaded combination of these four regions represents the set described by the expression.

A set identity asserts that the LHS and RHS pick out the same regions. The explorer evaluates both expressions on all four combinations of AA and BB membership and shades the diagrams accordingly. If the same regions are shaded on both sides, the two set expressions are equal as sets — that is the geometric content of the identity.

For example, selecting (A∪B)′=A′∩B′(A \cup B)' = A' \cap B' produces two diagrams that each shade only the region outside both circles. The visual match is the proof.

The Match Indicator

Below the two diagrams, a colored badge reports whether the regions agree:

• Green badge with a checkmark — the two predicates produce the same truth value on all four membership combinations, meaning the identity holds for any choice of AA and BB
• Red badge with a cross — the regions differ, meaning the equation is not a valid identity

For every law in the explorer's catalog, the badge is green — the catalog only includes valid identities. The match indicator is a verification, not a test of the user's input. Its purpose is to make the equality between LHS and RHS visible: the equation is true because the two shaded patterns are identical, not just because a textbook says so.

This turns the explorer into a tool for visual reasoning rather than rote memorization.

Theme Controls and Navigation

DemoTheme, Previous and Next
Step 0 of 5
The Theme panel below the diagrams customizes shading appearance:

• Color picker — change the hue of the shaded regions
• Opacity slider — adjust transparency from 1.001.00 (opaque) to 0.000.00 (invisible), with the current value shown next to the slider
• Reset — restore the default blue at 0.850.85 opacity

Theme changes persist across identity selections, so adjustments apply to every law you visit afterward.

The navigation strip at the bottom has Previous and Next buttons that cycle through all 26 identities in the order defined by the category groups, with a counter showing position. Navigation wraps around — pressing Previous on the first identity jumps to the last. The active tab and active formula button update automatically as you advance, so you always know where you are in the catalog.

The Explanation Panel

The Explanation panel sits to the right of the diagrams. Its top line names the loaded law, for example Complement of Union, and prints the full equation under the name, such as (A∪B)′=A′∩B′(A \cup B)' = A' \cap B'.

Below the name are two tabs:

• Overview — a one-line Definition of the law in words, such as "The complement of a union equals the intersection of the complements."

• Learn More — a short note headed On This Page that says what the shaded pair shows, followed by two links: one to the section on this page for that single law, and one to the section for its whole group.

The panel always opens on Overview. Loading a different law, through a formula button, the Jump to menu, or Previous and Next, switches it back to Overview, so open Learn More after you settle on a law.

The panel puts the law into words; the two diagrams and the match indicator show that it holds. How to compare the two shadings region by region is covered in Reading the Side-by-Side Proof.

The Idempotent Laws

The two idempotent laws open the catalog because they are the gentlest possible identities: combining a set with itself changes nothing. The union form states A∪A=AA \cup A = A, the intersection form states A∩A=AA \cap A = A, and both frozen frames shade the same full circle on each side of the equals sign.

Idempotence is one of the properties that separates set algebra from ordinary arithmetic — x+x=xx + x = x holds only for zero, while A∪A=AA \cup A = A holds for every set. It is also why repeated conditions collapse in logic and in query languages: asking twice is asking once.

Idempotent Law for Union

The catalog's opening identity, A∪A=AA \cup A = A: both sides of the frozen frame shade the same full circle of AA, and the union of a set with itself is revealed as no operation at all.
A ∪ AUAB=AUAB✓ Regions match — identity holds
A ∪ A = A, frozen

Both sides shade the identical full circle of A. The union of a set with itself literally has nothing to add.

The element-level argument is one line: x∈A∪Ax \in A \cup A means "x∈Ax \in A or x∈Ax \in A", and a disjunction of a statement with itself is just the statement. The diagram says the same thing spatially — painting the circle of AA twice leaves the picture unchanged.

Idempotence has a practical face: duplicate conditions can always be dropped. Its intersection twin, the idempotent law for intersection, makes the identical claim with and in place of or.

Idempotent Law for Intersection

The conjunction twin, A∩A=AA \cap A = A: overlapping a set with itself is total, so both mini diagrams shade the full circle of AA.
A ∩ AUAB=AUAB✓ Regions match — identity holds
A ∩ A = A, frozen

A circle overlapped with itself is itself — the two frames could be swapped without anyone noticing.

"x∈Ax \in A and x∈Ax \in A" carries exactly the information of "x∈Ax \in A" — the intersection version of the same collapse seen in the idempotent law for union. Geometrically, a circle overlapped with itself is itself, which is why the two sides of the equals sign are indistinguishable frames.

Together the idempotent pair guarantees that set expressions never gain content by repetition — a property arithmetic lacks and one that Boolean algebras take as an axiom.

The Commutative Laws

Order does not matter for the two central operations: union commutes and intersection commutes. Both proofs are pictures of left-right symmetry — swapping the operands relabels the circles without moving a single region.

The commutative pair is the baseline against which the non-commutative parts of the catalog stand out: set difference, treated in the difference identities, is the standard example of an operation where order emphatically does matter.

Commutative Law for Union

A∪B=B∪AA \cup B = B \cup A: both frames shade all three regions inside the circles, and the order of the operands is nowhere visible in the picture.
A ∪ BUAB=B ∪ AUAB✓ Regions match — identity holds
A ∪ B = B ∪ A, frozen

Three regions on each side, in a left-right symmetric pattern. A symmetric shading is its own reflection — that is commutativity.

The shaded region — both crescents plus the lens — is left-right symmetric, and that symmetry is the proof: swapping AA and BB reflects the diagram across its vertical axis, but a symmetric shading is its own reflection. "In AA or in BB" and "in BB or in AA" ask the same question.

Commutativity seems too obvious to state until it fails: subtraction breaks it, as the reversed difference shows, and many operations elsewhere in mathematics (matrix products, function composition) fail it too. Stating it explicitly marks where reordering is legal.

Commutative Law for Intersection

A∩B=B∩AA \cap B = B \cap A: each side shades only the central lens, the one region the two circles share — and sharing is symmetric.
A ∩ BUAB=B ∩ AUAB✓ Regions match — identity holds
A ∩ B = B ∩ A, frozen

Only the shared lens on both sides. The overlap belongs to neither circle more than the other, so operand order cannot matter.

The lens does not belong to either circle more than the other, so there is nothing for the operand order to change. At the element level, "and" commutes just as "or" does in the commutative law for union.

One subtlety worth noticing: commutativity concerns the operands of a single operation, not the interaction of different operations. How union and intersection interact with each other is the business of the distributive and absorption laws — see absorption by union for the version this catalog covers.

Identity and Annihilation

Four laws fix how the two extreme sets interact with the two operations. The empty set is the identity for union (union with the empty set) and the annihilator for intersection (intersection with the empty set); the universe is the identity for intersection (intersection with the universe) and the annihilator for union (union with the universe).

The pattern is a perfect duality: swap ∪\cup with ∩\cap and ∅\emptyset with UU, and each law becomes another law of the group. This ∅↔U\emptyset \leftrightarrow U mirror runs through the whole algebra and returns at full strength in De Morgan's laws.

Union with the Empty Set

A∪∅=AA \cup \emptyset = A: adding nothing changes nothing. Both frames shade exactly the circle of AA.
A ∪ ∅UAB=AUAB✓ Regions match — identity holds
A ∪ ∅ = A, frozen

Uniting the shaded circle with a set that shades nothing: the right frame is unchanged. The empty set is union’s zero.

The empty set plays the role zero plays in addition — the identity element: an operand that leaves the other operand untouched. The frozen frame makes the analogy visual: the left side unites the shaded circle with a set that shades nothing at all, so nothing new appears.

The mirror statement for the other operation is intersection with the universe — under the ∅↔U\emptyset \leftrightarrow U, ∪↔∩\cup \leftrightarrow \cap duality the two laws are a single law read twice.

Intersection with the Universe

A∩U=AA \cap U = A: restricting to "everything" is no restriction. The shading on both sides is the plain circle of AA.
A ∩ UUAB=AUAB✓ Regions match — identity holds
A ∩ U = A, frozen

Restricting A to “everything” loses no one. U is intersection’s identity element.

UU is the identity element for intersection, exactly as ∅\emptyset is for union in union with the empty set. Since every element of AA is automatically in UU, the condition "x∈Ax \in A and x∈Ux \in U" never loses anyone to its second clause.

The law earns its keep as a rewriting tool: it lets UU be introduced or removed at will, which is the standard opening move in derivations that need a complement pair B∪B′B \cup B' substituted for UU — a technique the complement laws make available.

Intersection with the Empty Set

A∩∅=∅A \cap \emptyset = \emptyset: nothing can be shared with a set that has nothing. Both frames are blank — the identity's two sides agree on zero regions.
A ∩ ∅UAB=∅UAB✓ Regions match — identity holds
A ∩ ∅ = ∅, frozen

Two blank frames — and their agreement IS the proof. Nothing can be shared with a set that has nothing.

Here ∅\emptyset switches roles, from identity for union to annihilator for intersection: any set it meets is wiped out. The condition "x∈Ax \in A and x∈∅x \in \emptyset" fails for every xx on its second clause, regardless of AA.

The arithmetic analogy is multiplication by zero. Its dual is union with the universe, where UU annihilates in the opposite direction — and comparing the two blank-versus-full frames is the quickest way to internalize the duality that organizes this whole tab.

Union with the Universe

A∪U=UA \cup U = U: adding to "everything" yields "everything". Both frames shade all four regions of the diagram.
A ∪ UUAB=UUAB✓ Regions match — identity holds
A ∪ U = U, frozen

Both frames fully shaded. Once everything is included, union cannot add more — U annihilates.

UU annihilates union the way ∅\emptyset annihilates intersection: once every element is already included, no union can add more. The left-hand frame paints AA and then paints everything; the second paint makes the first invisible.

This completes the four-law square of the tab — two identities, two annihilations, exchanged by the ∅↔U\emptyset \leftrightarrow U duality visible in intersection with the empty set. Boundedness from above by UU and below by ∅\emptyset is what makes the algebra of subsets a bounded lattice, the structure all these laws axiomatize.

The Complement Laws

Five laws pin down complementation. The defining pair: a set united with its complement fills the universe, and a set intersected with its complement is empty. The double complement says the operation undoes itself. The boundary cases complement of the universe and complement of the empty set show the two extremes trading places.

Together the five say that complementation is an involution that swaps "everything" with "nothing" and splits the universe cleanly in two — no element escapes, none is counted twice.

A Set United with Its Complement

A∪A′=UA \cup A' = U: a set and its complement together leave nothing out. Both frames shade the entire rectangle.
A ∪ A′UAB=UUAB✓ Regions match — identity holds
A ∪ A′ = U, frozen

A set plus its complement covers all four regions: every element answers “in A” or “not in A”, and both answers are collected.

Every element faces a two-way choice — in AA or not in AA — and the union collects both answers, so nobody is missed. In logic this is the law of excluded middle: PP or not-PP always holds.

Paired with the intersection form, it says AA and A′A' form a partition of UU: exhaustive (this law) and mutually exclusive (the other). The pair is what justifies every case-split argument of the form "either x∈Ax \in A or x∉Ax \notin A".

A Set Intersected with Its Complement

A∩A′=∅A \cap A' = \emptyset: no element is both in a set and outside it. Both frames are empty of shading.
A ∩ A′UAB=∅UAB✓ Regions match — identity holds
A ∩ A′ = ∅, frozen

Blank on both sides: no element is inside and outside A at once. Non-contradiction, drawn.

This is the law of non-contradiction in set form: "x∈Ax \in A and x∉Ax \notin A" is unsatisfiable, so the intersection collapses to ∅\emptyset no matter what AA is. The blank frame is not a failure to draw — it is the content of the law.

Together with the union form, it characterizes the complement uniquely: A′A' is the only set that both fills the universe with AA and shares nothing with AA. That uniqueness is what makes derivations like the double complement possible.

The Double Complement

(A′)′=A(A')' = A: complementing twice returns the original set. Both frames shade the plain circle of AA, as if nothing had happened — because algebraically, nothing has.
(A′)′UAB=AUAB✓ Regions match — identity holds
(A′)′ = A, frozen

Two flips of every region’s status land back at the start — the frames show A untouched. Complementation is an involution.

Complementation flips every region's status, shaded to blank and back; two flips restore each region exactly. Operations that undo themselves are called involutions — negatives of numbers and logical negation behave the same way.

The practical force of the law is cancellation: any even stack of primes collapses, any odd stack collapses to one. It is the second half of the standard two-step that simplifies every identity in the compound complements: De Morgan first, double complement to finish.

The Complement of the Universe

U′=∅U' = \emptyset: nothing lies outside everything. Both frames are blank.
U′UAB=∅UAB✓ Regions match — identity holds
U′ = ∅, frozen

Nothing lies outside everything: complementing the universe empties the frame entirely.

The law is a boundary check on the definition: U′U' collects the elements of UU not in UU, and there are none. It is the degenerate extreme of complementation — the largest possible input producing the smallest possible output.

With its mirror, the complement of the empty set, it shows complementation exchanging the algebra's two poles. The pair also follows from the complement laws with A=UA = U: uniqueness of the complement forces U′U' to be exactly ∅\emptyset.

The Complement of the Empty Set

∅′=U\emptyset' = U: everything lies outside nothing. Both frames shade the full rectangle.
∅′UAB=UUAB✓ Regions match — identity holds
∅′ = U, frozen

Everything lies outside nothing: complementing the empty set floods the frame.

Every element of the universe vacuously fails to be in ∅\emptyset, so all of them land in the complement. The all-shaded frame is the complement of the universe run backwards — one more face of the involution property.

Reading the two boundary laws together with the double complement closes the loop: ∅′=U\emptyset' = U, U′=∅U' = \emptyset, and a second application of either returns the start. The two extreme sets are complementation's only fixed pair, swapped endlessly.

What is a Set Identity?

A set identity is an equation between two set expressions that holds for every possible choice of the sets involved. The equation A∪B=B∪AA \cup B = B \cup A is an identity because it is true regardless of what AA and BB are. By contrast, A∪B=AA \cup B = A is not an identity — it holds only when B⊆AB \subseteq A.

Set identities form the algebraic backbone of set theory. They let expressions be rewritten without changing their meaning, much like algebraic identities for numbers (a+b=b+aa + b = b + a, a(b+c)=ab+aca(b + c) = ab + ac). Skilled use of set identities is what turns set-theoretic reasoning from case-by-case argument into mechanical manipulation.

For the full algebraic catalog, including identities involving three or more sets, see set laws and identities.

Why Do Visual Proofs Work?

A two-circle Venn diagram divides the universe into four mutually exclusive regions, and every two-set expression assigns each region one of two states: in or out. Two expressions are equal as sets if and only if they assign the same state to every region.

This means a set identity in two variables can be verified by checking just four cases — the four possible combinations of "is in AA" and "is in BB". The explorer performs this check by evaluating each expression on all four combinations and shading the regions where the result is true. If the two diagrams match, the identity is verified.

This is not just a heuristic — it is a complete decision procedure for two-set identities. For identities involving more sets, the same principle applies with more regions (2n2^n for nn sets), but the visual approach becomes harder to read past three sets. See venn diagrams for the multi-set generalization.

De Morgan's Laws and Their Mirrors

Two of the most-used identities are De Morgan's laws:

(A∪B)′=A′∩B′(A \cup B)' = A' \cap B'


(A∩B)′=A′∪B′(A \cap B)' = A' \cup B'


The complement of a union equals the intersection of the complements; the complement of an intersection equals the union of the complements. Each law converts a complement of a combined set into a combination of complements.

The Compound Complements category in the explorer derives several mirrored identities from De Morgan's plus the double-complement law (A′)′=A(A')' = A. For example, (A∩B′)′=A′∪B(A \cap B')' = A' \cup B — useful in propositional logic, where it corresponds to the implication A→BA \to B. Each of the four compound complements has a matching dual obtained by swapping AA and BB or by complementing both sides.

For the algebraic proofs and the general nn-set form, see De Morgan's laws.
Both laws get a dedicated frozen frame below: De Morgan's law for the union and De Morgan's law for the intersection.

De Morgan's Law for the Union

(A∪B)′=A′∩B′(A \cup B)' = A' \cap B': the frozen frames each shade the single outside region — being beyond the union means being beyond AA and beyond BB at once.
(A ∪ B)′UAB=A′ ∩ B′UAB✓ Regions match — identity holds
(A ∪ B)′ = A′ ∩ B′, frozen

One region each side — the outside. Beyond the union means beyond A and beyond B simultaneously: the first De Morgan law.

The left side computes "not (in AA or in BB)"; the right side computes "not in AA, and not in BB". The match of the two one-region shadings is the four-case truth-table proof drawn as a picture: complement converts union to intersection, at the price of complementing the operands.

The law is the engine of the whole back half of the catalog: the compound complements are all produced by applying it (or its intersection twin) and then cancelling double complements.

De Morgan's Law for the Intersection

(A∩B)′=A′∪B′(A \cap B)' = A' \cup B': both frames shade three regions — everything except the lens. Escaping the intersection requires missing at least one of the sets.
(A ∩ B)′UAB=A′ ∪ B′UAB✓ Regions match — identity holds
(A ∩ B)′ = A′ ∪ B′, frozen

Three regions each side, only the lens spared. Escaping the intersection needs missing just one of the sets: the second law.

"Not (in AA and in BB)" allows three ways out: miss AA, miss BB, or miss both — and the three shaded regions are exactly those cases. The right-hand side, a union of complements, collects the same three regions from the other direction.

Note the exact mirror-symmetry with the union law: swap ∪\cup with ∩\cap and 1 shaded region with 3. The two laws are duals, and applying either twice — with the double complement — recovers the other. Between them, complement can be pushed through any two-set expression.

The Absorption Laws

The two absorption laws are the least intuitive of the basic catalog and the most useful for simplification: absorption by union, A∪(A∩B)=AA \cup (A \cap B) = A, and absorption by intersection, A∩(A∪B)=AA \cap (A \cup B) = A. In both frozen frames the elaborate left-hand side collapses to the plain circle of AA.

The intuition once seen is hard to unsee: A∩BA \cap B is inside AA, so uniting it with AA adds nothing; A∪BA \cup B contains AA, so intersecting with it removes nothing. Absorption is what lets long expressions shrink — BB vanishes from both laws entirely.

Absorption by Union

A∪(A∩B)=AA \cup (A \cap B) = A: uniting a set with a piece of itself changes nothing. The elaborate left-hand side and the plain right-hand side shade the same circle.
A ∪ (A ∩ B)UAB=AUAB✓ Regions match — identity holds
A ∪ (A ∩ B) = A, frozen

The elaborate left side collapses to the plain circle: A ∩ B already lives inside A, so uniting adds nothing. B is a decoy.

The inner expression A∩BA \cap B is a subset of AA — it lives inside the circle being united with it. A union can only add elements from outside, and there are none to add. BB's role in the law is a decoy: whatever BB is, the answer is AA.

Absorption is the law that shrinks expressions during simplification, and one of the two absorption axioms that (with its partner absorption by intersection) characterizes lattices. Arithmetic has no analogue — a+ab=aa + ab = a fails for most numbers — which is why the law feels unfamiliar at first sight.

Absorption by Intersection

A∩(A∪B)=AA \cap (A \cup B) = A: restricting a set to a superset of itself is no restriction. Both frames shade the plain circle of AA.
A ∩ (A ∪ B)UAB=AUAB✓ Regions match — identity holds
A ∩ (A ∪ B) = A, frozen

A ∪ B contains all of A, so the intersection discards nothing. Again B vanishes from the answer.

The inner expression A∪BA \cup B contains all of AA, so intersecting AA with it discards nothing. Again BB evaporates from the result — the mirror of the evaporation in absorption by union, with the roles of ∪\cup and ∩\cap exchanged.

The two absorption laws are each other's duals under the same ∪↔∩\cup \leftrightarrow \cap swap seen throughout the catalog, and either one implies the idempotent laws (set B=AB = A). They are less famous than De Morgan's but do comparable work in reducing nested expressions to simplest form.

The Difference Identities

Five laws translate subtraction into the core operations. The one-sided pair: difference as intersection, A∖B=A∩B′A \setminus B = A \cap B', and its reversed form. The symmetric difference gets two equivalent constructions — from the two one-sided differences and as union minus intersection — plus the complement of the symmetric difference, the "agreement set" of the pair.

The unifying moral: difference is not a new primitive. Every subtraction rewrites into intersections with complements, which is why the deeper laws of the algebra never need a ∖\setminus of their own.

Difference as Intersection

A∖B=A∩B′A \setminus B = A \cap B': subtraction unmasked. Both frames shade the A-only crescent — "in AA but not in BB" and "in AA and in B′B'" are the same condition read twice.
A ∖ BUAB=A ∩ B′UAB✓ Regions match — identity holds
A ∖ B = A ∩ B′, frozen

The A-only crescent two ways: “in A but not B” and “in A and in B′” are one condition in two notations.

The law matters because it eliminates an operation: anything provable about differences can be routed through intersections and complements, where the big laws (De Morgan, distributivity, absorption) already apply. It is the standard first move when simplifying any expression containing ∖\setminus.

The frozen crescent also fixes the asymmetry of subtraction in advance: the mirrored identity, the reversed difference, shades the opposite crescent — same rewrite, opposite side.

The Reversed Difference

B∖A=A′∩BB \setminus A = A' \cap B: the mirror rewrite. Both frames shade the B-only crescent — the private part of BB.
B ∖ AUAB=A′ ∩ BUAB✓ Regions match — identity holds
B ∖ A = A′ ∩ B, frozen

The mirror rewrite shades the opposite crescent — subtraction order picks which private region survives.

Comparing this frame with difference as intersection shows the two one-sided differences shading disjoint crescents: order of subtraction is not cosmetic, it selects which set's private region survives. The intersection form makes the asymmetry algebraically explicit — the complement lands on a different operand.

The two rewrites together supply the raw material for the symmetric difference constructions that follow: each crescent, expressed in ∩\cap/′' form, ready to be united by the first symmetric-difference identity.

Symmetric Difference from Two Differences

A△B=(A∖B)∪(B∖A)A \triangle B = (A \setminus B) \cup (B \setminus A): the "exactly one" set assembled from its two halves. Both frames shade the two crescents, lens excluded.
A △ BUAB=(A ∖ B) ∪ (B ∖ A)UAB✓ Regions match — identity holds
A △ B = (A ∖ B) ∪ (B ∖ A), frozen

Exactly-one built bottom-up: two disjoint crescents glued by union, lens excluded on both sides.

The construction is bottom-up: take the private part of AA, take the private part of BB, and unite them. Since the two crescents are disjoint, the union is a clean gluing with no double-counting — which is also why ∣A△B∣=∣A∖B∣+∣B∖A∣|A \triangle B| = |A \setminus B| + |B \setminus A| holds without a correction term.

The same two-crescent region has a second, top-down construction — union minus intersection — and the pair of identities proving one region two ways is a small showcase of what "equal as sets" means.

Symmetric Difference as Union Minus Intersection

A△B=(A∪B)∩(A∩B)′A \triangle B = (A \cup B) \cap (A \cap B)': the same two crescents, built top-down — start from everything in either set, then strike out what is in both.
A △ BUAB=(A ∪ B) ∩ (A ∩ B)′UAB✓ Regions match — identity holds
A △ B = (A ∪ B) ∩ (A ∩ B)′, frozen

The same crescents top-down: shade the whole union, then carve the lens out. Two recipes, one region set.

The right-hand side is the difference (A∪B)∖(A∩B)({A \cup B}) \setminus (A \cap B) already rewritten through difference as intersection, so no ∖\setminus symbol appears. Painting it is a two-step: shade the union's three regions, erase the lens.

Against the bottom-up construction, this identity completes a satisfying pincer: two entirely different recipes, one gluing crescents together, one carving the middle out of the union — and the explorer certifies both land on the same region set.

The Complement of the Symmetric Difference

(A△B)′=(A∩B)∪(A∪B)′(A \triangle B)' = (A \cap B) \cup (A \cup B)': the negative of "exactly one" is "both or neither". Both frames shade the lens and the outside — the two regions where the sets agree.
(A △ B)′UAB=(A ∩ B) ∪ (A ∪ B)′UAB✓ Regions match — identity holds
(A △ B)′ = (A ∩ B) ∪ (A ∪ B)′, frozen

The agreement set: lens plus outside — a disconnected shading marking where membership in A and B coincide.

The symmetric difference collects the regions where membership in AA and membership in BB disagree; its complement therefore collects the agreement: elements in both sets (the lens) together with elements in neither (the outside). In logic this is the biconditional — the truth set of "x∈Ax \in A if and only if x∈Bx \in B".

The two-piece shading is unusual among the catalog's states: a disconnected region, inner lens plus outer field. It is a good final test of region-reading skill — and clicking between this law and either symmetric-difference form flips the shading to its exact photographic negative.

The Compound Complements

The last tab pushes De Morgan's laws one step further: complements of expressions that already contain a complement. The four identities come in mirror pairs — the complement of A′ ∪ B with the complement of A ∪ B′, and the complement of A ∩ B′ with the complement of A′ ∩ B.

Each is proved the same mechanical way: apply De Morgan, then cancel the double complement. The payoff is logical: these four expressions are the set forms of implication and its negation, which is why they appear whenever set algebra is used to reason about conditionals.

The Complement of A′ ∪ B

(A′∪B)′=A∩B′(A' \cup B)' = A \cap B': both frames shade the A-only crescent. Negating "outside AA or in BB" leaves exactly "in AA and outside BB".
(A′ ∪ B)′UAB=A ∩ B′UAB✓ Regions match — identity holds
(A′ ∪ B)′ = A ∩ B′, frozen

De Morgan then double complement: what remains is the A-only crescent — the counterexample region of A ⇒ B.

The derivation is the tab's standard two-step: De Morgan turns (A′∪B)′(A' \cup B)' into (A′)′∩B′(A')' \cap B', and the double complement collapses (A′)′(A')' to AA. Every compound complement in the group falls to the same combination.

The logical reading gives the law its bite: A′∪BA' \cup B is the truth set of the implication A⇒BA \Rightarrow B, so its complement is the truth set of the implication's negation — "in AA yet not in BB", the exact region where a counterexample lives. Its operand-swapped mirror is the complement of A ∪ B′.

The Complement of A ∪ B′

(A∪B′)′=A′∩B(A \cup B')' = A' \cap B: the mirror compound. Both frames shade the B-only crescent — outside AA, inside BB.
(A ∪ B′)′UAB=A′ ∩ BUAB✓ Regions match — identity holds
(A ∪ B′)′ = A′ ∩ B, frozen

The operand-swapped mirror: the B-only crescent, where B holds without A.

De Morgan followed by double complement again: (A∪B′)′(A \cup B')' becomes A′∩(B′)′A' \cap (B')', and the inner pair of primes cancels. The answer is the negation of the reverse implication B⇒AB \Rightarrow A — the region where BB holds without AA.

Held next to its mirror, the pair shades the two opposite crescents: negating the two opposite implications isolates the two opposite kinds of counterexample. The symmetry is exact — swap AA and BB everywhere and each law becomes the other.

The Complement of A ∩ B′

(A∩B′)′=A′∪B(A \cap B')' = A' \cup B: both frames shade three regions, sparing only the A-only crescent. Negating a counterexample recovers the implication.
(A ∩ B′)′UAB=A′ ∪ BUAB✓ Regions match — identity holds
(A ∩ B′)′ = A′ ∪ B, frozen

Negating the counterexample region asserts the implication: three regions shaded, the lone A-only crescent spared.

The inner expression A∩B′A \cap B' is "in AA but not BB" — the failure region of A⇒BA \Rightarrow B, read AA implies BB and set out at implication notation. Complementing it therefore asserts the implication: the shaded three-region set is the material conditional itself, true everywhere except where AA holds without BB.

Mechanically it is De Morgan's intersection law plus the cancellation of (B′)′(B')'. This identity is the one most often met outside set theory, since rewriting "AA implies BB" as "not-AA or BB" is the same law in propositional clothing. Its swap-mirror is the complement of A′ ∩ B.

The Complement of A′ ∩ B

(A′∩B)′=A∪B′(A' \cap B)' = A \cup B': the final law of the catalog. Both frames shade everything but the B-only crescent.
(A′ ∩ B)′UAB=A ∪ B′UAB✓ Regions match — identity holds
(A′ ∩ B)′ = A ∪ B′, frozen

The final mirror: everything but the B-only crescent — the reverse implication asserted as a region.

The inner A′∩BA' \cap B is the failure region of the reverse implication B⇒AB \Rightarrow A; complementing it asserts that implication, shading all regions except the lone counterexample crescent. As with its mirror, the proof is one De Morgan step and one double-complement cancellation.

Closing the catalog here is fitting: the four compound complements demonstrate that the basic laws are not a list to memorize but a toolkit — every new-looking identity in the tab is two old laws composed. That composability is what the phrase "algebra of sets" promises.