Functions & Transformation (Answer) - Pure1 - CIE-1-13
Functions & Transformation (Answer) - Pure1 - CIE-1-13
FUNCTIONS
I. Definition of a function
1. The language of functions
A function is a mapping where every element of the domain (x-values) is mapped onto exactly one element of
the range (y-values). It is a one-to-one mapping or many-to-one mapping.
It is not a function.
1
Page
g ( x)
The denominator (bottom) of a fraction cannot be zero. f ( x) = h( x) 0 x...
h( x )
The number under a square root sign must be greater or equal to zero.
f ( x) = g ( x) g ( x) 0 x...
Condition: x + 4 0 x −4
Domain: x −4
x+2
Example: Find the domain of y =
x2 − 9
x + 2 0 x −2 x −2
Condition: 2 2
x − 9 0 x 9 x 3
Domain: x −2 ; x 3
2
Page
f ( x) 5
5
5
( x − 2) 2
5( x − 2) 2
5( x − 2) 2
( x − 2) 2
( x − 2)2 1
( x − 2)2 = 1
x − 2 = 1 or x − 2 = −1
x = 3 or x =1
So, domain: 1 x 3 , x 2
1
y = g ( x) 0 y = ( g ( x) ) 0 y = g ( x) 0
2n
Remember: y= 0
g ( x)
−1 sin ( g ( x) ) 1 −1 cos ( g ( x) ) 1
From the above rule, you can deduce
1) y = g ( x) c c 2) y = − g ( x) c c
3) y = a g ( x) c c ( a 0 ) 4) y = b g ( x ) c c ( b 0 )
5) −a a sin ( g ( x) ) a 6) −a b a sin ( g ( x) ) b a b
a) h( x) = 2 x 2 − 12 x + 22 b) h( x) = 2( x − 3) 2 + 4
= 2( x 2 − 6 x) + 22 Because: 2( x − 3) 2 0 for x
= 2[( x − 3)2 − 9] + 22 2( x − 3)2 + 4 0 + 4
= 2( x − 3) 2 − 18 + 22 h( x ) 4
Range: h( x) 4
= 2( x − 3) 2 + 4
Example: Find the range of each of the following functions and state they are one-to-one or many-to-one.
a) f ( x) = 3 x − 2 , domain {x = 1 , 2, 3, 4}
b) g ( x) = x 2 , domain {x , −5 x 5}
1
c) h( x) = , domain {x , 0 x 3}
x
Solution
f) f (t ) =
Page
t+2
c) g ( s) = 3 − s Condition: 3 − s 0 d) f ( x) = x 2 + 4 for x 2
Domain: s 3 Domain: x 2 (given)
g ( s) = 3 − s 0 (by definition) x 2 + 4 22 + 4
Range: g ( s) 0 f ( x) 8
Range: f ( x) 8
Action: f ( x) = 5 − 2 x for x , −4 x 5
a) Write down the domain of the function f.
b) Sketch the graph of the function f.
c) Write down the range of the function f.
Solution
a) Domain: −4 x 5
c) When x = −4 , y = 5 − 2(−4) = 13
When x = 5 , y = 5 − 2(5) = −5
Range: −5 f ( x) 13
✓ Function f ( x) = ax 2 + bx + c
Note:
b b
1. With domain: x h x − or x h x − , f ( x) = ax 2 + bx + c is one-one function,
2a 2a
−1
so it has f ( x) .
Action: f ( x) = ( x − 3) 2 + 8 for −1 x 9 . Sketch the graph of the function. Find the range of f.
Page
When x = −1 , y = (−1 − 3) 2 + 8 = 24
When x = 9 , y = (9 − 3) 2 + 8 = 44
Range: 8 f ( x) 44
ax + b
✓ Function f ( x) =
cx + d
_ Find domain
Because denominator 0 , cx + d 0 Domain of f:
d
x−
c
_ Find range without domain
a ad
(cx + d ) − +b
ax + b c c a e ad
f ( x) = = = + with e = − +b
cx + d cx + d c cx + d c
e a e a a
Because: 0 , f ( x) = + Range of f: f ( x)
cx + d c cx + d c c
d d
_ Find range with domain x k − or x k −
c c
a a e a e a
Range of f: f ( x) + or + f ( x)
c c ck + d c ck + d c
d d ax + b
Note: With domain: x − or x − , f ( x) = is one-one function, so it has f −1 ( x)
c c cx + d
2x − 3
Action: Find range of f ( x) = , x 1
3x − 1
Solution
2x − 3 For all values of x 1
f ( x) =
3x − 1 7
0
2 2 3x − 1
(3x − 1) + − 3
2 7 7
=3 3 = − − 0
3x − 1 3 3x − 1 3x − 1
2 7 2
Domain: x 1 − (2)
3 3x − 1 3
3x 3
3x − 1 2 17 2
1 1 (1), (2) − f ( x)
6 3
3x − 1 2
−7 −7
3x − 1 2
7
2 7 17
− − (1)
Page
3 3x − 1 6
Example:
4 − x, −2 x 1
a) Sketch the graph of f ( x) =
2 x + 1, 1 x 3
b) Find the range.
8
Page
Solution
2x + 3
Example: f ( x) = ( x − 4) 2 − 1 for x , and g ( x) = for x , x 2 . Find fg (4)
x−2
Solution
2(4) + 3 11 11 11
2
g (4) = = fg (4) = f = − 4 − 1 =
5
4−2 2 2 2 4
Example: f ( x) = 2 x + 3 for x , and g ( x) = x − 1 for x . Find:
2
a) fg ( x ) b) gf ( x) c) ff ( x)
Solution
a) fg ( x) = f ( x 2 − 1) b) gf ( x) = g (2 x + 3) c) ff ( x) = f (2 x + 3)
= 2( x 2 − 1) + 3 = (2 x + 3) − 1
2 = 2(2 x + 3) + 3
= 4 x 2 + 12 x + 9 − 1 = 4x + 9
= 2 x2 + 1
= 4 x 2 + 12 x + 8
5
Example: f : x for x , x 2 , g ( x) = 3 − x 2 for x
x−2
9
Find: a) fg ( x ) b) ff ( x)
Page
Solution
1
Example: f :x 4x −1, x g:x , x −2 h: x (2 − x) 2 , x . Find:
10
x+2
a) fg ( x ) b) hh( x)
Page
a) f ( x) = x + 2 − 7 b) f (62) = 62 + 2 − 7 = 1
y = x+2 −7 f −1 ( x) = f (62)
x = y+2 −7 ( x + 7) 2 − 2 = 1
x+7 = y+2 ( x + 7)2 = 3
( x + 7)2 = y + 2 x+7 = 3
y = ( x + 7)2 − 2 x = −7 + 3 or x = −7 − 3
So, f −1 ( x) = ( x + 7) 2 − 2
a) f ( x) = 5 − ( x − 2)2 b) f ( x) = 5 − ( x − 2)2
Minimum point: (2, 5) y = 5 − ( x − 2) 2 2 x6
When x = 6 , y = 5 − (5 − 2)2 = −11 x = 5 − ( y − 2) 2 2 y6
( y − 2) = 5 − x
2
y −2 = 5− x
y −2 = 5− x {as 0 y − 2 4 }
y = 2+ 5− x
So, f −1 ( x) = 2 + 5 − x
Domain of f −1 is range of f.
f has an inverse, it must be a one-one function.
So, k 2 Domain of f −1 ( x) : −11 x 5
The smallest value of k is 2. Range of f −1 is domain of f.
Range of f −1 ( x) : 2 f −1 ( x) 6
• Consider f ( x) = 2 x + 1 for −4 x 2
f (−4) = −7 , f (2) = 5
Domain of f: −4 x 2 .
Range of f: −7 f ( x) 5
x −1
• The inverse function f −1 ( x) =
2
Domain of f −1 : −7 x 5 .
Range of f −1 : −4 f −1 ( x) 2
12
Page
• Domain of f −1 is Range of f
• Range of f −1 is Domain of f
Example 1: f : x x2
a) Explain why this function does not have an inverse function.
b) Does f : x x 2 where x 0 have an inverse function?
c) Find f −1 ( x) for f : x x2 , x 0
d) Sketch y = f ( x ) , y = x , and y = f −1 ( x) for f in b and f −1 in c
Example 2: f ( x) = ( x − 1) 2 − 2 for x , 1 x 4
e) State the range of f ( x) b) Find the function f −1 ( x) and state its domain and range.
c) On the same axes, draw the graph of f and the graph of f −1
a) f ( x) = ( x − 1)2 − 2
Minimum point: (1 , −2)
f ( x) is one-to-one function for 1 x 4 , so the inverse function exists.
13
When x = 4 , y = 7 .
Page
Range of f ( x) : −2 f ( x) 7