SlideShare a Scribd company logo
1 of 7
1
FUNCTIONS
Lesson 1.1 Functions in Real-life
In mathematics, a function is a relationship between two sets of
elements in which no element in the first set relates to more than one element
in the second. We can think of a function as a rule that takes inputs from the
first set and relates them to an element in the second set, which is the output
(Function Application for the Real World, 2017).For example, if you take tests,
there is a function that tells you if you get this score on your test ,you will get
this grade. If you go grocery shopping, there is a function that tells you if you
buy this many bottles of water ,you need to pay this much money. If you pay
for cable TV, there is a function that tells you if you want this many channels,
you need to pay this much money (Functions: Identification, Notation &
Practice Problems,2013).
Guide Questions:
1. In the example: If you pay for cable TV, there is a function that tells you
if you want this many channels, you need to pay this much money.
What is the input variable?the output variable?
_____________________________________________________________________
2. How did you identify the input variable from the output variable?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
In addition, functions are used as representation of real-life situations
that shows relationship between the sets of values or quantities such as test
score and grade, and number of bottles of water and amount paid. The test
score does changes in the grade shows relationship, that is grade
(output/dependent variable) is dependent to test score (input/independent
variable).
We can use function notation for functions, such as f(x) = y, where:
x is the input/independent variable,
y is the output/dependent variable
f is the name of the function (we can also use letters other than f).
f(x) is the value of the function at x.
2
In this lesson, you are expected to construct mathematical models to
represent real-life situations using functions.
Example 1: Give a function P that can represent the cost of buying x large
size t-shirt if each t-shirt costs P160.
Solution:
Step 1: Identify the input and output in the situation and assign
corresponding variable for each. Remember that, output always depends on
input.
➢ The input is number of large size t-shirt (x) and the output is the
cost of t-shirts (C).
Step 2: Write the function notation to be used to represent the situation.
➢ Since the cost of buying (C) depends on the number of large size
t-shirt (x), then the function notation is C(x).
Step 3: Construct a mathematical expression based on the mathematical
phrase present in the situation. This will be the subfunctions.
➢ Each t-shirt costs P160 is translated as mathematical expression
as: 160x
Step 4: Combine the function notation and mathematical expression using
(=) sign. The result will be the linear function that represent the cost (C) of
buying large size t-shirts (x).
➢ C(x) = 160x
Note: Remember, functions can also be written in different ways using other
variables such as C(x),h(x), and g(x). Similarly, functions may take other input
values other than x such as P(a), h (r), and g(m).
PIECEWISE FUNCTIONS. Some situations can only be described by more
than one formula, depending on the value of the independent variable.
Definition: A piecewise function is defined by multiple subfunctions, where
each subfunction applies to a certain interval of the main function’s domain.
Example 2: A videoke machine can be rented for P1,000 for three days, but
for the fourth day onwards, an additional cost of P400 per day is added.
Represent the cost of renting a videoke machine as a piecewise function of the
number of days it is rented.
3
Solution:
Step 1: Identify the input and output in the situation and assign
corresponding variable for each. Remember that, output always depends on
input.
➢ The input is the number of days (x) rented and the output is the
cost of renting (r).
Step 2: Write the function notation to be used to represent the situation.
➢ Since the cost of renting (r) depends on number of days (x) rented,
then the function notation is r(x).
Step 3: Construct a mathematical expression based on the mathematical
phrase present in the situation. This will be the subfunctions.
➢ rented for P1,000 for three days is translated as mathematical
expression as:1000,𝑖𝑓 0 ≤ 𝑥 ≤ 3
➢ an additional cost of P400 per day is added to 1000 is translated
as mathematical expression as: 1000 + 400(𝑥 − 3) , 𝑖𝑓 𝑥 > 3
Step 4: Combine the function notation and subfunctions using equal (=) sign.
The result will be the piecewise function that represent the cost of renting (r)
in terms of number of days (x).
➢ 𝑟(𝑥) = {
1000 , 𝑖𝑓 0 ≤ 𝑥 ≤ 3
1000 + 400(𝑥 − 3) , 𝑖𝑓 𝑥 > 3
Function Notation Subfunctions Intervals
r(x) 1000
1000 + 400(x – 3)
0 ≤ 𝑥 ≤ 3
𝑥 > 3
Notes:
• 0 ≤ 𝑥 ≤ 3 and 𝑥 > 3 are intervals of the piecewise function based on the
given information in the problem.
• fourth day onwards means four days and up
• additional cost means increased in cost (addition).
Example 3: The cost of hiring a catering service to serve food for a party is
P150 per head for 20 persons or less, P130 per head for 21 to 50 persons, and
P110 per head for 51 to 100 persons. For more than 100 persons, the cost is
at P100 per head. Represent the total cost as a piecewise function of the
number of attendees of the party.
Solution:
Step 1: Identify the input and output in the situation and assign
corresponding variable for each. Remember that, output always depends on
input.
4
➢ The input is the number of attendees/persons (x) and the output
is the cost of hiring a catering service (f).
Step 2: Write the function notation to be used to represent the situation.
➢ Since the cost of hiring a catering services (f) depends on the
number of attendees/persons (x), then the function notation is
f(x).
Step 3: Construct a mathematical expression based on the mathematical
phrase present in the situation. This will be the subfunctions.
➢ P150 per head for 20 persons or less is translated as
mathematical expression as:150𝑥 , 𝑖𝑓 0 ≤ 𝑥 ≤ 20
➢ P130 per head for 21 to 50 persons is translated as mathematical
expression as: 130𝑥 , 𝑖𝑓 21 ≤ 𝑥 ≤ 50
➢ P110 per head for 51 to 100 persons is translated as
mathematical expression as: 110𝑥 , 𝑖𝑓 51 ≤ 𝑥 ≤ 100
➢ For 100 or more persons, the cost is at P100 per head is
translated as mathematical expression as: 100𝑥 , 𝑖𝑓 x > 100
Step 4: Combine the function notation and subfunctions using equal (=) sign.
The result will be the piecewise function that represent the cost of renting (r)
in terms of number of days (x).
150x if 0 ≤ 𝑥 ≤ 20 , x ∈ ℕ
130x if 21 ≤ 𝑥 ≤ 50, x ∈ ℕ
110x if 51 ≤ 𝑥 ≤ 100, x ∈ ℕ
100x if x > 100, x ∈ ℕ
Note:
• 20 persons or less means 20 persons and below (less than)
• 100 or more persons means 100 persons and above (greater than)
• 51 to 100 persons means less than or equal to 100 but greater than or
equal to 51.
• More than 100 means greater than 100.
• x ∈ ℕ, 𝑟𝑒𝑎𝑑𝑠 𝑎𝑠 𝑥 𝑖𝑠 𝑎𝑛 𝑒𝑙𝑒𝑚𝑒𝑛𝑡 𝑜𝑓 𝑛𝑎𝑡𝑢𝑟𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟𝑠. X should be an
element of natural number because the number of attendees should be
in whole number. There will be never 1.5 persons/attendees.
f(x) =
Tips: The number of input
values or independent variable
gives the number of
subfunctions of the piecewise
function.
5
I. Activity
A. Model it with Functions
After knowing more on functions, let us now apply these in the real-life
situations. You are task to model the situation with functions, by constructing
mathematical model to represents the real-life scenario. Put your answer on
a sheet of paper.
Scenario # 1:
A computer shop operates for a cause at this time of pandemic and
charges 25 pesos for the first two hours, but for the succeeding hours, an
additional charge of 15 pesos per hour is added.
1-2. The number of hours (h) is the _________and the charges in using the
computer (c) is _________.
1. The function notation to be used to represent the situation is ________.
2. Using the information given in the scenario, the subfunctions with
corresponding intervals are _________ and _________.
3. The piecewise function that represents the charges in using the
computer in terms of the number of hours is _________.
Scenario # 2:
You plan to bake and sell pandesal varieties each day to raise funds for
buying face masks for the frontliners facing the pandemic. You sell it for P8.00
each for the first 80 pandesals brought by a customer. After the first 80
pandesals up to 160 pandesals sold by the same customer you lower the price
to P5.50 each. After 160 pandesals sold by the same customer the price will
decrease to P3.00 each.
6-7. The input used in the situation is _________ and the output is
_________.
8. The function notation to be used to represent the situation is ________.
9. Using the information given in the scenario, the subfunctions with
corresponding intervals are _________ , _________ , and __________.
10. The piecewise function that describes the of pandesal is ________
6
Key to Corrections
A. Model it with Functions
1. input 6. number of pandesal (n)
2. output 7. Sales (s) or price (p)
3. h(c) 8. s(n), may vary according to
4. 25 if 0 ≤ c ≤ 2 variables used
25 + 15(c – 2) if c > 2 9. 8n if 0 ≤ n ≤ 80
5. ℎ(𝑐) = {
25 0 ≤ 𝑐 ≤ 2
25 + 15(𝑐 − 2) 𝑐 > 2
5.50n if 81≤ n ≤ 160
3n if n > 160
10. s(n)= {
8n if 0 ≤ n ≤ 80
5.50n if 81 ≤ n ≤ 160
3n if n > 160
References
Smith, Jessica. 2019. “How Are Linear Equations Used in Everyday Life?”
Sciencing, N.p. Last modified August 7, 2020.
https://sciencing.com/linear-equations-used-everyday-life-
6022370.html.
Abramson, Carmichael, and David Lippman.n.d. “College Algebra.” Lumen
Learning, N.p. Last accessed August 10,2020.
https://courses.lumenlearning.com/waymakercollegealgebra/chapter/
evaluate-and-solve-functions/.
N.p. n.d. “Function Notation (Examples, Solutions, Videos).”
Onlinemathlearning. Last accessed August 11,2020.
https://www.onlinemathlearning.com/function-notation.html.
"Function Application for the Real World." Study.com. September 15, 2017.
https://study.com/academy/lesson/function-application-for-the-real-
world.html.
"Functions: Identification, Notation & Practice Problems." Study.com.
January 15, 2013. https://study.com/academy/lesson/how-to-use-
function-notation.html.
Barcelona, Belecina, and John Lleonard C. Villanueva. 2016. Senior High
Conceptual Math and Beyond: General Mathematics, 1st Edition. Edited
by Rene R. Belecina.Quezon City,Philippines. Brilliant Creations
Publishing,Inc.
7
Crisologo, Ocampo, Miro, Tresvalles, Hao, and Emellie G. Palomo.
2016.General Mathematics: Teacher’s Guide, 1st Edition. Edited by
Christian Paul O. Chan Shio and Mark L. Loyola. Pasig City, Philippines.
Department of Education.
Oronce, Orlando A. 2016. General Mathematics,1st Edition.Manila,
Philippines. Rex Book Store, Inc. (RBSI).

More Related Content

What's hot

2 5 rational equations word-problems
2 5 rational equations word-problems2 5 rational equations word-problems
2 5 rational equations word-problems
math123b
 
Writing an editorial
Writing an editorialWriting an editorial
Writing an editorial
Joy Magbanua
 

What's hot (20)

GENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on FunctionsGENERAL MATHEMATICS Module 1: Review on Functions
GENERAL MATHEMATICS Module 1: Review on Functions
 
2 5 rational equations word-problems
2 5 rational equations word-problems2 5 rational equations word-problems
2 5 rational equations word-problems
 
SIMPLE AND GENERAL ANNUITY PPT.pptx
SIMPLE AND GENERAL ANNUITY PPT.pptxSIMPLE AND GENERAL ANNUITY PPT.pptx
SIMPLE AND GENERAL ANNUITY PPT.pptx
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
 
Random Variables and Probabiity Distribution
Random Variables and Probabiity DistributionRandom Variables and Probabiity Distribution
Random Variables and Probabiity Distribution
 
Mean of a discrete random variable.ppt
Mean of a discrete random variable.pptMean of a discrete random variable.ppt
Mean of a discrete random variable.ppt
 
Reading and Writing Skills Q3 M1-1.docx
Reading and Writing Skills Q3 M1-1.docxReading and Writing Skills Q3 M1-1.docx
Reading and Writing Skills Q3 M1-1.docx
 
Editorial Cartooning
Editorial CartooningEditorial Cartooning
Editorial Cartooning
 
Lesson plan in mathematics 8 (Factoring Perfect Square Trinomial)
Lesson plan in mathematics 8 (Factoring Perfect Square Trinomial) Lesson plan in mathematics 8 (Factoring Perfect Square Trinomial)
Lesson plan in mathematics 8 (Factoring Perfect Square Trinomial)
 
QUARTILES : MEASURES OF POSITION FOR GROUPED DATA
QUARTILES : MEASURES OF POSITION FOR GROUPED DATAQUARTILES : MEASURES OF POSITION FOR GROUPED DATA
QUARTILES : MEASURES OF POSITION FOR GROUPED DATA
 
Rate base percentage
Rate base percentageRate base percentage
Rate base percentage
 
Human Activities that Affect the Quality and Quantity of the Soil
Human Activities that Affect the Quality and Quantity of the SoilHuman Activities that Affect the Quality and Quantity of the Soil
Human Activities that Affect the Quality and Quantity of the Soil
 
Factoring Perfect Square Trinomials Worksheet
Factoring Perfect Square Trinomials WorksheetFactoring Perfect Square Trinomials Worksheet
Factoring Perfect Square Trinomials Worksheet
 
Statistics and probability lesson 1
Statistics and probability lesson 1Statistics and probability lesson 1
Statistics and probability lesson 1
 
Writing an editorial
Writing an editorialWriting an editorial
Writing an editorial
 
Pananaliksik
PananaliksikPananaliksik
Pananaliksik
 
Joint variation
Joint variationJoint variation
Joint variation
 
Wikang Opisyal at Wikang Panturo
Wikang Opisyal at Wikang PanturoWikang Opisyal at Wikang Panturo
Wikang Opisyal at Wikang Panturo
 
Assertions and determining textual evidence
Assertions and determining textual evidenceAssertions and determining textual evidence
Assertions and determining textual evidence
 
Language Used in Academic Texts from Various Disciplines.pptx
Language Used in Academic Texts from Various Disciplines.pptxLanguage Used in Academic Texts from Various Disciplines.pptx
Language Used in Academic Texts from Various Disciplines.pptx
 

Similar to PIECEWISE FUNCTION

MATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docx
MATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docxMATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docx
MATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docx
healdkathaleen
 
FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3
rohassanie
 
1 ECONOMICS 581 LECTURE NOTES CHAPTER 4 MICROECONO.docx
 1 ECONOMICS 581 LECTURE NOTES  CHAPTER 4 MICROECONO.docx 1 ECONOMICS 581 LECTURE NOTES  CHAPTER 4 MICROECONO.docx
1 ECONOMICS 581 LECTURE NOTES CHAPTER 4 MICROECONO.docx
aryan532920
 
MATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docx
MATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docxMATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docx
MATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docx
andreecapon
 

Similar to PIECEWISE FUNCTION (20)

Gen Math Lesson 1.pptx
Gen Math Lesson 1.pptxGen Math Lesson 1.pptx
Gen Math Lesson 1.pptx
 
Partial Derivatives.pdf
Partial Derivatives.pdfPartial Derivatives.pdf
Partial Derivatives.pdf
 
Machine learning
Machine learningMachine learning
Machine learning
 
Functions.pptx
Functions.pptxFunctions.pptx
Functions.pptx
 
MAM CRIS COT.pptx
MAM CRIS COT.pptxMAM CRIS COT.pptx
MAM CRIS COT.pptx
 
Thesis
ThesisThesis
Thesis
 
Importance of Calculus in mathematics.pptx
Importance of Calculus in mathematics.pptxImportance of Calculus in mathematics.pptx
Importance of Calculus in mathematics.pptx
 
APLICACIÓN DE LAS DERIVADAS EN CONTABILIDAD Y AUDITORÍA
APLICACIÓN DE LAS DERIVADAS EN CONTABILIDAD Y AUDITORÍAAPLICACIÓN DE LAS DERIVADAS EN CONTABILIDAD Y AUDITORÍA
APLICACIÓN DE LAS DERIVADAS EN CONTABILIDAD Y AUDITORÍA
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
C++ Language
C++ LanguageC++ Language
C++ Language
 
MATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docx
MATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docxMATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docx
MATH133 UNIT 2 Quadratic Equations Individual Project Assignm.docx
 
STA003_WK4_L.pptx
STA003_WK4_L.pptxSTA003_WK4_L.pptx
STA003_WK4_L.pptx
 
Functions Practice Sheet.docx
Functions Practice Sheet.docxFunctions Practice Sheet.docx
Functions Practice Sheet.docx
 
Looping
LoopingLooping
Looping
 
FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3
 
1 ECONOMICS 581 LECTURE NOTES CHAPTER 4 MICROECONO.docx
 1 ECONOMICS 581 LECTURE NOTES  CHAPTER 4 MICROECONO.docx 1 ECONOMICS 581 LECTURE NOTES  CHAPTER 4 MICROECONO.docx
1 ECONOMICS 581 LECTURE NOTES CHAPTER 4 MICROECONO.docx
 
Derivative rules.docx
Derivative rules.docxDerivative rules.docx
Derivative rules.docx
 
MATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docx
MATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docxMATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docx
MATH133 UNIT 2 Quadratic EquationsIndividual Project Assignment.docx
 
C important questions
C important questionsC important questions
C important questions
 
E10
E10E10
E10
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 

PIECEWISE FUNCTION

  • 1. 1 FUNCTIONS Lesson 1.1 Functions in Real-life In mathematics, a function is a relationship between two sets of elements in which no element in the first set relates to more than one element in the second. We can think of a function as a rule that takes inputs from the first set and relates them to an element in the second set, which is the output (Function Application for the Real World, 2017).For example, if you take tests, there is a function that tells you if you get this score on your test ,you will get this grade. If you go grocery shopping, there is a function that tells you if you buy this many bottles of water ,you need to pay this much money. If you pay for cable TV, there is a function that tells you if you want this many channels, you need to pay this much money (Functions: Identification, Notation & Practice Problems,2013). Guide Questions: 1. In the example: If you pay for cable TV, there is a function that tells you if you want this many channels, you need to pay this much money. What is the input variable?the output variable? _____________________________________________________________________ 2. How did you identify the input variable from the output variable? _____________________________________________________________________ _____________________________________________________________________ _____________________________________________________________________ In addition, functions are used as representation of real-life situations that shows relationship between the sets of values or quantities such as test score and grade, and number of bottles of water and amount paid. The test score does changes in the grade shows relationship, that is grade (output/dependent variable) is dependent to test score (input/independent variable). We can use function notation for functions, such as f(x) = y, where: x is the input/independent variable, y is the output/dependent variable f is the name of the function (we can also use letters other than f). f(x) is the value of the function at x.
  • 2. 2 In this lesson, you are expected to construct mathematical models to represent real-life situations using functions. Example 1: Give a function P that can represent the cost of buying x large size t-shirt if each t-shirt costs P160. Solution: Step 1: Identify the input and output in the situation and assign corresponding variable for each. Remember that, output always depends on input. ➢ The input is number of large size t-shirt (x) and the output is the cost of t-shirts (C). Step 2: Write the function notation to be used to represent the situation. ➢ Since the cost of buying (C) depends on the number of large size t-shirt (x), then the function notation is C(x). Step 3: Construct a mathematical expression based on the mathematical phrase present in the situation. This will be the subfunctions. ➢ Each t-shirt costs P160 is translated as mathematical expression as: 160x Step 4: Combine the function notation and mathematical expression using (=) sign. The result will be the linear function that represent the cost (C) of buying large size t-shirts (x). ➢ C(x) = 160x Note: Remember, functions can also be written in different ways using other variables such as C(x),h(x), and g(x). Similarly, functions may take other input values other than x such as P(a), h (r), and g(m). PIECEWISE FUNCTIONS. Some situations can only be described by more than one formula, depending on the value of the independent variable. Definition: A piecewise function is defined by multiple subfunctions, where each subfunction applies to a certain interval of the main function’s domain. Example 2: A videoke machine can be rented for P1,000 for three days, but for the fourth day onwards, an additional cost of P400 per day is added. Represent the cost of renting a videoke machine as a piecewise function of the number of days it is rented.
  • 3. 3 Solution: Step 1: Identify the input and output in the situation and assign corresponding variable for each. Remember that, output always depends on input. ➢ The input is the number of days (x) rented and the output is the cost of renting (r). Step 2: Write the function notation to be used to represent the situation. ➢ Since the cost of renting (r) depends on number of days (x) rented, then the function notation is r(x). Step 3: Construct a mathematical expression based on the mathematical phrase present in the situation. This will be the subfunctions. ➢ rented for P1,000 for three days is translated as mathematical expression as:1000,𝑖𝑓 0 ≤ 𝑥 ≤ 3 ➢ an additional cost of P400 per day is added to 1000 is translated as mathematical expression as: 1000 + 400(𝑥 − 3) , 𝑖𝑓 𝑥 > 3 Step 4: Combine the function notation and subfunctions using equal (=) sign. The result will be the piecewise function that represent the cost of renting (r) in terms of number of days (x). ➢ 𝑟(𝑥) = { 1000 , 𝑖𝑓 0 ≤ 𝑥 ≤ 3 1000 + 400(𝑥 − 3) , 𝑖𝑓 𝑥 > 3 Function Notation Subfunctions Intervals r(x) 1000 1000 + 400(x – 3) 0 ≤ 𝑥 ≤ 3 𝑥 > 3 Notes: • 0 ≤ 𝑥 ≤ 3 and 𝑥 > 3 are intervals of the piecewise function based on the given information in the problem. • fourth day onwards means four days and up • additional cost means increased in cost (addition). Example 3: The cost of hiring a catering service to serve food for a party is P150 per head for 20 persons or less, P130 per head for 21 to 50 persons, and P110 per head for 51 to 100 persons. For more than 100 persons, the cost is at P100 per head. Represent the total cost as a piecewise function of the number of attendees of the party. Solution: Step 1: Identify the input and output in the situation and assign corresponding variable for each. Remember that, output always depends on input.
  • 4. 4 ➢ The input is the number of attendees/persons (x) and the output is the cost of hiring a catering service (f). Step 2: Write the function notation to be used to represent the situation. ➢ Since the cost of hiring a catering services (f) depends on the number of attendees/persons (x), then the function notation is f(x). Step 3: Construct a mathematical expression based on the mathematical phrase present in the situation. This will be the subfunctions. ➢ P150 per head for 20 persons or less is translated as mathematical expression as:150𝑥 , 𝑖𝑓 0 ≤ 𝑥 ≤ 20 ➢ P130 per head for 21 to 50 persons is translated as mathematical expression as: 130𝑥 , 𝑖𝑓 21 ≤ 𝑥 ≤ 50 ➢ P110 per head for 51 to 100 persons is translated as mathematical expression as: 110𝑥 , 𝑖𝑓 51 ≤ 𝑥 ≤ 100 ➢ For 100 or more persons, the cost is at P100 per head is translated as mathematical expression as: 100𝑥 , 𝑖𝑓 x > 100 Step 4: Combine the function notation and subfunctions using equal (=) sign. The result will be the piecewise function that represent the cost of renting (r) in terms of number of days (x). 150x if 0 ≤ 𝑥 ≤ 20 , x ∈ ℕ 130x if 21 ≤ 𝑥 ≤ 50, x ∈ ℕ 110x if 51 ≤ 𝑥 ≤ 100, x ∈ ℕ 100x if x > 100, x ∈ ℕ Note: • 20 persons or less means 20 persons and below (less than) • 100 or more persons means 100 persons and above (greater than) • 51 to 100 persons means less than or equal to 100 but greater than or equal to 51. • More than 100 means greater than 100. • x ∈ ℕ, 𝑟𝑒𝑎𝑑𝑠 𝑎𝑠 𝑥 𝑖𝑠 𝑎𝑛 𝑒𝑙𝑒𝑚𝑒𝑛𝑡 𝑜𝑓 𝑛𝑎𝑡𝑢𝑟𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟𝑠. X should be an element of natural number because the number of attendees should be in whole number. There will be never 1.5 persons/attendees. f(x) = Tips: The number of input values or independent variable gives the number of subfunctions of the piecewise function.
  • 5. 5 I. Activity A. Model it with Functions After knowing more on functions, let us now apply these in the real-life situations. You are task to model the situation with functions, by constructing mathematical model to represents the real-life scenario. Put your answer on a sheet of paper. Scenario # 1: A computer shop operates for a cause at this time of pandemic and charges 25 pesos for the first two hours, but for the succeeding hours, an additional charge of 15 pesos per hour is added. 1-2. The number of hours (h) is the _________and the charges in using the computer (c) is _________. 1. The function notation to be used to represent the situation is ________. 2. Using the information given in the scenario, the subfunctions with corresponding intervals are _________ and _________. 3. The piecewise function that represents the charges in using the computer in terms of the number of hours is _________. Scenario # 2: You plan to bake and sell pandesal varieties each day to raise funds for buying face masks for the frontliners facing the pandemic. You sell it for P8.00 each for the first 80 pandesals brought by a customer. After the first 80 pandesals up to 160 pandesals sold by the same customer you lower the price to P5.50 each. After 160 pandesals sold by the same customer the price will decrease to P3.00 each. 6-7. The input used in the situation is _________ and the output is _________. 8. The function notation to be used to represent the situation is ________. 9. Using the information given in the scenario, the subfunctions with corresponding intervals are _________ , _________ , and __________. 10. The piecewise function that describes the of pandesal is ________
  • 6. 6 Key to Corrections A. Model it with Functions 1. input 6. number of pandesal (n) 2. output 7. Sales (s) or price (p) 3. h(c) 8. s(n), may vary according to 4. 25 if 0 ≤ c ≤ 2 variables used 25 + 15(c – 2) if c > 2 9. 8n if 0 ≤ n ≤ 80 5. ℎ(𝑐) = { 25 0 ≤ 𝑐 ≤ 2 25 + 15(𝑐 − 2) 𝑐 > 2 5.50n if 81≤ n ≤ 160 3n if n > 160 10. s(n)= { 8n if 0 ≤ n ≤ 80 5.50n if 81 ≤ n ≤ 160 3n if n > 160 References Smith, Jessica. 2019. “How Are Linear Equations Used in Everyday Life?” Sciencing, N.p. Last modified August 7, 2020. https://sciencing.com/linear-equations-used-everyday-life- 6022370.html. Abramson, Carmichael, and David Lippman.n.d. “College Algebra.” Lumen Learning, N.p. Last accessed August 10,2020. https://courses.lumenlearning.com/waymakercollegealgebra/chapter/ evaluate-and-solve-functions/. N.p. n.d. “Function Notation (Examples, Solutions, Videos).” Onlinemathlearning. Last accessed August 11,2020. https://www.onlinemathlearning.com/function-notation.html. "Function Application for the Real World." Study.com. September 15, 2017. https://study.com/academy/lesson/function-application-for-the-real- world.html. "Functions: Identification, Notation & Practice Problems." Study.com. January 15, 2013. https://study.com/academy/lesson/how-to-use- function-notation.html. Barcelona, Belecina, and John Lleonard C. Villanueva. 2016. Senior High Conceptual Math and Beyond: General Mathematics, 1st Edition. Edited by Rene R. Belecina.Quezon City,Philippines. Brilliant Creations Publishing,Inc.
  • 7. 7 Crisologo, Ocampo, Miro, Tresvalles, Hao, and Emellie G. Palomo. 2016.General Mathematics: Teacher’s Guide, 1st Edition. Edited by Christian Paul O. Chan Shio and Mark L. Loyola. Pasig City, Philippines. Department of Education. Oronce, Orlando A. 2016. General Mathematics,1st Edition.Manila, Philippines. Rex Book Store, Inc. (RBSI).