QS015 - Chapter 5 Functions & Graphs PDF
QS015 - Chapter 5 Functions & Graphs PDF
Topics Outline :
Objective :
At the end of this topic, students will be able to :
a) Define a function.
b) Use the vertical line test to determine whether a graph represent a function.
c) Use the algebraic approach or horizontal line test to determine whether a function is one-to-one.
A : Define a function
NOTES!!!
Mathematics Unit
A function f is a relation from set X to set Y such that each element in set X corresponds to one
and only one element in set Y
Set X is called the domain, the set of all corresponding elements in set Y is called the range.
1
Functions & Graphs CHAPTER 5
Functions :
a) One to one relation
b) Many to one relation
Onto : For every element in codomain there exists an element in the domain which maps to it.
a) One to one and onto
b) One to one and not onto
Example 1
Indicate whether each of the following sets defines a function. Find the domain and range of each
function.
FUNCTION NOTATIONS
The symbol f (x) “f of x” or “the value of f at x” represent the number in the range of the function f to
which the domain value x is paired.
f : y = 2x rule of correspondence
f : {(x, y) | y = 2x } set of ordered pairs
© 2016
B : Use the vertical line test to determine whether a graph represent a function
2
Functions & Graphs CHAPTER 5
Example 2
C : Use the algebraic approach or horizontal line test to determine whether a function is one-to-one
Example 3
Determine whether f (x) is a one-to-one function by algebraic approach or horizontal line test.
a) f (x) = 7x + 9
b) f (x) = 3 – 4x2
c) f (x) = x2 – 2x + 3.
d) f (x) = |x - 3|
e) f (x) = x 2 – 4, x ≥ 0
f) f (x) = |x| + 2, x ≥ 0
© 2016
Mathematics Unit
3
Functions & Graphs CHAPTER 5
Objective :
At the end of this topic, students will be able to :
d) Sketch the graph of a function.
e) State the domain and range of a function.
© 2016
Mathematics Unit
4
Functions & Graphs CHAPTER 5
Summary on Basic Shape of Graph
f x kx0 k
a. Constant function *where k is a
constant
b. Linear function f x x1
c. Quadratic function f x x 2
d. Cubic function f x x 3
2. Absolute function f x x
f x
1
3. Rational function
x
4. Surd function f x x
f x e x
© 2016
5. Exponential function
Mathematics Unit
5
Functions & Graphs CHAPTER 5
Type of Domain /
No Functions Graphical Approach Algebraic Approach
Functions Range
The domain f (x) is defined for all
Constant
f x kx0 k is R values of x.
1 *where k is a k
function
constant The range f (x) only takes the
is {k } value k.
The domain f (x) is defined for all
is R values of x.
Linear f (x) = ax + b , ax f ( x) b
2
function a≠0 x
f ( x) b
a
The range x is defined for all
is R values of f (x).
The domain f (x) is defined for all
is R values of x.
Transform f (x) by
f (x) = ax 2 + bx + c,
completing the
a≠0
square into the form
f (x) = a (x – h) 2 + k
Transform f (x) by
2
f (x) = ax + bx + c, completing the
a≠0 square into the form
f (x) = a (x – h) 2 + k
f (x) = ax 3 + bx 2 +
cx + d,
© 2016
a≠0
6
Functions & Graphs CHAPTER 5
Rational
6
function ax b 1
f ( x)
f ( x)
1 The range is x 1a 1 b
,0 0,
f ( x)
ax b x is defined for all
values of f(x)
except f (x) = 0
The domain is [a, ) f (x) is defined if
x–a≥0
x≥a
7
Functions & Graphs CHAPTER 5
Example 4
Sketch the graphs of the following functions and determine the domains and ranges :
a) f (x) = x 2 – 6x + 8
b) f (x) = -x 2 + 12x – 35
c) g (x) = |x + 2|
d) g (x) = |3 – 3x| + 2
e) g (x) = 5 - |x|
f) h( x) x 4
g) h( x) x 3
h) h( x) 1 x 1
1
i) w( x)
5 x
x, x 1
2
j) f ( x) x , 0 x3
x 1, x 3
Example 5
Use algebraic approach to find the domain and range for each of the following functions.
a) f (x) = x 2 – 6x + 8
b) g (x) = |3 – 3x| + 2
c) h( x) 1 x 1
1
d) w( x)
5 x
, g ( x) 0
g g ( x)
The domain of the resulting function is Df Dg .
Mathematics Unit
8
Functions & Graphs CHAPTER 5
Example 6
x6
1. f ( x) and g ( x) x 2 2. Find
x
a) (f + g)(3)
b) (fg)(-2)
Exercises
1) Determine the domain and range for each of the following functions.
x 1
a) f ( x)
3x 2
b) f ( x) 4 3x
8
c) f ( x)
x 3
2) Sketch the graphs of the following functions and determine the domains and ranges:
4 x, x 0
f ( x) 1 x 2 , 0 x 4
15, x4
© 2016
Mathematics Unit
9
Functions & Graphs CHAPTER 5
Objective :
At the end of this topic, students will be able to :
f) To determine the relationship of exponential and logarithmic functions by algebraic and graphical
approaches.
g) To find the domain and range of exponential and logarithmic functions.
NOTES!!!
a) f (x) = a x , a > 1
x
3
Example : Sketch the graphs of f ( x) , g ( x) e x and h( x) 3 x. e 2.718281828 ...
2
© 2016
Mathematics Unit
1
0
Functions & Graphs CHAPTER 5
Notice that :
x
1
The graphs of y 2 x and y 2 x are symmetric with respect to the y - axis.
2
The graphs of y 2 x and y 2 x and graphs of y 2 x and y 2 x
are simmetric with respect to the x - axis.
Example 1 : Find the domain and range for each of the following functions and sketch the graphs.
a) f (x) = e x
© 2016
x
5
b) f ( x)
8
Mathematics Unit
x
1
c) f ( x)
4
d) f (x) = e x + 5
e) f (x) = 4 – 2 x
f) f (x) = – 3-x – 1
1
1
Functions & Graphs CHAPTER 5
NOTES!!!
Notice that :
The graphs of y log 1 x log 0.1 x and y log 10 x are symmetric with respect to the x - axis.
10
© 2016
The graphs of y log 10 x and y log 10 ( x) and graphs of y log 0.1 x and y log 0.1 ( x)
Mathematics Unit
1
2
Functions & Graphs CHAPTER 5
Example 2: Find the domain and range for each of the following functions, and sketch the graphs.
a) f (x) = ln( 3x – 1 )
b) f (x) = lnx + 3
c) f (x) = 2 – lnx
e) f ( x) log 1 ( 2 x)
4
f) f (x) = log2 (– x – 3) – 5
© 2016
Mathematics Unit
1
3
Functions & Graphs CHAPTER 5
Type of Algebraic
No Functions Graphical Approach Domain / Range
Functions Approach
f (x) is defined
f x e x The domain is R
for all values of
x.
Since e x 0
f x e x
The range is
(0, ) f x 0
Exponential
8
function f (x) is defined
f x e x The domain is R for all values of
x.
Since e x 0
f x e x
The range is
(-, 0) f x 0
Exercises : Find domain and range for each of the following functions, and sketch the graphs.
1
5
Functions & Graphs CHAPTER 5
5.2 : COMPOSITE FUNCTION
Objectives:
At the end of this topic, students should be able :
a. To represent a composite function by an arrow diagram.
b. To find composite function
c. To find one of the functions when the other composite functions are given.
( f g )(x) f g ( x)
g f
x g(x) f g (x)
fg
Example 1:
Given that
f (1,2), (1,4), (2,1)
g (0,1), (1,2), (3,1)
h (4,1), (2,0), (3,3)
Example 2:
If f ( x) 2 x 1 and g ( x) x 3 , evaluate :
Mathematics Unit
a) ( g f )(3)
b) ( f g )(3)
c) f 2 (3)
d) f (3)2
1
6
Functions & Graphs CHAPTER 5
Example 3:
Find ( f g )( x ) and ( g f )( x )
a) If f ( x) x and g ( x) x 3 1
b) If f ( x) 4 x 3 and g ( x) x2
Exercise 1:
Example 4:
Find ( f g )( x ) , ( g f )( x) and ( f g 2 )( x)
a) If f ( x) 1 x 2 and g ( x) 2 x
1
b) If f ( x) x 1 and g ( x)
x
Example 5:
Example 6:
x2
Example 7:
a) Given that f : x x 1 . Find the function g if f g : x 6 x 11 .
Mathematics Unit
1
b) Given that f : x 2 x 1 . Find the function g if g f : x , x 1.
x 1
1
7
Functions & Graphs CHAPTER 5
Example 8:
a) f g
b) g f
Example 9:
POP-QUIZ
If ( f g )( x) 4 x 2 2 x 1 and g ( x) 2 x 1 . Find the composite function ( g f )( x ) .
Hence, find the values of x that satisfy ( f g )( x) ( g f )( x) .
Exercise 2:
1
8
Functions & Graphs CHAPTER 5
5.3 INVERSE FUNCTIONS
Objective:
At the end of this topic, students will be able to:
a) Determine the inverse of a function
b) Determine whether a function has an inverse ,hence find its inverse and domain and range.
c) Sketching function and its inverse on the same axes (symmetry property).
d) Finding inverse functions with restricted domain.
e) Finding inverse of non-linear function(Exponential and Logarithmic Function)
f) Verifying inverse functions
Taking a set X and mapping into a Set Y. An inverse function would reverse that process and map from
Set Y into Set X
Example 1:
Consider the following set X and set Y, state the domain and range of function f and g.
a)
© 2016
Mathematics Unit
b)
1
9
Functions & Graphs CHAPTER 5
B : Determine whether a function has an inverse ,hence find its inverse and domain and range
Definition: A function f is called a one-to-one function if it never takes on the same value twice.
Determined by graphical approach or algebraic approach.
© 2016
if f ( x ) 1 2 x if f ( x) e x
f f 1 x
Mathematics Unit
f f 1 x
1 2 f 1 x x e f x x
1
x 1 1 x
f 1 x f 1 x ln x
2 2
D f R f 1 and R f D f 1 D f R f 1 and R f D f 1
2
0
Functions & Graphs CHAPTER 5
Example 2:
Determine whether the following function has an inverse. Hence find f -1 and its domain and range.
a) f ( x) 3 x 2, x
b) g ( x) x 2 4 x 1, x
c) h( x) x 2 , x 2
d) p( x) x 3 5,
2
e) q( x) , x \ {0}
x
The graph of y = f (x) and y = f -1(x) are symmetric with respect to the line y = x.
Example 3: © 2016
Continued from Example 2, sketch the graphs of f and f -1 in the same coordinate system:
a) f ( x) 3 x 2, x
Mathematics Unit
b) g ( x) x 2 4 x 1, x
c) h( x) x 2 , x 2
d) p( x) x 3 5
2
e) q( x) , x \ {0}
x
2
1
Functions & Graphs CHAPTER 5
If the function is not one-to-one function, restrict the domain of the function and find the inverse function.
f(x) = x3 f(x) = x2
D f , Restricted Domain:
D f ,0 or D f 0,
Example 4:
Graph each function, and use the graph to determine if the function is one-to-one. If the function is not
one-to-one, restrict the domain of the function and find the inverse function. Graph the function and its
inverse in the same coordinate system.
a) f ( x) x 2
f ( x) x 2 2 x 2
© 2016
b)
Mathematics Unit
2
2
Functions & Graphs CHAPTER 5
Example 5:
(iii) Hence, sketch the graphs of f and f -1 in the same coordinate system.
© 2016
Mathematics Unit
2
3
Functions & Graphs CHAPTER 5
If f g ( x) g f ( x) , therefore
x f and g are inverse to each other.
Example 6 :
a) f ( x) 3x 6 ; g ( x) 13 x 2
b) f ( x) x 1 ; g ( x) x 2 1, x 0
EXERCISE
1
2. A function g is defined by h( x) , x 1.
x 1
a) Show that h(x) is one to one function.
b) Hence, find h 1 ( x) and state its domain and range.
2
4