Functions: Prepared By: Teresita P. Liwanag - Zapanta
Functions: Prepared By: Teresita P. Liwanag - Zapanta
Prepared by:
Teresita P. Liwanag - Zapanta
OBJECTIVES
• distinguish functions and relations
evaluate functions/relations.
3. Equation
Example: Express the relation y = 2x;x= 0,1,2,3
.
in 5 ways.
1. Set notation
(a) S = { ( 0, 0) , ( 1, 2 ) , ( 2, 4 ), ( 3, 6) }
or
(b) S = { (x , y) such that y = 2x, x = 0, 1, 2,
3}
2. Tabular
form
x 0 1 2 3
y 0 2 4 6
3. Equation: y = 2x
4. Graph 5. Mapping
y x y
5
4 ●
3 0
0
2 ● 1 2
1
● x 2 4
-5 -4 -3 -2 -1
-1 1 2 3 4 5
3 6
-2
-3
-4
-5
DEFINITION: Domain and Range
All the possible values of x is called the domain and all the
possible values of y is called the range. In a set of ordered
pairs, the set of first elements and second elements of
ordered pairs is the domain and range, respectively.
Example: Identify the domain and range of the following
relations.
Answer:
2x D: all real nos. except -2
5. y
x2
R: all real nos. except 2
D : (,)except 2 D : (,)except 2
Answer :
6. y x 1 D: all real nos. > –1
D : [1,) R: all real nos. > 0
R : [0,)
Answer:
3x
7. y D: all real nos. < 3
x3 R: all real nos. except 0
D : (,3) D : (,)except 0
Exercises: Identify the domain and range of the
following relations.
1. {(x,y) | y = x 2 – 4 } 6. y = | x – 7 |
2. (x, y) y 3x 7. y = 25 – x 2
3. ( x, y) y x9 8. y = (x 2 – 3) 2
3x 5
3x 9. y
4. ( x, y ) y x
2 x
2
10. x 25
5. ( x, y ) y x 2 3 x 4 y
x5
PROBLEM SET #5-1
FUNCTIONS
Identify the domain and range of the following relations.
Definition: Function
•A function is a special relation such that every first
element is paired to a unique second element.
3
y x 1 y sin x
and
Each value of x maps to only one Each value of x maps to only one
value of y . . . value of y...
and each y is mapped from only BUT many other x values map to
one x. that y.
Functions
y x 1 3 y sin x
and
y x 3
1 is an example of a y sin x is an example of a
many-to-one function
one-to-one function
a) S = { ( 4, 7 ), ( 5, 8 ), ( 6, 9 ), ( 7, 10 ), ( 8, 11 ) }
b) S = { ( x , y ) s. t. y = | x | ; x R }
c) y=x2 –5
d) |y|= x
2x
e) y x 2
f) y x 1
DEFINITION: Function Notation
3. If h ( x ) = x 2 + 5 , find h ( x + 1 ).
4.If f(x) = x – 2 and g(x) = 2x2 – 3 x – 5 ,
3x if x 0
2.f ( x ) x 1 if 0 x 2
( x 2) 2 if x 2
c)Quotient
( f / g ) ( x ) = f(x) / g(x)
d) Composite
( f ◦ g ) ( x ) = f (g(x))
Example :1. Given f(x) = 11– x and g(x) = x 2 +2x –
10
evaluate each of the following functions
a. f(-5)
b. g(2)
c. (f g)(5)
d. (f - g)(4)
e. f(7)+g(x)
f. g(-1) – f(-4)
g. (f ○ g)(x)
h. (g ○ f)(x)
i. (g ○ f)(2)
2
j. (f○ g) )
(x
2. Given: and
Evaluate the following and determine the domain of
the resulting function.
a.
PROBLEM SET# 5-2
OPERATIONS ON FUNCTIONS
I. Evaluate.
Given:
Find: a. b. c. d.
II. Given :
Evaluate the following and determine the domain of the
resulting function.
III. Given:
Define the following and determine the domain of the resulting
function.
DEFINITION: Graph of a Function
•If f(x) is a function, then its graph is the set of all points
2.y x 1
6. 3x 5
2 y
3.y 16 x x
2
4.y x 5 7.y x 4
Graph of piecewise defined function
The graph of a piecewise function consists of separate
functions.
Example: Graph each piecewise function.
x 2 if x 1
1.f ( x )
2 x 1 if x 1
x if x 0
2
if 0 x 3
2.f ( x ) 9 x
x 3 if x 1
Plot the points in the coordinate plane
x
-2 1
Plot the points in the coordinate plane
x
-2 1
Graph of absolute value function.
Recall that
x if x0
x
x if x0
4.
y = x-| x - 2 |
Plot the points in the coordinate plane
x
-2 1
PROBLEM SET #5-2
Functions
Sketch the graph of the following function and determine its
domain and range.
Definition: Greatest integer function.
1 1 2.1 2
Definition: Least integer function.
x y x
2 x 1 2
1 x 0 1
0 x 1 0
1 x 2 1
2x3 2
Plot the points in the coordinate plane
x
-2 1
Graph of least integer function.
x y x
2 x 1 1
1 x 0 0
0 x 1 1
1 x 2 2
2x3 3
Plot the points in the coordinate plane
y
x
-2 1