1a. Function
1a. Function
(−5, 2)
(−2, 0)
(−5, −2) (0, −2) (5, −2)
(2, −5)
RELATION AND
FUNCTION
By: Larry Jay B. Valero
RELATION
WHAT IS RELATION?
❑ A relation is any set of one or more ordered pairs.
❑A rulethat relates values from a set of values (domain) to a
second set of values (range).
❑A set of inputs and outputs oftentimes expressed as
ordered pairs (input, output)
❑ any set of ordered pairs (x, y) of real numbers
❑An independent variable corresponds to more than one
variable
X Input Abscissa Independent variable Domain
Y Output Ordinate Dependent variable Range
2 3 3 is the image of 2
3 4 1. one-to-one
correspondence
4 5
Domain: D = { 1, 2, 3, 4 }
Range: R = { 2, 3, 4, 5 }
X Y
1. Mapping Diagram
2
3 2. one-to-many
1
correspondence
4
5
1. Mapping Diagram
2
3
1
3. many-to-one
4 correspondence
5
1. Mapping Diagram
3
1
4. many-to-many
4 correspondence
2
5
{ (1, 4), (1, 5), (2, 3), (2, 4) }
2. Ordered Pairs
✓A = { (1, 2), (2, 3), (3, 4) (4, 5) }
D= { 1, 2, 3, 4}
R= { 2, 3, 4, 5 }
✓B = { (1, 4), (1, 5), (2, 4), (2, 3) }
✓C = { (1, 2), (1, 3), (1, 4), (1, 5) }
✓D = { (2, 1), (3, 1), (4, 1), (5, 1) }
✓E = { (1, 4), (2, 5), (4, 6), (1, 7) }
3. Graph
4. Table of values
1. x 1 1 2 2
y 4 5 4 3
2. x 1 2 3 4
y 2 3 4 5
3.
x 1 1 1 1
y 2 3 4 5
4. x 1 2 4 1
y 4 5 6 7
5.
x 2 3 1 0
y 3 3 4 5
5. Equation
❑𝑥 +𝑦 =1 𝑦 = 2𝑥
𝑦2 𝑥2
❑𝑦 =4 − =1
25 16
❑𝑥 = 1
❑𝑥 2 + 𝑦 2 = 4
❑𝑦 2 = 𝑥
❑𝑥 2 + 2𝑥 + 1 = 1
❑𝑦 = 𝑥 2 − 4
𝑥2 𝑦2
❑ + = 1
4 9
𝑥2
❑𝑦 =
𝑥+1
FUNCTION
What is a Function?
❑ It is the relation in which each element of the domain
corresponds to exactly one element of the range.
❑Function denoted as y = f(x) is a relation where no two
ordered pairs have the same first element (x-coordinate
or input or abscissa.
𝐹: 𝑥 → 𝑦, 𝑤ℎ𝑒𝑟𝑒 𝑥 ∈ 𝐷 𝑤ℎ𝑖𝑙𝑒 𝑦 ∈ 𝑅
❑A relation of values of the sets can only be arranged in
a one – to – one or many – to – one manner, where
every other arrangements do not work.
• Theidea of function can be understood as a “number-
producing machine”
2 3 one-to-one
correspondence
3 4
4 5
Function
1. Mapping Diagram
1 2 If x = 2, then f(x) =
2 3 f(x) = 3
If f(x) = 5, then x =
3 4
x=4
4 5
X Y
1. Mapping Diagram
2
3 one-to-many
1
correspondence
4
{ (1,2), (1,3), (1,4), (1,5) }
5
NOT Function
1. Mapping Diagram
2
3
1
3. many-to-one
4 correspondence
Function
1. Mapping Diagram
2 If x = 3, then f(3) =
f(3) = 1
3 If f(x) = 1, then x = 2
1
x=3
4
x=4
5
x=5
1. Mapping Diagram
3
1
4. many-to-many
4 correspondence
2
5
NOT Function
2. Ordered Pairs
✓A = { (1, 2), (2, 3), (3, 4) (4, 5) } Function
✓B = { (1, 4), (1, 5), (2, 4), (2, 3) } NOT function
✓C = { (1, 2), (1, 3), (1, 4), (1, 5) } NOT function
✓D = { (2, 1), (3, 1), (4, 1), (5, 1) } Function
✓E = { (1, 4), (2, 5), (4, 6), (1, 7) } NOT function
✓F = { (2, 3), (3, 3), (1, 4), (0, 5) } Function
✓A = { (1, 2), (2, 3), (3, 4) (4, 5) }
If x = 2, then f(2) =
f(2) = 3
If f(x) = 5, then x =
x=4
F = { (2, 3), (3, 3), (1, 4), (0, 5) }
If x = 1, then f(1) =
f(1) = 4
If f(x) = 3, then x =
x = 2, x = 3
3. Graph
• Youcan determine if a relation is a function by
using the Vertical Line Test.
• Function
• Linear Function
𝑓 2 =
𝑓 2 =2
𝑓 −3 =
𝑓 −3 = −3
Domain: (−∞, +∞)
Range: (−∞, +∞)
• NOT Function
𝑓 1 =
𝑓 1 = 1, −1
𝑓 4 =
𝑓 4 = 2, −2
Domain: 𝑥 = 6
Range: (−∞, +∞)
NOT Function
Domain: [−2, 4]
Range: [−2, 6]
• Function
• Constant
Function