Math 112 Topic 7 Handout
Math 112 Topic 7 Handout
Copyright
Page 1 of 12
Topic 7: Functions
Introduction
Welcome to topic seven. This topic is aimed at introducing you to the aspect of functions. Under
this you will be expected to know what functions are and how they are related to relations. Once
you have a function, you will be required to obtain an inverse function as well as finding
composition of functions. The topic is, therefore, designed to prepare you to have a clear
understanding of the function and its properties.
Learning Outcomes
Now y is called the image of x under f , X is called the Domain of f while Y is called
the co – domain of f . The set R f = y Y : f ( x ) = y for some x X is called the Range of
f .
Examples
1. Given two sets A = 1, 2,3, 4,5 and B = 0,1, 2,3, 4,5,6,7,8,9 . Determine whether the
Page 2 of 12
Solution
R is a function since each and every member of set A is linked to one and only one member
of set B i.e R : x → x + 2 or R ( x ) = x + 2
2. Given any two sets X = 1, 2,3, 4 and Y = a, b, c with the relations
R1 = (1, a ) , ( 3, c ) , ( 4, a ) , ( 2, b ) , ( 3, a ) , (1, c )
R2 = (1, c ) , ( 2, a ) , ( 3, c )
R3 = (1, b ) , ( 2, c ) , ( 3, a ) , ( 4, a )
Solution
Page 3 of 12
R1 is a one – many relation hence not a function
R3 is a many – one relation hence a function since DR3 = X . Therefore one – one
relations and many – one relations are functions
Page 4 of 12
Note: a function is a relation but a relation is may or may not be a function.
f ( x2 ) = y , then x1 = x2
Example
a) f1 : X → Y defined by (1, p ) , ( 2, r ) , ( 3, q ) , ( 4, r )
−1
If f : X → Y is one – one and onto, then we define f : ( y, x ) : ( x, y ) f as a function
The D f −1 = codomain of f
Examples
a) f : x → 2 x − 11
Page 5 of 12
Solution
f ( x ) = 2 x − 11
2 x = y + 11
y + 11
x= ; replace y with x on R.H .S
2
x + 11
f −1 ( x ) =
2
x+5
b) g ( x) =
x−6
Solution
x+5
Let y=
x−6
Then yx − 6 y = x + 5
x ( y − 1) = 6 y + 5
6y + 5
x=
y −1
6x + 5
g −1 ( x ) =
x −1
6 (10 ) + 5 65
g −1 (10 ) = =
10 − 1 9
c) f ( x ) = 5x − 9
Solution
Let y = 5 x − 9
Page 6 of 12
Then y 2 = 5x − 9
5x = y 2 + 9
y2 + 9
x=
5
x2 + 9
f −1 ( x ) =
5
Consider f ( x ) = 3 − x + x , then
2
f ( 0) = 3
f (1) = 3
f ( −1) = 5
f (k ) = 3 − k + k 2
f ( k + 1) = 3 − ( k + 1) + ( k + 1) = 3 + k + k 2
2
Note:
Page 7 of 12
1. The order in which the operations must be performed is from right to left.
2. Composition of functions is not the same as multiplication of functions.
Examples
g f ( x)
1. Given that f ( x ) = 2 x + 1 and g ( x ) = 3x + 1. Find f g ( x ) and g f ( x )
Solution
f g ( x ) = f g ( x )
= f ( 3x − 1)
= 2 ( 3x − 1) + 1
= 6x −1
g f ( x ) = g f ( x )
= g ( 2 x + 1)
= 3 ( 2 x + 1) − 1
= 6x + 2
f g ( x ) = f g ( x )
2x + 3
=f
7x −1
2x + 3
= 3 −2
7x −1
6x + 9
= −2
7 x −1
6 x + 9 − 2 ( 7 x − 1)
=
7 x −1
Page 8 of 12
11 − 8 x
=
7 x −1
g f ( x ) = g f ( x )
= g ( 3x − 2 )
2 ( 3x − 2 ) + 3
=
7 ( 3x − 2 ) − 1
6x −1
=
21x − 15
x −1
and f ( x )
69
Solution
For f ( x ) = x
x −1
f 2 ( x ) = f f ( x )
x
= f
x −1
x
= x −1
x
−1
x −1
x
= x −1 =x
1
x −1
f 3 ( x) = f f 2 ( x)
Page 9 of 12
x
= f ( x) =
x −1
f 4 ( x) = f f 3 ( x)
x
= f =x
x − 1
x
f 5 ( x) = f f 4 ( x) = f ( x) =
x −1
f 54 ( x ) = x
x
f 69 ( x ) =
x −1
Examples
If f ( x ) = x + 3 and g ( x ) = 2 x, find ( f g ) ( x) f −1 ( x )
−1 −1
and g
Solution
(f g )( x ) = f g ( x )
= f ( 2x)
= 2x + 3
Let y = 2 x + 3
2x = y − 3
y −3
x=
2
x −3
(f g) ( x) =
−1
2
Page 10 of 12
For g ( x ) = 2 x
Let y = 2 x
y
x=
2
x
g −1 ( x ) =
2
And for f ( x ) = x + 3
Let y = x + 3
x = y −3
f −1 ( x ) = x − 3
g −1 f −1 ( x ) = g −1 f −1 ( x )
= g −1 ( x − 3)
x −3
=
2
Hence ( f g ) ( x ) = g −1
−1
f −1
Topic Summary
In this topic, you have learned what functions are, types of relations that qualify to be functions
and how to find the inverse of functions. In addition you have learned how to define composite
functions and solve problems involving the inverses of composite functions.
Page 11 of 12
Now y is called the image of x under f , X is called the Domain of f while Y is
called the co – domain of f . The set R f = y Y : f ( x ) = y for some x X is called
the Range of f .
▪ One – one relations and many – one relations are functions
▪ A function is a relation but a relation is may or may not be a function.
f ( x2 ) = y , then x1 = x2
Glossary
A function – f : X → Y is a rule that assigns to every x X a unique element y Y .
Page 12 of 12