GenMathQ1 FunctionsPiecewise Module1
GenMathQ1 FunctionsPiecewise Module1
General Mathematics
TABLE OF CONTENTS
1|Page
Overview .............................................................................................3-4
Pretest...................................................................................................6-8
Activity ………………………………………………………….28
Assessment………………………………………………………. 28
Feedback……………………………………………………………………….29
References……………………………………………………………………...30
General Mathematics
2|Page
Quarter 1 – Module 1:
Functions
Dear learner,
Pre-test: This part includes an activity that aims to check what you already know
about the lesson to take. If you get all the answers correct (100%), you may decide to
skip this module.
Lesson: In this portion, the new lesson will be introduced to you in various ways such
as a story, a song, a poem, a problem opener, an activity or a situation. This section
provides a brief discussion of the lesson. This aims to help you discover and
understand new concepts and skills.
Assessment: This is a task which aims to evaluate your level of mastery in achieving
the learning competency.
You may then start this module. Try to understand every lesson of this module, learn
from the illustrative and solved examples, and do the activities. Take the challenge in
Assessment. The hand in this learning resource signifies that you as a learner is
3|Page
capable and empowered to successfully achieve the relevant competencies and skills
at your own pace and time. Your academic success lies in your own hands!
For sure, you enjoy learning how to represent relations and functions. Do not hesitate
to ask help from your teacher if there are difficulties that you have encountered.
Good Luck!
4|Page
Module Content
General Directions
To help you attain the objectives of this module, you may try following the steps below.
1. First, read carefully each lesson on this module. Should there be times that you
need to read again parts of the lesson, go ahead!
2. Answer the Pretest before moving on to the other activities included in the
module. It is expected that some parts may be unfamiliar to you as new lessons
will be learned in this module.
3. Read the instruction carefully before doing each task.
4. Observe honesty and integrity in doing the tasks.
5. Finish the task at hand before proceeding to the next.
6. Do not hesitate to answer all the activities set for you. Your teacher will be glad to
answer your queries
7. If you encounter any difficulty in answering the tasks in this module, do not
hesitate to consult your teacher. Always bear in mind that you are not alone.
We hope that through this material, you will experience meaningful learning and
gain deep understanding of the relevant competencies. You can do it!
5|Page
Pretest
Direction: Choose the letter of the best answer and write this on your answer sheet.
1. It is a set of ordered pairs (x, y) such that no two ordered pairs have the same x-
value but different y-values.
a. relation b. domain c. function d. range
2. What is the set of all possible values that the variable x can take in a relation?
a. domain b. equation c .range d. function
a.
x 0 1 1 0
y 4 5 6 7
b. x -1 -1 3 0
y 0 -3 0 3
x 1 2 1 -2
y -1 -2 -2 -1 c.
d.
x 0 -1 3 2
y 3 4 5 6
6|Page
5. Which of the following real-life relationships represent a function?
a. The rule which assigns to each person the name of his aunt.
b. The rule which assigns to each person the name of his father.
c. The rule which assigns to each cellular phone unit to its phone number.
d. The rule which assigns to each person a name of his pet.
7. A person is earning ₱850.00 per day as part time crew in the fastfood. Which of
the following expresses the total salary S as a function of the number n of days
that the person works?
a. 𝑆(𝑛) = 850 + 𝑛
850
b. 𝑆(𝑛) = n
c. 𝑆(𝑛) = 850𝑛
d. 𝑆(𝑛) = 850 − 𝑛
9. How much would he pay for a 5 typing job he made for a day?
a. ₱55.00
b. ₱175.50
c. ₱125.00
d. ₱170.00
7|Page
10. Find the fare function f(x) where x represents the number of typing job he made
for the day.
a. 𝑓(𝑥) = 100 + 5𝑥
b. 𝑓(𝑥) = 100 − 5𝑥
c. 𝑓(𝑥) = 100𝑥
100
d. 𝑓(𝑥) = x
5𝑥
8|Page
Lesson
1 Functions and Relations
Welcome to the first lesson of your General Mathematics. This lesson will give
you the practical application of functions in a real-life scenario including the piecewise
function. When you are in Grade 8, you already encountered relation and function. But
in this module, let’s take into a deeper sense on how this topic can be useful in our
daily life. Are you all ready?
Definition of a Relation
A=πr 2
A relation is a rule that relates values from a set of values (called the domain) to a
second set of values (called the range). An ordered pair consist of an x and y ordinate.
A relation may be viewed as ordered pairs, mapping diagram, table, equations or
written sentence.
When a relation matches each item from one set with exactly one item from a different
set the relation is called a function.
9|Page
Definition of a Function
A function is a relationship between two variables such that each value of the first
variable is paired with exactly one value of the second variable. It is a relation where
each element in the domain is related to only one value in the range by some rule.
A function is a set of ordered pairs (x,y) such that no two ordered pairs have the same
x-value but different y-values. Using functional notation, we can write f(x) = y, read as
“f of x is equal to y.”
Is a relation a function?
Is a relation a function?
10 | P a g e
Focus on the x-ordinates, when given a relation.
If the set of ordered pairs has different x-ordinate, it is a function
If the set of ordered pairs has the same x-ordinate, it is not a function
Note: y – ordinate have no bearing in determining functions.
ORDERED PAIRS
Given the following ordered pairs, which relations are functions?
A = {(1,2), (2,3), (3,4), (4,5)}
Domain: { 1, 2, 3, 4 }
Range: { 2, 3, 4, 5 }
The set is a function because no two ordered pairs have the same x-value but
different y-values.
11 | P a g e
Range: { 0, 1, 0, -1 }
The set is not a function because are ( 0,1) and ( 0,-1) are two ordered pairs have the
same x-value or domain.
In summary, the relations A and B are functions because each element in the domain
corresponds to a unique element in the range. Meanwhile, relations C and D are not
functions because they contain ordered pairs with the same domain
[C = (0,1) and (0,-1); D = (a,b) and (a,d)].
TABLE OF VALUES
How about from the given table of values, which relation shows a function?
A.
x 1 2 3 4 5 6
y 2 4 6 8 10 12
B.
x 4 -3 1 2 5
y -5 -2 -2 -2 0
C.
x 0 -1 4 2 -1
y 3 4 0 -1 1
That’s right! A and B are functions since all the values of x corresponds to exactly one
value of y. Unlike table C, where -1 corresponds to two values, 4 and 1.
12 | P a g e
MAPPING DIAGRAM
A function assigns only output to each input. The value that is put into a function is the input.
The result is the output.
A mapping diagram can be used to represent a relationship between input values and output
values. A mapping diagram represents a function if each input value is paired with only one
output value.
Solution:
Because each input value is paired with only one output value, the relationship given in the
above mapping diagram is a function. This is an example of a One-to-One Relation.
Solution:
13 | P a g e
Because 2 is paired with more than one output value (both 20 and 40), the relationship given
in the above mapping diagram is not a function. This is an example of a Many-to-Many
Relation.
Solution:
Because each input value is paired with only one output value, the relationship given in the
above mapping diagram is a function. This is an example of a Many-to-One Relation.
Note :
In the above mapping diagram, b and c have the same output value. However, b has only one
output value y and c also has only one output value y. Moreover, no input value has more
than one output value.
Solution:
14 | P a g e
Because the input value 3 is paired with more than one output value, the relationship given in
the above mapping diagram is not a function. This is an example of a One-to-Many Relation.
Solution:
Because the input value "c" is not paired with any output value, the relationship given in the
above mapping diagram is not a function. Not all elements are represented.
15 | P a g e
GRAPH
How about if the given are graphs of relations, can you identify which are functions? Do
you still remember the vertical line test? Let’s recall.
A relation between two sets of numbers can be illustrated by graph in the Cartesian
plane, and that a function passes the vertical line test.
A graph of a relation is a function if any vertical line drawn passing through the
graph intersects it at exactly one point.
A graph represents a function if and only of no vertical line intersects the graph in
more than one point.
Not a Function
16 | P a g e
Function
Examples
1.
2.
B. Using the vertical line test, can you identify the graph/s of function?
A. C.
B. D.
17 | P a g e
Yes, that’s right! A and C are graphs of functions while B and D are not because
they do not pass the vertical line test.
In Mathematics, we can represent functions in different ways. It can be represented
through words, tables, mappings, equations and graphs.
EQUATIONS
An equation is a function if and only if for every value of x there is only one
corresponding value for y.
Example 1: x² + y² -6 = 0
x² + y² -6 = 0 write the original equation
y² = 6 - x² subtract 𝑥²
The symbol ± in the last equation shows that for all values of 𝑥 between −2 and 2,
there are values of y, for example, if 𝑥 = 1, then 𝑦 = ± √ 6 −1² = ±√ 5.
Hence, the equation does not define y as a function of x.
18 | P a g e
Solutions: All are relations. All are functions except (e). Equation (e) is not function
because we can find an x-value corresponds to more than y-value (e.g. if x = 0, then y
can be 6 or -6)
This is a relation because if you input a specific age and check all the people of that
age, you would get different heights.
However, if you were to take the height of a particular person over the years, the height
would be a function of age. This is because a person would have only one value of
height at any point in life.
However, the temperature can also be a function of time. At any one time, there can
only be one temperature reading for a location.
The number of sodas you get from a vending machine depends on how much money
you feed into the machine.
If you put the same amount twice and pick the same soda, you will get a similar
number of cans as you got in the first place.
In this case, the number is a function of the amount you feed into the machine.
19 | P a g e
4. An ATM Machine
If you would like to withdraw cash from your account, the amount of cash dispensed by
the machine is equal to the amount you request.
Therefore, the amount requested is the function of the amount dispersed. The machine
can never give you more or less than what you have requested.
However, in a single class, the tutor assigns each student a grade depending on the
performance of that particular subject. There can never be a student with two grades in
a single subject.
20 | P a g e
Piecewise Functions
There are functions that requires more than one formula in order to obtain the given
output. There are instances when we need to describe situations in which a rule or
relationship changes as the input value crosses certain boundaries. In this case, we
need to apply the piecewise function.
A piecewise function defined by multiple subfunctions where each subfunctions applies
to a certain interval of the main function’s domain.
A piecewise function is a function in which more than one formula is used to define the
output. Each formula has its own domain, and the domain of the function is the union
of all these smaller domains.
{
formula1 if x is∈domain 1
f(x ) = formula 2 if x is∈domain 2
formula 3 if x is∈domain 3
Example:
{
x +2 if x< 2
f ( x )= 2 x 2 −5 if x=2
√ x +1if x>2
21 | P a g e
Creating Mathematical Model from the Real-Life Situations using
PIECEWISE FUNCTIONS
22 | P a g e
23 | P a g e
How to graph piecewise function?
Example 1:
Suggested Steps:
Solution:
24 | P a g e
Example 2:
Suggested Steps:
Solution:
25 | P a g e
Suggested Steps:
Solution:
26 | P a g e
Real-life Application of Piecewise Function
B. A certain chocolate bar costs ₱45.00 per piece. However, if you buy more than 5
pieces they will mark down the price to ₱40.00 per piece. Use a piecewise
function to represent the cost in terms of the number of chocolate bars bought.
{
For buying 5 chocolate bars or less
f ( n )= 45 n if 0< n ≤5
40 nif n>5 For buying more than 5 chocolate bars
27 | P a g e
Activity
QUIPPER / TO BE ANNOUNCED
QUIPPER / TO BE ANNOUNCED
Assessment
QUIPPER / TO BE ANNOUNCED
28 | P a g e
Feedback (Optional)
1. How was your learning experience with Module?
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
2. What is/are your suggestions for the upcoming modules that will make it more
effective for your learning?
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
29 | P a g e
References:
10 Real World Examples of Functions and Relations. (2021, November 3). The Boffins
Portal. https://boffinsportal.com/10-real-world-examples-of-functions-and-relations/
30 | P a g e