A function is a rule that assigns exactly one output (value of
𝑦
y) for each input (value of
𝑥
x).
It can be thought of as a machine: you put in a value (input), the function does something to it, and it gives back a result (output).
1.What do youcall a relation where each element in the
domain is related to only one value in the range by some
rules?
a. Function b. Range c. Domain d. Independent
2. Which of the following relations is/are function/s?
a. x = {(1,2), (3,4), (1,7), (5,1)}
b. g = {(3,2), (2,1), (8,2), (5,7)}
c. h = {(4,1), (2,3), (2, 6), (7, 2)}
d. y = {(2,9), (3,4), (9,2), (2,7)}
6.
3. In arelation, what do you call the set of x values or the
input?
a.Piecewise b. Range c. Domain d. Dependent
4. What is the range of the function shown by the diagram?
a. R:{3, 2, 1}
b. R:{a, b}
c. R:{3, 2, 1, a, b}
d. R:{all real numbers}
Domain: a setof first elements in a relation (all of the x values).
These are also called the independent variable.
Range: The second elements in a relation (all of the y values).
These are also called the dependent variable.
Table of Values
Functions can be represented in different ways.
20.
Functions can berepresented in different ways.
Function as Mapping
21.
Identify the Domainand Range. Then tell if the relation is a
function.
Input Output
-3 3
1 1
3 -2
4
Domain = {-3, 1,3,4}
Range = {3,1,-2}
Function?
Yes: each input is mapped
onto exactly one output
22.
Input Output
-3 3
1-2
4 1
4
Identify the Domain and Range. Then tell if the
relation is a function.
Domain = {-3, 1,4}
Range = {3,-2,1,4}
Function?
No: input 1 is mapped onto
Both -2 & 1
Notice the set notation!!!
Example
07/30/2025 02:22 PM1-6 RELATIONS AND FUNCTIONS 24
•Is this a function?
•Hint: Look only at the x-coordinates
NO
{(-1,-7) , (1,0) , (2,-3) , (0, -8) (0, 5 ), (-2, -1)}
25.
Example
YES
07/30/2025 02:22 PM1-6 RELATIONS AND FUNCTIONS 25
•Is this a function?
•Hint: Look only at the x-coordinates
{(0,-5) , (1,-4) , (2,-3) , (3, -2) (4, -1), (5, 0)}
26.
Choice One ChoiceTwo
07/30/2025 02:22 PM 1-6 RELATIONS AND FUNCTIONS 26
3
1
0
–1
2
3
2
–1
3
2
3
–2
0
Which mapping represents a function?
Choice 1
A Relation canbe represented by a set of ordered pairs of
the form (x,y)
Quadrant I
X>0, y>0
Quadrant II
X<0, y>0
Quadrant III
X<0, y<0
Quadrant IV
X>0, y<0
Origin (0,0)
Examples
I’m going toshow you a series of graphs.
Determine whether or not these graphs are functions.
You do not need to draw the graphs in your notes.
Definition:
Piecewise Function –afunction defined by
two or more functions over a specified
domain.
The rule for a piecewise function is different
for different parts, or pieces, of the domain.
For instance, movie ticket prices are often
different for different age groups. So the
function for movie ticket prices would assign a
different value (ticket price) for each domain
interval (age group).
67.
When using intervalnotation, square brackets [ ]
indicate an included endpoint, and parentheses
( ) indicate an excluded endpoint.
Remember!
68.
What do theylook like?
f(x) =
x2
+ 1 , x 0
x – 1 , x 0
You can EVALUATE piecewise
functions.
You can GRAPH piecewise functions.
69.
Evaluating Piecewise Functions:
Evaluatingpiecewise functions is just
like evaluating functions that you are
already familiar with.
f(x) =
x2
+ 1 , x 0
x – 1 , x 0
Let’s calculate f(2).
You are being asked to find y when
x = 2. Since 2 is 0, you will only
substitute into the second part of the
function.
f(2) = 2 – 1 = 1
70.
f(x) =
x2
+ 1, x 0
x – 1 , x 0
Let’s calculate f(-2).
You are being asked to find y when
x = -2. Since -2 is 0, you will only
substitute into the first part of the
function.
f(-2) = (-2)2
+ 1 = 5
71.
Your turn:
f(x) =
2x+ 1, x 0
2x + 2, x 0
Evaluate the following:
f(-2) = -3
?
f(0) = 2
?
f(5) = 12
?
f(1) = 4?
72.
Your turn:
f(x) =
2x+ 1, x 0
2x + 2, x 0
Evaluate the following:
f(-2) = -3
-3
f(0) = 2
2
f(5) = 12
12
f(1) = 44
73.
One more:
f(x) =
3x- 2, x -2
-x , -2 x 1
x2
– 7x, x 1
Evaluate the following:
f(-2) = 2?
f(-4) = -14?
f(3) = -12
?
f(1) = -6
?
74.
One more:
f(x) =
3x- 2, x -2
-x , -2 x 1
x2
– 7x, x 1
Evaluate the following:
f(-2) = 22
f(-4) = -14
-14
f(3) = -12
-12
f(1) = -6
-6
75.
Graphing Piecewise Functions:
f(x)=
x2
+ 1 , x 0
x – 1 , x 0
Determine the shapes of the graphs.
Parabola and Line
Determine the boundaries of each graph.
Graph the parabola
where x is less than
zero.
Graph the line where x
is greater than or
equal to zero.
76.
3x + 2,x -2
-x , -2 x 1
x2
– 2, x 1
f(x) =
Graphing Piecewise Functions:
Determine the shapes of the graphs.
Line, Line, Parabola
Determine the boundaries of each graph.
77.
When using intervalnotation, square brackets [ ]
indicate an included endpoint, and parentheses
( ) indicate an excluded endpoint.
Remember!
Use piecewise functions to describe
real-world situations.
78.
Example: A useris charged 300 monthly for a particular mobile
₱
plan, which includes 100 free text messages. Messages in excess of
100 are charged 1 each. Represent the amount a consumer pays
₱
each month as a function of the number of messages m sent in a
month.
Solution: Let t (m) represent the amount paid by the consumer each
month. It can be expressed by the piecewise function
79.
Example:A jeepney ridecosts 8.00 for the first 4 kilometers, and
₱
each additional kilometer adds 1.50 to the fare. Use a piecewise
₱
function to represent the jeepney fare in terms of the distance d in
kilometers.
Solution: The input value is the distance and the output is the cost
of the jeepney fare. If F(d) represents the fare as a function of
distance, the function can be represented as follows:
80.
Example:A jeepney ridecosts 8.00 for the first 4 kilometers, and
₱
each additional kilometer adds 1.50 to the fare. Use a piecewise
₱
function to represent the jeepney fare in terms of the distance d in
kilometers.
Solution: The input value is the distance and the output is the cost
of the jeepney fare. If F(d) represents the fare as a function of
distance, the function can be represented as follows:
F(d) = 8 if 0 < d ≤ 4
8 + 1.5(d-4) if d > 4
3. Which ofthe following letters will pass the
vertical line test?
A. V
B. X
C. Y
D. Z
87.
4. To evaluatea function is to
______________ the variable in the
function with a value from the function’s
domain and compute the result.
A. omit
B. simplify
C. skip
D. substitute
88.
5. The altitudeof a plane is a function of the
times since take off. What is the dependent
variable?
A. Time
B. Speed
C. Altitude
D. All of the above
1. If () = 8 + 1, find (2).
𝑔 𝑥 𝑥 𝑔
A.-7
B. 1
C. 10
D. 17
98.
2. If () = + 2 – 1, find (0).
ℎ 𝑥 𝑥 ℎ
A. 1
B.-1
C. 5
D.-5
99.
3. If () = + 1, find (-2).
𝑔 𝑥 𝑥 𝑔
A.-1
B. 3
C.-2
D. 17
100.
4. A personcan encode 1000 words in every hour
of typing job. Which of the following expresses the
total words W as a function of the number n of
hours that the person can encode?
a. ( ) = 1000+
𝑊 𝑛 𝑛
b. ( ) =
𝑊 𝑛
c. ( ) = 1000
𝑊 𝑛 𝑛
d. ( ) = 1000 −
𝑊 𝑛 𝑛
#10 if there is only one output for every input, you have a function. If not you have a relation. Relations have more that one output for atleast one input.
A relation is any set of ordered pairs. A function is a a set of ordered pairs where there is only one value of y for every value of x.
Function ay many to one…. D pwde maulit si x (pero pwede maulit c x bsta same cla ng y value)
#13 Relations are a group of ordered pairs from one set of objects to another set of objects while functions are relations-
that connect one set of inputs to another set outputs. So all functions are relations while all relations are not functions.