Language of Relations and Functions
Language of Relations and Functions
RELATIONS AND
FUNCTIONS
Week 5
Generally speaking, the word relation refers to the
connection between two things, living or non-living. It could
mean the relation between husband and wife, brother and
sister, teacher and student or between people who share
common beliefs or cultural affiliation, etc.
Similarly, the objects in mathematics may be related in
various ways. We can define, for example, the relation
between the elements of the two sets.
Given any two non-empty sets A and B, a relation R from
A to B is a subset of the Cartesian product A x B and is
derived by describing a relationship between the first
element (x) and the other element (y) of the ordered pairs in
A and B.
Relation
Let A and B be sets. A relation R from A to B is a
subset of A • B. Given an ordered pair (x, y) in A • B, x
is related to y by R, written x R y, if and only if, (x, y)
is in R.
The set of all first elements of the ordered pairs in a
relation R from a set A to B is called the domain, the
range is the set of all second elements in a relation R
from a set A to B, and the whole set B is called the co-
domain.
Example:
1. Given A = { 1, 3, 5 } and B = { 2, 4, 6 }. Define a
relation R from A to B by, y = x + 1
Solution:
a) Find the Cartesian product, A • B:
The Cartesian product A • B has 9 elements of
ordered pairs,
A • B = { (1, 2), (1, 4), (1, 6), (3, 2), (3, 4), (3, 6),
(5, 2), (5, 4), (5, 6) }
b) Find the ordered pairs that are in R defined by y = x + 1
R = { (1, 2), (3, 4), (5, 6) }
* The relation R from A to B has only 3 elements that
satisfies the condition, y = x + 1.
For instance,
when x = 1, y = 1 + 1 = 2, hence, the ordered pair (1, 2).
When x = 3, y = 3 + 1 = 4, hence, (3, 4). Finally, when x = 5,
y = 5 + 1 = 6, thus, the ordered pair (5, 6). The other 6
ordered pairs in A x B do not satisfy the condition.
(1, 2), (1, 4), (1, 6), (3, 2), (3, 4), (3, 6), (5, 2), (5, 4), (5, 6)
Condition: y = x + 1
*We will use all of the ordered given from Solution A, considdering that we should satisfy the given
condtion.
Solution:
Substitute 4 into the function in place of x.
f(4) = 2(4) – 5
f(4) = 3
This can be thought of as the ordered pair (4, 3).
Example:
2. Find the value of g(x) = x2 – 2x + 3, when x = -2
Solution:
g(-2) = (-2)2 – 2(-2) + 3
= 4+4+3
= 11
Example:
3.Given f(x) = 2x2 + 3x – 4, find f(-3)
Solution:
f(-3) = 2(-3)2 + 3(-3) – 4
= 2(9) – 9 – 4
= 18 – 9 – 4
= 5
ADDITIONAL RESOURCES
2. Evaluating Function
https://www.youtube.com/watch?v=GY6Q2f2kvY0
https://www.youtube.com/watch?v=_e0EdFGpcvc