Skip to content
Worked Examples · Example 18

Q.Let A = { 1, 2, 3, 4, 5, 6}, B = { 2, 4, 6, 8 }. Find A – B and B – A

Yanam CbseNCERTSubjective· 2mImportance★★★★★est
43% · 57/132 Questions
✓ Free question

Set difference A−BA - B keeps everything in AA that is not in BB; B−AB - A keeps everything in BB that is not in AA. For the given sets, A−B={1,3,5}A - B = \{1, 3, 5\} and B−A={8}B - A = \{8\}.

The idea behind set difference is simple: you start with one set and remove any elements that also appear in the other set. Think of it like a filter — only the elements that belong exclusively to the first set survive.

For A−BA - B, we take set AA and delete every element that also lives in BB. For B−AB - A, we do the reverse: start with BB and remove anything that is also in AA.

Let’s work through it step by step.

  1. List the elements of AA and BB clearly.

    A={1,2,3,4,5,6}A = \{1, 2, 3, 4, 5, 6\}

    B={2,4,6,8}B = \{2, 4, 6, 8\}

  2. Find A−BA - B.

    Go through each element of AA:

    • 11 is in AA but not in BB → keep it.
    • 22 is in AA and also in BB → remove it.
    • 33 is in AA but not in BB → keep it.
    • 44 is in AA and also in BB → remove it.
    • 55 is in AA but not in BB → keep it.
    • 66 is in AA and also in BB → remove it. So the survivors are {1,3,5}\{1, 3, 5\}. Hence A−B={1,3,5}A - B = \{1, 3, 5\}.
  3. Find B−AB - A.

    Now go through each element of BB:

    • 22 is in BB and also in AA → remove it.
    • 44 is in BB and also in AA → remove it.
    • 66 is in BB and also in AA → remove it.
    • 88 is in BB but not in AA → keep it. Only 88 remains. Hence B−A={8}B - A = \{8\}.
Watch out

A common mistake is to think A−BA - B and B−AB - A are the same thing, or that they always have the same number of elements. They are completely different sets — A−BA - B removes elements of BB from AA, while B−AB - A removes elements of AA from BB. Here, A−BA - B has three elements and B−AB - A has just one.

Tip

Notice that A−BA - B and B−AB - A are always disjoint (they share no elements). Also, the union (A−B)∪(B−A)(A - B) \cup (B - A) is called the symmetric difference of AA and BB, often written A△BA \triangle B. In this problem, A△B={1,3,5,8}A \triangle B = \{1, 3, 5, 8\}.

✓Final answer

The set A−BA - B is {1,3,5}\boxed{\{1, 3, 5\}} and the set B−AB - A is {8}\boxed{\{8\}}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.