Chapter Overview
Key skills you will develop by the end of Unit 3 — 73 exam-style questions below cover every objective.
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.
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.
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.
Next two terms: \(13+3=16\) and \(16+3=19\).
3. What is the Fibonacci sequence? Write its formula and the first ten terms.
4. What is meant by "structure" in a triangle made of smaller triangles?
• 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?
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?
7. What are the three ways of describing a set? Write the set of vowels in all three forms.
| Form | How it is written | Set \(A\) of vowels |
|---|---|---|
| Descriptive | in words | the set of all vowels of the English alphabet |
| Tabular (roster) | elements listed within brackets | \(A=\{a,e,i,o,u\}\) |
| Set-builder | arbitrary member + common property | \(A=\{x \mid x \text{ is a vowel of the English alphabet}\}\) |
8. Write the set of even natural numbers less than 12 in descriptive, tabular and set-builder forms.
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?
10. Name the standard sets of numbers and write them in tabular or set-builder form.
| Symbol | Name | Form |
|---|---|---|
| \(\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}'\) |
11. Define a singleton set and the empty set. How do {0}, ∅ and {∅} differ?
Empty (null, void) set: a set with no element, written \(\varnothing\) or \(\{\ \}\).
| Set | Number of elements |
|---|---|
| \(\varnothing\) | 0 (no element) |
| \(\{0\}\) | 1 (the number 0) |
| \(\{\varnothing\}\) | 1 (the empty set) |
12. What are equal sets and equivalent sets? State the difference.
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 sets | Equivalent sets |
|---|---|
| same elements | same number of elements |
| symbol \(=\) | symbol \(\sim\) |
| always equivalent | need not be equal |
13. Are A = {1, 2, 3} and B = {a, b, c} equal or equivalent?
14. Define subset and superset. How are they written?
15. Define proper subset and improper subset with examples.
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).
| Symbol | Meaning |
|---|---|
| \(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?
17. Define the power set. How many elements does it have?
18. Write the power set of S = {1, 2, 3}. How many proper subsets does S have?
\(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?
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.
21. Define the intersection of two sets.
22. What are disjoint sets and overlapping sets?
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?
24. Define the complement of a set. Show that A′ = U − A.
25. Summarise the five set operations in a table.
| Operation | Symbol | Set-builder form | Contains |
|---|---|---|---|
| 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).
\(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?
28. Show all the cases of two-set Venn diagrams (disjoint, overlapping, subset).
| Operation | Disjoint | Overlapping | \(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\) |
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}.
| 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\}\) |
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.
| No. | Property | Name |
|---|---|---|
| (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 |
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}.
\(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}.
\(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.
\(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}.
\(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.
\(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}.
(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?
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.
38. Name the eight regions of a three-set Venn diagram and give their counts.
| Region | In words | Count |
|---|---|---|
| 1 | only A | \(n(A)-n(A\cap B)-n(A\cap C)+n(A\cap B\cap C)\) |
| 2 | only B | \(n(B)-n(A\cap B)-n(B\cap C)+n(A\cap B\cap C)\) |
| 3 | only C | \(n(C)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)\) |
| 4 | A and B only | \(n(A\cap B)-n(A\cap B\cap C)\) |
| 5 | A and C only | \(n(A\cap C)-n(A\cap B\cap C)\) |
| 6 | B and C only | \(n(B\cap C)-n(A\cap B\cap C)\) |
| 7 | all three | \(n(A\cap B\cap C)\) |
| 8 | outside 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.
(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).
(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
41. Using Example 2, find the students enrolled in exactly one course, exactly two courses, and in Robotics or Web Designing.
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.
43. State the principle of inclusion and exclusion for two sets.
\(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?
45. What are the steps to solve a Venn-diagram word problem?
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?
\(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?
\((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?
\(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.
(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\).
| Region | Working | Value |
|---|---|---|
| all three | given | 12 |
| G∩C only | 31 − 12 | 19 |
| G∩E only | 25 − 12 | 13 |
| C∩E only | 21 − 12 | 9 |
| only G / C / E | as above | 13, 10, 12 |
| outside | 130 − 88 | 42 |
| check | 12+19+13+9+13+10+12+42 | 130 ✓ |
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?
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.
52. Define the Cartesian product of two sets. If n(A) = m and n(B) = n, what is n(A × B)?
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.
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\).
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)}.
\(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.
\(\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.
\(\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.
Ordered pairs: \(\{(0,1),(1,2),(2,3),(3,4),(4,5),(5,6)\}\)
| \(x\) (minutes) | \(y=x+1\) (litres) |
|---|---|
| 0 | 1 |
| 1 | 2 |
| 2 | 3 |
| 3 | 4 |
| 4 | 5 |
| 5 | 6 |
The \(x\)-coordinate is the abscissa and the \(y\)-coordinate is the ordinate.
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?
(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.
59. Differentiate between a relation and a function.
| Relation | Function |
|---|---|
| any subset of \(A\times B\) | a special relation with \(\mathrm{Dom}\,f=A\) |
| a first element may have more than one second element | every first element has exactly one second element |
| \(\{(1,a),(1,b),(2,c)\}\) | \(\{(1,a),(2,b),(3,a)\}\) |
| not every relation is a function | every function is a relation |
60. Define domain, co-domain and range of a function.
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.
\(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)}
(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.
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.
65. Define an onto (surjective) function with an example.
66. Define a bijective function (one-one correspondence) with an example.
67. Give a table of the types of functions and a quick test to identify them.
| Type | Condition |
|---|---|
| Into | \(\mathrm{Range}\,f\ne B\) (some element of B has no arrow) |
| One-one | no element of B receives two arrows |
| Onto | \(\mathrm{Range}\,f=B\) (every element of B receives an arrow) |
| Bijective | one-one and onto |
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}.
(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?
70. What are a linear function and a quadratic function?
| Function | Form | Graph |
|---|---|---|
| Linear | \(y=f(x)=mx+c\) | a straight line |
| Quadratic | \(y=f(x)=ax^2+bx+c,\ a\ne0\) | studied in Unit 10 |
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).
\(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.
\(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.
\(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.
| Term | Meaning |
|---|---|
| Set | A well-defined collection of distinct objects, numbers or elements. |
| Element (member) | An object that belongs to a set; \(a\in A\). |
| Tabular (roster) form | Listing the elements of a set within brackets. |
| Set-builder form | Describing a set by the property common to all its members. |
| Singleton set | A set with exactly one element. |
| Empty set | A set with no element, written \(\varnothing\). |
| Equal sets | Sets having exactly the same elements. |
| Equivalent sets | Sets having the same number of elements. |
| Subset | A set whose every element is in another set; \(A\subseteq B\). |
| Proper subset | A subset \(A\subset B\) with \(A\ne B\). |
| Universal set | The set of all elements under consideration, written \(U\). |
| Power set | The set of all subsets of \(S\); \(n\{P(S)\}=2^m\). |
| Union | All elements in \(A\) or \(B\) (or both). |
| Intersection | All elements in both \(A\) and \(B\). |
| Disjoint sets | Sets with empty intersection. |
| Overlapping sets | Sets 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 diagram | A diagram using circles in a rectangle to show sets and their relationships. |
| Cardinality | The 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\). |
| Relation | Any subset of \(A\times B\) (a set of ordered pairs). |
| Domain / Range | Set of first elements / set of second elements of a relation. |
| Function | A relation with domain \(A\) in which no two pairs have the same first element. |
| Co-domain | The 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\). |
| Bijective | Both 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.
| Law | Statement |
|---|---|
| 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 type | Condition | Example |
|---|---|---|
| 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)\}\) |
| Bijective | one-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
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
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}}}
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
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
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
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).
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
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
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 ✓)
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
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
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
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 ✓
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.
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.