Chapter 2
Chapter 2
Functions
Contents
Chapter Two.........................................................................................................................................................31
Functions..............................................................................................................................................................31
2.1. The real number systems...........................................................................................................................31
2.2. Equations and Inequalities: Linear and Quadratic.............................................................................35
2.2.1. Linear Equations and inequalities......................................................................................................35
2.2.2. Quadratic Equations and Inequalities................................................................................................39
2.3. Review of relations and functions..........................................................................................................43
2.3.1. Functions............................................................................................................................................46
2.4. Real Valued functions and their properties..........................................................................................51
2.5. Types of functions....................................................................................................................................56
2.5.1. One to One functions.........................................................................................................................56
2.5.2. Onto functions....................................................................................................................................56
2.5.3. 1 – 1 Correspondence.........................................................................................................................57
2.5.4. Inverse of a function..........................................................................................................................57
2.6. Polynomials, zeros of polynomials, rational functions and their graphs...........................................59
2.7. Rational Functions and their Graphs....................................................................................................66
2.7. Definition and basic properties of logarithmic, exponential, and trigonometric functions and their
graphs..................................................................................................................................................................72
⋯, −3, −2, −1, 0, 1, 2, 3,⋯ When we try to measure length, weight, or voltage, the integers are inadequate.
They are spaced too far apart to give sufficient precision. Thus, we are led to consider quotients (ratios) of
3 −7 21 19 16 −17
, , , ,
integers, numbers such as: 4 8 5 −2 2 and 1
16 −17
Note that we included and , though we would normally write them as 8 and – 17, since they are equal
2 1
5 −9
to the latter by the ordinary meaning of division. We did not include 0 or 0 , since it is impossible to make
sense out of these symbols. In fact, let us agree once and for all to banish division by zero from this section.
31
m
Numbers which can be written in the form , where m and n are integers withn ≠ 0, are called rational
n
numbers.
Do the rational numbers serve to measure all lengths? No. This surprising fact was discovered by the ancient
Greeks long ago. They showed that while√ 2 measures the hypotenuse of a right triangle with sides of length
1, it cannot be written as a quotient of two integers(see exercise…). Thus, Thus, √ 2 is an irrational (not
rational) number. So are√ 3 , √ 5 , √3 7 , π and a host of other numbers.
The real numbers
Consider the set of all numbers (rational and irrational) that can measure lengths, together with their
negatives and zero. We call these numbers the real numbers.
The set of real numbers denoted by R can be described as the union of the set of rational and irrational
numbers. i.e R={x : x is a rational number∨an irrational number }.
The real numbers may be viewed as a horizontal line. There they measure the distance to the right or left (the
directed distance) from a fixed point called the origin and labeled 0. Each point on the number line
corresponds a unique real number and vice-versa.
Most students will remember that the number system can be enlarged still more to the so-called complex
numbers. These are numbers of the forma+ b √−1 , where a and b are real numbers.
The four arithmetic operations
Give two real numbers x and y , we may add or multiply them to obtain two new real numbers x + y and
x × b (also written simply as xy ). The real numbers along with the operations of addition (+) and
multiplication (¿) , obey the 11 properties listed below. Most of these properties are straightforward and may
seem trivial. Nevertheless, we shall see that these 11 basic properties are quite powerful in that they are the
basis for simplifying algebraic expressions.
The commutative Properties
1. For addition: a+ b=b+a
2. For multiplication: ab=ba
The associative properties
We agree that x < y and y > x will mean the same thing. The order relation ¿ (read” is less than or equal
33
2. Transitivity: x < y and y < z ⇒ x < z
3. Addition:¿ y ⇔ x+ z < y+ z
4. Multiplication: When z is positive, x < y ⇔ xz< yz , When z is negative, x < y ⇔ xz> yz
Intervals
Let a and b be two real numbers such that a¿ b, then the intervals which are subsets of R with end points a
and b are denoted and defined as below:
2. Which of the following statements are true and which of them are false?
a) The sum of any two rational numbers is rational.
b) The sum of any two irrational numbers is irrational.
c) The product of any two rational numbers is rational.
d) The product of any two irrational numbers is irrational.
3. Find the value of each of the following, if undefined, say so.
0 0
a) 0⋅0 c) 0 e) 8
8 0 8
b) 0 d) 8 f) 0
a
4. Show that division by 0 is meaningless as follows: Suppose a≠0 . If 0 =b , then a=0⋅b=0 , which is
0
a contradiction. Now find a reason why 0 is also meaningless.
5. Prove each if a> 0 , b> 0
2 2 1 1
a) a< b ⇔a <b b) a< b ⇔ a > b
6. Which of the following are always correct if a≤b ?
34
2 2 2
a) a−4≤b−4 b) −a≤−b c) a ≤ab d) a ≤a b
Equations that have the same solutions are called equivalent equations. For example, and
are equivalent equations because the solution set of both equations is {2}. Our goal here is to take an
equation and with the help of a few properties, gradually, change the given equation into an equivalent
equation of the form x=a , where x is the variable for which we are solving. These properties are:
1. The addition property: If a=b , then a+ c=b+ c . That is, adding the same quantity to both sides of an
equation will produce an equivalent equation.
2. The multiplication property: If a=b , then ac=bc . That is, multiplying both sides of an equation by the
same nonzero quantity will produce an equivalent equation.
Example 2.2:
1. Solve for x
35
(Dividing both sides by 10)
36
This is always true whatever the value of x is. In fact, subtracting 3x from both sides of the last equation we
get 6=6 which is always true. This means the given equation is satisfied if you take any number for x as you
wish. Thus, S.S = ℜ .
Remark: There are also some equations which cannot be satisfied by any number. For example, the equation
x+10 = x says ‘If you increase a number x by 10, the result is x itself (unchanged)’. Obviously, there is no such
a number. The solution set of such equation is empty set. If you try to solve such equation, you end up with
a false statement (false equality). For example, an attempt to solve x+10 = x leads to the following:
10+x x = x x (Subtracting x from both sides of the equation)
10 = 0, which is false.
Hence, the solution set of x+10 = x is (empty set).
where a and b are constants with a≠0 . (The ¿ symbol can be replaced with ¿, ≤ or ¿ )
37
To solve inequalities, we will need the following properties of inequalities.
Example 2.8: Find the solution set of in the set of natural numbers, ℕ.
; i.e.,
Thus, the solution of the given inequality in ℕ is {1, 2, 3}. (Recall: ℕ = {1, 2, 3, … })
Some inequalities may have no solution in the specified domain as in the following example.
Example 2.9: Find the solution set of in the set of whole numbers, W.
or
However, there is no negative whole number. Therefore, the solution set of the given inequality in W is ,
empty set. (Recall: W = {0, 1, 2, 3, … } )
Solution: The inequality involves fractional numbers. Thus, like for the case of linear equations, clear the
denominators by multiplying both sides of the inequality by the LCM of the denominators. The denominators
in this equation are 6 and 2; and their LCM is 6. Thus, multiply every term in both sides of the given
inequality by 6. That is,
(Simplifying/clear denominators)
or .
39
Therefore, S.S = { x ℚ | x 3 }.
2.2.2. Quadratic Equations and Inequalities
A quadratic equation is a polynomial in which the highest degree of the variable is 2. We define the standard
2
form of a quadratic a quadratic equation as Ax + Bx+ c=0 , where A≠0 .
As with linear equations, the solutions of quadratic equations are values of the variable that make the
2
equation a true statement. The solutions of Ax + Bx+ C=0 are also called the roots of the polynomial
2
equation Ax + Bx+ C=0 .
2 2
In solving the equation Ax + Bx+ C=0 , if the polynomial Ax + Bx+ C can be factored, the we can use
the zero product rule (which is stated below) to reduce the problem to that of solving two linear equations.
For example, to solve the equation x + x−6=0 , we van factor the left hand side to get ( x−2 )(x +3 )=0 .
2
Hence, we can conclude that x−2=0 or x +3=0 , which yields x=2 or x=−3 .
The Zero-Product Rule: If a⋅b=0 , then a=0 or b=0
Another method is to apply the Square Root Theorem.
b) We note that there is no first-degree term, so our approach will be to apply the Square Root
Theorem.
5 x 2−6=8 2
Isolate x on the left-hand side before applying the
square root theorem
5 x 2=14
x 2 = 14
5 Applying the square root theorem we get
x=± √ 14
5
40
c) Since it is in the form of a squared quantity equal to a number, we will apply the Square Root
( x+ p )2 =x 2 +2 px + p2
2
Notice the relationship between the constant term, p , and the coefficient of the middle term, 2 p : The
constant term is the square of half the coefficient of the middle term.
2
Example 2.12: Solve by completing the square: 2 x −8 x +4=6 .
x=2±√5 .
Unlike the factoring method, all quadratic equations can be solved by completing the square. If we were to
2
complete the square for the general quadratic equation Ax +Bx+C=0 , A≠0 , we would arrive at the
formula given below.
−B±√ B 2−4 AC
2 x=
The Quadratic Formula: If Ax + Bx+ C=0 and A≠0 , then 2A
2
Example 2.13: Solve the following using the quadratic formula: x −8=−6 x .
2
Solution: Writing the equation in standard form we get, x +6 x−8=0 . By the quadratic formula we have:
41
−6±√ 62 −4 (1)(−8 ) −6±√ 68 −6±2 √ 17
x= = = =−3±√ 17
2(1) 2 2
A quadratic inequality is in standard form if it is in the form Ax + Bx+ C<0 . (We can replace ¿ with ¿, ≤,
2
or ¿ .)
2
If we keep in mind that u>0 means u is positive, then solving an inequality such as 2 x +5 x−3>0 means
2
we are interested in finding the values of x that will make 2 x +5 x −3 positive. Or, since
2 x 2 +5 x−3=(2 x−1)( x+3) , we are looking for values of x that make (2 x−1)( x +3) positive. For
(2 x−1)( x +3) to be positive, the factors must be either both positive or both negative. To determine when
this happens, we first find the values of x for which (2 x−1)( x +3) is equal to 0; we call these the cut points
1
of (2 x−1)( x +3) . The cut points are 2 and −3 .
Thus, our approach in solving quadratic inequalities will be primarily algebraic. After putting the inequality in
standard form, we will determine the sign of each factor of the expression for various values of x. Then, we
determine the solution by examining the sign of the product. This process is called a sign analysis.
2
Returning to the problem 2 x +5 x−3>0 , we draw a number line and examine the sign of each factor as x
takes on various values on the number line, especially around the cut points.
Sign of x +3 − − − − − − ++ + + + + + + + + + + +
Sign of 2 x−1 − − − − − − − − − − + + + + + + +
−6 −5 −4 −3 −2 −1 0 1 2 3 4 5 6
The above figure illustrates that the factor x +3 is negative when x <−3 and positive when x >−3 . It is also
1 1
shown that 2 x−1 is negative when x < 2 and positive when x > 2 . Thus the product of the two factors is
1 1
positive when x <−3 and x > 2 . Therefore, the solution set is (−∞ ,−3 )∪( 2 ,∞ ) .
Remark: 1. The cut points of the inequalities will break up the number line into intervals.
2. The sign of the product does not change within an interval, i.e., if the expression is positive (or
negative) for one value within the interval, it is positive (or negative) for all values within the interval.
2
Example 2.14: Solve the quadratic inequality x −2 x−2< 0 .
42
Solution: Since we cannot factor x −2 x−2 , we use the quadratic formula to find that its roots are 1± √ 3 .
2
2
This gives the cut points for the polynomial x −2 x−2 . We use the sign analysis (see the figure below) with
43
3
>4
7. A student was given the inequality: x−2 . The first step the student took in solving this inequality
was to transform it into 3>4( x−2) . Explain what the student did wrong.
are the first coordinates while 3, 4 and b are the second coordinates.
Cartesian Product
Given sets A={3 , 4} and B={ 4 , 5 , 9}. Then, the set {(3,4),(3,5),(3,9),( 4,4),(4 ,5),(4 ,9)} is the Cartesian
product of A and B , and it is denoted by A×B .
Definition 2.3: Suppose A and B are sets. The Cartesian product of A and B , denoted by A×B , is the set
which contains every ordered pair whose first coordinate is an element of A and second coordinate is an
b) B× A={(−1,2),(−1,4),(3,2),(3,4)}.
From this example, we can see that A×B and B× A are not equal. Recall that two sets are equal if one is a
subset of the other and vice versa. To check equality of Cartesian products we need to define equality of
ordered pairs.
Definition 2.4: (Equality of ordered Pairs): Two ordered pairs (a , b ) and (c , d ) are equal if and only if a=c
and b=d .
Suppose R is a relation from a set A to a set B. Then, R A×B and hence for each
(a , b )∈ A×B , we have
either
(a , b )∈ R or (a , b )∉ R . If (a , b )∈ R , we say “ is R-related (or simply related) to b”, and write aRb . If
a
1. Let A={1,3,5,7} and B={6 , 8}. Let R be the relation “less than” from A to B . Then,
R={(1,6),(1,8),((3,6),(3,8),(5,6),(5,8),(7,8)} .
i) R1 ={(1 , a)}
iii) R6 ={(b ,5 )}
a) the domain of R , denoted by Dom( R ) , is the set of first coordinates of the elements of R , i.e
Dom( R )={a ∈ A :(a , b )∈ R }
b) the range of R , denoted by Range( R ) , is the set of second coordinates of elements of R , i.e
Range( R )={b ∈ B :(a ,b )∈ R}
Remark: If R is a relation form the set A to the set B , then the set B is called the codomain of the relation
R . The range of relation is always a subset of the codomain.
Example 2.18:
1. The set R={(4 ,7 ),(5,8 ),(6,10)} is a relation from the set A={1,2,3,4 ,5 ,6} to the set B=¿ ¿ .
The domain of R is {4 ,5,6}, the range of R is {7,8,10} and the codomain of R is {6,7,8,9,10} .
2. The set of ordered pairs R={(8,2),(6,−3),(5,7),(5,−3)} is a relation between the sets {5,6 ,8} and
{2,−3,7}, where {5,6 ,7} is the domain and {2,−3,7} is the range.
Remark:
45
1. If (a , b )∈ R for a relation R , we say a is related to (or paired with) b . Note that a may also be
paired with an element different from b . In any case, b is called the image of a while a is called the
pre-image of b .
2. If the domain and/or range of a relation is infinite, we cannot list each element assignment, so instead
we use set builder notation to describe the relation. The situation we will encounter most frequently
is that of a relation defined by an equation or formula. For example,
R={(x , y ): y=2 x−3 , x , y ∈ IR }
is a relation for which the range value is 3 less than twice the domain value. Hence, (0, −3),(0.5, −2)
and (−2,−7) are examples of ordered pairs that are of the assignment.
Example 2.19:
relation on A defined by R =¿ ¿is a factor of b¿¿ . Find the domain and range of R .
Solution: We have
R={(1,1),(1,2),(1,3),(1,4),(1,6),(2,2),(2,4),(2,6),(3,3),(3,6),(4,4),(6,6)}.
46
−1 −1
Observe that Dom( R )=Range( R ) and Range( R )=Dom( R ) . For instance, if R={(1,4),(9,15 ),(10 ,2)} is
−1
a relation on a set A={1,2,3,⋯,20 }, then R ={(4 ,1 ),(15 , 9),(2 ,10 )}
b) Dom( R ) c) Range( R )
−1
Find a) R d) R
Therefore,
R={(9,1),(7,2),(5,3),(3,4),(1,5)} , Dom( R )={1,3,5,7 ,9}, Range( R )={1,2,3 ,4 ,5} and
2.3.1. Functions
Mathematically, it is important for us to distinguish among the relations that assign a unique range element
Definition 2.7: (Function): A function is a relation in which each element of the domain corresponds to exactly
a) R={(5,−2),(3,5),(3,7)} b) {(2,4),(3,4),(6,-4)}
Solution:
a) Since the domain element 3 is assigned to two different values in the range, 5 and 7, it is not a function.
47
Remark: Map or mapping, transformation and correspondence are synonyms for the word function. If f is a
function and
( x , y )∈ f , we say x is mapped to y.
Definition 2.8: A relation f from A into B is called a function from A into B, denoted by
f : A →B or A f⃗ B
if and only if
( x , z )∈ f , then y=z .
2. The symbol
f ( x ) is read as “ f of x” but not “ f times x”.
3. In order to show that a relation f from A into B is a function, we first show that the domain of f is
A and next we show that f well defined or single-valued, i.e. if x= y in A, then f ( x )=f ( y ) in B for
all x , y ∈ A .
Example 2.22:
1. Let
A={1,2,3,4} and B={1,6 ,8,11,15}. Which of the following are functions from A to B .
Solution:
48
b) f is not a function because there is no element of B which correspond to 4(∈ A).
of B. In the given function, the images of all element of A are the same.
d) f is not a function because there are two elements of B which are corresponding to 2.
of B.
As with relations, we can describe a function with an equation. For example, y=2x+1 is a function, since each x
2. Let
f ={( x , y ): y =x 2 }. Then, f maps:
1 to 1 -1 to 1
2 to 4 -2 to 4
3 to 9 -3 to 9
More generally any real number x is mapped to its square. As the square of a number is unique, f maps
We will find it useful to use the following vocabulary: The independent variable refers to the variable
representing possible values in the domain, and the dependent variable refers to the variable representing
possible values in the range. Thus, in our usual ordered pair notation
( x , y ) , x is the independent variable and
49
Example 2.23:
1. Let
A={1 ,2,3} and B={1,2,3,⋯,10}. Let f : A →B be the correspondence which assigns to each
2. Let
A={2 ,4 ,6 ,7 ,9}, B=IN . Let x and y represent the elements in the sets A and B , respectively.
of f is IN .
function. Now,
( 23 , 2 ) ∈ f , ( 46 , 4 ) ∈ f and
2
3
= 46
but
f ( 23 )=2≠ 4=f ( 46 ) . Thus f is not well defined.
Solution: First we show that f satisfies condition (i) in the definition. Let x be any element of Z .
However,
Dom( f )⊆Z and so Dom( f )=Z . Now, and 4=4⋅1=2⋅2 . Thus,
(4⋅1 , 4+1) and
(2⋅2 , 2+2) are in f . Hence we find that 4⋅1=2⋅2 and f (4⋅1)=5≠4=f (2⋅2 ) . This implies that f
is not well defined, i.e, f does not satisfy condition (ii). Hence, f is not a function from Z to Z .
5. Determine whether the following equations determine y as a function of x , if so, find the domain.
2x
y= 2
a) y=−3 x+5 b) 3 x−5 c) y =x
Solution:
50
a) To determine whether y=−3 x+5 gives y as a function of x , we need to know whether each x-
value uniquely determines a y-value. Looking at the equation y=−3 x+5 , we can see that once x
is chosen we multiply it by – 3 and then add 5. Thus, for each x there is a unique y . Therefore,
2x
y=
y-value (one x-value can not produce two different y-values). Therefore, 3 x−5 is a function.
As for its domain, we ask ourselves. Are there any values of x that must be excluded? Since
2x
y=
3 x−5 is a fractional expression, we must exclude any value of x that makes the
Solution: Since y is defined and real when the expression under the radical is non-negative, we need
x to satisfy the inequality
⃗
− − −| + + + | − − −
Sign of 3 x−x
2
0 3
51
Since we want
3 x−x 2= x(3−x ) to be non-negative, the sign analysis shows us that the domain is
{x :0≤x≤3} or [ 0,3] .
Exercise 2.3
ii) Find
Dom( R ) ∧ Range (R )
−1
iii) Find the elements of R
iv) Find
Dom( R−1 ) ∧ Range( R−1 )
3. Let
A={1,2,3,4 ,5 ,6} . Define a relation on A by R={(x , y ): y=x +1}. Write down the domain,
−1
codomain and range of R . Find R .
5. Let
A={1 ,2,3} and B={3,5,6,8} . Which of the following are functions from A to B ?
6. Determine the domain and range of the given relation. Is the relation a function?
a) f ( x )=1+8 x−2 x
2
c)
f ( x )= √ x 2
−6 x +8
52
b)
f ( x )= 2
1
x −5 x +6 d)
f(x)=¿ {3 x+4,−1≤x<2¿¿¿¿
8. Given
f(x)=¿ {3 x−5, x<1¿¿¿¿ .
Find a)
f (−3 ) b)
f (1) c)
f (6 )
valued function, and in particular if A is also a subset of ℜ , then f : A →B is called a real function.
so two functions f and g can be added to produce a new function f +g . This is just one of the several
operations on functions that we will describe in this section.
x−3
f ( x )=
Consider functions f and g with formulas 2 , g( x )=√ x . We can make a new function f +g
x−3
+√x
by having it assign to x the value 2 , that is,
x −3
(f + g )( x )=f ( x )+ g( x )= +√x
2 .
Definition 2.9: Sum, Difference, Product and Quotient of two functions
4.
( fg )( x )= fg(( xx )) The quotient of the two functions (provided g( x )≠0)
53
Since an x− value must be an inout into both f and g , the domain of (f + g )( x ) is the set of all x common
to the domain of f and g . This is usually written as Dom( f + g)=Dom(f )∩Dom (g ) . Similar statements
hold for the domains of the difference and product of two functions. In the case of the quotient, we must
impose the additional restriction that all elements in the domain of g for which g( x )=0 are excluded.
Example 2.25:
2
1. Let f ( x )=3 x +2 and g( x )=5 x−4 . Find each of the following and its domain
a) (f + g )( x ) b) (f −g )( x ) c) (f . g)( x ) d)
( fg )( x )
Solution:
2
a) (f +g )( x )=f ( x )+g( x )=(3 x +2 )+(5 x−4 )= 3 x +5 x−2
2
2
b) (f −g )( x )=f (x )−g( x )=(3 x +2)−(5 x−4 )= 3 x −5 x +6
2
2
c) (f⋅g)( x )=(3 x +2 )(5 x−4 )= 15 x −12 x +10 x−8
3 2
d)
()f
g
( x )=
f ( x ) 3 x2+ 2
=
g( x ) 5 x −4
We have
Dom( f + g)=Dom(f −g)=Dom( fg)=Dom( f )∩Dom( g)=ℜ∩ℜ=ℜ
Dom ()
f
g
5
=[ Dom(f )∩Dom (g ) ] {x : g (x )=0 ¿=ℜ ¿ { ¿ }¿
4
4
2. Let f ( x )=√ x+ 1 and g( x )=√ 9−x 2 , with respective domains [−1,∞) and [−3,3] . Find formulas for
f
f +g , f −g , f⋅g ,
g and f 3 and give their domains.
Solution:
Formula Domain
()f
g
( x )=
f ( x ) 4√ x+ 1
=
g( x ) √ 9−x 2 [−1, 3)
54
3
3
f 3 ( x )=( f ( x ) ) = ( √ x+1 ) =( x+1 ) 4
3 4
[−1,∞)
There is yet another way of producing a new function from two given functions.
Definition 2.10: (Composition of functions)
Given two functions f ( x ) and g( x ) , the composition of the two functions is denoted by f ∘ g and is defined
(f ∘ g )(x ) is read as f} {¿ composed with g of x} {¿. The domain of f ∘ g consists of those x ' s in the domain
of g whose range values are in the domain of f , i.e. those x ' s for which g( x ) is in the domain of f .
Example 2.26:
1. Suppose f ={(2 , z ),(3 ,q )} and g={(a ,2),(b , 3),(c , 5)}. The function (f ∘ g )(x )=f (g ( x )) is found by
taking elements in the domain of g and evaluating as follows:
(f ∘ g )(a)=f ( g (a))=f (2)=z , ( f ∘ g )(b )=f (g (b ))=f (3)=q
If we attempt to find f (g (c )) we get f (5) , but 5 is not in the domain of f ( x ) and so we cannot find
(f ∘ g )(c ) . Hence, f ∘ g={(a , z),(b , q )} . The figure below illustrates this situation.
g
f
2
a 3 z
Domain
b of f q
c
5
=g (5 x 2 −3 x+2 )
=4 (5 x 2 −3 x+2 )+3 =20 x 2 −12 x +11
x 2
f ( x )= g( x )=
3. Given x+1 and x−1 , find
6√3x 6 √3 x 2 √ 3 x
(f ∘ g )(x )=f (g ( x ))=f ( √ 3 x )= = =
( √ 3 x )2 −9 3 x −9 x−3 .
We now explore the meaning of equality of two functions. Let f : A →B and g : A → B be two functions.
Then, f and g are subsets of A×B . Suppose f =g . Let x be any element of A . Then, ( x , f ( x ))∈ f =g
and thus ( x , f ( x ))∈ g . Since g is a function and ( x , f ( x )),( x , g( x ))∈ g , we must have f ( x )=g( x ).
Conversely, assume that g( x )=f ( x ) for all x ∈ A . Let ( x , y )∈ f . Then, y=f ( x )=g ( x ) . Thus, ( x , y )∈ g ,
which implies that f ⊆ g . Similarly, we can show that g ⊆ f . It now follows that f =g . Thus two functions
f : A →B and g : A → B are equal if and only if f ( x )=g( x ) for all x ∈ A . In general we have the following
definition.
Definition 2.11: (Equality of functions)
Two functions are said to be equal if and only if the following two conditions hold:
56
i) The functions have the same domain;
ii) Their functional values are equal at each element of the domain.
Example 2.27:
b)
( fg )(1 ) d) (f ∘ g )(1 ) f) ( g∘ g )(3 )
2
3 g( x )=
2. If f ( x )=x + 2 and x−1 , find a formula for each of the following and state its domain.
a) (f + g )( x ) c)
( gf )( x )
b) (f ∘ g )(x ) d) ( g∘ f )(x )
x−1 3 f ( x )+1
f ( x )= f (2 x )=
6. If f is a real function defined by x +1 . Show that f ( x )+3 .
7. Find two functions f and g so that the given function h( x )=( f ∘ g )( x ) , where
57
1
3 h( x )= +6
a) h( x )=( x +3 ) c) x
1
h( x )=
b) h( x )=√ 5 x−3 d) x +6
1
f ( x )=4 x−3 , g( x )=
8. Let x and h( x )=x 2−x . Find
a) f (5 x +7 ) c) f (g (h(3 ))) e) f ( x+ a)
Definition 2.12: A function f : A →B is called one to one, often written 1 – 1, if and only if for all x 1 , x2 ∈ A ,
f ( x1 )=f ( x 2 ) implies x 1=x 2 . In words, no two elements of A are mapped to one element of B .
Example 2.28:
1. If we consider the sets A={1,2,3,⋯,6} and B={7,a ,b ,c ,d ,8 ,e} and if f =¿ ¿(2 , a),(3 , b ) ,
(4 ,b),(5,c),(6,8)¿¿ and g={(1,7),(2,a),(3,b),( 4,c),(5,8),(6,d)} , then both f and g are functions
from A into B . Observe that f is not a 1 – 1 function because f (3)=f ( 4 ) but 3≠4 . However, g
is a 1 – 1 function.
1. Let A={1 ,2,3} and B={1, 4 ,5}. The function f : A →B defined as f (1)=1 , f (2)=5 , f (3)=1 is not
onto because there is no element in A , whose image under f is 4. The function g : A → B given by
g={(1,4),(2,5),(3,1)} is onto because each element of B is the image of at least one element of A .
58
Note that if A is a non-empty set, the function i A : A → A defined by i A ( x )=x for all x ∈ A is a 1 – 1
2. Consider the relation f from Z into Z defined by f (n)=n2 for all n ∈ Z . Now, domain of f is Z .
2 2 '
Also, if n=n , then n =( n ) , i.e. f ( n)=f ( n ) . Hence,
' '
f is well defined and a function. However,
f (1)=1=f (−1 ) and 1≠−1 , which implies that f is not 1 – 1. For all n ∈ Z , f ( n) is a non-negative
integer. This shows that a negative integer has no preimage. Hence, f is not onto. Note that f is onto
{0,1,4 ,9,⋯}.
3. Consider the relation f from Z into Z defined by f (n)=2 n for all n ∈ Z . As in the previous example,
we can show that f is a function. Let n , n' ∈ Z and suppose that f ( n)=f ( n' ) . Then 2 n=2 n' and thus
'
n=n . Hence, f is 1 – 1. Since for all n ∈ Z , f ( n) is an even integer; we see that an odd integer has no
1. Let A={0, 1, 2, 3, 4, 5} and B={0, 5, 10, 15 , 20 , 25} . Suppose f : A →B given by f ( x )=5 x for all
x ∈ A . One can easily see that every element of B has a pre-image in A and hence f is onto.
Solution: Let
A={a1 , a2 ,⋯, an }. Then Range( f )={f (a1 ), f (a 2 ),⋯, f (a n )} . Since f is onto we have
Range( f )=A .Thus, A={f (a1 ), f ( a2 ),⋯, f (a n )}, which implies that f ( a1 ) , f ( a2 ) , ⋯ , f ( an ) are all
a ≠a j implies f (ai )≠f (a j ) for all 1≤i , j≤n . Therefore,
distinct. Hence, i f is 1 – 1.
2.5.4. Inverse of a function
Since a function is a relation , the inverse of a function f is denoted by f −1 and is defined by:
f −1={( y , x ):( x , y )∈ f }
59
−1
For instance, if f ={(2 ,4 ),(3 , 6),(1 ,7 )} , then f ={(4 , 2),(6 , 3 ),(7 ,1 )}. Note that the inverse of a function is
not always a function. To see this consider the function f =¿ ¿ (5,4)¿¿ . Then,
f −1={(4 , 2),(6 , 3 ),(4 , 5 )} , which is not a function.
As we have seen above not all functions have an inverse, so it is important to determine whether or not a
function has an inverse before we try to find the inverse. If the function does not have an inverse, then we
need to realize that it does not have an inverse so that we do not waste our time trying to find something
that does not exist.
A one to one function is special because only one to one functions have inverse. If a function is one to one, to
find the inverse we will follow the steps below:
Thus, f
−1
( x )=3√ x . The domain of f −1 is the set of all real numbers.
x
y=f ( x )=
2. Let x +2 . Find f −1 ( x ) .
60
2x
f −1 ( x )=
Thus, 1−x .
Remark: Even though, in general, we use an exponent of −1 to indicate a reciprocal, inverse function
−1
notation is an exception to this rule. Please be aware that f ( x ) is not the reciprocal of f . That is,
1
f −1 ( x )≠
f ( x)
If we want to write the reciprocal of the function f ( x ) by using a negative exponent, we must write
1 −1
= [ f ( x )]
f ( x) .
Exercise 2.5
2
1. Consider the function f ={( x , x ): x ∈ S} from S={−3,−2,−1,0,1,2,3} into Z . Is f one to one? Is it
onto?
2. Let A={1 ,2,3} . List all one to one functions from A onto A .
¿ ¿
3. Let f : A →B . Let f be the inverse relation, i.e. f ={( y , x )∈ B× A : f ( x )= y} .
¿
a) Show by an example that f need not be a function.
¿
b) Show that f is a function from Range( f ) into A if and only if f is 1 – 1.
¿
c) Show that f is a function from B into A if and only if f is 1 – 1 and onto.
¿ −1 ¿
d) Show that if f is a function from B into A , then f =f .
2
of calculators sold, x (in millions), and is given by the demand function p=80−x .
The manufacturer’s revenue is determined by multiplying the number of items sold ( x ) by the price per item
( p ). Thus, the revenue function is
Each
a i is assumed to be a real number, and n is a non-negative integer, a n is called the leading coefficient.
Example 2.32: p( x )=2 x +1 , q ( x )=√ 3 x +2 x−π and f ( x )=2 x are examples of polynomial functions.
2 4 3
4. The graph of a polynomial always exhibits the characteristic that as |x| gets very large, |y| gets very
large.
Zeros of a polynomial
The zeros of a polynomial function provide valuable information that can be helpful in sketching its graph.
One can find the zeros by factorizing the polynomial. However, we have no general method for factorizing
polynomials of degree greater than 2. In this subsection, we turn our attention to methods that will allow us
to find zeros of higher degree polynomials. To do this, we first need to discuss about the division algorithm.
Division Algorithm
Let p( x ) and d ( x ) be polynomials with d ( x )≠0 , and with the degree of d ( x ) less than or equal to the
⏟
p( x ) =d⏟ ⏟
( x ) . q( x )+ ⏟
R( x )
dividend divisor quotient remainder , where either R( x )=0 or the degree of R( x ) is less than degree of d ( x ) .
x 4 −1
4
Example 2.33: Divide x + 2 x .
Solution: Using long division we have
63
2 x2 −2 x+4
x +2 x 4
|x +0 x 3 +0 x 2 +0 x+1
−( x 4 +2 x 3 )
−2 x 3 +0 x 2
−(−2 x 3 −4 x 2 )
4 x 2 +0 x
−(4 x 2 +8 x )
−8 x−1
⏟
x 4 −1 =(⏟
x 2 +2 x ) . (⏟ ⏟
x 2 −2 x +4 )+(−8 x−1)
This long division means dividend divisor quotient remainder .
With the aid of the division algorithm, we can derive two important theorems that will allow us to recognize
the zeros of polynomials.
If we apply the division algorithm where the divisor, d ( x ) , is linear (that is of the form x−r ), we get
p( x )=( x−r )q ( x )+R
Note that since the divisor is of the first degree, the remainder R , must be a constant. If we now substitute
x=r , into this equation, we get
When a polynomial p( x ) of degree at least 1 is divided by x−r , then the remainder is p(r ) .
3 2
Example 2.34: The remainder when P( x )=x −x +3 x−1 is divided by x−2 is p(2 )=9 .
As a consequence of the remainder theorem, if x−r is a factor of p( x ) , then the remainder must be 0.
Conversely, if the remainder is 0, then x−r , is a factor of p( x ) . This is known as the Factor Theorem.
The Factor Theorem
64
Let f be a polynomial function and a and b be real numbers such that a< b . If f (a )f (b )<0 , then there is
proved that within the complex number system, every polynomial of degree ¿ 1 has at least one zero. This
fact is usually referred to as the Fundamental theorem of Algebra.
Fundamental Theorem of Algebra
If p( x ) is a polynomial of degree n> 0 whose coefficients are complex numbers, then p( x ) has at least one
zero in the complex number system.
Note that since all real numbers are complex numbers, a polynomial with real coefficients also satisfies the
Fundamental theorem of Algebra. As an immediate consequence of the Fundamental theorem of Algebra, we
have
The linear Factorization Theorem
n n−1
a ≠0 , then
If p( x )=an x +an−1 x +⋯+a1 x+a0 , where n≥1 and n
p( x )=an ( x−r 1 ) (x −r 2 )⋯( x−r n ) , where the r i are complex numbers (possible real and not necessarily
distinct).
From the linear factorization theorem, it follows that every polynomial of degree n≥1 has exactly n zeros in
the complex number system, where a root of multiplicity k counted k times.
Example 2.35: Express each of the polynomials in the form described by the Linear Factorization Theorem.
List each zero and its multiplicity.
65
a) We may factorize p( x ) as follows:
p( x )= x3 −6 x 2 −16 x =x ( x 2 −6 x−16 )
=x ( x−8 )( x+2)
=x ( x−8 )( x−(−2))
The zeros of p( x ) are 0, 8, and – 2 each of multiplicity one.
f ( x )=2 x 4 +8 x3 +10 x 2 =2 x 2 ( x 2 + 4 x +5 )
=2 x 2 ( x−(−2+ i ))( x−(−2−i ))
Thus, the zeros of f(x) are 0 with multiplicity two and −2+i and −2−i each with multiplicity one.
Example 2.36:
Any polynomial of the form kp ( x ) , where k is a non-zero constant will give the same roots and
multiplicities.
3 4 2
2. Based on part (1), we know that f ( x ) =k ( x+1) ( x−2) ( x−5 ) . Since we want f ( x )=32 , we have
66
f (1)=k (1+1)3 (1−2 )4 (1−5 )2
32=k (8 )(1)(16 ) ⇒ k =14
1 3 4 2
Thus, f ( x ) = 4 (x +1 ) ( x−2 ) ( x−5 ) .
Our experience in using the quadratic formula on quadratic equations with real coefficients has shown us that
2
complex roots always appear in conjugate pairs. For example, the roots of x −2 x +5=0 are 1+2 i and
1−2 i . In fact, this property extends to all polynomial equations with real coefficients.
Let p( x ) be a polynomial with real coefficients. If complex number a+ bi (where a and b are real numbers)
also be a zero. Therefore, x−(1−√ 3 i ) and x−(1+ √3 i ) are both factors of r( x ) , and so their product must
We know from experience that if p( x ) happens to be a quadratic function, then we may find the zeros of
−B±√ B 2−4 AC
x= .
2A
The rest of this subsection is devoted to developing some special methods for finding the zeros of a
polynomial function.
As we have seen, even though we have no general techniques for factorizing polynomials of degree greater
than 2, if we happen to know a root, say r, we can use long division to divide p( x ) by x−r and obtain a
quotient polynomial of lower degree. If we can get the quotient polynomial down to a quadratic, then we are
67
able to determine all the roots. But how do we find a root to start the process? The following theorem can be
most helpful.
The Rational Root Theorem
n n−1
Suppose that f ( x )=a n x + an−1 x +⋯+a1 x +a 0 , where
n≥1 , an ≠0 is an nth degree polynomial with
p
integer coefficients. If q is a rational root of f ( x )=0 , where p and q have no common factor other than
3
To get a feeling as to why this theorem is true, suppose 2 is a root of
a 3 x 3 +a 2 x2 +a1 x +a 0=0 .
Then,
a3 () () ()
3 3
2
+a2
3 2
2
+ a1
3
2
+ a0 =0
which implies that
27 a 3 9 a 2 3 a1
+ + + a0 =0
8 4 2 multiplying both sides by 8
27a 3 +18a 2 +12a1 =−8a0 ...................................................(1)
by 2.
3 2
Example 2.38: Find all the zeros of the function p( x )=2 x +3 x −23 x−12.
p
Solution: According to the Rational Root Theorem, if q is a rational root of the given equation, then p must
be a factor of −12 and q must be a factor of 2. Thus, we have
68
We may check these possible roots by substituting the value in p( x ) . Now p(1)=−30 and p(−1)=12 . Since
p(1) is negative and p(−1) is positive, by intermediate value theorem, p( x ) has a zero between −1 and 1.
P (− 2 )=0
, then (
x+ 2 )
1 1
Since is a factor of p( x ) . Using long division, we obtain
p( x )=2 x 3 + 3 x 2 −23 x−12=( x+ 12 )( 2 x 2 +2 x−24 )
=2( x+ 12 )( x + 4 )( x −3)
1
Therefore, the zeros of p(x) are − 2 , −4 and 3.
A rational function is a function of the form where both n(x) and d(x) are polynomials and
d ( x )≠0 .
3 ( )=
x−1 x 5 +2 x3 −x +1
f ( x )= f x f ( x )=
Example 2.39: The functions x+5 , x 2−4 and x+ 5 x are examples of
rational function.
is {x :d ( x )≠0}
Note that the domain of the rational function
3 x−5
f ( x )= 2
Example 2.40: Find the domain and zeros of the function x −x−12 .
Solution: The values of x for which x −x−12=0 are excluded from the domain of f . Since
2
x 2 −x−12=(x−4 )( x+3) , we have Dom( f )={x : x≠−3 , 4} . To find the zeros of f ( x ) , we solve the
equation
n ( x)
=0 ⇔n ( x )=0 ∧ q( x )≠0
d( x)
5 5
x=
Therefore, to find the zeros of f ( x ) , we solve 3 x−5=0 , giving 3 . Since 3 does not make the
y y f(x),
f(x),
asxa
asx
x a
a f(x) –,
y asx– f(x) –, asxa+
closer and closer to b (i.e., approximately b) but not exactly equal to b. For instance, if , then f(x)0
70
Vertical Asymptote: The vertical line x=a is called a vertical asymptote(VA) of f(x) if
i) adom(f), i.e., f is not defined at x=a; and
ii) f(x) or f(x) – when xa+ or xa– . In this case, the graph of f is almost vertically rising
upward (if f(x)) or sinking downward (if f(x)) along with the vertical line x=a when x
approaches a either from the right or from the left.
as xa+ or xa– . Therefore, x=a is a VA of f(x). Moreover, y= 1/an or (0, 1/an ) is its y-
intercept since f(0)=1/an. However, it has no x-intercept since f(x) 0 for all x in its domain (See, Fig. 2.2 (A)).
Suppose n is odd: In this case (x – a)n 0 for all xa and 1/ (x – a)n when xa+ as in the above case.
Thus, x=a is its VA. However, 1/(x–a)n – when xa– since (x – a)n< 0 for xa. Moreover, y= –1/an or (0, –
1/an ) is its y-intercept since f(0) = –1/an. However, it has no x-intercept also in this case. (See, Fig. 2.2 (B)).
y 1 y 1
y n
y n
( x a) ( x a)
1/an
a x a x
1/an
x=a x=a
VA VA
2. if , then x=a may or may not be a VA of f . In this case, simplify f(x) and look
for VA of the simplest form of f.
71
Horizontal Asymptote: A horizontal line y=b is called horizontal asymptote (HA) of f(x) if the value of the
function becomes closer and closer to b (i.e., f(x)b)as x or as x –.
In this case, the graph of f becomes almost a horizontal line along with (or near) the line y=b as x and
as x–. For instance, from the above example, the HA of is y=0 (the x-axis) , for any
positive integer n (See, Fig. 2.2).
then is the HA of f.
Oblique Asymptote: The oblique line y=ax+b, a0, is called an oblique asymptote (OA) of f if the value of
the function, f(x), becomes closer and closer to ax+b(i.e., f(x) becomes approximately ax+b) as either x
or x –. In this case, the graph of f becomes almost a straight line along with (or near) the oblique line
y=ax+b as x and as x –.
Note: A rational function has an OA only when degree(n(x)) = degree(d(x)) + 1. In this case, using
long division, if the quotient of n(x) ÷d(x) is ax +b, then y=ax+b is the OA of f.
. Thus, if x (or x –), then 0 so that f(x)1. Hence, y=1 is the
HA of f.
Using these information, you can sketch the graph of f as displayed below in Fig. 2.3 (A).
(b) Both the denominator and numerator are 0 at x=1. So, first factorize and simplify them:
x2+3x+2=(x+2)(x+1) and x2–1 = (x –1)( x+1) . Therefore,
, x –1
Hence, the graph of is exactly the same as that of except that g(x) is not
defined at x= –1. Therefore, the graph of g and its VA are the same as that of f except that there should be a
‘hole’ at the point corresponding to x= –1 on the graph of g as shown on Fig. 2.3(B) below.
x2 x2
y y , x 1
x 1 x 1
1
2 2
2 2
x=1 ‘hole’ x=1
VA atx=1
f ( x)
x 2 x 2 3x 2 x 2
x 1
g ( x) , x 1
x2 1 x 1
Exercise 2.6
1. Perform the requested divisions. Find the quotient and remainder and verify the Remainder Theorem
by computing p(a ) .
73
2
a) Divide p( x )= x −5 x+8 by x+4
3 2
b) Divide p( x )=2 x −7 x + x +4 by x −4
4
c) Divide p( x )=1−x by x−1
5 2
d) Divide p( x )= x −2 x −3 by x+1
3 2
2. Given that , factor p( x )=2 x −11 x +10 x+8 as completely as possible.
4 3 2
4. Given that 3 is a double zero of p( x )= x −3 x −19 x +87 x−90 , find all the zeros of p( x ) .
5. a) Write the general polynomial p( x ) whose only zeros are 1, 2 and 3, with multiplicity 3, 2 and 1
respectively. What is its degree?
1−x x 2 +1 1 x2
f ( x )= f ( x )= f ( x )= +2 f ( x )=
a) x−3 b) x c) x d) x 2−4
x 3−8 x−3
f ( x )=
10. Determine the behavior of x−3 when x is near 3.
11. The graph of any rational function in which the degree of the numerator is exactly one more than the
degree of the denominator will have an oblique (or slant) asymptote.
a) Use long division to show that
x 2 −x+ 6 8
y=f ( x )= =x+ 1+
x−2 x−2
74
b) Show that this means that the line y=x +1 is a slant asymptote for the graph and sketch the
graph of y=f ( x ) .
x n= ⏟
x⋅x⋅⋯⋅x
n factors each equal to x
n
In the symbol x , x is called the base and n is called the exponent.
5
For example, 2 =2×2×2×2×2=32 .
n
Based of the definition of x , n must be a natural number. It does not make sense for n to be negative or
zero. However, we can extend the definition of exponents to include 0 and negative exponents.
Definition 2.17: (Zero and Negative Exponents)
Definition of zero Exponent Definition of Negative Exponent
1
0 x−n = ( x≠0 )
x =1 (x ≠0) xn
0
Note: 0 is undefined.
1
−n
=x n
As a result of the above definition, we have x . We have the following rules of exponents for integer
exponents:
Rules for Integer Exponents
n n n
4. ( xy ) =x y
n m n+m
1. x ⋅x =x
xn
n m nm =x n−m
2. ( x ) =x
m
5. x
3.
() x n xn
y
= n ( y≠0 )
y
Next we extend the definition of exponents even further to include rational number exponents. To do this, we
assume that we want the rules for integer exponents also to apply to rational exponents and then use the rules
1 1
75
, we get ( 9 ) =9
1 1 2 1 1
There are two possible answers: 3 and – 3, since squaring either number will yield 9. To avoid ambiguity, we
1
define a (called the principal square root of a ) as the non-negative quantity that, when squared, yield a .
2
Thus, 9 =3 .
2
1 1 1
We will arrive at the definition of a in the same way as we did for a . For example, if we cube 8 , we get
3 2 3
( 8 ) =8
1 3 3 1
3 3
=8 . Thus, 8 3 is the number that, when cubed, yields 8. Since 23 =8 we have . Similarly,
1 1
(−27 ) =−3 . Thus, we define a (called the cube root of a ) as the quantity that, when cubed yields a .
3 3
1
n
If n is an odd positive integer, then a =b if and only if b =a
n
1
n
If n is an even positive integer and a≥0 , then a =|b| if and only if b =a
n
1 1
( 16 )2 =4 since 4 2 =16
1
3
(−125 ) 3 =−5 since (−5) =−125
( )
1
1 4 1
81
=
1 4 1
3 since 3
=
81 ()
1
3
27 3 =3 since 3 =27
1
Thus far, we have defined a , where n is a natural number. With the help of the second rule for exponent, we
n
m
m
can define the expression a , where m and n are natural numbers and
n
n is reduced to lowest terms.
m
( )
1 m 1 m
th th
If a is a real number, then a = a (i.e. the n root of a raised to the m
n n n
power)
We can also define negative rational exponents:
m
−n 1
a = m
( a≠0 )
a n
76
Example 2.43: Evaluate the following
3
2 1
−2 −5
a) 27 b) 36 c) (−32)
3
Solution: We have
( )
2 1 2
2
a) 27 = 27 =3 =9
3 3
1
−2 1 1
36 = =
1
6
b) 36 2
3
− 1 1 1 1
(−32) 5 = = 1 3
= 3
=−
8
((−32) )
3
(−2 )
c) (−32 ) 5 5
Radical notation is an alternative way of writing an expression with rational exponents. We define for real
th
number a , the n root of a as follows:
1
n
root of a ): √ a = a , where n is a positive integer.
th
Definition 2.20 (n
n
n
The number √ a is also called the principal n
th th
root of a . If the n root of a exists, we have:
For a a real number and n a positive integer,
√a =¿ {|a|, if n is even¿¿¿¿
n n
()
x
1
x x
h( x )=
Example 2.44: The functions f ( x )=2 , g( x )=3 and 2 are examples of exponential functions.
As usual the first question raised when we encounter a new function is its domain. Since rational exponents are
well defined, we know that any rational number will be in the domain of an exponential function. For example,
x 1 4
let f ( x )=3 . Then as x takes on the rational values x=4 , – 2 , 2 and 5 , we have
1 1
f (−2 )=3−2=
f (4 )=3 4 =3⋅3⋅3⋅3=81 32
=
9
77
1 4
f ( 45 )=3 5 =√ 34 =√ 81
5
f ( 12 )=3 2 =√ 3
5
Note that even though we do not know the exact values of √ 3 and √5 81 , we do know exactly what they mean.
√2
However, what about f ( x ) for irrational values of x ? For instance, f ( √ 2 )=3 =?
x
We have not defined the meaning of irrational exponents. In fact, a precise formal definition of b where x is
√2
irrational requires the ideas of calculus. However, we can get an idea of what 3 should be by using
3√ 2≈4 . 7288044 . This numerical evidence suggests that as x approaches √ 2 , the values of 3 x approach a
√2
unique real number that we designate by 3 , and so we will accept without proof, the fact that the domain of
the exponential function is the set of real numbers.
x
The exponential function y=b , where b> 0 and b≠1 , is defined for all real values of x .
In addition all the rules for rational exponents hold for real number exponents as well.
Before we state some general facts about exponential functions , let’s see if we can determine what the graph
of an exponential function will look like.
Example 2.45:
x
1. Sketch the graph of the function y=2 and identify its domain and range.
Solution: To aid in our analysis, we set up a short table of values to give us a frame of
reference.
78
x y y
−3 2−3 = 18 y = 2x
−2 2−2 = 14
2 (1,2)
−1 2−1
= 12 1
O x
0 20 =1 1
1 21 =2
2 22 =4
3 23 =8
With these points in hand, we draw a smooth curve through the points obtaining the graph appearing above.
x
Observe that the domain of y=2 is IR , the graph has no x− intercepts, as
x →+∞ , the y values are increasing very rapidly, whereas as x →−∞ , the y values are getting closer and
x
closer to 0. Thus, x−axis is a horizontal asymptote, the y− intercept is 1 and the range of y=2 is the set of
positive real numbers.
y
1 x
y=( 2)
(1,2) 2
1
1 O 1 x
Here again the x−axis is a horizontal asymptote, there is no x− intercept, 1 is y− intercept and the range is
the set of positive real numbers. However, the graph is now decreasing rather than increasing.
79
The following box summarizes the important facts about exponential functions and their graphs.
y=f ( x )=b x
The Exponential function
1. The domain of the exponential function is the set of real numbers
2. The range of the exponential function is the set of positive real numbers
x
3. The graph of y=b exhibits exponential growth if b> 1 or exponential decay if 0< b<1 .
4. The y− intercept is 1.
5. The x− intercept is a horizontal asymptote
x y
6. The exponential function is 1 – 1. Algebraically if b =b , then x= y
Example 2.46: Sketch the graph of each of the following. Find the domain, range, intercepts, and asymptotes.
x x +1 −x
a) y=3 +1 b) y=3 c) y=−9 +3
Solution:
x x
a) To get the graph of y=3 +1 . We start with the graph of y=3 , which is the basic exponential
growth graph, and shift it up 1 unit.
From the graph we see that
y=3x+1
10 - Dom( f )=ℜ
- Range( f )=(1 ,∞ )
2 - The y− intercept is 2
y=1
1
- The line y=1 is a horizontal
1 2
asymptote
x +1 x
b) To get the graph of y=3 , we start with the graph of y=3 , and shift 1 unit to the left.
From the graph we see that
y=3x+1
- Dom( f )=ℜ
9
- Range( f )=(0 , ∞)
- The y− intercept is 3
80
−x
c) To get the graph of y=−9 +3 , we start with the basic exponential decay y=9− x . We then reflect it
−x
with respect to the x−axis , which gives the graph of y=−9 . Finally, we shift this graph up 3 units
−x
to get the required graph of y=−9 +3 .
y y
y
(1,9) 9 1
1 y=3
1 x 3
2 y = 9 x +3
1 y = 9 x 1
x
y = 9 1
1 x
1 O 1 x (1,9) 9
−x
From the graph of y=−9 +3 , we can see that Dom(h )=ℜ , Range(h )=(−∞ , 3 ) , the line y=3 is a
1
horizontal asymptote, 2 is the y− intercept and x=− 2 is the x− intercept.
x
Remark: When the base b of the exponential function f ( x )=b equals to the number e , where
e=2 .7182⋯ , we call the exponential function the natural exponential function.
y= 3√ x y=??
81
y
There is no algebraic procedure we can use to solve x=3 for y . By introducing radical notations we could
3 3
express the inverse of y=x explicitly in the form y= √ x . In words, y =x and y= √ x both mean exactly
3 3
y
the same thing: y is the number whose cube is x . Similarly, if we want to express x=3 explicitly as a
y
function of x , we need to invent a special notation for this. The key idea is to take the equation x=3 and
express it verbally.
x=3 y means y is the exponent to which 3 must be raised to yield x
We introduce the following notation, which expresses this idea in a much more compact form.
We read
y=log b x as “ y equals the logarithm of x to the base b ”.
REMEMBER:
y=log b x is an alternative way of writing x=b y
y
When an expression is written in the form x=b , it is said to be in exponential form. When an expression is
log 6 √ 6= 12
1
6 2 =√ 6
Example 2.47:
1. Write each of the following in exponential form.
log 1 =−2 1
a) 39 b) log 16 2= 4
log =−2 −2 1
means 3 = 9 .
1
Solution: We have a) 39
1
1
b) log 16 2= 4 means 16 =2
4
Solution: We have
−3
a)10 =0 . 001 means
log 10 0 . 001=−3
2
2
b) 27 =9 meanslog 27 9= 3
3
a)
log 3 81 b) log 8 64
1
Solution:
a) To evaluate
log 3 81 , we let t=log 3 81 , and then rewrite the equation in exponential form, 3t =81 .
Now, if we can express both sides in terms of the same base, we can solve the resulting exponential
equation, as follows:
Let
t=log 3 81 Rewrite in exponential form
3t =81 Express both sides in terms of the same base
3t =3 4 Since the exponential function is 1 – 1
t =4
Therefore,
log 3 81=4 .
b) We apply the same procedure as in part (a).
1
t =log 8 64
Let Rewrite in exponential form
8t = 64
1
Express both sides in terms of the same base
8t =8−2 Since the exponential function is 1 – 1
t =−2
1
Therefore, log 8 64 =−2 .
As was pointed out at the beginning of this subsection, logarithm notation was invented to express the inverse
writing f ( x )=log b ( x ) and use parenthesis only when needed to clarify the input to the log function. For
example,
If f ( x )=log 5 ( 4−x ) , then f (−1 )=log 5 (4−(−1))=log 5 5=1 , whereas if f ( x )=4−log 5 x , then
83
1
a) f (25) b) f ( 25 ) c) f ( 0) d)
Solution:
a) f (25)=log 5 25=2
2
(since 5 =25 )
1 1
5−2 = 25
1
b) f ( 25 )=log 5 25 =−2 (since )
c) f (0)=log 5 0 is not defined (what power of 5 will yield 0?). We say that 0 is not in the domain of f.
d) f (−125 )=log 5 (−125 ) is not defined (what power of 5 will yield -125?). We say that -125 is not in the
domain of f.
Acknowledging that the logarithmic and exponential functions are inverses, we can derive a great deal of
information about the logarithmic function and its graph from the exponential function and its graph.
Example 2.49: Sketch the graph of the following functions. Find the domain and range of each.
y=log 3 x y=log 1 x
a) b) 2
Solution: a) Since
y=log 3 x is the inverse of y=3 x , we can obtain the graph of y=log 3 x by reflecting the
x
graph of y=3 about the line y=x , as shown below.
y
y = 3x
y=x
y = log3x
1
1 x
y=log 1 x 1 x
y=( 2 )
b) To get the graph of 2 , we reflect the graph of about the line y=x as shown below.
y
1 x
y=( 2 ) y=x
1 x
y=log 1 x
2
84
Taking note of the features of the two graphs we have the following important informations about the graph of
the log function:
y=log b x
The Logarithmic Function
1. Sketch the graph of f ( x )=1+ log 3 ( x−2 ) . Find the domain, range, asymptote and intercepts.
Solution: We can obtain the graph of y=1+ log 3 ( x−2) by applying the graphing principle to shift the
basic logarithmic growth graph 2 units to the right and 1 unit up.
y
x= 2
y = 1+ log3(x2)
1
1 2 3 x
We have Dom( f )={x : x> 2} , Range( f )=ℜ and the graph has the line x=2 as a vertical
asymptote. To find the intercept, we set y=0 and solve for x . Setting y=0 and solving for x , we
7 7
will obtain x= 3 . Thus, the x− intercept is 3 .
2. Find the inverse function for
85
x−4=3 y Write in logarithmic form y−2=3 x solve explicitly for y
y=log 3 ( x−4 ) y=3 x + 2
−1 −1
Thus, f ( x )=log 3 (x −4 )
x
Thus, g (x )=3 +2
The following table contains the basic properties of logarithm:
Properties of logarithm
Example 2.51:
1. Express in terms of simpler logarithms.
3
a) log b ( x y )
3
b) log b ( x + y ) c) ( )
log b √ xy3
z
Solution:
3 3
a) log b ( x y )=log b x +log b y=3 log b x+ log b y
b) Examining the properties of logarithms, we can see that they deal with log of a product, quotient and
3
power. Thus, log 3 ( x + y ) which is the log of a sum cannot be simplified using log properties.
c) We have
1
1
log ( xy ) −3 log z= (log b x+ log b y )−3 log b z
( ) b
2
√ xy
log b
z3
=log √ xy −log b ( z )3
b b
2
= .
1
2. Show that log b 2 =−log b 2 .
1
Solution: We have log b 2 =log b 1−log b 2=0−log b 2=−log b 2 .
86
The logarithmic function was introduced without stressing the particular base chosen. However, there are two
bases of special importance in science and mathematics, namely, b=10 and b=e .
Definition 2.23: (Common Logarithm)
f ( x )=log 10 x is called the common logarithm function. We write log 10 x=log x .
The inverse of the natural exponential function is called the natural logarithmic function and has its own
special notation.
Definition 2.24: (Natural Logarithm)
f ( x )=log e x is called the natural logarithmic function. We write log e x=ln x .
Example 2.52:
A
87
In forming the angle, one side remains fixed and the other side rotates. The fixed side is called the initial side
and the side that rotates is called the terminal side. If the terminal side rotates in a counter clockwise direction,
we call the angle positive angle, and if the terminal side rotates in a clockwise direction, we call the angle
negative angle.
B B
What attribute of an angle are we trying to measure
when we measure the size of an angle? A moment of thought will lead us to the
conclusion that when we measure an angle we are trying to answer the question: Through what part of a
complete rotation has the terminal side rotated?
We will use degree () as the unit of measurement for angles. Recall that the measure of a full round angle (full
circle) is 360, straight angle is 180, and right angle is 90.
An alternative unit of measure for angles which will indicate their size is the radian measure. To see the
connection between the degree measure and radian measure of an angle, let us consider an angle θ and draw
a circle of radius r with the vertex of θ at its center O . Let s represent the length of the arc of the circle
intercepted by ∠ θ (as shown below).
s
θ
O
r
Basic geometry tells us that the central angle θ will be the same fractional part of one complete rotation as s
1 1
will be of the circumference of the circle. For example, if θ is 10 of a complete rotation, then s will be 10 of
the circumference of the circle. In other words, we can set up the following proportion:
θ s s
= =
1 complete rotation circumference of circle 2 πr
Thus, we have the following conversion formula:
θ in deg rees θ in radians
=
180∘ π
Example 2.53:
1. Convert each of the following radian measures to degrees.
88
π 3π
a) 6 b) 5
π
θ 6
∘= ∘
Solution: a) By the conversion formula, we have 180 π , which implies that θ=30 .
3π
θ 5
∘= ∘
b) Again using the conversion formula, we get 180 π , which implies that θ=108 .
2. Convert to radian measures
∘ ∘
a) 90 b) 270
θ 90∘
∘ = ∘
Solution: a) Let θ represent the radian measure of 90 . Using the conversion formula, we obtain: π 180 ,
π
θ=
which implies that 2.
π
∘ ∘ 90∘ =
b) Rather than using the conversion formula, we notice that 270 =3(90 ) . In part (a) we found that 2,
3π
270∘=
and so we have 2 .
To define the trigonometric functions, we will view all angles in the context of a Cartesian coordinate system:
that is, given an angle θ , we begin by putting θ in standard position, meaning that the vertex of θ is placed
at the origin and initial side of θ is placed along the positive x−axis . Thus the location of the terminal side
of θ will, of course, depend on the size of θ .
Y Y
P(x,y)
ϴ r
X X
We then locate a point (other than the origin) on the terminal side of θ and identify its coordinates
( x , y ) and its distance to the origin, dented by r . Then, r is positive.
With in standard position, we define the six trigonometric functions of as follows:
Definition 2.25
Name of function Abbreviation Definition
y
sin
Sine sin r
89
x
cos
Cosine cos r
y
tan
Tangent tan x
r
csc
Cosecant csc y
r
sec
Secant sec x
x
cot
Cotangent cot y
s
Recall that the radian measure of an angle is defined as r , where is angle in radians
s is the length of the arc intercepted by and r is the length of the radius. Since s and r are both lengths,
s
the quotient r is a pure number without any units attached. Thus, any angle can be interpreted as a real
number. Conversely, any real number can be interpreted as an angle. Thus, we can describe the domains of the
trigonometric functions in the frame work of the real number systems. If we let f ( ) sin , the domain
y
sin
consists of all real numbers for which sin is defined. Since r and r is never equal to zero, the
x
f ( ) cos
domain for sin is the set of all real numbers. Similarly, the domain of r is also the set of all
real numbers.
To analyze f ( ) sin , we keep in mind that once we choose a real number , we draw the angle, in
standard position, that corresponds to . To simplify our analysis, we choose the point ( x, y ) on the terminal
y
2 2 sin y
side so that r 1 . That is, ( x, y ) is a point on the unit circle x y 1 . Note that 1 .
(0,1)
(x,y)
θ
(-1,0) (1,0)
(0,-1)
90
As the terminal side of moves through the first quadrant, y increases from 0 (when 0 ) to 1(when
2 ). Thus, as increases from 0 to
2 , y sin steadily increases from 0 to 1.
As increases from 2 to , y sin decreases form 1 to 0. A similar analysis reveals that as increases
3 3
from to 2 , sin decreases from 0 to – 1; and as increases from 2 to 2 , sin increases from – 1 to
0.
Based on this analysis, we have the graph of f ( ) sin in the interval [0,2 ] as show below.
y = sin x
Applying the same type of analysis to f ( ) cos , we will able to get a good idea of what its graph looks
like. The figure below shows the angle corresponding to as it increases through quadrant I, II, III and IV.
x
cos x
Keeping in mind that 1 , we have the following:
1. As increases from 0 to 2 , x cos decreases from 1 to 0.
2. As increases from 2 to , x cos decreases from 0 to – 1.
3
3. As increases from to 2 , x cos increases from – 1 to 0.
3
4. As increases from 2 to 2 , x cos increases from 0 to 1.
91
Based on this analysis, we have the graph of f ( ) cos as shown below:
multiple of that will again bring the terminal side back to the y axis . Thus, domain of tan is
{ : 2 n } , where n is an integer.
tan xy
1. As increases from 0 to 2 , x decreases from 1 to 0 and y increases from 0 to 1; therefore,
increases from 0 to .
2. As increases from 2 to , x decreases from 0 to – 1 and y decreases from 1 to 0; therefore,
tan xy
increases from to 0.
3
3. As increases from to 2 , x increases from – 1 to 0 and y decreases from 0 to – 1; therefore,
tan xy
increases from 0 to .
3
4. As increases from 2 to 2 , x increases from 0 to 1 and y increases from – 1 to 0; therefore,
tan xy
increases from to 0.
You may want to add some more specific values to this analysis. In any case, we get the following as the graph
of the tangent function.
92
Definition 2.26: (Periodic function)
for all x in the domain of f . The smallest such number p is called the period of the function.
A periodic function keeps repeating the same set of y values over and over again. The graph of a periodic
function shows the same basic segment of its graph being repeated. In the case of sine and cosine functions, the
period is 2 . The period of the tangent function is .
Definition 2.27: (Amplitude of a periodic function)
The number of complete cycles a sine or cosine graph makes on an interval of length equal to
2 is called its frequency.
The frequency of the basic sine curve y sin x and the basic cosine curve y cos x is 1, because each graph
π 5π 2π X
π π 3π 3π 7π
4 2 4 4 2 4
93
Thus if a sine function has a period of 2 , its frequency is 4 and its graph will make 4 complete cycles in an
interval of length 2 .
Example 2.54: Sketch the graph of y sin 2 x and find its amplitude, period and frequency.
Solution: We can obtain this graph by applying our knowledge of the basic sine graph. For the basic curve, we
have
2 x 0 2 x 2 2 x 2 x 32 2 x 2
and we get
x 0 x 4 x 2 x 32 x
x 0, 4 , 2 , 34 ,
Thus, y sin 2 x will have the values 0, 1, 0, 1 , 0 at and , respectively. The graph of
y sin 2 x will thus complete one cycle in the interval [0, ] , and will repeat the same values in the interval
[ ,2 ] .
π 5π 3π 7π 2π X
π π 3π
4 2 4 4 2 4
94
where n is an integer
We have the following trigonometric identities
2 2
1. sin x cos x 1
2 2
2. tan x 1 sce x
2 2
3. 1 cot x csc x
Exercise 2.7
1. Find the domain of the given function.
1 1
f ( x) x x f ( x)
b) g ( x ) 3 1 c) h( x ) 2 8
3x
a) 6x d) 2 2
2. Sketch the graph of the given function. Identify the domain, range, intercepts, and asymptotes.
x x x x 2
a) y 5 b) y 9 3 c) y 1 e d) y e
3. Solve the given exponential equation.
x 1 2x x 163a 2 14
a) 2 8 b) 3 243 c) 8 2 d)
x
4. Let f ( x ) 2 . Show that f ( x 3) 8 f ( x ) .
1
x g ( x 2) g ( x)
5. Let g ( x ) 5 . Show that 25 .
f ( x 2) f ( 2)
x 4(3 x )
6. Let f ( x ) 3 . Show that 2 .
7. Evaluate the given logarithmic expression (where it is defined).
11. Sketch the graph of the given function and identify the domain, range, intercepts and asymptotes.
f ( x ) log 3 ( x ) f ( x ) 3 log 5 x
a) f ( x ) log 2 ( x 3) b) f ( x ) 3 log 2 x c) d)
( 3 x 1)
12. Find the inverse of f ( x ) e .
x
13. Let f ( x ) e . Find a function so that ( f g )( x ) ( g f )( x ) x .
14. Convert the given angle from radians to degrees
95
5
4
a) 3 b) 2 c) 3
d) f ( x ) sin( x 2 )
b) f ( x ) 1 cos x f) f ( x ) tan 2 x
17. Verify the following identities:
96