Week 1 - Introduction to Functions
Week 1 - Introduction to Functions
TOPIC OUTLINE:
Relations and Functions
Vertical Line Test
Piece-wise Function
LEARNING OBJECTIVES:
RELATIONS
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).
FUNCTION
Is a relation where each element in the domain is related to only
one value in the range by some rule.
DOMAIN RANGE
DOMAIN AND RANGE
DOMAIN
The domain of a function is the complete set of
possible values of the independent variable (usually
x).
RANGE
The range of the function is the complete set of all
possible resulting values of the dependent variable
(usually y), after we have substituted the domain.
Representations of Functions and Relations
Identifying Domain and Range
Domain: {2,3,4,6}
Range :{−3, −1,3,6}
Identifying Function
Example 2. Which of the following relations are functions?
FUNCTION
NOT FUNCTION
FUNCTION
Identifying Function
Let
x
𝑦= 2𝑥 3
y
-2 𝑦 = 2(−2)3 -16
-1 𝑦 = 2(−1)3 -2
0 𝑦 = 2(0)3 0
1 𝑦 = 2(1)3 2
2 𝑦 = 2(2)3 16
b.𝑦 = 𝑥 2 − 1
Let x 𝑦 = 𝑥2 − 1
2
𝑦 = (−2) − 1
y
-2 𝑦 = (−2)2 − 1 3
-1 𝑦 = (−1)2 − 1 0
0 𝑦 = (0)2 − 1 -1
1 𝑦 = (1)2 − 1 0
2 𝑦 = (2)2 − 1 3
c.𝑦 2 = 𝑥 + 9
Let x 𝒚= 𝒙+𝟗
y
-2 𝒚= (−𝟐) + 𝟗 7&- 7
-1 𝒚= (−𝟏) + 𝟗 8&- 8
0 𝒚= (𝟎) + 𝟗 3 & -3
1 𝒚= (𝟏) + 𝟗 10 & - 10
2 𝒚= (𝟐) + 𝟗 11 & - 11
Identifying function
Example 4. Determine which of the following
equations are functions and which are not
functions.
a. 𝑦 = 2𝑥 3 FUNCTION
b. 𝑦 = 𝑥 2 − 1 FUNCTION
c.𝑦 2 = 𝑥 + 9 NOT FUNCTION
VERTICAL LINE TEST
Graphs of Equations Representing
Functions of x
VERTICAL LINE TEST
EXAMPLE 6. A jeepney ride cost P9.00 for the first 4 kilometers, and each
additional integer kilometer adds P1.50 to the fare. Use piecewise function to
represent the jeepney fare in terms of distance (d) kilometers.
EXAMPLE 7. A user is charged P300 monthly for a particular mobile plan, which
includes 500 free text messages. Messages in excess of 500 are charged P1
each. Represent the monthly cost for text messaging using the function C(x),
where x is the number of messages sent in month.
PIECE-WISE FUNCTION
EXAMPLE 8. Write the equation for the piecewise function whose graph is
shown.