Evaluation and Operations Involving Functions.2
Evaluation and Operations Involving Functions.2
Sample Problems
1. Given 𝑓(𝑥) = 5 − 𝑥 2 , evaluate the function at the given values of the independent variable and simplify
the result
a. 𝑓(0) c. 𝑓(−2)
b. 𝑓(√5) d. 𝑓(𝑡 − 1)
Before we will begin to solve this problem, let us have a short discussion of what is given here. We have the function
𝑓 (𝑥 ) which follows that the expression is given in terms of the variable 𝑥. The values 0, √5, −2 and 𝑡 − 1 are our
input values. Since we are asked to evaluate the function, we shall replace all variables in the function with the different
input values.
Solution: 𝑓 (𝑥 ) = 5 − 𝑥 2
a.)
𝑓 (0) = 5 − (0)2
𝑓 (0) = 5
b.)
2
𝑓(√5) = 5 − (√5)
𝑓(√5) = 5 − 5
𝑓(√5) = 0
c.)
𝑓 (−2) = 5 − (−2)2
𝑓 (−2) = 5 − (4)
𝑓 (−2) = 1
Prepared by: Engr. Nelson John M. Namuag
Engineering Sciences and Mathematics Department 1
SEM 1 SY 2020-2021
SCHOOL OF ENGINEERING AND ARCHITECTURE
ESM 1030 – ENGINEERING CALCULUS 1 (DIFFERENTIAL CALCULUS)
EVALUATION OF FUNCTIONS AND OPERATIONS INVOLVING FUNCTIONS
d.)
𝑓 (𝑡 − 1) = 5 − (𝑡 − 1)2
𝑓 (𝑡 − 1) = 5 − (𝑡 2 − 2𝑡 + 1)
𝑓 (𝑡 − 1) = 5 − 𝑡 2 + 2𝑡 − 1
𝑓 (𝑡 − 1) = 4 − 𝑡 2 + 2𝑡
Notice that for the first three (3) items, our input values are constants. Therefore, we expect that our output value is also
a constant. In the last item, our input value consists of the variable 𝑡. It follows that our final answer is still a function,
but this time, in terms of the new variable. As previously stated, our input value, or independent variable, can take on
many forms.
In this problem, we are asked to evaluate the expression given above. Notice that it involves 𝑓(𝑥) and 𝑓(1). We are
already given 𝑓(𝑥) so all that is left for us is to evaluate 𝑓(1).
Solution:
𝑓 (1) = 3(1) − 1
𝑓 (1) = 2
Now let us substitute the data that we obtained into the expression
𝑓 (𝑥 ) − 𝑓 (1) 3𝑥 − 1 − 2
=
𝑥−1 𝑥−1
3𝑥 − 3
=
𝑥−1
The expression we just obtained above can still be simplified by factoring out 3 from the numerator. We see, then, that
we can cancel out common terms.
3(𝑥 − 1)
=
𝑥−1
𝑓 (𝑥 ) − 𝑓(1)
=3
𝑥−1
4 𝑓𝑜𝑟 𝑥 ≤ 1
3. Given ℎ(𝑥 ) = { . Evaluate the following:
√𝑥 − 1 𝑓𝑜𝑟 𝑥 > 1
a. ℎ(0) b. ℎ(5)
The function ℎ(𝑥) given above is a type of function with multiple domains. Specifically, this is referred to as a piecewise
function. For piecewise functions, you just have to look at the input values for which the functions are defined. This can
be seen in the inequalities presented right next to each function.
Let us try to understand how piecewise functions work. Since the two given inequalities involve 1, let us visualize a
number line and use 1 as our reference point. For input values to the left of 1 and including 1 (hence we use the “less
than and equal” sign), we are dealing with the function ℎ(𝑥 ) = 4. However, for input values to the right of 1 (hence we
use the “greater than” sign), we are dealing with the function ℎ(𝑥 ) = √𝑥 − 1
Solution:
a.)
Notice that our input value is 0. If visualized on the number line, this is to left of 1. Therefore ℎ(𝑥 ) = 4. And since 4
is a constant, we need not substitute the input anymore. Therefore,
ℎ(0) = 4
We should be able to get the same final answer if our input values would be 1, −1, −2, −3 because, again, 4 is a
constant
b.)
This time, our input value is 5, which is to the right of 1. Therefore ℎ(𝑥 ) = √𝑥 − 1. Since this involves a variable 𝑥,
we shall replace 𝑥 with 5 and simplify the answer
ℎ(5) = √5 − 1
ℎ(5) = √4
ℎ(5) = 2
Sample Problems
1 𝑔
1. Three functions are defined by 𝑓(𝑥 ) = 𝑥 + 1, 𝑔(𝑥 ) = √3𝑥, ℎ(𝑥 ) = 6−𝑥. Solve for (ℎ) (3) and
(𝑓 ∙ ℎ)(−2)
Solution:
a.)
𝑔
The notation (ℎ) (3) can be understood in two ways. First, we can start by getting the quotient by dividing 𝑔(𝑥) to ℎ(𝑥)
and then evaluating the result by substituting 3 into the resulting function. An alternative way for this is to use the formula
𝑔 𝑔 (3)
(ℎ) (3) = ℎ ( 3)
. Either way, we will be able to obtain the same answer. For this problem we will apply the first method and
then apply the second method in the next item so that you can decide for yourself which method best suits you.
𝑔 (𝑥 ) √3𝑥
= = √3𝑥(6 − 𝑥)
ℎ (𝑥 ) 1
6−𝑥
Evaluating at 𝑥 = 3
= √3(3)(6 − 3)
= √9(3)
= 3(3)
𝑔
( ) (3) = 9
ℎ
2(3𝑥 2 + 5𝑥 − 2)
=
(𝑥 2 − 25)2
c.)
3𝑥 − 1
𝑓 2
( ) (𝑥 ) = 𝑥 − 25
𝑔 2𝑥 + 4
𝑥 2 − 25
Recall that when performing division involving rational expressions, especially if the resulting operation leads to complex
fractions, we can get the reciprocal of the divisor and then multiply it to the dividend. If we do exactly that, then we can
eliminate the hassle of having to deal with complex fractions. Thus, the expression above can be rewritten as
3𝑥 − 1 𝑥 2 − 25
= ⋅
𝑥 2 − 25 2𝑥 + 4
Note that we can cancel out common terms in the numerator and denominator here. Therefore, our final answer is
3𝑥 − 1
=
2𝑥 + 4
To solve a simple composite function problem, say 𝑓(𝑔(𝑥 )), take the function 𝑔(𝑥) and then substitute the entire
function into 𝑓(𝑥). If possible, try to simplify the answer. A composite function may have more than two functions within functions.
Suppose (𝑓 𝑜 𝑔 𝑜 ℎ)(𝑥), this is considered to be equal to 𝑓(𝑔(ℎ(𝑥 ))). To solve problems involving composite functions of
three or more functions, always begin on the inner composite function, and progressing to the outer composite function.
Sample Problem
3
1. If 𝑓 (𝑥 ) = 𝑥 and 𝑔(𝑥 ) = 𝑥 2 − 1, solve for (𝑔 𝑜 𝑓)(𝑥) and (𝑓 𝑜 𝑔)(𝑥)
Solution:
a.)
(𝑔 𝑜 𝑓 )(𝑥 ) = 𝑔(𝑓 (𝑥 ))
The expression above suggests that we take the function 𝑓(𝑥) first and then substitute it into 𝑔(𝑥). Therefore, we should
be able to get
3 2
=( ) −1
𝑥̇
9
= −1
𝑥2
9 − 𝑥2
=
𝑥2
b.)
(𝑓 𝑜 𝑔)(𝑥 ) = 𝑓(𝑔(𝑥 ))
The expression above suggests that we take the function 𝑔(𝑥) first and then substitute it into 𝑓(𝑥). Therefore, we should
be able to get
PRACTICE PROBLEMS
2
(−𝑥 )3 𝑓𝑜𝑟 𝑥 < 0
1. If 𝑓(𝑥 ) = { 4 𝑓𝑜𝑟 𝑥 = 0 solve for 𝑓 (−8), 𝑓 (0), 𝑓(1)
𝑥+2 𝑓𝑜𝑟 𝑥 > 0
𝑓(𝑥+ℎ)−𝑓(𝑥)
2. For 𝑓(𝑥 ) = 𝑥 2 + 4𝑥, find ℎ
3𝑥 2 −5 2
3. Given the function ℎ(𝑥 ) = , evaluate ℎ(− 3) and ℎ(𝑎 − 2)
𝑥2
𝑥+1 1
4. If 𝑓(𝑥 ) = 𝑥−1 and 𝑔(𝑥 ) = 𝑥, find (𝑓 + 𝑔)(𝑥 ) and (𝑓𝑔)(𝑥)
5. Compute for (𝑓 𝑜 𝑔)(𝑐) for 𝑓 (𝑥 ) = √𝑥 2 − 36, 𝑔(𝑥 ) = 𝑥 2 − 3𝑥 if 𝑐 = 5
Answers