Skip to content

Mathematics · Ch 1 — Sets

Difference of Sets

1.9.3

Difference of Sets

The Difference of Two Sets

The difference of two sets is a fundamental operation that tells us what is in one set but not in the other. The order matters here — A−BA - B is not the same as B−AB - A in general.

Definition. For two sets AA and BB, the difference A−BA - B (read as "A minus B") is the set of all elements that belong to AA but do not belong to BB.

In set-builder notation:

A−B={x:x∈A and x∉B}A - B = \{ x : x \in A \text{ and } x \notin B \}

The operation is also sometimes written as A∖BA \setminus B, but the textbook uses A−BA - B.

Watch out

Do not confuse A−BA - B with subtraction of numbers. It is a set operation, not arithmetic. The result is always a set, never a number.


Venn Diagram Representation

The shaded region in the Venn diagram below represents A−BA - B — the part of AA that lies outside BB.

[Venn diagram: Two overlapping circles labelled A and B. The region of A that does not overlap with B is shaded.]

The diagram makes it clear: A−BA - B is the part of AA that is exclusive to AA, not shared with BB.


A Key Property: Mutual Disjointness

Important

The three sets A−BA - B, A∩BA \cap B, and B−AB - A are mutually disjoint. This means the intersection of any two of them is the empty set ∅\emptyset.

Why is this true? Consider any element xx.

  • If x∈A−Bx \in A - B, then x∈Ax \in A and x∉Bx \notin B. So xx cannot be in A∩BA \cap B (which requires x∈Bx \in B) and cannot be in B−AB - A (which requires x∈Bx \in B).
  • If x∈A∩Bx \in A \cap B, then x∈Bx \in B, so x∉A−Bx \notin A - B and x∉B−Ax \notin B - A.
  • If x∈B−Ax \in B - A, then x∈Bx \in B and x∉Ax \notin A, so x∉A−Bx \notin A - B and x∉A∩Bx \notin A \cap B. …
Figure 1.8Venn diagram showing the difference A minus B as the shaded crescent of circle A that lies outside circle B.
Fig. 1.8 — Venn diagram showing the difference A minus B as the shaded crescent of circle A that lies outside circle B.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

Fig 1.8 is the standard Venn diagram for the difference of two sets. The rectangle UU represents the universal set. Inside it are two overlapping circles, labelled AA (on the left) and BB (on the right). The region that is shaded is the part of AA that does not overlap with BB — that is, the crescent-shaped portion of AA lying entirely outside BB. An arrow points to this shaded region, and it is labelled A−BA - B.

The physical idea is simple: you take everything in AA, and then you remove whatever also belongs to BB. What remains is the difference. The diagram makes it visually clear that A−BA - B and B−AB - A are completely different regions — B−AB - A would be the crescent of BB outside AA, which is not shaded here.

A−B={x:x∈A and x∉B}A - B = \{ x : x \in A \text{ and } x \notin B \}

Every symbol in this definition has a precise meaning:

  • A−BA - B is read as “A minus B” — the order matters.
  • {x:…}\{ x : \ldots \} is set-builder notation: “the set of all xx such that …”.
  • x∈Ax \in A means xx is an element of AA.
  • x∉Bx \notin B means xx is not an element of BB.

The figure also sets up an important observation that the textbook makes in the remark: the three sets A−BA - B, A∩BA \cap B, and B−AB - A are mutually disjoint — no two of them share any element. You can see this in Fig 1.8 alone: the shaded region (A−BA - B) does not touch the overlapping region (A∩BA \cap B), and the unshaded crescent of BB (B−AB - A) is separate from both. Their intersections are all empty. …

Figure 1.9Venn diagram partitioning two overlapping sets A and B into three disjoint regions labelled A minus B, A intersection B, and B minus A.
Fig. 1.9 — Venn diagram partitioning two overlapping sets A and B into three disjoint regions labelled A minus B, A intersection B, and B minus A.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

Fig 1.9 is a Venn diagram that shows the three mutually disjoint pieces into which any two sets A and B partition the universal set U. The rectangle U contains two overlapping circles labelled A and B. The diagram is divided into three distinct regions, each marked with an arrow and a label:

  • The left crescent (the part of A that does not overlap B) is labelled A − B.
  • The central lens where the two circles overlap is labelled A ∩ B and is shaded with a deeper tone to distinguish it from the other two regions.
  • The right crescent (the part of B that does not overlap A) is labelled B − A.

The key idea the figure teaches is that these three regions — A − B, A ∩ B, and B − A — are mutually disjoint. No two of them share any element. Their union is the entire set A ∪ B, and together with the region outside both circles (which is (A ∪ B)′), they form a partition of U.

Important

The sets A−BA - B, A∩BA \cap B, and B−AB - A are pairwise disjoint:

(A−B)∩(A∩B)=∅,(A−B)∩(B−A)=∅,(A∩B)∩(B−A)=∅.(A - B) \cap (A \cap B) = \emptyset,\quad (A - B) \cap (B - A) = \emptyset,\quad (A \cap B) \cap (B - A) = \emptyset.

The textbook uses this figure to reinforce the definition of set difference. For any two sets A and B:

A−B={x:x∈A and x∉B}A - B = \{ x : x \in A \text{ and } x \notin B \}

B−A={x:x∈B and x∉A}B - A = \{ x : x \in B \text{ and } x \notin A \}

The diagram makes it visually clear that A − B and B − A are generally different sets (unless A = B, in which case both are empty). It also shows why the remark in the textbook holds: the three pieces are disjoint because an element cannot simultaneously belong to A and not belong to A, nor can it be both in A ∩ B and outside the overlap.

Watch out

A common mistake is to think that A − B and B − A are complements of each other within A ∪ B. They are not — the complement of A − B inside A ∪ B is (A ∩ B) ∪ (B − A), not just B − A. The figure helps avoid this confusion by showing all three pieces separately. …