SlideShare a Scribd company logo
FUNCTIONS
INTRODUCTION
The Function Rule
• A function can be thought of as a rule which
operates on an input and produces and output.
The Function Notation
𝑓 𝑥 = 3𝑥
• Read as “𝒇 as a function of 𝒙” or “𝒇 of 𝒙” or “the rule of 𝒇 is….”
• meaning that the value of the output from the function depends upon the value of the
input x.
• The value of the output is often called the ‘value of the function’.
Name of the
function
Input Output (value of the function)
The Function Notation
Given the following functions, find the value of the output with each given
input or argument:
1. Given: 𝑓 𝑥 = 3𝑥 + 1
i. 𝑓 2
ii. 𝑓 −1
iii. 𝑓(6)
2. Given: 𝑦 𝑥 = 3𝑥 + 2
i. 𝑦 𝑡
ii. 𝑦 2𝑡
iii. 𝑦(𝑧 + 2)
The Function Notation
Given the following functions, find the value of
the output with each given input or argument:
3. 𝑔 𝑥 = 3𝑥2 − 7
i. 𝑔(3𝑡)
ii. 𝑔 𝑡 + 5
Operations on Functions
•Similar to any real numbers, functions can also be added,
subtracted, multiplied and divided.
EQUATION OPERATION
𝒇 + 𝒈 𝒙 = 𝒇 𝒙 + 𝒈(𝒙) Addition
𝑓 − 𝑔 𝑥 = 𝑓 𝑥 − 𝑔(𝑥) Subtraction
𝑓 ∙ 𝑔 𝑥 = 𝑓(𝑥) ∙ 𝑔(𝑥) Multiplication
𝑓
𝑔
𝑥 = 𝑓(𝑥)/𝑔 𝑥 Division
𝑓 ∘ 𝑔 𝑥 = 𝑓(𝑔 𝑥 ) Composition
Operations on Functions
Examples:
1. Given 𝑓 𝑥 = 3𝑥 + 2 and 𝑔 𝑥 = 4 − 5𝑥,
Find:
i. (𝑓 + 𝑔)(𝑥)
ii. 𝑓 − 𝑔 𝑥
iii. 𝑓 ∙ 𝑔 𝑥
iv.
𝑓
𝑔
𝑥
Operations on Functions
Examples:
2. Given: 𝑓 𝑥 = 2𝑥, 𝑔 𝑥 = 𝑥 + 4, and ℎ 𝑥 = 5 − 𝑥3
.
Find:
i. 𝑓 + 𝑔 2
ii. ℎ − 𝑔 2
iii. 𝑓 ∙ ℎ 2
iv.
ℎ
𝑔
2
v. (𝑔 ∘ ℎ)(2)
Drills
For numbers 5 and 6, evaluate the following functions.
5. Given the function 𝑓 𝑥 = 5𝑥 + 8, find the value of the
output given the following input or argument
a. 𝑓 𝑡
b. 𝑓 −8
c. 𝑓 5
d. 𝑓 3𝑥
e. 𝑓(7 − 𝑥)
Functions in Real-Life Situations
Example 1:
f(t) = 10,000(1.05)t represent the amount of money if P10,000 is invested at 5% compounded
annually.
Example 2:
Suppose that a jeepney ride costs P8 for the first 4 kilometers, then an additional P1.50 for each
succeeding kilometer.Then the cost of a jeepney fare for a jeepney on an 8-kilometer route can be
modeled by:
𝐹( 𝑑) =
8.00 𝑖𝑓 0 < 𝑑 ≤ 4
9.50 𝑖𝑓 4 < 𝑑 ≤ 5
11.00 𝑖𝑓 5 < 𝑑 ≤ 6
12.50 𝑖𝑓 6 < 𝑑 ≤ 7
14.00 𝑖𝑓 7 < 𝑑 ≤ 8
where d is the distance travelled and F(d) is the fare.
Piecewise Function
• Is a function defined by multiple sub-functions with each sub-
function applying to a certain interval of the function’s domain
(or a sub-domain)
𝐹( 𝑑) =
8.00 𝑖𝑓 0 < 𝑑 ≤ 4
9.50 𝑖𝑓 4 < 𝑑 ≤ 5
11.00 𝑖𝑓 5 < 𝑑 ≤ 6
12.50 𝑖𝑓 6 < 𝑑 ≤ 7
14.00 𝑖𝑓 7 < 𝑑 ≤ 8
Piecewise Function
Example:
•The fee for hiring a guide to hike Mt. Apo is P700. Suppose that
the guide can take care of at least 8 hikers and a maximum of 16.
For every succeeding 2 hikers, there is an additional fee of P125.
Represent the cost of hiring guides as a piecewise function of the
number of hikers.
REVIEWTHE CONCEPTS FOR A SMOOTH
FLOWTHISWEEK! :3

More Related Content

What's hot

C Sharp Jn (2)
C Sharp Jn (2)C Sharp Jn (2)
C Sharp Jn (2)
guest58c84c
 
Operators and expressions in C++
Operators and expressions in C++Operators and expressions in C++
Operators and expressions in C++
Neeru Mittal
 
Python : Operators
Python : OperatorsPython : Operators
Prefix Postfix
Prefix PostfixPrefix Postfix
Queue
QueueQueue
Operators in python
Operators in pythonOperators in python
Operators in python
Prabhakaran V M
 
Python Basic Operators
Python Basic OperatorsPython Basic Operators
Python Basic Operators
Soba Arjun
 
Pointers in Programming
Pointers in ProgrammingPointers in Programming
Pointers in Programming
HamadZia1
 
Operators
OperatorsOperators
Operators
Kamran
 
Labsheet_3
Labsheet_3Labsheet_3
Labsheet_3
rohassanie
 
Infix to Prefix (Conversion, Evaluation, Code)
Infix to Prefix (Conversion, Evaluation, Code)Infix to Prefix (Conversion, Evaluation, Code)
Infix to Prefix (Conversion, Evaluation, Code)
Ahmed Khateeb
 
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
vikram mahendra
 
Input processing and output in Python
Input processing and output in PythonInput processing and output in Python
Input processing and output in Python
Raajendra M
 
multiple linear regression
multiple linear regressionmultiple linear regression
multiple linear regression
Akhilesh Joshi
 
4. operators in c programming by digital wave
4. operators in  c programming by digital wave4. operators in  c programming by digital wave
4. operators in c programming by digital wave
RahulSharma4566
 
Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7
alish sha
 
Infix prefix postfix
Infix prefix postfixInfix prefix postfix
Infix prefix postfix
Self-Employed
 
DATA TYPE IN PYTHON
DATA TYPE IN PYTHONDATA TYPE IN PYTHON
DATA TYPE IN PYTHON
vikram mahendra
 
please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...
hwbloom27
 

What's hot (19)

C Sharp Jn (2)
C Sharp Jn (2)C Sharp Jn (2)
C Sharp Jn (2)
 
Operators and expressions in C++
Operators and expressions in C++Operators and expressions in C++
Operators and expressions in C++
 
Python : Operators
Python : OperatorsPython : Operators
Python : Operators
 
Prefix Postfix
Prefix PostfixPrefix Postfix
Prefix Postfix
 
Queue
QueueQueue
Queue
 
Operators in python
Operators in pythonOperators in python
Operators in python
 
Python Basic Operators
Python Basic OperatorsPython Basic Operators
Python Basic Operators
 
Pointers in Programming
Pointers in ProgrammingPointers in Programming
Pointers in Programming
 
Operators
OperatorsOperators
Operators
 
Labsheet_3
Labsheet_3Labsheet_3
Labsheet_3
 
Infix to Prefix (Conversion, Evaluation, Code)
Infix to Prefix (Conversion, Evaluation, Code)Infix to Prefix (Conversion, Evaluation, Code)
Infix to Prefix (Conversion, Evaluation, Code)
 
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
 
Input processing and output in Python
Input processing and output in PythonInput processing and output in Python
Input processing and output in Python
 
multiple linear regression
multiple linear regressionmultiple linear regression
multiple linear regression
 
4. operators in c programming by digital wave
4. operators in  c programming by digital wave4. operators in  c programming by digital wave
4. operators in c programming by digital wave
 
Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7
 
Infix prefix postfix
Infix prefix postfixInfix prefix postfix
Infix prefix postfix
 
DATA TYPE IN PYTHON
DATA TYPE IN PYTHONDATA TYPE IN PYTHON
DATA TYPE IN PYTHON
 
please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...please sir i want to comments of every code what i do in eachline . in this w...
please sir i want to comments of every code what i do in eachline . in this w...
 

Similar to BB - Functions (Operations and Piecewise)

functions
functionsfunctions
functions
Makwana Bhavesh
 
Functional Programming in Swift
Functional Programming in SwiftFunctional Programming in Swift
Functional Programming in Swift
Saugat Gautam
 
Iterative control structures, looping, types of loops, loop working
Iterative control structures, looping, types of loops, loop workingIterative control structures, looping, types of loops, loop working
Iterative control structures, looping, types of loops, loop working
Neeru Mittal
 
46630497 fun-pointer-1
46630497 fun-pointer-146630497 fun-pointer-1
46630497 fun-pointer-1
AmIt Prasad
 
how to reuse code
how to reuse codehow to reuse code
how to reuse code
jleed1
 
power point presentation on genmath_lesson1_2_.pptx
power point presentation on genmath_lesson1_2_.pptxpower point presentation on genmath_lesson1_2_.pptx
power point presentation on genmath_lesson1_2_.pptx
datumanongnormalah
 
Monads in Swift
Monads in SwiftMonads in Swift
Monads in Swift
Vincent Pradeilles
 
CSE240 Pointers
CSE240 PointersCSE240 Pointers
CSE240 Pointers
Garrett Gutierrez
 
Lecture#6 functions in c++
Lecture#6 functions in c++Lecture#6 functions in c++
Lecture#6 functions in c++
NUST Stuff
 
Dti2143 chapter 5
Dti2143 chapter 5Dti2143 chapter 5
Dti2143 chapter 5
alish sha
 
Introduction to functional programming using Ocaml
Introduction to functional programming using OcamlIntroduction to functional programming using Ocaml
Introduction to functional programming using Ocaml
pramode_ce
 
Data Handling.pdf
Data Handling.pdfData Handling.pdf
Data Handling.pdf
MILANOP1
 
C++ Language
C++ LanguageC++ Language
C++ Language
Syed Zaid Irshad
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
temkin abdlkader
 
FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3
rohassanie
 
C++ Functions.ppt
C++ Functions.pptC++ Functions.ppt
C++ Functions.ppt
WaheedAnwar20
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
Mohammed Saleh
 
16717 functions in C++
16717 functions in C++16717 functions in C++
16717 functions in C++
LPU
 
Problemas resueltos de funciones lineales ccesa007
Problemas resueltos de  funciones lineales ccesa007Problemas resueltos de  funciones lineales ccesa007
Problemas resueltos de funciones lineales ccesa007
Demetrio Ccesa Rayme
 
Derivatives and it’s simple applications
Derivatives and it’s simple applicationsDerivatives and it’s simple applications
Derivatives and it’s simple applications
Rutuja Gholap
 

Similar to BB - Functions (Operations and Piecewise) (20)

functions
functionsfunctions
functions
 
Functional Programming in Swift
Functional Programming in SwiftFunctional Programming in Swift
Functional Programming in Swift
 
Iterative control structures, looping, types of loops, loop working
Iterative control structures, looping, types of loops, loop workingIterative control structures, looping, types of loops, loop working
Iterative control structures, looping, types of loops, loop working
 
46630497 fun-pointer-1
46630497 fun-pointer-146630497 fun-pointer-1
46630497 fun-pointer-1
 
how to reuse code
how to reuse codehow to reuse code
how to reuse code
 
power point presentation on genmath_lesson1_2_.pptx
power point presentation on genmath_lesson1_2_.pptxpower point presentation on genmath_lesson1_2_.pptx
power point presentation on genmath_lesson1_2_.pptx
 
Monads in Swift
Monads in SwiftMonads in Swift
Monads in Swift
 
CSE240 Pointers
CSE240 PointersCSE240 Pointers
CSE240 Pointers
 
Lecture#6 functions in c++
Lecture#6 functions in c++Lecture#6 functions in c++
Lecture#6 functions in c++
 
Dti2143 chapter 5
Dti2143 chapter 5Dti2143 chapter 5
Dti2143 chapter 5
 
Introduction to functional programming using Ocaml
Introduction to functional programming using OcamlIntroduction to functional programming using Ocaml
Introduction to functional programming using Ocaml
 
Data Handling.pdf
Data Handling.pdfData Handling.pdf
Data Handling.pdf
 
C++ Language
C++ LanguageC++ Language
C++ Language
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3
 
C++ Functions.ppt
C++ Functions.pptC++ Functions.ppt
C++ Functions.ppt
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
16717 functions in C++
16717 functions in C++16717 functions in C++
16717 functions in C++
 
Problemas resueltos de funciones lineales ccesa007
Problemas resueltos de  funciones lineales ccesa007Problemas resueltos de  funciones lineales ccesa007
Problemas resueltos de funciones lineales ccesa007
 
Derivatives and it’s simple applications
Derivatives and it’s simple applicationsDerivatives and it’s simple applications
Derivatives and it’s simple applications
 

Recently uploaded

Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 

Recently uploaded (20)

Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 

BB - Functions (Operations and Piecewise)

  • 2. The Function Rule • A function can be thought of as a rule which operates on an input and produces and output.
  • 3. The Function Notation 𝑓 𝑥 = 3𝑥 • Read as “𝒇 as a function of 𝒙” or “𝒇 of 𝒙” or “the rule of 𝒇 is….” • meaning that the value of the output from the function depends upon the value of the input x. • The value of the output is often called the ‘value of the function’. Name of the function Input Output (value of the function)
  • 4. The Function Notation Given the following functions, find the value of the output with each given input or argument: 1. Given: 𝑓 𝑥 = 3𝑥 + 1 i. 𝑓 2 ii. 𝑓 −1 iii. 𝑓(6) 2. Given: 𝑦 𝑥 = 3𝑥 + 2 i. 𝑦 𝑡 ii. 𝑦 2𝑡 iii. 𝑦(𝑧 + 2)
  • 5. The Function Notation Given the following functions, find the value of the output with each given input or argument: 3. 𝑔 𝑥 = 3𝑥2 − 7 i. 𝑔(3𝑡) ii. 𝑔 𝑡 + 5
  • 6. Operations on Functions •Similar to any real numbers, functions can also be added, subtracted, multiplied and divided. EQUATION OPERATION 𝒇 + 𝒈 𝒙 = 𝒇 𝒙 + 𝒈(𝒙) Addition 𝑓 − 𝑔 𝑥 = 𝑓 𝑥 − 𝑔(𝑥) Subtraction 𝑓 ∙ 𝑔 𝑥 = 𝑓(𝑥) ∙ 𝑔(𝑥) Multiplication 𝑓 𝑔 𝑥 = 𝑓(𝑥)/𝑔 𝑥 Division 𝑓 ∘ 𝑔 𝑥 = 𝑓(𝑔 𝑥 ) Composition
  • 7. Operations on Functions Examples: 1. Given 𝑓 𝑥 = 3𝑥 + 2 and 𝑔 𝑥 = 4 − 5𝑥, Find: i. (𝑓 + 𝑔)(𝑥) ii. 𝑓 − 𝑔 𝑥 iii. 𝑓 ∙ 𝑔 𝑥 iv. 𝑓 𝑔 𝑥
  • 8. Operations on Functions Examples: 2. Given: 𝑓 𝑥 = 2𝑥, 𝑔 𝑥 = 𝑥 + 4, and ℎ 𝑥 = 5 − 𝑥3 . Find: i. 𝑓 + 𝑔 2 ii. ℎ − 𝑔 2 iii. 𝑓 ∙ ℎ 2 iv. ℎ 𝑔 2 v. (𝑔 ∘ ℎ)(2)
  • 9. Drills For numbers 5 and 6, evaluate the following functions. 5. Given the function 𝑓 𝑥 = 5𝑥 + 8, find the value of the output given the following input or argument a. 𝑓 𝑡 b. 𝑓 −8 c. 𝑓 5 d. 𝑓 3𝑥 e. 𝑓(7 − 𝑥)
  • 10. Functions in Real-Life Situations Example 1: f(t) = 10,000(1.05)t represent the amount of money if P10,000 is invested at 5% compounded annually. Example 2: Suppose that a jeepney ride costs P8 for the first 4 kilometers, then an additional P1.50 for each succeeding kilometer.Then the cost of a jeepney fare for a jeepney on an 8-kilometer route can be modeled by: 𝐹( 𝑑) = 8.00 𝑖𝑓 0 < 𝑑 ≤ 4 9.50 𝑖𝑓 4 < 𝑑 ≤ 5 11.00 𝑖𝑓 5 < 𝑑 ≤ 6 12.50 𝑖𝑓 6 < 𝑑 ≤ 7 14.00 𝑖𝑓 7 < 𝑑 ≤ 8 where d is the distance travelled and F(d) is the fare.
  • 11. Piecewise Function • Is a function defined by multiple sub-functions with each sub- function applying to a certain interval of the function’s domain (or a sub-domain) 𝐹( 𝑑) = 8.00 𝑖𝑓 0 < 𝑑 ≤ 4 9.50 𝑖𝑓 4 < 𝑑 ≤ 5 11.00 𝑖𝑓 5 < 𝑑 ≤ 6 12.50 𝑖𝑓 6 < 𝑑 ≤ 7 14.00 𝑖𝑓 7 < 𝑑 ≤ 8
  • 12. Piecewise Function Example: •The fee for hiring a guide to hike Mt. Apo is P700. Suppose that the guide can take care of at least 8 hikers and a maximum of 16. For every succeeding 2 hikers, there is an additional fee of P125. Represent the cost of hiring guides as a piecewise function of the number of hikers.
  • 13. REVIEWTHE CONCEPTS FOR A SMOOTH FLOWTHISWEEK! :3