Operations On Function
Operations On Function
Product:(f·g)(x) f(x)·g(x)
(f○g)(x)=f(g(x))
The domain of the composition function f○g
is the set of all x such that
1. x is in the domain of g; and
2. g(x) is in the domain of f.
Example:
Given f(x)=4x-5 and g(x)=x2+4,
find:
a. (f○g)(x)
b. (g○f)(x)
Solution:
Given f(x)=4x-5 and g(x)=x2+4,
find:
a. (f○g)(x)=f(g(x))
=4(g(x))-5
=4(x2+4)-5
=4x2+16-5
=4x2+11
Solution:
Given f(x)=4x-5 and g(x)=x2+4,
find:
a. (g○f)(x)=g(f(x))
=(f(x))2+4
=(4x-5)2+4
=(16x2-40x+25)+4
= 16x2-40x+25+4
= 16x2-40x+29
Other example:
Given f(x)=x2-x+1 and g(x)=x-1,
find:
a. (f○g)(x)
b. (g○f)(x)
Solution:
Given f(x)=x2-x+1 and g(x)=x-1,
find:
a. (f○g)(x)=f(g(x))
=(g(x))2-(g(x))+1
=(x-1)2-(x-1)+1
=(x2-2x+1)-(x-1)+1
=x2-2x+1-x+1+1
=x2-3x+3
Solution:
Given f(x)=x2-x+1 and g(x)=x-1,
find:
b. (g○f)(x)=g(f(x))
=(f(x))-1
=(x2-x+1)-1
=x2-x+1-1
=x2-x
Try This
Given f(x)=2x2-1 and g(x)=x+2,
find:
a. (f○g)(x)
b. (g○f)(x)
Solution:
Given f(x)=2x2-1 and g(x)=x+2,
find:
a. (f○g)(x)=f(g(x))
=2(g(x))2-1
=2(x+2)2-1
=2(x2+4x+4)-1
=2x2+8x+8-1
=2x2+8x+7
Solution:
Given f(x)=2x2-1 and g(x)=x+2,
find:
b. (g○f)(x)=g(f(x))
=(f(x))+2
=(2x2-1)+2
=2x2-1+2
=2x2+1
Inverse Functions
Inverse Functions
A relation reversing the process performed
by any function f(x) is called inverse of f(x).
This means that the domain of the inverse is
the range of the original function and that the
range of the inverse is the domain of the
original function.
x Original
20 30 Function
50 10 x 68Inverse
86 12 21
Function 0 2 2
y 68 86 12 21 y 20 30 50 10
2 2 0
Inverse Functions
If f is a one-to-one function, then the inverse
of f denoted by f -1 is the function formed by
reversing all the ordered pairs in f. Thus,
f-1={(y,x)|(x,y) is in f
Properties of an Inverse Function
If the f-1 inverse function exists;
1. f-1 is a one-to-one function. f is also
one-to-one.
2. Domain of f-1 = Range of f.
3. Range of f-1 = Domain of f.
Example:
Find the inverse function described by the set
of ordered pairs:
{(0,-2),(1,0),(2,2),(3,4),(4,6)}
Solution:
Original Function
{(0,-2),(1,0),(2,2),(3,4),(4,6)}
Inverse function
{(-2,0),(0,1),(2,2),(4,3),(6,4)}
Example:
Find the inverse of the function
f(x)=3x+6
Solution:
f ( x) 3 x 6 1
y 3 x 6 y x 2
3
x 3 y 6 1
1
x 6 3 y f ( x) x 2
3
3y x 6
3 3 3
Graph:
5
f ( x) 3x 6 3
y x
2
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
1 1
-3 f ( x) x 2
-4
3
-5
OtherExample:
Find the inverse of the function
f(x)=x 2
Solution:
f ( x) x 2 Note:
2 y=±√x is
y x not a function. It
2
x y means f(x)=x2
has no inverse
2
y x function.
y x
Graph:
5
f ( x) x 2 3
y x
2
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
y x
-3
-4
-5
Try This
Find the Inverse Function of the
Following:
1. f(x)=4x-6
2. f(x)=2x-4
3. f(x)=x3+1
4. f(x)=2-3x
Solution:
f ( x) 4 x 6 1 3
y 4 x 6 y x
4 2
x 4 y 6 1 3
1
x 6 4 y f ( x) x
4 2
4y x 6
4 4 4
Solution:
f ( x) 2 x 4 1
y 2 x 4 y x2
2
x 2 y 4 1
1
x 4 2 y f ( x) x 2
2
2y x 4
2 2 2
Solution:
3
f ( x) x 1
3
y x 1 y x 1
3
3
x y 1
1
x 1 y 3 f ( x) x 1
3
3 y x 1
3
Solution:
f ( x) 2 3 x 1 2
y 2 3 x y x
3 3
x 2 3 y 1 2
1
x 2 3 y f ( x) x
3 3
3y x 2
3 3 3
Seatwork: 1 whole yellow paper
Given f(x)=x+4 Find the Inverse
and g(x)=2x2+x- Function of the
3, find: following:
a.) (f+g)(x) a.) f(x)=1+x
b.) (f-g)(x) b.) f(x)=2x+5
c.) f(x)=x/3
c.) (f∙g)(x)
d.) f(x)=√(x-1)
d.) (f/g)(x)
e.) (f○g)(x)
f.) (g○f)(x)