Class 11Mathematics · Sets & FunctionsFull chapter

Sets

The whole chapter in one place — read it, then test yourself. Clear notes, formula sheet, a practice quiz, and worked NCERT solutions & PYQs.

Sets and Their Representations

Quick answer A set is a well-defined collection of distinct objects, which can be written either by listing every element (roster form) or by stating a common defining property (set-builder form).

A set is a well-defined collection of distinct objects. "Well-defined" means that given any object, we can decide with certainty whether it belongs to the collection or not. The objects in a set are called its elements or members. Sets are usually denoted by capital letters (A, B, C, ...) and elements by small letters (a, b, x, ...).

If an object x is an element of a set A, we write x ∈ A (read "x belongs to A"). If x is not an element of A, we write x ∉ A. The number of distinct elements in a finite set A is called its cardinal number, written n(A).

There are two standard ways to describe a set:

  • Roster form (tabular form): all elements are listed inside braces, separated by commas, each element written only once and the order not mattering. Example: the set of vowels in English is {a, e, i, o, u}.
  • Set-builder form: the set is described by a common property satisfied by every element, written as A = {x : p(x)}, read "A is the set of all x such that x satisfies property p".

Worked Example: Write the set of natural numbers less than 6 in both roster form and set-builder form.

Solution: The natural numbers less than 6 are 1, 2, 3, 4, 5.

Roster form: A = {1, 2, 3, 4, 5}.

Set-builder form: A = {x : x ∈ N, x < 6}.

Here n(A) = 5, since A has 5 distinct elements.

Set-builder notation A = {x : p(x)} read as "the set of all x such that x satisfies property p"
Membership a ∈ A ⇔ a is a member of A
Cardinal number n(A) number of distinct elements in a finite set A
Remember
  • A set is a well-defined collection of distinct, unordered objects.
  • Each element is listed only once; the order of elements does not matter.
  • Roster (tabular) form lists all elements, separated by commas, inside braces.
  • Set-builder form states a defining property: A = {x : p(x)}.
  • ∈ denotes "is an element of"; ∉ denotes "is not an element of"; n(A) denotes the number of elements in a finite set A.

Types of Sets

Quick answer Sets are classified as empty (no elements), finite (elements can be counted), infinite (counting never ends), singleton (exactly one element), or equal (identical elements).

A set having no element at all is called the empty set (or null set), denoted by φ or { }. Note that {0} and {φ} are not empty sets — each contains one element.

A set is called a finite set if the process of counting its elements terminates, i.e. it has a definite, countable number of elements. A set that is not finite, i.e. whose elements cannot be counted to an end, is called an infinite set. A set with exactly one element is called a singleton set.

Two sets A and B are said to be equal, written A = B, if they have exactly the same elements — that is, every element of A is in B and every element of B is in A. If A and B are not equal, we write A ≠ B.

Worked Example: Let A = {1, 2, 3} and B = {x : x ∈ N, x2 < 12}. State whether A and B are finite or infinite, and check whether A = B.

Solution: A = {1, 2, 3} has exactly 3 elements, so the counting terminates and A is a finite set.

For B, we need natural numbers x with x2 < 12. Testing x = 1, 2, 3, 4: 12=1, 22=4, 32=9 (all < 12), but 42=16 (not < 12). So B = {1, 2, 3}, which also has exactly 3 elements, so B is a finite set.

Since A = {1, 2, 3} and B = {1, 2, 3} contain exactly the same elements, A = B.

Empty set φ = { } n(φ) = 0
Equality of sets A = B ⇔ every x ∈ A is in B and every x ∈ B is in A
Singleton set n(A) = 1
Remember
  • Empty set (φ or { }) has zero elements; φ is a subset of every set.
  • Finite set: the counting of its elements terminates at some natural number.
  • Infinite set: the counting of its elements never terminates.
  • Two sets are equal (A = B) if and only if they contain exactly the same elements, regardless of order.
  • A singleton set contains exactly one element.

Subsets, Universal Set and Power Set

Quick answer A subset contains only elements already present in a larger set; the power set collects all possible subsets, and an n-element set always has exactly 2 to the power n subsets.

A set A is called a subset of a set B, written A ⊆ B, if every element of A is also an element of B, i.e. a ∈ A ⟹ a ∈ B. Every set is a subset of itself, and the empty set φ is a subset of every set. If A ⊆ B and A ≠ B, A is called a proper subset of B, written A ⊂ B, and B is called a superset of A.

In any discussion, all sets under consideration are usually subsets of one basic set called the universal set, denoted U. Intervals of real numbers, such as (a, b), [a, b], (a, b], [a, b), are also examples of subsets of R described using inequalities.

The collection of all possible subsets of a set A (including φ and A itself) is called the power set of A, denoted P(A). If a finite set A has n elements, then P(A) has exactly 2n elements.

Worked Example: Let A = {1, 2, 3}. Write the power set of A, and verify the formula n(P(A)) = 2n.

Solution: The subsets of A are: φ, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}.

So P(A) = { φ, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3} }, which has 8 elements.

Since n(A) = 3, the formula gives 23 = 8, which matches. Verified.

Subset condition A ⊆ B ⇔ (x ∈ A ⟹ x ∈ B)
Proper subset A ⊂ B ⇔ A ⊆ B and A ≠ B
Power set cardinality n(P(A)) = 2ⁿ n = n(A), the number of elements in A
Remember
  • A ⊆ B means every element of A is also an element of B.
  • φ is a subset of every set; every set is a subset of itself.
  • A ⊂ B (proper subset) means A ⊆ B but A ≠ B.
  • The universal set U contains all sets being discussed as its subsets.
  • Power set P(A) is the set of all subsets of A; if n(A) = n, then n(P(A)) = 2n.

Venn Diagrams and Operations on Sets

Quick answer Venn diagrams picture sets as regions inside a rectangle; union combines elements, intersection keeps only common elements, difference removes one set's elements from another, and complement takes everything outside a set within the universal set.

A Venn diagram represents the universal set U by a rectangle, and its subsets by circles (or closed curves) drawn inside it. Venn diagrams make it easy to visualise relationships and operations between sets.

For two sets A and B:

  • Union: A ∪ B = {x : x ∈ A or x ∈ B} — all elements that are in A, or in B, or in both.
  • Intersection: A ∩ B = {x : x ∈ A and x ∈ B} — elements common to both A and B. If A ∩ B = φ, then A and B are called disjoint sets.
  • Difference: A − B = {x : x ∈ A and x ∉ B} — elements of A that are not in B. In general, A − B ≠ B − A.
  • Complement: A′ = U − A = {x ∈ U : x ∉ A} — elements of the universal set that are not in A.

Worked Example: Let U = {1, 2, 3, ..., 10}, A = {1, 2, 3, 4, 5}, B = {4, 5, 6, 7, 8}. Find A ∪ B, A ∩ B, A − B, B − A and A′.

Solution:

A ∪ B = {1, 2, 3, 4, 5, 6, 7, 8} (all elements in A or B).

A ∩ B = {4, 5} (elements common to both).

A − B = {1, 2, 3} (elements of A not in B).

B − A = {6, 7, 8} (elements of B not in A) — note this is different from A − B.

A′ = U − A = {6, 7, 8, 9, 10} (elements of U not in A).

Union A ∪ B = {x : x ∈ A or x ∈ B}
Intersection A ∩ B = {x : x ∈ A and x ∈ B}
Difference A − B = {x : x ∈ A and x ∉ B}
Complement A′ = U − A = {x ∈ U : x ∉ A}
Remember
  • Union A ∪ B contains every element that is in A, in B, or in both.
  • Intersection A ∩ B contains only the elements common to both sets.
  • Disjoint sets satisfy A ∩ B = φ (no common elements).
  • Difference A − B keeps elements of A that are absent from B; generally A − B ≠ B − A.
  • Complement A′ = U − A contains all elements of the universal set outside A.

Properties and Laws of Set Operations

Quick answer Union, intersection and complement obey algebraic laws — commutative, associative, distributive and De Morgan's laws — which let us simplify or prove set relationships without drawing a diagram.

Set operations follow several standard laws, similar to the laws of arithmetic, that hold for all sets A, B, C drawn from a universal set U:

  • Commutative laws: A ∪ B = B ∪ A and A ∩ B = B ∩ A.
  • Associative laws: (A ∪ B) ∪ C = A ∪ (B ∪ C) and (A ∩ B) ∩ C = A ∩ (B ∩ C).
  • Distributive laws: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) and A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C).
  • Identity laws: A ∪ φ = A, A ∩ U = A, A ∪ U = U, A ∩ φ = φ.
  • Complement laws: A ∪ A′ = U, A ∩ A′ = φ, (A′)′ = A, U′ = φ, φ′ = U.
  • De Morgan's laws: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′.

Worked Example: Using U = {1, 2, ..., 10}, A = {1, 3, 5, 7, 9}, B = {2, 3, 5, 7}, verify De Morgan's law (A ∪ B)′ = A′ ∩ B′.

Solution: A ∪ B = {1, 2, 3, 5, 7, 9}, so (A ∪ B)′ = U − (A ∪ B) = {4, 6, 8, 10}.

Now A′ = U − A = {2, 4, 6, 8, 10} and B′ = U − B = {1, 4, 6, 8, 9, 10}.

A′ ∩ B′ = {4, 6, 8, 10} (common elements of A′ and B′).

Since (A ∪ B)′ = {4, 6, 8, 10} = A′ ∩ B′, the law is verified.

Commutative laws A ∪ B = B ∪ A ; A ∩ B = B ∩ A
Associative laws (A ∪ B) ∪ C = A ∪ (B ∪ C) ; (A ∩ B) ∩ C = A ∩ (B ∩ C)
Distributive laws A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) ; A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
De Morgan's laws (A ∪ B)′ = A′ ∩ B′ ; (A ∩ B)′ = A′ ∪ B′
Complement laws A ∪ A′ = U ; A ∩ A′ = φ ; (A′)′ = A
Remember
  • Commutative laws: A ∪ B = B ∪ A, A ∩ B = B ∩ A.
  • Associative laws let union or intersection of three sets be grouped in any order.
  • Distributive laws connect union and intersection: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).
  • De Morgan's laws: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′.
  • Complement laws: A ∪ A′ = U, A ∩ A′ = φ, and (A′)′ = A.

Practical Problems Using Venn Diagrams

Quick answer For finite sets, counting problems are solved with n(A ∪ B) = n(A) + n(B) − n(A ∩ B), extended to three sets, letting Venn diagrams answer real-world survey and "how many" questions.

For any two finite sets A and B, the number of elements in their union is given by the inclusion-exclusion principle: n(A ∪ B) = n(A) + n(B) − n(A ∩ B). This is because elements common to both sets get counted twice when n(A) and n(B) are simply added, so n(A ∩ B) is subtracted once to correct the count. If A and B are disjoint (A ∩ B = φ), this simplifies to n(A ∪ B) = n(A) + n(B).

This idea extends to three finite sets A, B, C: n(A ∪ B ∪ C) = n(A) + n(B) + n(C) − n(A ∩ B) − n(B ∩ C) − n(A ∩ C) + n(A ∩ B ∩ C). Also, for the difference of two sets, n(A − B) = n(A) − n(A ∩ B).

In practical problems, it is often useful to first mark the "only A", "only B", "both", and "neither" regions on a Venn diagram before applying the formula.

Worked Example: In a class of 50 students, 20 take Physics, 25 take Chemistry, and 10 take both subjects. How many students take at least one of the two subjects, and how many take neither?

Solution: Let P = set of students taking Physics, n(P) = 20; C = set of students taking Chemistry, n(C) = 25; n(P ∩ C) = 10.

Number taking at least one subject: n(P ∪ C) = n(P) + n(C) − n(P ∩ C) = 20 + 25 − 10 = 35.

Number taking neither subject = total students − n(P ∪ C) = 50 − 35 = 15.

Two-set union n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
Disjoint union n(A ∪ B) = n(A) + n(B) valid only when A ∩ B = φ
Three-set union n(A ∪ B ∪ C) = n(A)+n(B)+n(C) − n(A∩B) − n(B∩C) − n(A∩C) + n(A∩B∩C)
Difference cardinality n(A − B) = n(A) − n(A ∩ B)
Remember
  • n(A ∪ B) = n(A) + n(B) − n(A ∩ B) for any two finite sets A and B.
  • If A and B are disjoint, n(A ∪ B) = n(A) + n(B).
  • n(A − B) = n(A) − n(A ∩ B).
  • The three-set formula extends inclusion-exclusion using pairwise and triple intersections.
  • Sketch "only A", "only B", "both", and "neither" regions on a Venn diagram before computing, to avoid double counting.

The formula sheet

Every formula in this chapter, in one place — screenshot it before your exam.

A = {x : p(x)}
Set-builder notation
a ∈ A ⇔ a is a member of A
Membership
n(A)
Cardinal number
φ = { }
Empty set
A = B ⇔ every x ∈ A is in B and every x ∈ B is in A
Equality of sets
n(A) = 1
Singleton set
A ⊆ B ⇔ (x ∈ A ⟹ x ∈ B)
Subset condition
A ⊂ B ⇔ A ⊆ B and A ≠ B
Proper subset
n(P(A)) = 2ⁿ
Power set cardinality
A ∪ B = {x : x ∈ A or x ∈ B}
Union
A ∩ B = {x : x ∈ A and x ∈ B}
Intersection
A − B = {x : x ∈ A and x ∉ B}
Difference
A′ = U − A = {x ∈ U : x ∉ A}
Complement
A ∪ B = B ∪ A ; A ∩ B = B ∩ A
Commutative laws
(A ∪ B) ∪ C = A ∪ (B ∪ C) ; (A ∩ B) ∩ C = A ∩ (B ∩ C)
Associative laws
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) ; A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
Distributive laws
(A ∪ B)′ = A′ ∩ B′ ; (A ∩ B)′ = A′ ∪ B′
De Morgan's laws
A ∪ A′ = U ; A ∩ A′ = φ ; (A′)′ = A
Complement laws
n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
Two-set union
n(A ∪ B) = n(A) + n(B)
Disjoint union
n(A ∪ B ∪ C) = n(A)+n(B)+n(C) − n(A∩B) − n(B∩C) − n(A∩C) + n(A∩B∩C)
Three-set union
n(A − B) = n(A) − n(A ∩ B)
Difference cardinality

Test yourself

Tap an answer to check it instantly — you'll see why it's right, and what to revise if it isn't.

0 correct · 0/12 answered
Q1 Representation of sets easy

Which of the following is the set-builder form of {1, 4, 9, 16, 25}?

Q2 Types of sets easy

Which of the following is a finite set?

Q3 Sets basics medium

If A = {x : x is a letter in the word "ALLOY"}, then n(A) is:

Q4 Power set easy

The number of subsets of a set containing 4 elements is:

Q5 Subsets and equality easy

If A ⊆ B and B ⊆ A, then which of the following is true?

Q6 Power set easy

If n(A) = 3, then n(P(A)) equals:

Q7 Operations on sets easy

If A = {1, 2, 3, 4} and B = {3, 4, 5, 6}, then A ∩ B equals:

Q8 Difference of sets easy

If A = {1, 2, 3, 4} and B = {3, 4, 5, 6}, then A − B equals:

Q9 Complement of a set medium

Let U = {1, 2, 3, ..., 10}, A = {2, 4, 6, 8, 10}, B = {1, 2, 3, 4, 5}. Then (A ∪ B)′ equals:

Q10 De Morgan's laws easy

(A ∩ B)′ is equal to:

Q11 Practical problems on sets medium

In a class of 60 students, 25 like tea, 20 like coffee, and 10 like both. The number of students who like neither is:

Q12 Practical problems on sets hard

In a group of 100 people, 72 like apples, 48 like bananas, and every person likes at least one of the two fruits. How many people like both?

NCERT solutions & previous-year questions

Step-by-step model answers — tap a question to reveal the full solution.

NCERT questions 6

1 Write the set A = {x : x is an integer, −3 < x < 7} in roster form.Representation of sets

We need all integers strictly between −3 and 7.

These integers are: −2, −1, 0, 1, 2, 3, 4, 5, 6.

Therefore, A = {−2, −1, 0, 1, 2, 3, 4, 5, 6}.

2 Is the set A = {x : x ∈ N, 3 < x < 4} an empty set? Justify your answer.Types of sets (empty set)

We need natural numbers x satisfying 3 < x < 4.

There is no natural number strictly between 3 and 4 (the next natural number after 3 is 4 itself).

Hence, no element satisfies the given condition, so A = φ. A is the empty set.

3 Write down all the subsets of the set {1, 2}.Subsets and power set

Let A = {1, 2}. Here n(A) = 2, so the number of subsets is 2² = 4.

The subsets are: φ, {1}, {2}, {1, 2}.

So the power set is P(A) = { φ, {1}, {2}, {1, 2} }.

4 If A = {1, 2, 3, 4, 5, 6} and B = {2, 4, 6, 8}, find A ∪ B and A ∩ B.Operations on sets

Union: A ∪ B contains all elements that are in A or in B (each written once).

A ∪ B = {1, 2, 3, 4, 5, 6, 8}.

Intersection: A ∩ B contains only the elements common to both sets.

A ∩ B = {2, 4, 6}.

5 If U = {1, 2, 3, 4, 5, 6, 7, 8, 9}, A = {2, 4, 6, 8}, B = {2, 3, 5, 7}, find A′, B′, A′ ∩ B′, and verify (A ∪ B)′ = A′ ∩ B′.Complement and De Morgan's laws

Step 1: Find complements.

A′ = U − A = {1, 3, 5, 7, 9}.

B′ = U − B = {1, 4, 6, 8, 9}.

Step 2: Find A′ ∩ B′ (elements common to both complements).

A′ ∩ B′ = {1, 9}.

Step 3: Find (A ∪ B)′ directly.

A ∪ B = {2, 3, 4, 5, 6, 7, 8}, so (A ∪ B)′ = U − (A ∪ B) = {1, 9}.

Conclusion: (A ∪ B)′ = {1, 9} = A′ ∩ B′. Hence De Morgan's law is verified.

6 In a school, there are 20 teachers who teach Mathematics or Physics. Of these, 12 teach Mathematics and 4 teach both Mathematics and Physics. How many teach Physics?Practical problems using Venn diagrams

Let M = set of teachers teaching Mathematics, P = set of teachers teaching Physics.

Given: n(M ∪ P) = 20, n(M) = 12, n(M ∩ P) = 4.

Using the formula n(M ∪ P) = n(M) + n(P) − n(M ∩ P):

20 = 12 + n(P) − 4

20 = 8 + n(P)

n(P) = 20 − 8 = 12.

So, 12 teachers teach Physics.

Previous-year board questions 4

Q1 Write the set {1, 4, 9, 16, 25, 36} in set-builder form. CBSE 2023 1 mark

Each element is the square of a natural number from 1 to 6: 1²=1, 2²=4, 3²=9, 4²=16, 5²=25, 6²=36.

So the set-builder form is: {x : x = n², where n ∈ N and 1 ≤ n ≤ 6}.

Q2 Let A = {1, 2, 3, 4} and B = {2, 4, 6, 8}. Find A − B and B − A. Are they equal? Give reason. CBSE 2022 2 marks

A − B: elements of A that are not in B.

A − B = {1, 3} (since 2 and 4 are also in B, they are excluded).

B − A: elements of B that are not in A.

B − A = {6, 8} (since 2 and 4 are also in A, they are excluded).

Since {1, 3} ≠ {6, 8}, A − B ≠ B − A. This shows that set difference is not commutative in general.

Q3 If U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} is the universal set, A = {1, 2, 3, 4, 5}, B = {4, 5, 6, 7, 8}, verify De Morgan's law (A ∩ B)′ = A′ ∪ B′. CBSE 2023 3 marks

Step 1: Find A ∩ B.

A ∩ B = {4, 5}, so (A ∩ B)′ = U − {4, 5} = {1, 2, 3, 6, 7, 8, 9, 10}.

Step 2: Find A′ and B′.

A′ = U − A = {6, 7, 8, 9, 10}.

B′ = U − B = {1, 2, 3, 9, 10}.

Step 3: Find A′ ∪ B′.

A′ ∪ B′ = {1, 2, 3, 6, 7, 8, 9, 10}.

Conclusion: (A ∩ B)′ = {1, 2, 3, 6, 7, 8, 9, 10} = A′ ∪ B′. Hence De Morgan's law is verified.

Q4 In a survey of 400 students in a school, 100 were listed as taking apple juice, 150 as taking orange juice, and 75 taking both apple and orange juice. Find how many students were taking neither apple juice nor orange juice. CBSE 2022 5 marks

Let A = set of students taking apple juice, O = set of students taking orange juice.

Given: total students = 400, n(A) = 100, n(O) = 150, n(A ∩ O) = 75.

Step 1: Find the number of students taking at least one juice using n(A ∪ O) = n(A) + n(O) − n(A ∩ O).

n(A ∪ O) = 100 + 150 − 75 = 175.

Step 2: Number of students taking neither juice = total students − n(A ∪ O).

= 400 − 175 = 225.

So, 225 students were taking neither apple juice nor orange juice.

Part of Priodemy for School

Interactive Maths & Science — free with every school on Priodemy EduSuite. Explore more chapters and labs on the Priodemy for School hub.

Ask AI