Chapter Overview

Key skills you will develop by the end of Unit 3 — 73 exam-style questions below cover every objective.

MATH-01 — Describe mathematics as the study of patterns, structure and relationships.
MATH-02 — Identify sets and apply operations on three sets (subsets, overlapping and disjoint sets) using Venn diagrams.
MATH-03 — Solve classification and cataloguing problems using Venn diagrams for two and three sets.
MATH-04 — Verify and apply the laws of union and intersection of three sets analytically and with Venn diagrams.
MATH-05 — Apply set theory to real-world problems such as demographic classification and products in a shopping mall.
MATH-06 — Explain the Cartesian product, binary relations and their domain and range.
MATH-07 — Represent a relation by a table, by ordered pairs and by a graph.
MATH-08 — Use function notation and find the value, domain and range of a function.
MATH-09 — Identify into, onto, one-one and bijective functions using mapping diagrams.

Venn and Mapping Diagrams

Shaded regions for two-set operations, the eight regions of a three-set diagram, the two worked Venn examples and the four types of functions.

UAB
Fig 1: A ∪ B — both circles shaded (overlapping sets)
UAB
Fig 2: A ∩ B — the lens-shaped common part
UAB
Fig 3: A − B — the part of A outside B
UAB
Fig 4: A′ = U − A — everything outside circle A
UAB
Fig 5: Disjoint sets, A ∩ B = ∅
UAB
Fig 6: A ⊂ B — circle A lies inside circle B
UABC12345678
Fig 7: The 8 regions — 1 only A · 2 only B · 3 only C · 4 A∩B only · 5 A∩C only · 6 B∩C only · 7 all three · 8 outside
UAGW370425336205240270125
Fig 8: Example 2 — A = Robotics, G = Game Development, W = Web Designing (total 1971)
UGCE131012191391242
Fig 9: Example 6 — G garments, C cosmetics, E electronics (total 130)
AB135246
Fig 10: Into function — 6 has no arrow, so Range ≠ B
AB12abc
Fig 11: One-one (injective) — no element of B has two arrows
ABc1c2c3m1m2
Fig 12: Onto (surjective) — every element of B has an arrow
ABabcxyz
Fig 13: Bijective — one-one and onto, a (1–1) correspondence

Patterns, Structures and Relationships

Section 3.1 — what mathematics studies, with sequences and the Fibonacci pattern.

1. What is mathematics, according to the unit? Define pattern, structure and relationship.
• Mathematics is the science of what?• Define a mathematical pattern.• What is a mathematical structure?
Mathematics is the science of patterns, structures and relationships. It has many branches that explore and analyse the logical and quantitative aspects of our world.

Pattern: a predictable arrangement of numbers, shapes or symbols that follows a specific rule.
Structure: a collection of items together with particular relationships defined among them; the rule holds consistently inside a specific domain.
Relationship: a connection between two things (two numbers, two sets) by a rule. Relations between sets lead to the ideas of relation and function in Section 3.3.
2. What is a numerical pattern with a constant difference? Give an example and find the next two terms.
• Write the next terms of 1, 4, 7, 10, 13.• What rule does the sequence 1, 4, 7, 10, 13 follow?
In the pattern \(1, 4, 7, 10, 13, \dots\) every term is got by adding \(3\) to the preceding term, so the terms increase at a constant rate. Such a pattern is called a sequence.

Next two terms: \(13+3=16\) and \(16+3=19\).
📝 For \(2, 5, 8, 11, \dots\) the differences are all \(3\), so the next terms are \(14\) and \(17\).
3. What is the Fibonacci sequence? Write its formula and the first ten terms.
• State the recursive rule of the Fibonacci sequence.• Write \(F_n\) in terms of the two previous terms.
The Fibonacci sequence is \(0, 1, 1, 2, 3, 5, 8, 13, 21, \dots\) It starts with two terms, \(0\) and \(1\), and each next term is the sum of the previous two:
F_n = F_{n-1} + F_{n-2}\qquad (F_0=0,\ F_1=1)
First ten terms: \(0, 1, 1, 2, 3, 5, 8, 13, 21, 34\). This recursive pattern occurs frequently in nature (for example in the spiral of a nautilus shell).
4. What is meant by "structure" in a triangle made of smaller triangles?
• Describe the structure of a big triangle divided into small triangles.• Which relationships appear in the triangle figure?
In the book's figure a large triangle is built from rows of smaller triangles: 7 triangles in the first row, 5 in the second, 3 in the third and 1 at the top. The repetition of rows and the spatial relations between the small triangles are the structural features:
• equal-sized small triangles show congruence;
• the base and rows show parallel and perpendicular relationships.
5. Who was Georg Cantor? What did he contribute to mathematics?
• Name the founder of set theory mentioned in the unit.• Write a short note on Georg Cantor.
Georg Cantor (1845–1918) was a German mathematician who contributed significantly to the development of set theory. He showed how to compare two sets by matching their members one-to-one, defined different types of infinite sets, proved that there are more real numbers than natural numbers (so there are different sizes of infinity), and introduced cardinal and ordinal numbers with their arithmetic.

Sets: Basic Definitions

Section 3.1.1 — set, forms of a set, number sets, special sets, subsets and the power set.

6. Define a set. When is a collection of objects a set?
• What is a well-defined collection?• Is "the set of tall boys" a set? Why?
A set is a well-defined collection of distinct objects, numbers or elements, so that we can decide whether a given object belongs to the collection or not. Sets are named with capital letters \(A, B, C, X, Y, Z\); their members (elements) are written with small letters \(a, b, c, x, y, z\).
⛔ Common Mistake: "Good students" or "tall boys" is not a set because it is not well-defined. "The vowels of the English alphabet" is a set.
7. What are the three ways of describing a set? Write the set of vowels in all three forms.
• Define descriptive, tabular and set-builder forms.• What is the roster form of a set?
FormHow it is writtenSet \(A\) of vowels
Descriptivein wordsthe set of all vowels of the English alphabet
Tabular (roster)elements listed within brackets\(A=\{a,e,i,o,u\}\)
Set-builderarbitrary member + common property\(A=\{x \mid x \text{ is a vowel of the English alphabet}\}\)
The set-builder form is read: "\(A\) is the set of all \(x\) such that \(x\) is a vowel". It is more convenient for large or infinite sets.
8. Write the set of even natural numbers less than 12 in descriptive, tabular and set-builder forms.
• Express {2, 4, 6, 8, 10} in set-builder form.
Descriptive: the set of even natural numbers less than 12.
Tabular: \(A=\{2,4,6,8,10\}\)
Set-builder: \(A=\{x \mid x \in \mathbb{N},\ x \text{ is even and } x \lt 12\}\)
9. What do the symbols ∈ and ∉ mean?
• What is the symbol of membership?• Meaning of \(c \notin A\).
\(a \in A\) means a is an element of A (a belongs to A). \(c \notin A\) means c does not belong to A. For example if \(A=\{1,2,3\}\) then \(2 \in A\) and \(5 \notin A\).
10. Name the standard sets of numbers and write them in tabular or set-builder form.
• What do N, W, Z, O, E, P, Q, Q′ and R stand for?• Write the set of whole numbers.
SymbolNameForm
\(\mathbb{N}\)natural numbers\(\{1,2,3,\dots\}\)
\(W\)whole numbers\(\{0,1,2,\dots\}\)
\(\mathbb{Z}\)integers\(\{0,\pm1,\pm2,\dots\}\)
\(O\)odd integers\(\{\pm1,\pm3,\pm5,\dots\}\)
\(E\)even integers\(\{0,\pm2,\pm4,\dots\}\)
\(P\)prime numbers\(\{2,3,5,7,11,13,17,\dots\}\)
\(\mathbb{Q}\)rational numbers\(\{x \mid x=\tfrac{p}{q},\ p,q\in\mathbb{Z},\ q\ne 0\}\)
\(\mathbb{Q}'\)irrational numbers\(\{x \mid x\ne\tfrac{p}{q},\ p,q\in\mathbb{Z},\ q\ne 0\}\)
\(\mathbb{R}\)real numbers\(\mathbb{R}=\mathbb{Q}\cup\mathbb{Q}'\)
💡 Tip: Remember the chain \(\mathbb{N}\subset W\subset \mathbb{Z}\subset \mathbb{Q}\subset \mathbb{R}\).
11. Define a singleton set and the empty set. How do {0}, ∅ and {∅} differ?
• What is a null (void) set?• Is {0} the empty set?
Singleton set: a set with exactly one element, e.g. \(\{3\}\), \(\{a\}\).
Empty (null, void) set: a set with no element, written \(\varnothing\) or \(\{\ \}\).
SetNumber of elements
\(\varnothing\)0 (no element)
\(\{0\}\)1 (the number 0)
\(\{\varnothing\}\)1 (the empty set)
⛔ Common Mistake: Writing \(\{0\}\) or \(\{\varnothing\}\) for the empty set. The set \(\{0\}\) is a singleton set, not the empty set.
12. What are equal sets and equivalent sets? State the difference.
• Define equal sets.• Define equivalent sets and write their symbol.• Differentiate between equal and equivalent sets.
Equal sets: two sets with exactly the same elements; written \(A=B\). So \(\{1,2,3\}=\{2,1,3\}\). Order and repetition do not matter: \(\{1,2,2,3\}=\{1,2,3\}\).
Equivalent sets: two sets with the same number of elements; written \(A\sim B\). E.g. \(\{a,b,c,d,e\}\sim\{1,2,3,4,5\}\).
Equal setsEquivalent sets
same elementssame number of elements
symbol \(=\)symbol \(\sim\)
always equivalentneed not be equal
13. Are A = {1, 2, 3} and B = {a, b, c} equal or equivalent?
• Decide whether two sets are equal or equivalent.
Their elements are different, so \(A\ne B\) (not equal). Both have exactly \(3\) elements, so \(n(A)=n(B)=3\) and \(A\sim B\) (equivalent).
14. Define subset and superset. How are they written?
• What does \(A\subseteq B\) mean?• Define superset.
If every element of a set \(A\) is an element of a set \(B\), then \(A\) is a subset of \(B\), written \(A\subseteq B\). Then \(B\) is a superset of \(A\), written \(B\supseteq A\).
A\subseteq B \iff \forall\, x\in A \Rightarrow x\in B
15. Define proper subset and improper subset with examples.
• Differentiate between ⊂ and ⊆.• Is every set a subset of itself?
Proper subset: \(A\subseteq B\) and \(B\) has at least one element not in \(A\); written \(A\subset B\).
Improper subset: \(A\subseteq B\) and \(A=B\). Every set is an improper subset of itself.

Let \(A=\{a,b,c\},\ B=\{c,a,b\},\ C=\{a,b,c,d\}\): then \(A\subset C\), \(B\subset C\), but \(A=B\) (each is an improper subset of the other).
SymbolMeaning
\(A\subseteq B\)A is a subset of B (A may equal B)
\(A\subset B\)A is a proper subset of B (A ≠ B)
\(A\supseteq B\)A is a superset of B
\(A=B\)each is an improper subset of the other
16. What is the universal set?
• Define universe of discourse.
The set that contains all the objects or elements under consideration is the universal set (universe of discourse), denoted by \(U\). In a Venn diagram it is drawn as a rectangle.
17. Define the power set. How many elements does it have?
• Write the power set of {a, b, c, d}.• State the formula for the number of elements of P(S).
The power set of \(S\), written \(P(S)\), is the set of all possible subsets of \(S\). If \(n(S)=m\) then:
n\{P(S)\}=2^{m}
Examples: \(D=\{a\}\Rightarrow P(D)=\{\varnothing,\{a\}\}\) (\(2^1=2\) elements). For \(C=\{a,b,c,d\}\): \(n(P(C))=2^4=16\).
💡 Tip: Elements of \(P(S)\) are themselves sets: write \(\{a\}\in P(S)\), not \(a\in P(S)\). Both \(\varnothing\) and \(S\) are always in \(P(S)\).
18. Write the power set of S = {1, 2, 3}. How many proper subsets does S have?
• Find P(S) for a three-element set.• Find the number of proper subsets of a set with m elements.
\(n(S)=3\Rightarrow n(P(S))=2^3=8\).
\(P(S)=\{\varnothing,\{1\},\{2\},\{3\},\{1,2\},\{1,3\},\{2,3\},\{1,2,3\}\}\).
Proper subsets exclude the set itself: \(2^m-1\), so \(2^3-1=7\) proper subsets.
19. If the power set of a set has 64 elements, how many elements does the set have?
• Use \(n\{P(S)\}=2^m\) backwards.
\(2^m=64=2^6\Rightarrow m=6\). So the set has 6 elements.

Operations on Sets

Section 3.2 — union, intersection, difference, complement, and Venn diagrams of two and three sets.

20. Define the union of two sets. Write it in set-builder form.
• What is \(A\cup B\)?• Find the union of {1, 2, 3} and {2, 3, 4, 5}.
The union of \(A\) and \(B\) is the set of all elements that belong to \(A\) or \(B\) (or both).
A\cup B=\{x \mid x\in A\ \vee\ x\in B\}
For \(A=\{1,2,3\},\ B=\{2,3,4,5\}\): \(A\cup B=\{1,2,3,4,5\}\) (common elements are written once).
21. Define the intersection of two sets.
• What is \(A\cap B\)?• Find the intersection of {1, 2, 3} and {2, 3, 4, 5}.
The intersection of \(A\) and \(B\) is the set of elements that belong to both \(A\) and \(B\).
A\cap B=\{x \mid x\in A\ \wedge\ x\in B\}
For the same sets: \(A\cap B=\{2,3\}\). (The symbol \(\vee\) means or, \(\wedge\) means and.)
22. What are disjoint sets and overlapping sets?
• Define disjoint sets with an example.• When are two sets called overlapping?
Disjoint sets: \(A\cap B=\varnothing\). E.g. the odd natural numbers and the even natural numbers; or the arts students and science students of a college.
Overlapping sets: \(A\cap B\ne\varnothing\) and neither set is a subset of the other. E.g. \(L=\{2,3,4,5,6\}\) and \(M=\{5,6,7,8,9,10\}\) (\(L\cap M=\{5,6\}\)).
23. Define the difference of two sets. Is A − B = B − A?
• What is \(A-B\)?• Find A − B and B − A for A = {1, 2, 3, 4, 5}, B = {4, 5, 6, 7, 8, 9, 10}.
\(A-B\) is the set of elements in \(A\) but not in \(B\).
A-B=\{x \mid x\in A\ \wedge\ x\notin B\}
For \(A=\{1,2,3,4,5\},\ B=\{4,5,6,7,8,9,10\}\): \(A-B=\{1,2,3\}\) and \(B-A=\{6,7,8,9,10\}\).
⛔ Common Mistake: Thinking \(A-B=B-A\). Subtraction of sets is not commutative.
24. Define the complement of a set. Show that A′ = U − A.
• What is \(A'\)?• Find the complement of the even integers in Z.
The complement of \(A\), written \(A'\) or \(A^c\), is the set of all elements of the universal set \(U\) that do not belong to \(A\).
A'=\{x \mid x\in U\ \wedge\ x\notin A\}=U-A
If \(U=\mathbb{Z}\) then \(E'=O\) and \(O'=E\). If \(U\) is the English alphabet, \(C\) the consonants and \(W\) the vowels, then \(C'=W\) and \(W'=C\).
25. Summarise the five set operations in a table.
• Give the symbol, set-builder form and meaning of union, intersection, difference and complement.
OperationSymbolSet-builder formContains
Union\(A\cup B\)\(\{x\mid x\in A\vee x\in B\}\)in A, or B, or both
Intersection\(A\cap B\)\(\{x\mid x\in A\wedge x\in B\}\)in both A and B
Difference\(A-B\)\(\{x\mid x\in A\wedge x\notin B\}\)in A but not in B
Difference\(B-A\)\(\{x\mid x\in B\wedge x\notin A\}\)in B but not in A
Complement\(A'\)\(\{x\mid x\in U\wedge x\notin A\}\)in U but not in A
26. Let U = {1, 2, …, 10}, A = {1, 2, 3, 4, 5, 6}, B = {4, 5, 6, 7, 8}. Find A ∪ B, A ∩ B, A − B, B − A, A′, B′ and verify n(A ∪ B) = n(A) + n(B) − n(A ∩ B).
• Find all operations on two given sets.
\(A\cup B=\{1,2,3,4,5,6,7,8\}\)
\(A\cap B=\{4,5,6\}\)
\(A-B=\{1,2,3\}\)
\(B-A=\{7,8\}\)
\(A'=U-A=\{7,8,9,10\}\)
\(B'=U-B=\{1,2,3,9,10\}\)

\(n(A\cup B)=8\) and \(n(A)+n(B)-n(A\cap B)=6+5-3=8\) ✓
27. Who invented Venn diagrams? How is a Venn diagram drawn?
• What does the rectangle represent in a Venn diagram?• Write a note on John Venn.
Venn diagrams were first used by the English logician and mathematician John Venn (1834–1883). The rectangle represents the universal set \(U\); each set is a circle inside it; the lined (shaded) part shows the result of the operation.
💡 Tip: Draw the rectangle \(U\) first, then the circles, then shade only the region asked for. Two overlapping circles divide \(U\) into 4 regions.
28. Show all the cases of two-set Venn diagrams (disjoint, overlapping, subset).
• Identify sets using Venn diagrams.• What is A ∪ B when A ⊆ B?
OperationDisjointOverlapping\(A\subseteq B\)\(B\subseteq A\)
\(A\cup B\)\(n(A)+n(B)\)\(n(A)+n(B)-n(A\cap B)\)\(=B\)\(=A\)
\(A\cap B\)\(\varnothing\)\(\ne\varnothing\)\(=A\)\(=B\)
\(A-B\)\(=A\)\(n(A)-n(A\cap B)\)\(=\varnothing\)\(n(A)-n(B)\)
\(B-A\)\(=B\)\(n(B)-n(A\cap B)\)\(n(B)-n(A)\)\(=\varnothing\)
See the figures below the Q&A for the shaded regions.
29. Write the nine expressions of union and intersection of three sets A, B and C. Evaluate them for A = {1, 2, 3}, B = {2, 3, 4, 5}, C = {3, 4, 5, 6, 7, 8}.
• What are the operations on three sets?• Which bracket is solved first?
(i) \(A\cup(B\cup C)\) (ii) \((A\cup B)\cup C\) (iii) \(A\cap(B\cup C)\) (iv) \((A\cap B)\cap C\) (v) \(A\cup(B\cap C)\) (vi) \((A\cap C)\cup(B\cap C)\) (vii) \((A\cup B)\cap C\) (viii) \((A\cap B)\cup C\) (ix) \((A\cup C)\cap(B\cup C)\)

No.Result
(i), (ii)\(\{1,2,3,4,5,6,7,8\}\)
(iii)\(\{2,3\}\)
(iv)\(\{3\}\)
(v)\(\{1,2,3,4,5\}\)
(vi), (vii)\(\{3,4,5\}\)
(viii), (ix)\(\{2,3,4,5,6,7,8\}\)
💡 Tip: Always solve the bracket first.

Properties (Laws) of Union & Intersection

Section 3.2.2.1 — commutative, associative, distributive and De Morgan's laws, verified with sets and Venn diagrams.

30. State the commutative, associative, distributive and De Morgan's laws of sets.
• Write the properties of union and intersection.• What is the distributive law of union over intersection?
No.PropertyName
(i)\(A\cup B=B\cup A\)Commutative property of union
(ii)\(A\cap B=B\cap A\)Commutative property of intersection
(iii)\(A\cup(B\cup C)=(A\cup B)\cup C\)Associative property of union
(iv)\(A\cap(B\cap C)=(A\cap B)\cap C\)Associative property of intersection
(v)\(A\cup(B\cap C)=(A\cup B)\cap(A\cup C)\)Distributivity of union over intersection
(vi)\(A\cap(B\cup C)=(A\cap B)\cup(A\cap C)\)Distributivity of intersection over union
(vii)\((A\cup B)'=A'\cap B'\)De Morgan's law
(viii)\((A\cap B)'=A'\cup B'\)De Morgan's law
💡 Tip: De Morgan in words: "break the bar, change the sign" — \(\cup\) becomes \(\cap\) and \(\cap\) becomes \(\cup\).
⛔ Common Mistake: Writing \((A\cup B)'=A'\cup B'\). This is wrong; the correct result is \((A\cup B)'=A'\cap B'\).
31. Verify the commutative properties A ∪ B = B ∪ A and A ∩ B = B ∩ A for A = {1, 2, 3} and B = {2, 3, 4, 5}.
• Verify the commutative property of union.• Verify the commutative property of intersection.
\(A\cup B=\{1,2,3\}\cup\{2,3,4,5\}=\{1,2,3,4,5\}\)
\(B\cup A=\{2,3,4,5\}\cup\{1,2,3\}=\{1,2,3,4,5\}\)
So \(A\cup B=B\cup A\).

\(A\cap B=\{2,3\}\) and \(B\cap A=\{2,3\}\), so \(A\cap B=B\cap A\).
32. Verify the associative property of union for A = {1, 2, 3}, B = {2, 3, 4, 5}, C = {3, 4, 5, 6, 7, 8}.
• Verify A ∪ (B ∪ C) = (A ∪ B) ∪ C.
\(B\cup C=\{2,3,4,5,6,7,8\}\)
\(A\cup(B\cup C)=\{1,2,3,4,5,6,7,8\}\) … (a)
\(A\cup B=\{1,2,3,4,5\}\)
\((A\cup B)\cup C=\{1,2,3,4,5,6,7,8\}\) … (b)
From (a) and (b): \(A\cup(B\cup C)=(A\cup B)\cup C\).
33. Verify the associative property of intersection for the same sets A, B and C.
• Verify A ∩ (B ∩ C) = (A ∩ B) ∩ C.
\(B\cap C=\{3,4,5\}\)
\(A\cap(B\cap C)=\{1,2,3\}\cap\{3,4,5\}=\{3\}\) … (a)
\(A\cap B=\{2,3\}\)
\((A\cap B)\cap C=\{2,3\}\cap\{3,4,5,6,7,8\}=\{3\}\) … (b)
From (a) and (b): \(A\cap(B\cap C)=(A\cap B)\cap C\).
34. Verify A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) for A = {1, 2, 3}, B = {2, 3, 4, 5}, C = {3, 4, 5, 6, 7, 8}.
• Verify the distributive law of union over intersection.
\(B\cap C=\{3,4,5\}\)
\(A\cup(B\cap C)=\{1,2,3\}\cup\{3,4,5\}=\{1,2,3,4,5\}\) … (a)
\(A\cup B=\{1,2,3,4,5\}\), \(A\cup C=\{1,2,3,4,5,6,7,8\}\)
\((A\cup B)\cap(A\cup C)=\{1,2,3,4,5\}\) … (b)
From (a) and (b) the two sides are equal.
35. Verify A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) for the same sets.
• Verify the distributive law of intersection over union.
\(B\cup C=\{2,3,4,5,6,7,8\}\)
\(A\cap(B\cup C)=\{1,2,3\}\cap\{2,3,4,5,6,7,8\}=\{2,3\}\) … (a)
\(A\cap B=\{2,3\}\), \(A\cap C=\{3\}\)
\((A\cap B)\cup(A\cap C)=\{2,3\}\cup\{3\}=\{2,3\}\) … (b)
From (a) and (b) the two sides are equal.
36. Verify De Morgan's laws (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′ with U = {1, 2, …, 10}, A = {1, 2, 3}, B = {2, 3, 4, 5}.
• Verify De Morgan's law for union.• Verify De Morgan's law for intersection.
\(A'=\{4,5,6,7,8,9,10\}\), \(B'=\{1,6,7,8,9,10\}\)

(i) \(A\cup B=\{1,2,3,4,5\}\Rightarrow(A\cup B)'=\{6,7,8,9,10\}\) … (c)
\(A'\cap B'=\{6,7,8,9,10\}\) … (d)
(c) = (d), so \((A\cup B)'=A'\cap B'\).

(ii) \(A\cap B=\{2,3\}\Rightarrow(A\cap B)'=\{1,4,5,6,7,8,9,10\}\) … (c)
\(A'\cup B'=\{1,4,5,6,7,8,9,10\}\) … (d)
(c) = (d), so \((A\cap B)'=A'\cup B'\).
37. How are the laws of sets verified with Venn diagrams?
• Verify A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) using Venn diagrams.• Why is only overlapping sets used in these diagrams?
Draw two diagrams of three overlapping circles in \(U\), shade the left side in one and the right side in the other (use horizontal lines for one set and vertical lines for the other). If the two shaded regions are identical, the law is verified.

e.g. for \(A\cup(B\cap C)=(A\cup B)\cap(A\cup C)\): the left diagram shades all of \(A\) and the lens \(B\cap C\); the right diagram's doubly-lined part is exactly the same region.
📝 The book verifies with overlapping sets only; disjoint and subset cases can be verified similarly.
38. Name the eight regions of a three-set Venn diagram and give their counts.
• How many regions do three overlapping circles make?• Write "only A" in terms of cardinalities.
Three overlapping circles divide \(U\) into 8 regions:
RegionIn wordsCount
1only A\(n(A)-n(A\cap B)-n(A\cap C)+n(A\cap B\cap C)\)
2only B\(n(B)-n(A\cap B)-n(B\cap C)+n(A\cap B\cap C)\)
3only C\(n(C)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)\)
4A and B only\(n(A\cap B)-n(A\cap B\cap C)\)
5A and C only\(n(A\cap C)-n(A\cap B\cap C)\)
6B and C only\(n(B\cap C)-n(A\cap B\cap C)\)
7all three\(n(A\cap B\cap C)\)
8outside all three\(n(U)-n(A\cup B\cup C)\)

Venn Diagrams and Real-World Problems

Examples 1–6 and Section 3.2.3 — classification, cataloguing and the principle of inclusion and exclusion.

39. Example 1 — From the Venn diagram (only A: 1, 2, 3, 4; A ∩ B: 5, 6, 8; only B: 7, 9, 10, 12; outside: 11, 13, 14, 15) find (a) the number of common elements, (b) the elements only in B, (c) A ∪ B.
• Read information from a two-set Venn diagram.
\(A=\{1,2,3,4,5,6,8\}\) and \(B=\{5,6,7,8,9,10,12\}\).
(a) \(A\cap B=\{5,6,8\}\) so \(n(A\cap B)=3\).
(b) \(B-A=\{7,9,10,12\}\).
(c) \(A\cup B=\{1,2,3,4,5,6,7,8,9,10,12\}\).
40. Example 2 — Students in an IT institution: only A (Applied Robotics) 370, A ∩ G only 205, only G (Game Development) 425, A ∩ W only 240, all three 125, G ∩ W only 270, only W (Web Designing) 336. Answer (a)–(f).
• How many students are in Applied Robotics?• How many are enrolled in the IT institution?• Read a three-set Venn diagram.
(a) Robotics: \(370+205+125+240=940\)
(b) Game Development: \(205+125+270+425=1025\)
(c) Game Development and Web Designing: \(125+270=395\)
(d) Web Designing but not Robotics: \(336+270=606\)
(e) All students: \(370+205+125+240+425+270+336=1971\)
(f) All three courses: 125
⛔ Common Mistake: In (d) students take only \(336\). But "W but not A" includes both regions of W outside A: \(336\) and \(270\).
41. Using Example 2, find the students enrolled in exactly one course, exactly two courses, and in Robotics or Web Designing.
• Difference between "exactly one" and "at least one" in a Venn diagram.
Exactly one: \(370+425+336=1131\).
Exactly two: \(205+240+270=715\).
\(A\cup W\) (every region except "only G"): \(1971-425=1546\).
Check: \(1131+715+125=1971\) ✓
42. What is cardinality of a set? Write its symbol.
• Define n(A).• Find n(A) if A = {1, 3, 5, 7, 9, 11}.
The cardinality of a set is the total number of elements in it (its size), written \(n(A)\). If \(A=\{1,3,5,7,9,11\}\) then \(n(A)=6\).
43. State the principle of inclusion and exclusion for two sets.
• Write the formula for n(A ∪ B).• How is n(A ∩ B) obtained from n(A ∪ B)?
n(A\cup B)=n(A)+n(B)-n(A\cap B)
Useful rearrangements:
\(n(A\cap B)=n(A)+n(B)-n(A\cup B)\)
\(n(A-B)=n(A)-n(A\cap B)\)
\(n\{(A\cup B)'\}=n(U)-n(A\cup B)\)
If \(A\) and \(B\) are disjoint: \(n(A\cup B)=n(A)+n(B)\).
44. State the principle of inclusion and exclusion for three sets. Why is the triple intersection added back?
• Write the formula for n(A ∪ B ∪ C).
n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)
💡 Tip: Adding \(n(A)+n(B)+n(C)\) counts elements in two circles twice and in all three circles three times. Subtracting the three pair-intersections removes the triple region three times, so \(n(A\cap B\cap C)\) is added back once.
45. What are the steps to solve a Venn-diagram word problem?
• How do I fill a three-set Venn diagram?
Step 1: name the sets and the universal set.
Step 2: write the given numbers in symbols, e.g. \(n(U)=130,\ n(G)=57\).
Step 3: choose the two-set or three-set formula.
Step 4: fill the diagram from the centre outwards (triple region, then pair-only regions, then single-only regions, last the outside).
Step 5: re-add all regions to check the total equals \(n(U)\).
46. Example 3 — 98 students are in a sports club; 58 join swimming and 50 join tug-of-war. How many joined both?
• Find n(A ∩ B) when n(A ∪ B), n(A) and n(B) are given.
\(n(A\cup B)=98,\ n(A)=58,\ n(B)=50\)
\(n(A\cap B)=n(A)+n(B)-n(A\cup B)=58+50-98=10\).
So 10 students joined both (only swimming 48, only tug-of-war 40).
47. Example 4 — Mr. Saleem has 150 books: 70 Islamic, 90 Science, and 15 books are in neither category. How many are in both categories?
• Form an equation with x in a Venn diagram.
Let \(x\) = books in both. Only Islamic \(=70-x\), only Science \(=90-x\). Total:
\((70-x)+x+(90-x)+15=150\)
\(175-x=150\Rightarrow x=25\).
So 25 books are in both (only Islamic 45, only Science 65; \(45+25+65+15=150\) ✓).
48. Example 5 — 28 teachers teach Maths or Physics or Chemistry: 18 Maths, 12 Physics, 8 Chemistry, 6 Maths & Physics, 4 Physics & Chemistry, 2 Maths & Chemistry. How many teach all three?
• Find n(M ∩ P ∩ C) from the three-set formula.
\(n(M\cup P\cup C)=n(M)+n(P)+n(C)-n(M\cap P)-n(P\cap C)-n(M\cap C)+n(M\cap P\cap C)\)
\(28=18+12+8-6-4-2+n(M\cap P\cap C)\)
\(28=26+n(M\cap P\cap C)\)
So 2 teachers teach all three subjects.
49. Example 6 — Of 130 customers: 57 garments, 50 cosmetics, 46 electronics, 31 G&C, 25 G&E, 21 C&E, 12 all three. Find (a) at least one product, (b) only one product, (c) none.
• Solve a three-set shopping-mall problem.• Justify every region of the Venn diagram.
(a) \(n(G\cup C\cup E)=57+50+46-31-25-21+12=88\).
(b) Only G \(=57-31-25+12=13\); only C \(=50-31-21+12=10\); only E \(=46-25-21+12=12\). Total \(13+10+12=35\).
(c) None: \(130-88=42\).
RegionWorkingValue
all threegiven12
G∩C only31 − 1219
G∩E only25 − 1213
C∩E only21 − 129
only G / C / Eas above13, 10, 12
outside130 − 8842
check12+19+13+9+13+10+12+42130 ✓
50. In a class of 40 students, 25 like tea, 20 like coffee and 5 like neither. How many like both, only tea and only coffee?
• Two-set classification problem with "neither".
\(n(T\cup C)=40-5=35\). Both: \(25+20-35=10\). Only tea: \(25-10=15\). Only coffee: \(20-10=10\). Check: \(15+10+10+5=40\) ✓

Binary Relations

Sections 3.3 and 3.3.1 — Cartesian product, relation, domain, range and the three ways of showing a relation.

51. What is a relation in mathematics? Give examples.
• Define a relation as a set of ordered pairs.
In everyday use a relation is a connection between two persons or objects, such as (teacher, pupil), (mother, son). In mathematics, operations such as greater than \((5,4)\), square \((5,25)\), square root \((4,2)\) and equal are relations.
\text{A relation is any set of ordered pairs.}
52. Define the Cartesian product of two sets. If n(A) = m and n(B) = n, what is n(A × B)?
• What is \(A\times B\)?• Is A × B = B × A?
For non-empty sets \(A\) and \(B\):
A\times B=\{(x,y)\mid x\in A\ \text{and}\ y\in B\}
If \(n(A)=m\) and \(n(B)=n\) then \(n(A\times B)=m\times n\). In general \(A\times B\ne B\times A\) because order matters: \((1,2)\ne(2,1)\).
Example: \(A=\{1,2,3\},\ B=\{2,4\}\Rightarrow A\times B=\{(1,2),(1,4),(2,2),(2,4),(3,2),(3,4)\}\), \(n(A\times B)=6\).
53. Define binary relation, domain, range and relation in A.
• What is Dom r?• What is Ran r?• What is a relation in a set A?
Binary relation from \(A\) to \(B\): any subset \(r\) of \(A\times B\).
Domain (\(\mathrm{Dom}\,r\)): the set of all first elements of the ordered pairs.
Range (\(\mathrm{Ran}\,r\)): the set of all second elements.
Relation in A: any subset of \(A\times A\).
⛔ Common Mistake: Writing the domain as the set of second elements. Domain = Departure = first elements.
54. Example 7 — Children c₁, c₂, c₃ and men m₁, m₂; the father of c₁ and c₂ is m₁, of c₃ is m₂. Find the relation {(child, father)}.
• Write a relation from a story.
\(C=\{c_1,c_2,c_3\},\ F=\{m_1,m_2\}\)
\(C\times F=\{(c_1,m_1),(c_1,m_2),(c_2,m_1),(c_2,m_2),(c_3,m_1),(c_3,m_2)\}\)
\(r=\{(c_1,m_1),(c_2,m_1),(c_3,m_2)\}\).
55. Example 8 — Let A = {1, 2, 3}. Find the relation r with x r y iff x < y, and its domain and range.
• Find a relation in A for the rule x < y.
\(A\times A\) has 9 pairs. Those with \(x \lt y\): \(r=\{(1,2),(1,3),(2,3)\}\).
\(\mathrm{Dom}\,r=\{1,2\}\), \(\mathrm{Ran}\,r=\{2,3\}\).
56. Find the relation r = {(x, y) | y = 2x} for A = {1, 2, 3, 4}, with domain and range.
• Write a relation from a rule.
\(r=\{(1,2),(2,4),(3,6),(4,8)\}\)
\(\mathrm{Dom}\,r=\{1,2,3,4\}\), \(\mathrm{Ran}\,r=\{2,4,6,8\}\).
57. In how many ways can a relation be represented? Explain with the water-tank example.
• Show a relation as ordered pairs, table and graph.• Define abscissa and ordinate.
A relation can be shown as ordered pairs, a table or a graph. A tank has 1 litre and 1 litre is added every minute: \(r=\{(x,y)\mid y=x+1\}\).
Ordered pairs: \(\{(0,1),(1,2),(2,3),(3,4),(4,5),(5,6)\}\)
\(x\) (minutes)\(y=x+1\) (litres)
01
12
23
34
45
56
Graph: plot each \((x,y)\) as a point; the points lie on a straight line cutting the y-axis at 1 and rising 1 unit for every 1 unit to the right.
The \(x\)-coordinate is the abscissa and the \(y\)-coordinate is the ordinate.
💡 Tip: To plot \((x,y)\): move \(x\) units along the x-axis (right if positive, left if negative), then \(y\) units up or down.

Functions and their Types

Sections 3.3.2–3.3.4 — function, domain, co-domain, range, into / one-one / onto / bijective, notation, linear and quadratic functions.

58. Define a function. What are its three conditions?
• When is a relation a function?• How is "f is a function from A to B" written?
Let \(A\) and \(B\) be non-empty sets. \(f\) is a function from A to B if:
(i) \(f\) is a relation from \(A\) to \(B\) (\(f\subseteq A\times B\)),
(ii) \(\mathrm{Dom}\,f=A\),
(iii) the first elements of no two pairs of \(f\) are equal.
f:A\to B,\qquad y=f(x)
\(y\) is the value of \(f\) at \(x\) (the image of \(x\) under \(f\)).
59. Differentiate between a relation and a function.
• Is every relation a function?• Give an example of a relation that is not a function.
RelationFunction
any subset of \(A\times B\)a special relation with \(\mathrm{Dom}\,f=A\)
a first element may have more than one second elementevery first element has exactly one second element
\(\{(1,a),(1,b),(2,c)\}\)\(\{(1,a),(2,b),(3,a)\}\)
not every relation is a functionevery function is a relation
⛔ Common Mistake: Thinking every relation is a function. If one first element is paired with two second elements (1 → a and 1 → b) the relation is not a function.
60. Define domain, co-domain and range of a function.
• Is the range always equal to the co-domain?• What is the co-domain of f : A → B?
Domain = all inputs (the whole set \(A\)). Co-domain = the whole set \(B\) (where outputs are allowed to lie). Range = the outputs that actually occur, so \(\mathrm{Range}\,f\subseteq B\).
61. Example 9 — If A = {0, 1, 2, 3, 4}, B = {3, 5, 7, 9, 11} and f = {(x, y) | y = 2x + 3}, find f, its domain, co-domain and range.
• Find the value of a function from a rule.
\(x=0,1,2,3,4\Rightarrow y=3,5,7,9,11\)
\(f=\{(0,3),(1,5),(2,7),(3,9),(4,11)\}\)
\(\mathrm{Dom}\,f=\{0,1,2,3,4\}=A\), co-domain \(=B\), \(\mathrm{Range}\,f=\{3,5,7,9,11\}\subseteq B\).
62. Which of the following relations are functions? (i) {(1,a),(2,b),(3,a)} (ii) {(1,a),(1,b),(2,c)} (iii) {(1,x),(2,y),(3,z)}
• Test whether a set of ordered pairs is a function.
(i) first elements 1, 2, 3 are different ⇒ a function (\(a\) is the image of 1 and 3, so it is not one-one).
(ii) the first element 1 is paired with \(a\) and \(b\) ⇒ not a function.
(iii) first elements are different ⇒ a function (and it is one-one).
63. Define an into function with an example.
• When is Range f ≠ B?
A function \(f:A\to B\) with \(\mathrm{Range}\,f\subset B\) (i.e. \(\mathrm{Range}\,f\ne B\)) is a function from \(A\) into \(B\).
Example: \(A=\{1,3,5\},\ B=\{2,4,6\},\ f=\{(1,2),(3,4),(5,4)\}\). Here \(6\) is not an image, so \(f\) is into.
64. Define a one-one (injective) function with an example.
• What is an injective function?
A function in which the second elements of no two ordered pairs are the same (different inputs give different outputs) is one-one or injective. Example: \(f=\{(1,a),(2,b)\}\) from \(A=\{1,2\}\) to \(B=\{a,b,c\}\).
65. Define an onto (surjective) function with an example.
• When is Range f = B?
A function \(f:A\to B\) with \(\mathrm{Range}\,f=B\) (every element of \(B\) is the image of some element of \(A\)) is onto or surjective. Example: \(f=\{(c_1,m_1),(c_2,m_1),(c_3,m_2)\}\) from \(\{c_1,c_2,c_3\}\) to \(\{m_1,m_2\}\).
66. Define a bijective function (one-one correspondence) with an example.
• What is a (1–1) correspondence between two sets?
A function that is both one-one and onto is bijective, also called a (1–1) correspondence. Example: \(f=\{(a,z),(b,x),(c,y)\}\) from \(\{a,b,c\}\) to \(\{x,y,z\}\).
67. Give a table of the types of functions and a quick test to identify them.
• How do I identify the type of a function from a mapping diagram?
TypeCondition
Into\(\mathrm{Range}\,f\ne B\) (some element of B has no arrow)
One-oneno element of B receives two arrows
Onto\(\mathrm{Range}\,f=B\) (every element of B receives an arrow)
Bijectiveone-one and onto
Quick test: (1) Is every element of \(A\) used exactly once as a first element? Then it is a function. (2) Does any element of \(B\) receive two arrows? Then not one-one. (3) Does any element of \(B\) receive no arrow? Then not onto (it is "into").
⛔ Common Mistake: Saying "into" means "not a function" or confusing it with one-one. "Into" only says that the range is smaller than the co-domain; a function can be one-one and into.
68. State the type of: (i) f = {(1,a),(2,b),(3,c)} from {1,2,3} to {a,b,c,d}; (ii) g(x) = x² from {−1,0,1} to {0,1}; (iii) h = {(1,5),(2,6),(3,4)} from {1,2,3} to {4,5,6}.
• Identify one-one, onto and bijective functions.
(i) second elements \(a,b,c\) are different ⇒ one-one; range \(\{a,b,c\}\ne B\) ⇒ into. One-one and into.
(ii) \(g=\{(-1,1),(0,0),(1,1)\}\); range \(\{0,1\}=B\) ⇒ onto, but \(-1\) and \(1\) both go to \(1\) ⇒ not one-one. Onto but not one-one.
(iii) second elements \(5,6,4\) are different and range \(=B\). Bijective.
69. How is a function written in set-builder notation? Is y = x² (x ∈ Z) one-one?
• Write the function {(−1, 1), (0, 0), (1, 1), (2, 4), …} in set-builder form.
\(f=\{(-1,1),(0,0),(1,1),(2,4),(3,9),(4,16),\dots\}\) is written
f=\{(x,y)\mid y=x^2,\ x\in\mathbb{Z}\}
Its range is \(\{0,1,4,9,16,\dots\}\). Because \(-1\) and \(1\) both give \(1\), the function is not one-one.
70. What are a linear function and a quadratic function?
• Write the general form of a linear function.• Write the general form of a quadratic function.
FunctionFormGraph
Linear\(y=f(x)=mx+c\)a straight line
Quadratic\(y=f(x)=ax^2+bx+c,\ a\ne0\)studied in Unit 10
💡 Tip: To find \(f(k)\), replace \(x\) everywhere by \(k\). For \(f(x)=2x-1\), \(f(-3)=2(-3)-1=-7\) (use brackets for negatives).
71. Example 10 — If f(x) = 2x − 1 and g(x) = x² − 3, find f(1), f(−3), f(7), g(1), g(−3), g(4).
• Find the value of a function at given points.
\(f(1)=2(1)-1=1\)
\(f(-3)=2(-3)-1=-7\)
\(f(7)=2(7)-1=13\)
\(g(1)=1^2-3=-2\)
\(g(-3)=(-3)^2-3=6\)
\(g(4)=4^2-3=13\).
72. Example 11 — If f(x) = ax + b + 3, f(1) = 4 and f(5) = 9, find a and b.
• Find the constants of a function from two values.
\(f(1)=4\Rightarrow a+b+3=4\Rightarrow a+b=1\) … (i)
\(f(5)=9\Rightarrow 5a+b+3=9\Rightarrow 5a+b=6\) … (ii)
Subtract (i) from (ii): \(4a=5\Rightarrow a=\tfrac54\).
From (i): \(b=1-\tfrac54=-\tfrac14\).
Check: \(f(1)=\tfrac54-\tfrac14+3=4\) ✓ and \(f(5)=\tfrac{25}{4}-\tfrac14+3=9\) ✓
73. If f(x) = px² + q, f(1) = 5 and f(2) = 11, find p and q.
• Find the constants of a quadratic function.
\(p+q=5\) … (1)
\(4p+q=11\) … (2)
Subtract (1) from (2): \(3p=6\Rightarrow p=2\). From (1): \(q=3\). So \(f(x)=2x^2+3\).

Key Terms

Quick reference for the important words in this chapter.

TermMeaning
SetA well-defined collection of distinct objects, numbers or elements.
Element (member)An object that belongs to a set; \(a\in A\).
Tabular (roster) formListing the elements of a set within brackets.
Set-builder formDescribing a set by the property common to all its members.
Singleton setA set with exactly one element.
Empty setA set with no element, written \(\varnothing\).
Equal setsSets having exactly the same elements.
Equivalent setsSets having the same number of elements.
SubsetA set whose every element is in another set; \(A\subseteq B\).
Proper subsetA subset \(A\subset B\) with \(A\ne B\).
Universal setThe set of all elements under consideration, written \(U\).
Power setThe set of all subsets of \(S\); \(n\{P(S)\}=2^m\).
UnionAll elements in \(A\) or \(B\) (or both).
IntersectionAll elements in both \(A\) and \(B\).
Disjoint setsSets with empty intersection.
Overlapping setsSets with non-empty intersection, neither a subset of the other.
Difference\(A-B\): elements of \(A\) not in \(B\).
Complement\(A'=U-A\): elements of \(U\) not in \(A\).
Venn diagramA diagram using circles in a rectangle to show sets and their relationships.
CardinalityThe number of elements of a set, \(n(A)\).
De Morgan's laws\((A\cup B)'=A'\cap B'\) and \((A\cap B)'=A'\cup B'\).
Ordered pair\((x,y)\): first element \(x\) (abscissa), second element \(y\) (ordinate).
Cartesian product\(A\times B\): all ordered pairs with first element from \(A\) and second from \(B\).
RelationAny subset of \(A\times B\) (a set of ordered pairs).
Domain / RangeSet of first elements / set of second elements of a relation.
FunctionA relation with domain \(A\) in which no two pairs have the same first element.
Co-domainThe whole set \(B\) in \(f:A\to B\).
Into function\(\mathrm{Range}\,f\ne B\).
One-one (injective)Different inputs give different outputs.
Onto (surjective)\(\mathrm{Range}\,f=B\).
BijectiveBoth one-one and onto; a (1–1) correspondence.
Linear / quadratic function\(y=mx+c\) / \(y=ax^2+bx+c\).

Laws of Sets at a Glance

Quick reference — learn these word for word.

LawStatement
Commutative\(A\cup B=B\cup A\); \(A\cap B=B\cap A\)
Associative\(A\cup(B\cup C)=(A\cup B)\cup C\); \(A\cap(B\cap C)=(A\cap B)\cap C\)
Distributive\(A\cup(B\cap C)=(A\cup B)\cap(A\cup C)\); \(A\cap(B\cup C)=(A\cap B)\cup(A\cap C)\)
De Morgan\((A\cup B)'=A'\cap B'\); \((A\cap B)'=A'\cup B'\)
Function typeConditionExample
Into\(\mathrm{Range}\,f\ne B\)\(\{(1,2),(3,4),(5,4)\}\)
One-one (injective)no two pairs have the same second element\(\{(1,a),(2,b)\}\)
Onto (surjective)\(\mathrm{Range}\,f=B\)\(\{(c_1,m_1),(c_2,m_1),(c_3,m_2)\}\)
Bijectiveone-one and onto\(\{(a,z),(b,x),(c,y)\}\)

Test what you learnt: play the chapter game.

Free Exercise Samples

From every exercise of this chapter we have solved a few questions step by step — an easy one and a challenging one — so you can see the textbook method. The solutions of all the other questions are inside the W.H. Academy student dashboard.

Exercise 3.1 free sample: 2 of 7 questions

Ex 3.1 · Q2 — Write each of the following sets in tabular form:Easy
Question:

Write each of the following sets in tabular form:

Solution:

  • (i) {x | x is a multiple of 3 ∧ x ≤ 36}
    • = {3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36}
  • (ii) {x | x ∈ R ∧ 2x + 1 = 0}
    • 2x + 1 = 0
    • 2x = −1
    • x = −1/2
    • = {−1/2}
  • (iii) {x | x ∈ P ∧ x < 12}
    • = {2, 3, 5, 7, 11}
  • (iv) {x | x is a divisor of 128}
    • 128 = 27
    • = {1, 2, 4, 8, 16, 32, 64, 128}
  • (v) {x | x = 2n, n ∈ N ∧ n < 8}
    • n = 1, 2, 3, 4, 5, 6, 7
    • = {2, 4, 8, 16, 32, 64, 128}
  • (vi) {x | x ∈ N ∧ x + 4 = 0}
    • x + 4 = 0 gives x = −4, which is not a natural number.
    • = φ (the empty set)
  • (vii) {x | x ∈ N ∧ x = x}
    • x = x is true for every x, so the set is all of N.
    • = {1, 2, 3, 4, …} = N
  • (viii) {x | x ∈ Z ∧ 3x + 1 = 0}
    • 3x + 1 = 0 gives x = −1/3, which is not an integer.
    • = φ (the empty set)
Ex 3.1 · Q7 — Write down the power set of each of the following sets:Challenging
Question:

Write down the power set of each of the following sets:

Solution:

  • (i) {9, 11}: n = 2, so 22 = 4 subsets
    • P = {φ, {9}, {11}, {9, 11}}
  • (ii) {+, −, ×, ÷}: n = 4, so 24 = 16 subsets
    • P = {φ, {+}, {−}, {×}, {÷}, {+, −}, {+, ×}, {+, ÷}, {−, ×}, {−, ÷}, {×, ÷}, {+, −, ×}, {+, −, ÷}, {+, ×, ÷}, {−, ×, ÷}, {+, −, ×, ÷}}
  • (iii) {φ}: n = 1 (the one element is φ), so 21 = 2 subsets
    • P = {φ, {φ}}
  • (iv) {a, {b, c}}: n = 2 (elements a and {b, c}), so 22 = 4 subsets
    • P = {φ, {a}, {{b, c}}, {a, {b, c}}}

5 more questions of Exercise 3.1 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Exercise 3.2 free sample: 3 of 13 questions

Ex 3.2 · Q2 — Let U = {x | x is an integer and 0 < x ≤ 150}, G = {x | x = 2^m for integer m} and H = {x | x is a…Easy
Question:

Let U = {x | x is an integer and 0 < x ≤ 150}, G = {x | x = 2m for integer m} and H = {x | x is a square}.
(i) List all elements of sets G and H in tabular form. (ii) Find G ∪ H. (iii) Find G ∩ H.

Solution:

  • (i) U = {1, 2, 3, …, 150}. Elements of U that are powers of 2 (2m with m = 0, 1, 2, …; negative m gives fractions which are not in U):
    • G = {1, 2, 4, 8, 16, 32, 64, 128} (20, 21, …, 27)
    • Squares in U (1², 2², …, 12²; 13² = 169 > 150):
    • H = {1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144}
  • (ii) G ∪ H = {1, 2, 4, 8, 9, 16, 25, 32, 36, 49, 64, 81, 100, 121, 128, 144}
  • (iii) G ∩ H = {1, 4, 16, 64}
  • Check: n(G ∪ H) = 8 + 12 − 4 = 16 ✓
Ex 3.2 · Q5 — Let U = {a, b, c, d, e, f, g, h, i, j}, A = {a, b, c, d, g, h}, B = {c, d, e, f, j}. Verify De Morgan's…Medium
Question:

Let U = {a, b, c, d, e, f, g, h, i, j}, A = {a, b, c, d, g, h}, B = {c, d, e, f, j}. Verify De Morgan's Laws for these sets. Draw Venn diagram.

Solution: (to verify: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′)

  • A ∪ B = {a, b, c, d, e, f, g, h, j}
  • (A ∪ B)′ = U − (A ∪ B) = {i} … (1)
  • A′ = U − A = {e, f, i, j}
  • B′ = U − B = {a, b, g, h, i}
  • A′ ∩ B′ = {i} … (2)
  • From (1) and (2): (A ∪ B)′ = A′ ∩ B′ (first law verified)
  • A ∩ B = {c, d}
  • (A ∩ B)′ = U − (A ∩ B) = {a, b, e, f, g, h, i, j} … (3)
  • A′ ∪ B′ = {e, f, i, j} ∪ {a, b, g, h, i} = {a, b, e, f, g, h, i, j} … (4)
  • From (3) and (4): (A ∩ B)′ = A′ ∪ B′ (second law verified)
  • Venn diagram (overlapping circles in U):
    • Only A: a, b, g, h
    • A ∩ B: c, d
    • Only B: e, f, j
    • Outside both: i
Ex 3.2 · Q12 — In a secondary school with 125 students participate in at least one of the following sports: cricket…Challenging
Question:

In a secondary school with 125 students participate in at least one of the following sports: cricket, football, or hockey.
- 60 students play cricket.
- 70 students play football.
- 40 students play hockey.
- 25 students play both cricket and football.
- 15 students play both football and hockey.
- 10 students play both cricket and hockey.

(a) How many students play all three sports? (b) Draw a Venn diagram showing the distribution of sports participation in all the games.

Solution:

  • Let C = cricket, F = football, H = hockey
  • n(C ∪ F ∪ H) = 125 (every student plays at least one sport)
  • (a) n(C ∪ F ∪ H) = n(C) + n(F) + n(H) − n(C ∩ F) − n(F ∩ H) − n(C ∩ H) + n(C ∩ F ∩ H)
    • 125 = 60 + 70 + 40 − 25 − 15 − 10 + x
    • 125 = 170 − 50 + x
    • 125 = 120 + x
    • ∴ x = 5, so 5 students play all three sports.
  • (b) Region values for the Venn diagram:
    • Only cricket = 60 − 25 − 10 + 5 = 30
    • Only football = 70 − 25 − 15 + 5 = 35
    • Only hockey = 40 − 15 − 10 + 5 = 20
    • Cricket and football only = 25 − 5 = 20
    • Football and hockey only = 15 − 5 = 10
    • Cricket and hockey only = 10 − 5 = 5
    • All three = 5
    • Outside all circles = 0 (everyone plays at least one sport)
    • Check: 30 + 35 + 20 + 20 + 10 + 5 + 5 = 125 ✓
    • Draw three overlapping circles C, F, H inside U and write these seven numbers in the regions (0 outside).
10 more questions of Exercise 3.2 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Exercise 3.3 free sample: 2 of 7 questions

Ex 3.3 · Q1 — For A = {1, 2, 3, 4}, find the following relations in A. State the domain and range of each relation.…Easy
Question:

For A = {1, 2, 3, 4}, find the following relations in A. State the domain and range of each relation. (i) {(x, y) | y = x} (ii) {(x, y) | y + x = 5} (iii) {(x, y) | x + y < 5} (iv) {(x, y) | x + y > 5}

Solution: (A × A has 16 ordered pairs; pick those satisfying the condition)

  • (i) y = x
    • r = {(1, 1), (2, 2), (3, 3), (4, 4)}
    • Dom r = {1, 2, 3, 4}
    • Range r = {1, 2, 3, 4}
  • (ii) y + x = 5
    • x = 1 ⇒ y = 4; x = 2 ⇒ y = 3; x = 3 ⇒ y = 2; x = 4 ⇒ y = 1
    • r = {(1, 4), (2, 3), (3, 2), (4, 1)}
    • Dom r = {1, 2, 3, 4}
    • Range r = {1, 2, 3, 4}
  • (iii) x + y < 5
    • x = 1 ⇒ y < 4 ⇒ y = 1, 2, 3
    • x = 2 ⇒ y < 3 ⇒ y = 1, 2
    • x = 3 ⇒ y < 2 ⇒ y = 1
    • x = 4 ⇒ y < 1 ⇒ no value in A
    • r = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (3, 1)}
    • Dom r = {1, 2, 3}
    • Range r = {1, 2, 3}
  • (iv) x + y > 5
    • x = 1 ⇒ y > 4 ⇒ no value in A
    • x = 2 ⇒ y > 3 ⇒ y = 4
    • x = 3 ⇒ y > 2 ⇒ y = 3, 4
    • x = 4 ⇒ y > 1 ⇒ y = 2, 3, 4
    • r = {(2, 4), (3, 3), (3, 4), (4, 2), (4, 3), (4, 4)}
    • Dom r = {2, 3, 4}
    • Range r = {2, 3, 4}
Ex 3.3 · Q7 — Consider the function f(x) = cx^2 + d, where c and d are constant numbers. If f(1) = 6 and f(−2) = 10…Challenging
Question:

Consider the function f(x) = cx2 + d, where c and d are constant numbers. If f(1) = 6 and f(−2) = 10, then find the values of c and d.

Solution:

  • f(1) = 6 ⇒ c(1)2 + d = 6
  • c + d = 6 … (i)
  • f(−2) = 10 ⇒ c(−2)2 + d = 10
  • 4c + d = 10 … (ii)
  • Subtract (i) from (ii): 3c = 4
  • ∴ c = 4/3
  • Put c = 4/3 in (i): d = 6 − 4/3
  • ∴ d = 14/3
  • ∴ c = 4/3, d = 14/3 (Check: 4/3 + 14/3 = 6 ✓; 16/3 + 14/3 = 10 ✓)

5 more questions of Exercise 3.3 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Review Exercise 3 free sample: 3 of 16 questions

Review Ex 3 · Q1 — Four options are given against each statement. Encircle the correct option.Easy
Question:

Four options are given against each statement. Encircle the correct option.

Solution:

  • (i) The set builder form of the set {1, 1/3, 1/5, 1/7, …} is:
    • The denominators are the odd numbers 1, 3, 5, 7, … = 2n + 1 for n = 0, 1, 2, 3, … (n ∈ W)
    • Answer: (b) {x | x = 1/(2n + 1), n ∈ W}
  • (ii) If A = { }, then P(A) is:
    • The only subset of the empty set is the empty set, so P(A) = {φ} = {{ }}
    • Answer: (c) {{ }}
  • (iii) If U = {1, 2, 3, 4, 5}, A = {1, 2, 3} and B = {3, 4, 5}, then U − (A ∩ B) is:
    • A ∩ B = {3}
    • U − {3} = {1, 2, 4, 5}
    • Answer: (a) {1, 2, 4, 5}
  • (iv) If A and B are overlapping sets, then n(A − B) is equal to:
    • A − B removes the common part from A
    • Answer: (d) n(A) − n(A ∩ B)
  • (v) If A ⊆ B and B − A ≠ φ, then n(B − A) is equal to:
    • A ∩ B = A, so n(B − A) = n(B) − n(A ∩ B) = n(B) − n(A)
    • Answer: (d) n(B) − n(A)
  • (vi) If n(A ∪ B) = 50, n(A) = 30 and n(B) = 35, then n(A ∩ B) =
    • n(A ∩ B) = n(A) + n(B) − n(A ∪ B) = 30 + 35 − 50 = 15
    • Answer: (b) 15
  • (vii) If A = {1, 2, 3, 4} and B = {x, y, z}, then the Cartesian product of A and B contains exactly ___ elements.
    • n(A × B) = n(A) × n(B) = 4 × 3 = 12
    • Answer: (b) 12
  • (viii) If f(x) = x2 − 3x + 2, then the value of f(a + 1) is equal to:
    • f(a + 1) = (a + 1)2 − 3(a + 1) + 2
    • = a2 + 2a + 1 − 3a − 3 + 2
    • = a2 − a
    • Answer: (d) a2 − a
  • (ix) Given that f(x) = 3x + 1, if f(x) = 28, then the value of x is:
    • 3x + 1 = 28
    • 3x = 27
    • x = 9
    • Answer: (a) 9
  • (x) Let A = {1, 2, 3} and B = {a, b} be two non-empty sets and f : A → B be a function defined as f = {(1, a), (2, b), (3, b)}, then which of the following statements is true?
    • Range f = {a, b} = B, so f is onto (surjective).
    • Elements 2 and 3 both map to b, so f is not one-one, hence not injective and not bijective.
    • Answer: (b) f is surjective
Review Ex 3 · Q5 — Use Venn diagrams to verify the following: (i) A − B = A ∩ B′ (ii) (A − B)′ ∩ B = B ⚠ Note on the…Medium
Question:

Use Venn diagrams to verify the following: (i) A − B = A ∩ B′ (ii) (A − B)′ ∩ B = B

⚠ Note on the printed question: the scan shows "A − B = A ∪ B′" for (i). That is a misprint, because A ∪ B′ is not equal to A − B in general (for example A ∪ B′ contains everything outside B, but A − B does not). The correct identity is A − B = A ∩ B′, and this is the one verified below.

Solution:

  • (i) A − B = A ∩ B′
    • Draw two overlapping circles A and B in U.
    • Left side A − B: shade the part of circle A that is outside circle B (the crescent of A).
    • Right side A ∩ B′: B′ is everything outside circle B; A ∩ B′ is the part of A that lies in B′, i.e. again the part of circle A outside circle B.
    • Both diagrams show the same shaded crescent ⇒ A − B = A ∩ B′ ✓
  • (ii) (A − B)′ ∩ B = B
    • A − B is the crescent of A outside B, so (A − B)′ is the whole rectangle except that crescent. It includes the whole of circle B.
    • Intersecting with B keeps only circle B, which lies entirely inside (A − B)′.
    • ∴ (A − B)′ ∩ B = B ✓
    • Algebraic check: (A − B)′ = (A ∩ B′)′ = A′ ∪ B, and (A′ ∪ B) ∩ B = B.
Review Ex 3 · Q16 — In a software house of a city with 300 software developers, a survey was conducted to determine which…Challenging
Question:

In a software house of a city with 300 software developers, a survey was conducted to determine which programming languages are liked more. The survey revealed the following statistics: 150 developers like Python. 130 developers like Java. 120 developers like PHP. 70 developers like both Python and Java. 60 developers like both Python and PHP. 50 developers like both Java and PHP. 40 developers like all three languages: Python, Java and PHP. (a) How many developers use at least one of these languages? (b) How many developers use only one of these languages? (c) How many developers do not use any of these languages? (d) How many developers use only PHP?

Solution:

  • Let Y = Python, J = Java, H = PHP, U = 300 developers
  • n(Y) = 150, n(J) = 130, n(H) = 120, n(Y ∩ J) = 70, n(Y ∩ H) = 60, n(J ∩ H) = 50, n(Y ∩ J ∩ H) = 40
  • (a) n(Y ∪ J ∪ H) = 150 + 130 + 120 − 70 − 60 − 50 + 40
    • = 400 − 180 + 40
    • = 260
  • (b) Only Python = 150 − 70 − 60 + 40 = 60
    • Only Java = 130 − 70 − 50 + 40 = 50
    • Only PHP = 120 − 60 − 50 + 40 = 50
    • Only one language = 60 + 50 + 50 = 160
  • (c) Not using any language = n(U) − n(Y ∪ J ∪ H)
    • = 300 − 260
    • = 40
  • (d) Only PHP = 50
  • Check (all regions): 60 + 50 + 50 + (70 − 40) + (60 − 40) + (50 − 40) + 40 + 40 = 60 + 50 + 50 + 30 + 20 + 10 + 40 + 40 = 300 ✓

13 more questions of Review Exercise 3 — full step-by-step solutions are inside the W.H. Academy student dashboard.

Want every question solved? Enrol in W.H. Academy

Concepts are free here. Enrolled students get the complete working for all 43 exercise questions of this chapter, and much more:

  • Step-by-step solutions of every exercise question, shown inside the student dashboard
  • Interactive animations that walk through the exercise solutions (Max plan)
  • 8 learning games with 2,400 chapter questions, plus XP, coins and ranks
  • Advanced games (Neon Racer and Auto Defense) for Max plan students
  • Recorded lectures, monthly mock tests and WhatsApp support (Plus and Max plans)
  • Live online classes, arranged with the academy as you need them

Test Yourself: Chapter 3 Quiz and Game

Chapter-wise practice for the Sargodha Board syllabus. Instant results; the game has 2,400 questions across 8 modes.

Start Quiz Now Play the Learning Game

Need Help with Sets and Functions?

Join W.H. Academy: live tutoring, recorded lectures and full chapter solutions for Punjab Board students in Rawalpindi and online across Pakistan.

All Class 9 Math Chapters