Recommended resources
The freely available resources this lesson will direct you to.
Hello! Last time, you computed set operations by asking whether each element belonged in the result. Today, that same question becomes a way to prove something: if two set expressions contain exactly the same elements, they are equal. If you can find an element that belongs to one expression but not the other, they are unequal.
We will use this method to verify an identity and to refute two convincing-looking false ones. It is more powerful than checking a few numerical examples, because a proof must work for every choice of the sets involved.
From a membership check to a proof
Suppose and are subsets of a fixed universe . To prove that two expressions and are equal, choose an arbitrary and establish
“Arbitrary” matters: you have not chosen a convenient number or assumed anything about where lies. Your reasoning must work wherever it lies. The phrase if and only if covers both directions: membership in guarantees membership in , and membership in guarantees membership in .
For example, swapping the order of a union cannot change its members:

Written out, the argument is short:
The middle step works because “or” is inclusive: it does not matter which alternative is stated first. Since this holds for every , the sets are equal. Computing, say, in both orders would illustrate the claim, but would not prove it for all sets.
For a second example, watch TrevTutor’s How to do a PROOF in SET THEORY. The selected portion proves by handling the two directions separately.
How to do a PROOF in SET THEORY - Discrete Mathematics
TrevTutor’s “How to do a PROOF in SET THEORY” shows how the familiar definitions of union and complement become a proof of set equality.
Watch the first direction, beginning when the video returns to De Morgan’s law. Notice why an element outside A\cup B must be outside both A and B. Then watch the reverse direction, ending when the two subset arguments are combined into an equality.
The video writes two subset proofs. Our union argument used a chain of “if and only if” statements instead. These are two presentations of the same requirement: neither side may have a member missing from the other.
Verify an identity with nested operations
Consider a claim involving difference and intersection:
It is tempting to manipulate the symbols by appearance alone. Membership gives you a safer route. Let be arbitrary, and translate the left-hand side one operation at a time:
The important distinction is in the second line. Not being in both and means that is missing from at least one of them. It does not mean that is missing from both. The third line keeps the condition in either possibility; the final line translates those possibilities back into set notation. Because every step works in both directions for an arbitrary , the identity is verified.
This gives you a practical approach to an unfamiliar identity: expand each side into conditions about , then check whether those conditions really say the same thing. A Venn diagram can help you anticipate an answer, but the membership argument explains why it holds.
Refute an identity by finding one mismatched member
Now replace the union on the right-hand side with an intersection:
The previous proof suggests where to look. Choose an that belongs to and , but not . It is not in , so it belongs to the left-hand side. Yet it is not in , so it cannot belong to the intersection on the right. This one membership pattern shows what goes wrong.
To turn the pattern into an explicit counterexample, let
Then , giving . But , so . The proposed identity is false. Unlike a proof, a refutation needs only one valid choice of sets for which the sides differ.
Read Example 9.6 in CMSC 250: Set Theory and Proofs for another refutation. It uses a larger finite example; concentrate on the single kind of member that makes the sides unequal, rather than on every number in its rosters.
[PDF] CMSC 250: Set Theory and Proofs - UMD Math Department
The UMD Math Department notes show how to turn a suspected mismatch between two set expressions into an explicit counterexample.
In Section 9.3, “Proving or Disproving Equality” (pp. 19–20), begin at the sentence “When disproving set equality we look for a counterexample.” Read the worked refutation through the final comparison of the two computed sets, stopping before Section 9.4. Focus on Example 9.6: locate an element retained by A\cup(C-B) but removed by (A\cup C)-B.
Here is the mismatch in membership language. On the left, is enough to put in , even if . On the right, membership in removes from . That difference is the reason a counterexample exists; the particular numbers merely make it concrete.
A reliable decision rule is: for a proposed equality, compare membership of an arbitrary element on both sides. If the conditions match in both directions, you have a proof. If they can differ, describe the mismatched membership pattern and choose explicit sets that realise it. A few matching examples cannot establish an identity, but one counterexample can refute it.
Next, you will use unions and intersections in a different way: counting members of finite sets without counting overlaps twice.