Professional Documents
Culture Documents
OBJECTIVES
Relation • Function
This is a rule that relates It is a relation where each element
values from a set of values in the domain is related to only one
(called the domain) to a second value in the range by some rule.
set of values (called the range). The elements of the domain can be
The elements of the domain imagined as an input to a machine
can be imagined as an input to that applies a rule so that each input
a machine that applies a rule to corresponds to only one output.
these inputs corresponds to . It has a set ordered pairs (x,y) such
generate one or more outputs. that no two ordered pairs have the
It has a set of ordered pairs same x-value but different y-values.
(x,y).
Recall (Relations vs. Functions)
Relation • Function
One-to-one. One-to-one.
One-to-many many-to-one
Many-to -one
Recall (Relations vs. Functions)
Example:
1. A= [(1,2), (2,4), (3,6), (4,8), (5,10)]
Function
2. B=[(2,-3), (3, -2), (4,-1), (5,0), (7,2)]
Function
3. C= [(1,1), (1,-1), (2, 2), (2.-2), (3,3), (4,-4)]
Relation
Function and Relation as a Table of Values
Example:
Example:
When you put an orange fruit into a juicer, you expect an
orange juice as an output and not a grape juice.
Function as a Machine
Function as Representation of Real-life Situation
Example 1:
The salary of the teacher is Php677 per day. The
monthly salary of a teacher is related to the number of
day worked.
Solution1:
The monthly salary of the teacher depends
on the number of days worked, Thus, the monthly salary
of the teacher is a function of days worked.
f(x)= 677x. Answer
Function as Representation of Real-life Situation
Example 2:
One hundred meters of fencing is available to enclose
a rectangular area next to river (see figure below). Give a
function A that can represent the area that can be
enclosed, in terms of x.
Function as Representation of Real-life Situation
Solution2:
The area of the rectangular enclosure is A=xy. We will write this as function
of x, A(x) Since only 100m of fencing is available, then
x+2y=100 (Perimeter of enclosed area)
2y=100-x
y= or y=50-0.5x
Substitute the value of y from the enclosed area,
A= x(50-0.5x)
Therefore,
A(x) = 50x-0.5. Answer
Piece-Wise Function
Example:
The cost of hiring a catering service to serve food at the
party is Php150 per head for 20 person or less, Php130
per head for 21 to 50 persons, and Php110 per head for
51 to 100 persons. For 100 or more persons, the cost is
Php100 per head. Represent the total cost as a piece-
wise function of the number of attendees of the party.
Piece-Wise Function
Solution:
Since the total cost is the function of piece-wise, it consist
of different equations based on the number attendees of the
party and the cost of food per person.
. Answer
Evaluating Function
a.
b.
c.
d.
e.
Evaluating Function
Solution 1:
a. at x= 1.5
f(1.5)= 2(1.5) + 1
=3+1
= 4. Answer
b. at x=1.5
= 2.25 - 3 + 2
= 1.25. Answer
Evaluating Function
Solution 1:
c. at x=1.5
= . Answer
Solution 1:
e. F(x)=⌊x⌋+1,where ⌊x⌋ is the greatest integer
function
F(1.5)=⌊1.5⌋+1
= 1+1
= 2. Answer
Note: The greatest integer function is also called the floor function, is
the integer less than or equal to.
Ex:=1, =0, = -1, =2
Evaluating Function
Example 2:
Evaluate the piece-wise function ,
find the values of the following:
a.
b.
c.
d.
e.
Evaluating Function
Solution 2:
Evaluate the piece-wise function ,
a. Since the value of x =2, we will be using
f(x)= √(x+7) ,2≤x<10 based on the given condition.
f(x)= √(x+7)
f(2)= √(2+7)
= √9
= 3. Answer
Evaluating Function
Solution 2:
b. Since the value of x =12.5, we will be using
f(x)=⌈x-4⌉ ,x≥10 based on the given condition.
f(x)=⌈x-4⌉
f(12.5)=⌈12.5-4⌉
= ⌈8.5⌉ the symbol⌈ ⌉ ceiling function or the
least integer function
= The ceiling function of 8.5 is 9. Answer
Note: The least integer function or the ceiling function is the integer
greater than or equal to. Ex: ⌈1.5 ⌉ =2, ⌈0.5 ⌉ =1, ⌈-1,5 ⌉ =-2
Evaluating Function
Solution 2:
Solution 2:
Solution 2:
Example:
Let f and g be defined as f(x)=4 and g(x)= . Find the
following:
a. (f + g)(x)
b. (f - g)(x)
c. (f g)(x)
d. (f / g)(x)
e. (g / f)(x)
Operations on Function
Solution :
Let f and g be defined as f(x)=4 and g(x)= .
Solution :
Let f and g be defined as f(x)=4 and g(x)= .
b. (f-g)(x)= f(x) - g(x)
= ) , plug in value the
functions f and g
= , using distributive property
= , combine like terms
Operations on Function
Solution :
Let f and g be defined as f(x)=4 and g(x)= .
c. ( f g)(x) = f(x) g(x)
= (4 )(x-2) , plug in value the
functions f and g
= -4x +8, using FOIL Method`
= -4x +8. Answer
Operations on Function
FOIL Method
FOIL Method is a Method used in multiplying 2 binomials,
F(First term of first binomial multiply by First term of second binomial),
O( Outer:Second term of first binomial multiply by the second term of
the second binomial),
I(Inner: Second term of first binomial multiply by the first term of the
second binomial), and
L(Last: The second term or last term of the first binomial multiply by
the second term or last term of the second binomial).
Operations on Function
Solution :
Let f and g be defined as f(x)=4 and g(x)= .
d. (f/g)(x)= (f(x))/(g(x))
= (4 )/(x-2), plug in the value of
functions f and g
= [(x-2)(x+2)]/(x-2), factor the numerator
Solution :
Let f and g be defined as f(x)=4 and g(x)= .
e. (g/f)(x)= (g(x))/(f(x))
= (x-2)/(x^2-4), plug in the value of functions f and g
= (x-2)/((x-2)(x+2)), factor the denominator
(difference of two
squares)
= (x-2)/((x-2)(x+2)), Cancel out the factor x-2 (it has a
quotient of 1)
= 1/(x+2). Answer
Composition on Function
Example:
Let and . Evaluate the following composition:
a. (f g )(x)
b. (g f)(-1)
c. (g f)(x)
d. (f f )(x)
5. (g g )(x)
Composition on Function
Solution:
Let and .
a. (f g )(x) = f(g(x))
=,write the f function
= the g
function as input to f function
= +4x+2+3x+3-2, Apply FOIL Method
Solution:
Let and .
b. = g(f(-1))
since, 2
then 2
therefore,
= , substitute the value of f(-1)=-3
= -2
= -2
Composition on Function
Solution:
Let and .
c.
=
=
=
=
Composition on Function
Solution:
Let and .
d.
Solution:
Let and .
e.
=x+1+1
= x+2, ms
= x+2. Answer
Problem Solving involving Functions
Solution 1: Let d(t) be the distance covered and t for the time spent by
walking.
b. t=3 hours, speed =5km/hr, the distance is a
function of speed and time , thus
d(t)= 5t, substituting t=3
d(t)= 5(3)
d(t)= 15
Therefore the distance covered by walking for 2 hours at a rate
of 5km/hr is 15 km.
Problem Solving involving Functions
Solution 2:
Let A(r) be the area of the circle and r is the
radius.
since r=5cm and the circle is a function of
radius, thus
A(r)= π, substituting r by 5
A(r)= π
A(r)= 25π.