Function and Its Basic Properties
Function and Its Basic Properties
Function and Its Basic Properties
Teacher’s Note: These are the following definitions you need to understand as you go through to the lesson.
Definition: 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).
A function is a set of ordered pairs (x,y) such that no two ordered pairs have the same x-value but different
y-values. Using functional notation, we can write f(x) = y, read as “f of x is equal to y.” In particular, if (1, 2) is an
ordered pair associated with the function f, then we say that f(1) = 2.
Solution.
The relations f and h are functions because no two ordered pairs have the same x-value but different y-values. Meanwhile,
g is not a function because (1,3) and (1,4) are ordered pairs with the same x-value but different y-values.
Relations and functions can be represented by mapping diagrams where the elements of the domain are
mapped to the elements of the range using arrows. In this case, the relation or function is represented by the set of
all the connections represented by the arrows.
X Y X Y X Y
a. b. c.
1 3 4 13
2 5 6 0 2 15
3 9 9 5 19
4 17 10 3 27
5 33 15 9 33
\
Solution
The relations a and b are functions because each value y in Y is unique for a specific value of x. The relation c is not a
function because there is at least one element in X for which there is more than one corresponding y-value. For example,
x=2 corresponds to y = 13 or 15. Similarly, x=5 corresponds to both y=19 or 27.
A relation between two sets of numbers can be illustrated by a graph in the Cartesian plane, and that a
function passes the vertical line test.
Solution
Graphs (a) and (b) are graphs of functions while (c) not because they do not pass the vertical line test.
EVALUATING FUNCTIONS
Teacher’s Note: Evaluating a function is quite easy. Try to understand what it’s all about! Read and understand
carefully.
Evaluating a function means replacing the variable in the function, in this case x, with a value from the
function's domain and computing for the result. To denote that we are evaluating f at a for some a in the domain of
f, we write f(a).
Solution
a) f(1.5) = 2(1.5) + 1 = 4
b) h(1.5) = (1.5) 2 -2(1.5) + 2 = 2.25 – 3 + 2 = 1.25
c) i(1.5) = √(1.5) + 1 = √2.5
2(1.5) + 1 3+1
d) j(1.5) = (1.5) −1
= 0.5
=8
e) k(1.5) = ⌊1.5⌋ + 1 = 1 + 1 = 2
Functions can often be used to model real situations. Identifying an appropriate functional model will lead
to a better understanding of various phenomena.
Example 1. Give a function C that can represent the cost of buying x meals, if one meal costs P40.
Solution
Since each meal costs P40, then the cost function is C(x) = 40x.
Example 2. One hundred meters of fencing is available to enclose a rectangular area next to a river (see figure). Give a
function A that can represent the area that can be enclosed, in terms of x.
River
x
Solution
The area of the rectangular enclosure is A = xy. We will write this as a function of x. Since only 100 m of fencing is
available, then x + 2y = 100 or y = (100 – x)/2 = 50 – 0.5x. Thus, A(x) = x(50 – 0.5x) = 50x – 0.5x2.
Piecewise functions
Some situations can only be described by more than one formula, depending on the value of the independent
variable or the variable x.
Example 1. A user is charged P300 monthly for a particular mobile plan, which includes 100 free text messages. Messages
in excess of 100 are charged P1 each. Represent the monthly cost for text messaging using the function t(m), where m is
the number of messages sent in a month.
Solution
Example 2. A jeepney ride costs P8.00 for the first 4 kilometers, and each additional integer kilometer adds P1.50 to the
fare. Use a piecewise function to represent the jeepney fare in terms of the distance (d) in kilometers.
Solution
The input value is distance and the output is the cost of the jeepney fare. If F(d) represents the fare as a function of distance,
the function can be represented as follows:
8.00 , 𝑖𝑓 0 < 𝑑 ≤ 4
F(d)={
8.00 + 1.5(𝑑) , 𝑖𝑓 𝑑 > 4
Note that is d the floor function applied to d. The floor function gives the largest integer less than or equal to d, e.g. .
KEY CONCEPTS
You can obtain a new function by adding, subtracting, multiplying, and dividing functions. Accordingly,
these new functions are called sum, difference, product, and quotient of the original function.
Given two functions f and g,
a. their sum, denoted by f + g, is the function define by (f + g)(x)=f(x) +g(x).
b. their difference, denoted by f - g, is the function define by (f - g)(x)=f(x) - g(x).
c. their product, denoted by f ∙ g, is the function define by (f ∙ g)(x)=f(x) ∙ g(x).
𝑓 𝑓 𝑓(𝑥)
d. their sum, denoted by , is the function define by ( )(x)= .
𝑔 𝑔 𝑔(𝑥)
In each case, the domain of the resulting function consists of those values of x common to the domains of
both f and g, except in the fourth case where values of x which g(x) = 0 are excluded.
1. Given that f(x) = x2 - 4 and g(x) = x + 2, find the following resulting function.
𝑓
a. (f+g)(x) b. (f - g)(x) c. (f ∙ g)(x) d. ( 𝑔 )(x)
Solution
a. (f + g)(x) = f(x)+g(x) write the definition
= (x2 - 4) + (x + 2) substitute the given function
(f + g)(x) = (x2 - x -2) add liked terms
f f(x)
d. ( g )(x)= g(x) write the definition
x2 − 4
= x+2
substitute the given function
(x − 2)(x + 2)
= x+2
factor out the factorable function
𝐟
( 𝐠 )(x)= x-2 cancel out liked terms
2. Given that f(x) = (2x2 + x – 3) and g(x) = 2x +3, perform the given operation.
𝑓
a. (f+g)(x) b. (f - g)(x) c. (f ∙ g)(x) d. ( 𝑔 )(x)
Solution
a. (f + g)(x) = f(x)+g(x) b. (f - g)(x) = f(x) - g(x)
= (2x2 + x - 3) + (2x + 3) = (2x2 + x - 3) - (2x + 3)
(f + g)(x) = (2x2 + 3x) (f - g)(x) = (2x2 - x – 6)
KEY CONCEPTS
Another operation which involves function is obtaining the composite function of two given function.
Given two functions f and g, the composite function, denoted as f ○ g (read as “f composed with g”), is defined by
(f ○ g)(x) = f[g(x)].
When computing for (f ○ g)(x), apply the first function g to x and then function of f to g(x).
Solution: