CH 1 Functions 2
CH 1 Functions 2
Definition: A function f is a rule that assigns to each element 𝑥 in a set 𝐷 exactly one
element, called f (x), in a set E .
We usually consider functions for which the sets 𝐷and are sets𝐸 of real numbers.
Theset𝐷 is called the domain of the function. The number f(x) is the value of f at 𝒙
and is read “ f of x ” The range of is the set of all possible values of f(x) as 𝑥 varies
through out the domain. A symbol that represents an arbitrary number in the domain
of a function f is called an independent variable. A symbol that represents a number
in the range of f is called a dependent variable.
Arrow diagram: Each arrow connects an element of𝐷 to an element of 𝐸. The arrow
indicates that f(x) is associated with 𝑥, f(a) is associated with
a, and so on.
The most common method for visualizing a function is its
graph.
If f is a function with domain 𝐷, then its graph is the set of
ordered pairs{(𝑥, 𝑓(𝑥))| 𝑥 ∈ 𝐷}
Note: The Domain of any real function is the Real number set ℝ except if exist
problem ( in even Root must be non-negative and Rational function the
denominator not equal zero).
GRAPHS OF FUNCTIONS
The graph of f consists of all points(𝑥, 𝑦) in the coordinate plane such that
𝑦 = 𝑓(𝑥) and is in the domain of f.
The graph of a function f gives us a useful picture of the behavior or “life history” of
a function. Since the 𝑦_𝑐𝑜𝑜𝑟𝑑𝑖𝑛𝑎𝑡𝑒 of any point (𝑥, 𝑦)on the graph is𝑦 = 𝑓(𝑥), we
can readthe value of 𝑓(𝑥)from the graph as being the height of the graph above the
point𝑥 (seeFigure). The graph of also allows us to picture the domain of on the
𝑥 − 𝑎𝑥𝑖𝑠 and its range on the 𝑦 − 𝑎𝑥𝑖𝑠.
Example 1: Sketch the graph and find the domain and range of each function.
a) 𝑓(𝑥) = 2𝑥 − 1 b) 𝑔(𝑥) = 𝑥 2
Solution
a) 𝑓(𝑥) = 2𝑥 − 1
𝑥 −2 −1 0 1 2
2
𝑓(𝑥) −5 −3 −1 0 3
𝑓(−2) = 2(−2) − 1 = −4 − 1 = −5
𝑓(−1) = 2(−1) − 1 = −2 − 1 = −3
𝑓(0) = 2(0) − 1 = 0 − 1 = −1
1
𝑓(1) = 2 ( ) − 1 = 1 − 1 = 0
2
𝑓(2) = 2(2) − 1 = 4 − 1 = 3
𝑥 −2 −1 0 1 2
𝑓(𝑥) 4 1 0 1 4
𝑔(−2) = (−2)2 = 4, (−2, 4)
𝑔(−1) = (−1)2 = 1 , (−1,1)
𝑔(0) = (0)2 = 0 , (0,0)
𝑔(1) = (1)2 = 1, (1,1)
𝑔(2 ) = (2)2 = 4, (2, 4)
The vertical line test A curve in the xy-plane is the graph of a function of x
if and only if no vertical line intersects the curve more than once.
The reason for the truth of the Vertical Line Test can be seen in Figure. If each
vertical line 𝑥 = 𝑎 intersects a curve only once, at (𝑎, 𝑏), then exactly one functional
value is defined by 𝑓(𝑎) = 𝑏 . But if a line 𝑥 = 𝑎 intersects the curve twice, at(𝑎, 𝑏),
and (𝑎, 𝑐),then the curve can’t represent a function because a function can’t assign
two different valuesto 𝑎 .
PIECEWISE-DEFINED FUNCTIONS
a function defined piecewise defined by different formulas in different parts of their
domains. For example
𝒕(𝒙) ; 𝒙 < 𝑐
𝒇(𝒙) = { where 𝑡(𝑥) and 𝑔(𝑥) any two functions and 𝑐 ∈ ℝ
𝒈(𝒙); 𝒙 ≥ 𝒄
1−𝑥 ; 𝑥≤1
Example: A function f is defined by 𝑓(𝑥) = {
𝑥2 ; 𝑥>1
Evaluate 𝑓(0), 𝑓(1) 𝑎𝑛𝑑 𝑓(2) and sketch the graph.
Solution: Remember that a function is a rule. For this particular function the rule is
the following: First look at the value of the input 𝑥. If it happens that 𝑥 ≤ 1, then the
value of 𝑓(𝑥) is 1 − 𝑥. On the other hand, if 𝑥 > 1, then the value of 𝑓(𝑥) is 𝑥 2 .
𝑠𝑖𝑛𝑐𝑒 0 ≤ 1, 𝑤𝑒 ℎ𝑎𝑣𝑒 𝑓(0) = 1 − 0 = 1
𝑠𝑖𝑛𝑐𝑒 1 ≤ 1, 𝑤𝑒 ℎ𝑎𝑣𝑒 𝑓(1) = 1 − 1 = 0
𝑠𝑖𝑛𝑐𝑒 2 > 1, 𝑤𝑒 ℎ𝑎𝑣𝑒 𝑓(2) = 22 = 4
How do we draw the graph of f ? We observe that if 𝑥 ≤ 1,
then 𝑓(𝑥) = 1 − 𝑥, so thepart of the graph of f that lies to
the left of the vertical line 𝑥 = 1must coincide with the line
𝑦 = 1 − 𝑥, which has slope −1and y-intercept 1. If 𝑥 > 1,
then 𝑓(𝑥) = 𝑥 2 , sothe part of the graph of that lies to the
right of the line 𝑥 = 1 must coincide with the graph of 𝑦 = 𝑥 2 , which is a parabola.
This enables us to sketch the graph in Figure.
The solid dot indicates that the point (1,0) is included on the graph; the open dot
indicatesthat the point(1,1) is excluded from the graph.
Example: Determine which of following function is even, odd or neither even nor
odd.
a) 𝑓(𝑥) = 𝑥 5 + 𝑥 b) 𝑔(𝑥) = 1 − 𝑥 4 c)ℎ(𝑥) = 2𝑥 − 𝑥 2
Solution:
a) 𝑓(−𝑥) = (−𝑥)5 + (−𝑥) = −𝑥 5 − 𝑥 ≠ 𝑓(𝑥);therefore f is not an even
Notice that for both the sine and cosine functions the domain is (−∞, ∞)and the
rangeis the closed interval [−1,1].
Thus, for all values of 𝑥, we have−1 ≤ sin 𝑥 ≤ 1 𝑎𝑛𝑑 − 1 ≤ cos 𝑥 ≤ 1.
Also, the zeros of the sine function occur at the integer multiples of 𝜋; that is,sin 𝑥 =
0 when 𝑥 = 𝑛𝜋 ; 𝑛 an integer
An important property of the sine and cosine functions is that they are periodic
functions and have period 2𝜋. This means that, for all values of 𝑥,
sin(𝑥 + 2𝜋) = sin 𝑥 cos(𝑥 + 2𝜋) = cos 𝑥
Notice that the tangent function has period ; tan(𝑥 + 𝜋) = tan 𝑥 for all 𝑥.
sin 𝑥 cos 𝑥 1
tan 𝑥 = , cot 𝑥 = =
cos 𝑥 sin 𝑥 tan 𝑥
1 1
sec 𝑥 = , csc 𝑥 =
cos 𝑥 sin 𝑥
sin2 𝑥 = (sin 𝑥)2 , sin2 𝑥 + cos 2 𝑥 = 1
tan2 𝑥 + 1 = sec 2 𝑥 , cot 2 𝑥 + 1 = csc 2 𝑥
sin 2𝑥 = 2 sin 𝑥 cos 𝑥
cos 2𝑥 = cos 2 𝑥 − sin2 𝑥 = 2 cos 2 𝑥 − 1 = 1 − 2 sin2 𝑥
2 tan 𝑥
tan 2𝑥 =
1 − tan2 𝑥
𝑠𝑖𝑛(𝛼 + 𝛽) = 𝑠𝑖𝑛 𝛼 𝑐𝑜𝑠 𝛽 + 𝑐𝑜𝑠 𝛼 𝑠𝑖𝑛 𝛽
𝑐𝑜𝑠(𝛼 + 𝛽) = 𝑐𝑜𝑠 𝛼 𝑐𝑜𝑠 𝛽 − 𝑠𝑖𝑛 𝛼 𝑠𝑖𝑛 𝛽
𝑠𝑖𝑛(𝛼 − 𝛽) = 𝑠𝑖𝑛 𝛼 𝑐𝑜𝑠 𝛽 − 𝑐𝑜𝑠 𝛼 𝑠𝑖𝑛 𝛽
𝑐𝑜𝑠(𝛼 − 𝛽) = 𝑐𝑜𝑠 𝛼 𝑐𝑜𝑠 𝛽 + 𝑠𝑖𝑛 𝛼 𝑠𝑖𝑛 𝛽
𝑡𝑎𝑛 𝛼 + 𝑡𝑎𝑛 𝛽
𝑡𝑎𝑛(𝛼 + 𝛽) = ,
1 − 𝑡𝑎𝑛 𝛼 𝑡𝑎𝑛 𝛽
𝑡𝑎𝑛 𝛼 − 𝑡𝑎𝑛 𝛽
𝑡𝑎𝑛(𝛼 − 𝛽) =
1 + 𝑡𝑎𝑛 𝛼 𝑡𝑎𝑛 𝛽
𝜋 𝜋 𝜋
sin ( − 𝑥) = cos 𝑥 , cos ( − 𝑥) = sin 𝑥 , tan ( − 𝑥) = cot 𝑥
2 2 2
𝑠𝑖𝑛(𝜋 − 𝑥) = 𝑠𝑖𝑛 𝑥 , 𝑠𝑖𝑛(𝜋 + 𝑥) = −𝑠𝑖𝑛 𝑥 , 𝑠𝑖𝑛(−𝑥) = −𝑠𝑖𝑛 𝑥
𝑐𝑜𝑠(𝜋 − 𝑥) = −𝑐𝑜𝑠 𝑥 , 𝑐𝑜𝑠(𝜋 + 𝑥) = −𝑐𝑜𝑠 𝑥 , 𝑐𝑜𝑠(−𝑥) = 𝑐𝑜𝑠 𝑥
𝑡𝑎𝑛(𝜋 − 𝑥) = −𝑡𝑎𝑛 𝑥 , 𝑡𝑎𝑛(𝜋 + 𝑥) = 𝑡𝑎𝑛 𝑥 , 𝑡𝑎𝑛(−𝑥) = −𝑡𝑎𝑛 𝑥
𝑠𝑖𝑛 𝑥 = 𝑠𝑖𝑛(𝑥 ± 2𝜋), 𝑐𝑜𝑠 𝑥 = 𝑐𝑜𝑠(𝑥 ± 2𝜋), tan 𝑥 = tan(𝑥 ± 𝜋)
1 1 √3 √3 1 1
sin 𝑥 0 1 0 −1 0
2 √2 2 2 √2 2
√3 1 1 −1 −1 − √3
cos 𝑥 1 0 −1 0 1
2 √2 2 2 √2 2
1 −1
tan 𝑥 0 1 √3 − − √3 −1 0 − 0
√3 √3
2 2
csc 𝑥 − 2 √2 1 √2 2 − −1 −
√3 √3
2 −2
sec 𝑥 1 √2 2 − −2 − √2 −1 − 1
√3 √3
1 −1
cot 𝑥 − √3 1 0 −1 − √3 − 0 −
√3 √3
1
If 𝑥 = 0, then𝑎0 = 1 ,If 𝑥 = −𝑛, where 𝑛 is a positive integer, then𝑎−𝑛 =
𝑎𝑛
𝑝
If 𝑥 is rational number ,𝑥 = ⁄𝑞 where 𝑝 and 𝑞 areintegers and 𝑞 > 0, then
𝑝 𝑞 𝑞 𝑝
⁄𝑞
𝑎𝑥 = 𝑎 = √𝑎𝑝 = ( √𝑎)
Examples: 𝑓(𝑥) = 2𝑥 ,
1 𝑥
𝑓(𝑥) = ( ) ,
2
𝑓(𝑥) = 3𝑥
1 𝑥
𝑓(𝑥) = ( ) ,
3
𝑓(𝑥) = 10𝑥 ,
1 𝑥
𝑓(𝑥) = ( )
10
LAWS OF EXPONENTS If a and b are positive numbers and x and y are any real
numbers, then
𝑎𝑥
1- 𝑎 𝑥+𝑦 = 𝑎 𝑥 . 𝑎 𝑦 2- 𝑎 𝑥−𝑦 = 𝑦 3- (𝑎 𝑥 )𝑦 = 𝑎 𝑥𝑦 4- (𝑎𝑏)𝑥 = 𝑎 𝑥 . 𝑏 𝑥
𝑎
Example: Sketch the graph of the function 𝑦 = 3 − 2𝑥 and determine its domain and
range.
Solution: First we reflect the graph of𝑦 = 2𝑥 [shown in Figures (a)] about thex-axis
to get the graph of 𝑦 = −2𝑥 in Figure (b). Then we shift the graph of𝑦 = −2𝑥 upward
3 units to obtain the graph of in Figure (c). The domain is ℝ andthe range is(−∞, 3).
1
Example: Graph the function 𝑦 = 𝑒 −𝑥 − 1and state the domain and range.
2
Solution: We start with the graph of 𝑦 = 𝑒 𝑥 from Figures (a) and reflect about the
y-axis to get the graph of 𝑦 = 𝑒 −𝑥 in Figure (b). Then we compress the graph
1
vertically by a factor of 2 toobtain the graph of𝑦 = 𝑒 −𝑥 in Figure (c). Finally, we
2
shift the graph downward 1 unit to get the desired graph in Figure (d).
The domain is ℝ and the range is(−1, ∞).
INVERSE FUNCTIONS
DEFINITIONA function is called a one-to-one function if it never takes on the same
value twice; that is,𝑓(𝑥1 ) ≠ 𝑓(𝑥2 ) whenever 𝑥1 ≠ 𝑥2
for any 𝑦 in 𝐵 .
𝜋 𝜋
sin−1 𝑥 = 𝑦 ⇔ sin 𝑦 = 𝑥 𝑎𝑛𝑑 − ≤ 𝑦 ≤
2 2
−1 (sin
𝜋 𝜋
sin 𝑥) = 𝑥 𝑓𝑜𝑟 − ≤ 𝑥 ≤
2 2
sin(sin−1 𝑥) = 𝑥 𝑓𝑜𝑟 − 1 ≤ 𝑥 ≤ 1
Example: Sketch the graphs of 𝑓(𝑥) = √−1 − 𝑥 and its inverse function using the
same coordinate axes.
Solution: First we sketch the curve 𝑦 = √−1 − 𝑥 and then we
reflect about the line 𝑦 = 𝑥 to get the graph of 𝑓 −1 .
𝑓 −1 (𝑥) = −𝑥 2 − 1 ; 𝑥 ≥ 0
So the graph of 𝑓 −1 is the right half of the parabola 𝑦 = −𝑥 2 − 1
and this seems reasonable from Figure
LOGARITHMIC FUNCTIONS
if 𝑥 > 0,𝑎 > 0 and 𝑎 ≠ 1 then for a positive value of x the
expression𝑓(𝑥) = log 𝑎 𝑥
(read “the logarithm to the base a of x”)
Natural logarithms
In the function𝑓(𝑥) = log 𝑎 𝑥 if 𝑎 = 𝑒 then 𝑓(𝑥) = log 𝑒 𝑥 = ln 𝑥 where 𝑥 > 0 ,
These are called natural logarithms (read “ell en of x”),
Properties of logarithm
ln 𝑥 = 𝑦 ↔ 𝑥 = 𝑒 𝑦 𝑒 ln 𝑥 = 𝑥 , 𝑥 > 0
log 𝑒 1 = ln 1 = 0 ln 𝑥 + ln 𝑦 = ln(𝑥𝑦)
ln 𝑒 = 1 𝑥
ln 𝑥 − ln 𝑦 = 𝑙𝑛 ( )
1 𝑦
ln = −1 ln 𝑦
𝑒 log 𝑥 𝑦 =
ln 𝑒 𝑥 = 𝑥 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑥 ln 𝑥