Relations and Functions Board
Relations and Functions Board
Dhananjayareddy Thanakanti
15 February 2025
Example 1.2
(3, 5) ̸= (5, 3)
Uniqueness: Each ordered pair is unique based on its elements and their positions. This means
that two ordered pairs are equal if and only if both the first and second elements are
equal.(a, b) = (c, d) if and only if a = c and b = d
Example 1.3
If (x, y) = (4, 7), then:
x=4 and y = 7
A × B = {(a, b) | a ∈ A and b ∈ B}
1
Example 1.5
Let A = {1, 2} and B = {x, y}:
Example 1.6
Let A = {1, 2} and B = {x, y}:
Associativity: The result is the same regardless of how the operations are grouped. (A×B)×C =
A × (B × C)
Example 1.7
Let A = {1}, B = {x}, and C = {y}:
Distributivity: The Cartesian product is distributive over union and intersection, such that:
A × (B ∪ C) = (A × B) ∪ (A × C)
Similarly, it distributes over intersections:
A × (B ∩ C) = (A × B) ∩ (A × C)
Example 1.8
Let A = {1}, B = {x}, and C = {y}:
B ∪ C = {x, y}
Interaction with the Empty Set: The Cartesian product of any set with the empty set results
in the empty set:
A × ∅ = ∅ or ∅ × B = ∅
2
Example 1.9
Let A = {1, 2}:
A×∅=∅
Cartesian Product of More Than Two Sets: The Cartesian product can extend to more than
two sets. For example, A × B × C represents ordered triples, and so on. Each element is
represented by an ordered tuple.
A × B × C = {(a, b, c) | a ∈ A, b ∈ B, c ∈ C}
Cardinality: The size of the Cartesian product of two finite sets is the product of their sizes:
Example 1.10
Let A = {1, 2, 3} and B = {x, y}:
Explicitly:
A × B = {(1, x), (1, y), (2, x), (2, y), (3, x), (3, y)}
§1.3 Relation
Definition 1.11. A relation R from a non-empty set A to a non-empty set B is defined as a
subset of the Cartesian product A × B.
Example 1.12
Let A = {1, 2, 3} and B = {a, b}. Define a relation R ⊆ A × B:
This means:
• 1 is related to a,
• 2 is related to b,
• 3 is related to a.
3
Example 1.14
Using the same relation R described in example 1.12:
Example 1.16
Using the same relation R described in example 1.12:
Example 1.18
Using the same relation R described in example 1.12:
Example 1.19
If A = {1, 2} and B = {a, b, c}, then:
n(A) = 2, n(B) = 3,
4
§1.4 Function
Definition 1.20. A function is a relation in which each value of the independent variable
corresponds to exactly one value of the dependent variable.In other words, a function is a
special type of relation where every element in the domain is related to exactly one element
in the codomain.
Example 1.21
Let A = {1, 2, 3} and B = {a, b, c}.
We define a relation R ⊆ A × B:
2. There are no repeated pairs for any element in A (i.e., each x ∈ A has exactly one
y ∈ B).
Example 1.22
If the relation is defined as:
then R′ is not a function because 1 is related to both a and b, violating the rule of
uniqueness for a function.
Example 1.24
Let A = {1, 2, 3} and B = {a, b, c}. The Cartesian product A × B is:
A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c), (3, a), (3, b), (3, c)}.
The domain of the function f is the set of all elements from A that appear as the first
component in the pairs of f . In this case:
5
Example 1.25
1
f (x) = x−2
Example 1.26
√
g(x) = x + 4
• | → “such that“
Example 1.28
Let A = {1, 2, 3} and B = {a, b, c}. The Cartesian product A × B is:
A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c), (3, a), (3, b), (3, c)}.
The range of the function f is the set of all elements from B that appear as the second
component in the pairs of f . In this case:
Example 1.29
f (x) = x2
6
Example 1.30
g(x) = 2x + 1
This function adds the values of f (x) and g(x) for the same input x.
Example 1.31
Let f (x) = x2 , g(x) = x + 1.
This function subtracts the value of g(x) from f (x) for the same input x.
Example 1.32
Using the functions defined in Example 1.31 (f − g)(x) = f (x) − g(x)
(f − g)(x) = x2 − (x + 1) = x2 − x − 1.
This function multiplies the values of f (x) and g(x) for the same input x.
7
Example 1.33
Using the functions defined in Example 1.31 (f · g)(x) = f (x) · g(x)
(f · g)(x) = x2 · (x + 1) = x3 + x2 .
This function divides f (x) by g(x) for the same input x, provided g(x) ̸= 0.
Example 1.34
Using
the functions defined in Example 1.31
f f (x)
g (x) = g(x) , where g(x) ̸= 0
x2
f
(x) = , for x ̸= −1.
g x+1
8
§1.6 Multiple choice Questions
Ordered pairs 8 1
5,6,9 2,5,7
6
Cartesian Products 1,3
12
1,3
2,4,7 4
13,14 8
11,15 11
Relations 12,13
16, 17
10,18 9,10
19,20
Function 21,22,23,28 15,17,19,20,22,27
24,25,26 16, 18,21,23,24,25,28
9
§1.8 Subjective Questions(2 Marks)
Ordered pairs 1
17 53
Cartesian Products 5,7
6
30 50
32
Relations 40
46
41
Function 52
Ordered pairs 1
Cartesian Products 16 58
62
23
Relations
27
35
39,61,65, 57
Function 41,44,46,59
60,61
10