Math Lab
Home/Class XI/Ch 1/Equal sets and subsets

Equal sets and subsets

If two sets describe the same collection, we want to say so. If one set sits inside another, we want a clean notation for that too. This subtopic introduces equality, subset, proper subset, and the intervals of R\mathbb{R} , the most important examples of subsets you will use this year.

Definitions

Two sets AA and BB are equal, written A=BA = B, if they have exactly the same elements: A=B    (x)(xA    xB).A = B \iff (\forall x)\,(x \in A \iff x \in B).

AA is a subset of BB, written ABA \subseteq B, if every element of AA is also an element of BB: AB    (x)(xAxB).A \subseteq B \iff (\forall x)\,(x \in A \Rightarrow x \in B).

AA is a proper subset of BB, written ABA \subsetneq B (or ABA \subset B in some texts), if ABA \subseteq B but ABA \ne B.

If ABA \subseteq B we say BB is a superset of AA, written BAB \supseteq A.

The antisymmetry of \subseteq gives the standard recipe for proving equality: A=B    AB and BA.A = B \iff A \subseteq B \text{ and } B \subseteq A.

Basic facts you must know

  • A\varnothing \subseteq A for every set AA. (Vacuously: there is no xx \in \varnothing to check.)
  • AAA \subseteq A for every set AA (reflexivity).
  • If ABA \subseteq B and BCB \subseteq C then ACA \subseteq C (transitivity).
  • A=BA = B iff ABA \subseteq B and BAB \subseteq A (antisymmetry).

For finite sets, ABA \subseteq B implies AB|A| \le |B|, with equality iff A=BA = B.

Two-way containment in practice

To prove A=BA = B you almost always do it in two steps:

  1. Take a typical xAx \in A and show xBx \in B. This proves ABA \subseteq B.
  2. Take a typical xBx \in B and show xAx \in A. This proves BAB \subseteq A.
  3. Conclude A=BA = B.

This double inclusion technique is universal , you will use it in every later chapter from inequalities to probability.

Intervals as subsets of R\mathbb{R}

The real line is so important that we have a special notation for its subsets:

NotationSet-builderEndpoints
(a,b)(a, b){x:a<x<b}\{x : a < x < b\}open–open
[a,b][a, b]{x:axb}\{x : a \le x \le b\}closed–closed
[a,b)[a, b){x:ax<b}\{x : a \le x < b\}closed–open
(a,b](a, b]{x:a<xb}\{x : a < x \le b\}open–closed
(a,)(a, \infty){x:x>a}\{x : x > a\}open ray
[a,)[a, \infty){x:xa}\{x : x \ge a\}closed ray
(,b)(-\infty, b){x:x<b}\{x : x < b\}open ray
(,b](-\infty, b]{x:xb}\{x : x \le b\}closed ray
(,)(-\infty, \infty)R\mathbb{R}the whole line

Note that \infty never gets a square bracket , it is not a real number.

Length of a bounded interval (a,b),[a,b],[a,b),(a,b](a, b), [a, b], [a, b), (a, b] is bab - a in every case.

Worked examples

Example 1. Are A={xR:x2=1}A = \{x \in \mathbb{R} : x^2 = 1\} and B={1,1}B = \{-1, 1\} equal?

The real solutions of x2=1x^2 = 1 are exactly ±1\pm 1. So A={1,1}=BA = \{-1, 1\} = B.

Example 2. Decide ABA \subseteq B or not, where A={1,2,3}A = \{1, 2, 3\}, B={xN:x5}B = \{x \in \mathbb{N} : x \le 5\}.

B={1,2,3,4,5}B = \{1,2,3,4,5\}. Every element of AA is in BB, so ABA \subseteq B. Since 4BA4 \in B \setminus A, the inclusion is proper.

Example 3. Show {xR:x23x+2=0}={1,2}\{x \in \mathbb{R} : x^2 - 3x + 2 = 0\} = \{1, 2\}.

Factor: x23x+2=(x1)(x2)=0x^2 - 3x + 2 = (x-1)(x-2) = 0 gives x=1x = 1 or x=2x = 2. Both are real, so the solution set is {1,2}\{1, 2\}.

Example 4. Write the set {xR:2x<5}\{x \in \mathbb{R} : -2 \le x < 5\} as an interval.

This is [2,5)[-2, 5).

Example 5 (harder). Prove that the set of multiples of 66 is a subset of the set of multiples of 33.

Let A={6k:kZ}A = \{6k : k \in \mathbb{Z}\} and B={3m:mZ}B = \{3m : m \in \mathbb{Z}\}. Take any xAx \in A. Then x=6kx = 6k for some kZk \in \mathbb{Z}, so x=3(2k)x = 3(2k). Since 2kZ2k \in \mathbb{Z}, we have xBx \in B. Hence ABA \subseteq B. The inclusion is proper because 3BA3 \in B \setminus A.

Try it yourself

  1. Decide equal or not: A={xZ:x24}A = \{x \in \mathbb{Z} : x^2 \le 4\} and B={2,1,0,1,2}B = \{-2, -1, 0, 1, 2\}.
  2. Decide ABA \subseteq B: A={2,4,6}A = \{2, 4, 6\} and B={xN:x10, x even}B = \{x \in \mathbb{N} : x \le 10,\ x \text{ even}\}.
  3. Write as interval: {xR:0<x7}\{x \in \mathbb{R} : 0 < x \le 7\}.
  4. Write in set-builder form: (3,5](-3, 5].
  5. Show that NZQR\mathbb{N} \subsetneq \mathbb{Z} \subsetneq \mathbb{Q} \subsetneq \mathbb{R}.
  6. Find all subsets of {a,b}\{a, b\}.
  7. Is {1,2}{{1,2},3,4}\{1, 2\} \subseteq \{\{1, 2\}, 3, 4\}? Explain.
  8. Decide whether each is true: (a) \varnothing \in \varnothing; (b) \varnothing \subseteq \varnothing; (c) {}\varnothing \in \{\varnothing\}; (d) {}\varnothing \subseteq \{\varnothing\}.
  9. Show {xR:x=pq, p,qZ,q0}=Q\{x \in \mathbb{R} : x = \tfrac{p}{q},\ p, q \in \mathbb{Z}, q \ne 0\} = \mathbb{Q}.
  10. If ABA \subseteq B and BAB \subseteq A, what can you conclude?
  11. List all subsets of {1,2,3}\{1, 2, 3\}. How many are there?
  12. The set of perfect squares in N\mathbb{N} is a subset of which familiar sets?

Pitfalls / Tricks

  • \in vs \subseteq. "1{1,2}1 \in \{1, 2\}" is true. "{1}{1,2}\{1\} \in \{1, 2\}" is false. "{1}{1,2}\{1\} \subseteq \{1, 2\}" is true. Membership and containment are not the same.
  • A\varnothing \subseteq A always , even if you cannot picture it. Use the implication-with-no-instance argument.
  • To prove A=BA = B, the double inclusion is the cleanest tool: prove ABA \subseteq B and BAB \subseteq A separately.
  • Insight. Subset is the mathematician's less-than-or-equal-to for sets. It is reflexive, transitive and antisymmetric , exactly the three properties that make \le an order on numbers.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Equal sets and subsets
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6