Composite Function (Comparison Method) Example 3


Example 3:
Given f: xhx + k and f2 : x → 4x + 15.
(a)  Find the values of h and of k.
(b)  Take > 0, find the values of x for which f (x2) = 7x

Solution:
(a)
Step 1:
Find f2 (x)
Given f (x) = hx + k
f2 (x) = ff (x) = f (hx + k)
= h (hx + k) + k
= h2x + hk + k

Step 2:
Compare with given f2 (x)
f2 (x) = 4x + 15
h2x + hk+ k = 4x + 15
h2 = 4
h = ± 2
When, h = 2
hk + k = 15
2k + k = 15
k = 5

When, h = –2
hk + k = 15
–2k + k = 15
k = –15

(b)
h > 0, h = 2, k = 5
Given f (x) = hx + k
f (x) = 2x + 5

f (x2) = 7x
2 (x2) + 5 = 7x
2x2 7x+ 5 = 0
(2x 5)(x–1) = 0
2x 5 = 0   or  x –1= 0
x = 5/2
or
x
= 1

Example 1


Example 1
Given the function f : x 6 x + 1 . Find the value of p if f ( 4 ) = 4 p + 5 .

Answer:
f : x 6 x + 1 f ( x ) = 6 x + 1 f ( 4 ) = 6 ( 4 ) + 1 f ( 4 ) = 25

f ( 4 ) = 4 p +   5 25 = 4 p +   5 4 p = 25 5 = 20 p = 20 4 = 5

SPM Practice (Long Question)


Question 5:
In diagram below, the function g maps set P to set Q and the function h maps set Q to set R.



Find
(a) in terms of x, the function
(i) which maps set Q to set P,
(ii) h(x).
(b) the value of x such that gh(x) = 8x + 1.


Solution:
(a)(i)
g( x )=3x+2 Let  g 1 ( x )=y g( y )=x 3y+2=x         y= x2 3 g 1 ( x )= x2 3

(a)(ii)
hg( x )=12x+5 h( 3x+2 )=12x+5 g( x )=3x+2 Let u=3x+2    x= u2 3 h( u )=12( u2 3 )+5    =4u8+5    =4u3 h( x )=4x3

(b)
gh( x )=g( 4x3 )  =3( 4x3 )+2  =12x9+2  =12x7 12x7=8x+1    4x=8  x=2

1.4 Inverse Function

Inverse  Functions

1. Consider the function (f : x maps to  - 2) with domain A = {1, 3, 4, 7}. Then the range of the function is B = {-1, 1, 2, 5}. The arrow diagram representing this function is shown as below.


2. If the arrows of (a) are reversed, the arrow diagram in (b) is obtained. A new function having domain B and range A is formed from the function f.  This new function is called the inverse function of f and is denoted by  f-1 .


3. To Find the inverse function, f 1 ( x ) of f ( x )
Put the function equal to y.
Rearrange to give x in term of y.
Rewrite as f 1 ( x )  replacing y by x.

Example: Given f ( x ) = 5 x 4   , find the inverse function.