1. Introduction to Sets

A set is a well-defined collection of objects.

  • Objects, elements, and members of a set are synonymous terms.
  • Sets are usually denoted by capital letters A,B,C,X,Y,ZA, B, C, X, Y, Z, etc.
  • The elements of a set are represented by small letters a,b,c,x,y,za, b, c, x, y, z, etc.

Notation:

  • If aa is an element of a set AA, we say that "aa belongs to AA" and write aAa \in A.
  • If bb is not an element of a set AA, we write bAb \notin A.

2. Representation of Sets

There are two methods of representing a set:

(A) Roster or Tabular Form

All elements are listed, separated by commas, and enclosed within braces {}\{\}.

  • Example: The set of vowels in English alphabet is {a,e,i,o,u}\{a, e, i, o, u\}.
  • Note: Order of elements is immaterial. Elements are not generally repeated.

(B) Set-Builder Form

All the elements of a set possess a single common property which is not possessed by any element outside the set.

  • Example: V={x:x is a vowel in English alphabet}V = \{x : x \text{ is a vowel in English alphabet}\}.

3. Types of Sets

(A) Empty Set (Null/Void Set)

A set containing no elements. Denoted by ϕ\phi or {}\{\}.

  • Example: {x:xN,1<x<2}=ϕ\{x : x \in \mathbb{N}, 1 < x < 2\} = \phi.

(B) Finite and Infinite Sets

  • Finite: A set which is empty or consists of a definite number of elements.
  • Infinite: A set which is not finite (e.g., set of natural numbers N\mathbb{N}).

(C) Equal Sets

Two sets AA and BB are equal if they have exactly the same elements. We write A=BA = B.

(D) Singleton set

Exactly one element.

  • Example: {0}\{0\}

(E) Equivalent sets

AA and BB are equivalent if they have same number of elements, i.e., n(A)=n(B)n(A)=n(B).


4. Subsets

A set AA is said to be a subset of a set BB if every element of AA is also an element of BB. AB    aA    aBA \subset B \iff a \in A \implies a \in B

  • Intervals as subsets of R\mathbb{R}:
  • Open interval: (a,b)={y:a<y<b}(a, b) = \{y : a < y < b\}
  • Closed interval: [a,b]={y:ayb}[a, b] = \{y : a \le y \le b\}

Important facts:

  1. A\varnothing\subseteq A for every set AA.
  2. AAA\subseteq A.
  3. If ABA\subseteq B and BAB\subseteq A, then A=BA=B.

Power Set

The collection of all subsets of a set AA is called the Power Set of AA, denoted by P(A)P(A).

  • If n(A)=mn(A) = m, then n(P(A))=2mn(P(A)) = 2^m.

5. Venn Diagrams

Most of the relationships between sets can be represented by means of diagrams which are known as Venn diagrams. The universal set UU is usually represented by a rectangle and its subsets by circles.


6. Operations on Sets

(A) Union of Sets

The union of two sets AA and BB is the set which consists of all the elements of AA and all the elements of BB, the common elements being taken only once. AB={x:xA or xB}A \cup B = \{x : x \in A \text{ or } x \in B\}

(B) Intersection of Sets

The intersection of sets AA and BB is the set of all elements which are common to both AA and BB. AB={x:xA and xB}A \cap B = \{x : x \in A \text{ and } x \in B\}

(C) Difference of Sets

The difference of sets AA and BB in this order is the set of elements which belong to AA but not to BB. AB={x:xA and xB}A - B = \{x : x \in A \text{ and } x \notin B\}

(D) Symmetric Difference (often asked)

AΔB=(AB)(BA)A\Delta B = (A - B)\cup(B - A) Meaning: elements that are in exactly one of the sets.


7. Complement of a Set

Let UU be the universal set and AA a subset of UU. The complement of AA is the set of all elements of UU which are not the elements of AA. A=UA={x:xU and xA}A' = U - A = \{x : x \in U \text{ and } x \notin A\}

Properties:

  • (A)=A(A')' = A
  • AA=UA\cup A' = U
  • AA=A\cap A' = \varnothing
  • U=U' = \varnothing, =U\varnothing' = U

De Morgan's Laws

  1. (AB)=AB(A \cup B)' = A' \cap B'
  2. (AB)=AB(A \cap B)' = A' \cup B'

8. Practical Problems (Formulas)

If AA and BB are finite sets, then:

  1. n(AB)=n(A)+n(B)n(AB)n(A \cup B) = n(A) + n(B) - n(A \cap B)
  2. If AB=ϕA \cap B = \phi, then n(AB)=n(A)+n(B)n(A \cup B) = n(A) + n(B)

Sets

Example 1

Write the solution set of the equation x2+x2=0x^2 + x - 2 = 0 in roster form.

Solution: (x1)(x+2)=0    x=1,2(x-1)(x+2)=0 \implies x = 1, -2. Set A={1,2}A = \{1, -2\}.


Example 2

Write the set A={1,4,9,16,25,}A = \{1, 4, 9, 16, 25, \dots\} in set-builder form.

Solution: A={x:x=n2,nN}A = \{x : x = n^2, n \in \mathbb{N}\}.


Example 3

Let A={1,2,3,4,5,6}A = \{1, 2, 3, 4, 5, 6\}. Insert the appropriate symbol \in or \notin in the blank: 5A5 \dots A.

Solution: Since 5 is in the list, 5A5 \in A.


Example 4

Which of the following is an empty set? A={x:x is an even prime number greater than 2}A = \{x : x \text{ is an even prime number greater than 2}\}.

Solution: The only even prime number is 2. There is no even prime >2> 2. Hence A=ϕA = \phi. It is an empty set.


Example 5

Let A={a,b}A = \{a, b\}. List all subsets of AA.

Solution: Subsets are: ϕ,{a},{b},{a,b}\phi, \{a\}, \{b\}, \{a, b\}.


Example 6

If A={1,2,3}A = \{1, 2, 3\} and B={3,4,5}B = \{3, 4, 5\}, find ABA \cup B.

Solution: Combine all elements: AB={1,2,3,4,5}A \cup B = \{1, 2, 3, 4, 5\}.


Example 7

From the above example, find ABA \cap B.

Solution: Common element is 3. AB={3}A \cap B = \{3\}.


Example 8

Let U={1,2,3,4,5,6}U = \{1, 2, 3, 4, 5, 6\}, A={2,3}A = \{2, 3\}. Find AA'.

Solution: A=UA={1,4,5,6}A' = U - A = \{1, 4, 5, 6\}.


Example 9

If XX and YY are two sets such that XX has 40 elements, XYX \cup Y has 60 elements and XYX \cap Y has 10 elements, how many elements does YY have?

Solution: Using n(XY)=n(X)+n(Y)n(XY)n(X \cup Y) = n(X) + n(Y) - n(X \cap Y): 60=40+n(Y)1060 = 40 + n(Y) - 10 60=30+n(Y)60 = 30 + n(Y) n(Y)=30n(Y) = 30.


Example 10

In a group of 400 people, 250 can speak Hindi and 200 can speak English. How many people can speak both Hindi and English?

Solution: Let HH = Hindi speakers, EE = English speakers. n(HE)=400n(H \cup E) = 400, n(H)=250n(H) = 250, n(E)=200n(E) = 200. 400=250+200n(HE)400 = 250 + 200 - n(H \cap E) 400=450n(HE)400 = 450 - n(H \cap E) n(HE)=50n(H \cap E) = 50.


Example 11

Find the power set of A={1}A = \{1\}.

Solution: Subsets are ϕ\phi and {1}\{1\}. P(A)={ϕ,{1}}P(A) = \{\phi, \{1\}\}.


Example 12

State true or false: {a,b}{b,c,a}\{a, b\} \subset \{b, c, a\}.

Solution: Both elements aa and bb are in the second set. True.

Questions and Answers (Board Exam)

Q1. Define a Set.

Answer: A set is a well-defined collection of objects. "Well-defined" means we can definitely decide whether a given object belongs to the collection or not.


Q2. What is a Power Set?

Answer: The collection of all subsets of a set AA is called the power set of AA. It is denoted by P(A)P(A). In P(A)P(A), every element is a set.


Q3. State De Morgan's Laws.

Answer: For any two sets AA and BB:

  1. The complement of the union is the intersection of the complements: (AB)=AB(A \cup B)' = A' \cap B'.
  2. The complement of the intersection is the union of the complements: (AB)=AB(A \cap B)' = A' \cup B'.

Q4. What is the difference between {0}\{0\} and ϕ\phi?

Answer: {0}\{0\} is a singleton set containing one element (the number 0). ϕ\phi is an empty set containing no elements.


Q5. If ABA \subset B, what is ABA \cup B?

Answer: If AA is contained in BB, their union is the larger set BB.