Chapter 3 Sets and Functions Notes – 9th Class Math New Book

Chapter 3, Sets and Functions, from the 9th class Mathematics new book (Punjab). Learn to write sets, count overlapping groups, and read relations and functions from tables, graphs and arrows.
3.1 Mathematics as the Study of Patterns, Structures and Relationships
Patterns, structures and relationships
A pattern follows a rule. In the sequence below, the rule adds three each time. A structure shows how the parts fit together, as the rows in a triangle do.
The Fibonacci sequence starts with 0 and 1. Add the previous two terms to get each new term.
In the book’s triangle pattern, the stages contain 1, 4 and 16 smallest triangles. Each new row in a stage contains two more small triangles than the row above it.
3.1.1 Basic Definitions
A set is a well-defined collection of distinct elements. You can tell for each object whether it belongs. Changing the order of the elements, or repeating an element, does not change the set.
| Form | Set of English vowels |
|---|---|
| Descriptive | The vowels of the English alphabet |
| Tabular or roster | $\{a,e,i,o,u\}$ |
| Set-builder | $\{x\mid x\text{ is an English vowel}\}$ |
Use the membership symbol when a value belongs to the set and the crossed symbol when it is outside the set.
| Symbol | Set | Examples or rule |
|---|---|---|
| $\mathbb N$ | Natural numbers | $\{1,2,3,\ldots\}$ |
| $\mathbb W$ | Whole numbers | $\{0,1,2,3,\ldots\}$ |
| $\mathbb Z$ | Integers | $\{\ldots,-2,-1,0,1,2,\ldots\}$ |
| $O$ | Odd integers | $\{\ldots,-3,-1,1,3,\ldots\}$ |
| $E$ | Even integers | $\{\ldots,-2,0,2,4,\ldots\}$ |
| $P$ | Prime numbers | $\{2,3,5,7,11,\ldots\}$ |
| $\mathbb Q$ | Rational numbers | $\frac pq\text{ with }p,q\in\mathbb Z,\ q\ne0$ |
| $\mathbb Q'$ | Irrational numbers | $\sqrt2,\ \pi$ |
| $\mathbb R$ | Real numbers | All rational and irrational numbers |
- A singleton has one element. The empty set has zero elements and is written $\varnothing$ or $\{\ \}$. Note that $\{0\}$ is a singleton, not the empty set.
- Equal sets have the same elements. This requires containment in both directions.
- Equivalent sets have the same number of elements. A set of three letters and a set of three numbers are equivalent. We write $A\sim B$.
- A subset uses only elements of the original set. A proper subset leaves out at least one element. The whole set is its own improper subset.
- If $A\subseteq B$, then $B$ is a superset of $A$, written $B\supseteq A$. The number sets are nested: $\mathbb N\subset\mathbb W\subset\mathbb Z\subset\mathbb Q\subset\mathbb R$.
- $n(A)$ is the number of elements (cardinality) of $A$. For $A=\{1,3,5,7,9,11\}$, $n(A)=6$.
- In set-builder notation, $\land$ means “and” and $\lor$ means “or”.
- The universal set includes every element being considered in that problem.
The power set lists every subset, including the empty set and the whole set. List them in order of size to avoid missing one.
3.2 Operations on Sets
Operations on Sets
- Union includes every element in either set or both sets.
- Intersection includes the elements common to both sets.
- Difference keeps elements of the first set that are outside the second set.
- Complement keeps all elements of the universal set outside the named set: $A'=\{x\mid x\in U\land x\notin A\}$, also written $A^c$.
Worked example. Combine the sets for their union. Keep only the two shared elements for their intersection.
3.2.1 Identification of Sets Using Venn Diagram
The rectangle represents the universal set. Circles represent sets within it. Disjoint sets share no elements. Overlapping sets have $A\cap B\ne\varnothing$, but neither set is a subset of the other.
Disjoint sets
The circles share no region.
Overlapping sets
The circles have a common lens and each has its own separate part.
A inside B
Every point of A is also inside B.
B inside A
Every point of B is also inside A.
Disjoint sets: $n(A\cup B)=n(A)+n(B)$, $A-B=A$, $B-A=B$.
Overlapping sets: $n(A-B)=n(A)-n(A\cap B)$, $n(B-A)=n(B)-n(A\cap B)$.
$A\subseteq B$: $A\cup B=B$, $A\cap B=A$, $A-B=\varnothing$, $n(B-A)=n(B)-n(A)$.
$B\subseteq A$: $A\cup B=A$, $A\cap B=B$, $B-A=\varnothing$.
3.2.2 Operations on Three Sets
Work out the set operation in parentheses first. The commutative laws let you swap the order of two sets. The associative laws let you move the parentheses when using the same operation. The distributive laws let you expand a union across an intersection or an intersection across a union.
| Law | Identity |
|---|---|
| Commutative Law of Union | $A\cup B=B\cup A$ |
| Commutative Law of Intersection | $A\cap B=B\cap A$ |
| Associative Law of Union | $A\cup (B\cup C)=(A\cup B)\cup C$ |
| Associative Law of Intersection | $A\cap (B\cap C)=(A\cap B)\cap C$ |
| Distributive Law of Union over Intersection | $A\cup (B\cap C)=(A\cup B)\cap (A\cup C)$ |
| Distributive Law of Intersection over Union | $A\cap (B\cup C)=(A\cap B)\cup (A\cap C)$ |
| De Morgan’s Law for Union | $(A\cup B)'=A'\cap B'$ |
| De Morgan’s Law for Intersection | $(A\cap B)'=A'\cup B'$ |
De Morgan’s laws change union to intersection, or intersection to union, when the complement moves inside the parentheses.
Check with sets. Take $U=\{1,2,\ldots,10\}$, $A=\{1,2,3\}$, $B=\{2,3,4,5\}$ and $C=\{3,4,5,6,7,8\}$.
Both sides agree, so the distributive law and De Morgan’s law hold for these sets.
3.2.3 Real-World Applications
The cardinality of a finite set is its number of elements. Inclusion–exclusion counts everyone in a union once by subtracting repeated counts.
Worked example. In a group of 20 people, 12 are in A and 11 are in B. All 20 belong to at least one of the sets. Find how many are in both.
For three sets, fill in the centre first. Subtract the centre from each pair total. Then find the single-set regions. Subtract the union total from the group size to find the number outside all three.
3.3 Binary Relations
Binary Relations
The Cartesian product pairs each element of the first set with every element of the second. A binary relation from A to B is any subset of that product. A relation on A uses A for both coordinates.
The domain is the set of first coordinates. The range is the set of second coordinates. List each distinct value once.
3.3.1 Relation as Table, Ordered Pair and Graphs
A tank begins with one litre and gains one litre each minute. Use the elapsed minutes as x and the amount of water as y.
| Minutes | Water in litres |
|---|---|
| $0$ | $0+1=1$ |
| $1$ | $1+1=2$ |
| $2$ | $2+1=3$ |
| $3$ | $3+1=4$ |
| $4$ | $4+1=5$ |
| $5$ | $5+1=6$ |
3.3.2 Function and its Domain and Range
A function sends every input to exactly one output. The codomain is the allowed target set. The range contains the targets that are actually reached.
Here $y$ is the image (value) of $x$ under $f$.
Into
The range is a proper subset of the codomain. A target such as 8 receives no arrow.
One-to-one or injective
Different inputs have different outputs. The output c is unused, so this example is also into.
Onto or surjective
Every element of the codomain is an output. An onto function can send two different inputs to the same output.
Bijective
The function is one-to-one and onto. Every target has exactly one arrow arriving at it.
3.3.3 Notation of Function
A rule describes an infinite function without listing every pair. The textbook’s square example starts at −1 and continues through the nonnegative integers.
3.3.4 Linear and Quadratic Functions
A linear function has a straight-line graph. A quadratic function has a nonzero squared term.
Worked example. To evaluate a rule at a negative input, put the input in parentheses before squaring.
Exercise solutions of Chapter 3
- 3.1Exercise 3.1: Sets, Subsets and Power Sets7 questions solved step by step · Examples
- 3.2Exercise 3.2: Operations on Sets13 questions solved step by step · Examples
- 3.3Exercise 3.3: Binary Relations and Functions7 questions solved step by step · Examples
- RReview Exercise 316 questions solved step by step