You are on page 1of 9

Omega Omega Education Unit

CXC MATHEMATICS Tutorial Functions & Relations

Author: John Spencer MBA (Dist), M. Sc, B. Sc.


Former Senior Lecturer and Head of Section- University of Technology - Jamaica Former Lecturer John Donaldson Technical Institute - Trinidad
All rights reserved. No part of this document must be reproduced stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written permission of the author. CXCDirect Institute Email: admin@cxcDirect.org Website: www.cxcDirect.org Math club : http://cxclink.50.forumer.com/ Telephone: 876 469-2775, 876 462-6139 First printed October 2009

cxcDirect Institute

cxcDirect

Institute

cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

cxcDirect

Institute

Functions & Relations


Consider two sets of information where the elements in one set can be linked or has a connection to the elements in the other set of information. Mathematically we can say that a relation exist between the two sets. Some examples are :
Menu items and prices. Names and ages of students in a class Books and their location in a library Names and phone numbers in a directory Input and output elements of functions

last element. By ordering the pairs, we can easily show the relation on a graph.

A relation can be defined as set of ordered pairs where each pair has a specific rule of assignment.

Each element is the input set called the Domain, is paired or mapped to one or more elements in the other set called the Range. This pairing or mapping is done based on a specific rule. The domain element x is sometimes said to be mapped unto the range element.
x 5x 1

This notation is called a mapping notation and is used to describe the specific rule used to map x unto 5x+1. We can also define x as an input variable and y as the output so that: y = 5x + 1 For the above equation, the relation between x and y for values of x between -2 and +2 is shown in the table below.
x 5x +1 y ( x, y ) -2 -10 1 -9 ( -2, -9 ) -1 -5 1 -4 ( -1, -4 ) 0 0 1 1 ( 0, 1 ) 1 5 1 6 ( 1, 6 ) 2 10 1 11 ( 2, 11 )

Each value of x results in an output y based on a specific rule of y = 5x+1. The last row of the table, shows the (x, y) pairs. Note that the pairs are ordered, which is to say that x is specified as the first element in the pair, and y as the
cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

cxcDirect

Institute

Types of relations: One to One Relation

One to Many Relation

y=x+1

If each value of x maps to only one value of y then we have a one to one relation.

Here we see a case where one input value x, maps to more than one out values of y. Example: x = 4, maps to two possible outputs: y = 2, or y = - 2. This is an example of a one to many relation.

Many to one Relation

Many to Many Relation

Here we see a case where more than one input value x, maps to the same output y. Example: x = 1.41 and x = - 1.41 both map to the same output y = 2. This is an example of a many to one relation.

1 2 3 4 5

11 22 33 34 45

y = x2

Here we have the case where x is paired with one or more element in y, and also y is paired with one or more element in x giving rise to a many to many relation.

cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

cxcDirect

Institute

Functions
A function is a special type of relation. We define a function as a relation where each element in the input set maps to one and only one element in the output set. From the three relations discussed earlier, we can see that the one to one relation and the many to one relation are functions. However, in the one to many relation, an element in the input set can be mapped to more than one output element, so the one to many

n.b
f (0) means that you substitute x with 0 in f(x)

Example: 5.1 Given f(x) = x2 - 4x +5, What is the value of: a) f (0) b) f (- 1) c) f (3/2) d) (3x) e) f (1 x) f) f (a)

relation is not a function.


An example of a function is the exchange rate between the Canadian dollar and the US dollar

Solution: a) b) f(0) = (0)2 4(0) + 5 = 5 f(-1) = (-1)2 4(-1) + 5 = 10

A simple test for a function is called a vertical line test. If a vertical line cuts a graph at more that one point, then it is Not a function.

c) f(3/2) = (3/2)2 4(3/2) + 5 = 5/4 d) f(3x) = (3x)2 4(3x) + 5 = 9x2 12x + 5

e) f(1- x) = (1- x)2 4(1- x) + 5


Not a function

=(1- x)(1-x) 4(1-x) + 5 =1 x x + x2 - 4 +4x + 5 = x2 + 2x+2 f) f(a) = a2 4a + 5

Working with Functions


We can visualize the function f relating two variables x and y as a block diagram as shown below.
x

y = f(x)

Here x represents the domain elements also called the independent variable or the input to the function block. Similarly y represents the range elements, also called the dependent variable or in this case, the output. So:

Exercise: 5.2
2 If f (x) = 2x + 4x 9 : find: a) f (2) b) f (- 2) c) f (1/2) d) f (5x) e) f (4 - x)

y = f(x)

where: f(x) is pronounced: f of x

cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

cxcDirect

Institute

Composite Functions
If the input to a function f, is another function g, then the output combination of the two functions is called a composite function. This can be visualized using the block diagram below.

Solution: a) f(x) = 2x+1 and g(x) = x2 1


so fg(x)

put g into f

= 2(x2 1) + 1 = 2x2 2 + 1 i.e. f g(x) = 2x2 1

*******************************************************

g(x)

y = f( g(x) )

b)

now gf(x)

put f(x) into g

= (2x + 1)2 - 1

Note that the input to the function f is g(x), so the output will be f(g(x)). So by putting g(x) into f(x), the resulting composite function is y = f (g(x)) which can be written as fg(x).
This is pronounced f of g of x.

= (2x + 1) (2x + 1) 1 = 4x2 + 2x +2x+ 1 1 =4x2 + 4x so: gf(x) = 4(x2 + x) = 2x2 1


2

*******************************************************

now f g(x)
*******************************************************

( obtained from (a) above)

(c)

fg(0)

= 2(0) 1 =-1

Example: 5.2 Given f (x) = 2x + 1 and g(x) = x2 - 1 what is the value of: a) f g(x) b) gf(x) c) fg(0) d) fg(-1) e) gf(-1)
(d) fg(-1)

=2(-1)2 1 = 2(1) 1 = 1

e) so

gf(x) gf(-1)

=4(x2 + x) .. = 4((-1)2 + (-1)) = 4(1 + (-1) )

obtained from (b)

=0
************************************************

Exercise: 5.3 If f (x) = 2x - 1, g(x) = 3x + 2, and h(x) = 5x, what is the value of: a) fg(x) b) fh(x) c) gh(x) d) gfh(x) e) ghf(x)
cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

cxcDirect

Institute

Inverse of a Function
The inverse of a function is another function that reverses the operation of the original function. Mathematically we say that a function is the inverse of another function if:
f
1

Example 5.24: Given


Solution: let then
y= x= 5x 3 2 5y 3 2 f x = 5x 3 ; find f -1(x) 2

f x = x

interchange x and y

Where f -1(x) is defined as the inverse of f(x)


*******************************************************

make y the subject:


x 3= 5y 2

The steps to find f -1(x) are: 1. Introduce a new variable y = f(x) 2. Interchange x and y 3. Transpose the equation to make y the subject 4. The new result for y is now the inverse function f -1(x)
********************************************************

replace y with f -1(x)

y=

2 x 3 5

Example 5.23: Algebraic manipulation


Given
f x = 3x 1 ; find f
1

-1

(x) =

2 x 3 5

******************************************************

Solution:
step 1

define:

step 2

y = f(x) y = 3x 1

Exercise: 5.7
Find the inverse of the following functions: i)
f x = x 1
1

step 3

Interchange x and y x = 3y-1 Make y the subject y= x 1 3

ii) iii)

f x = x 1 3
2 f x = x 2x hint: first, complete the square

step 4

replace y with f -1(x)

f -1(x)=

x 1 3

*********************************************************

cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

cxcDirect

Institute

Inverse of a composite function


Example 5.3 Given Find: 1. 2. 3. f
1

Step1: fg ( x ) = f ( x )=

f x =

x 1 x 2

x 1 x 2 +2

.. ... g into f

; and

g x = x

Step2: Find the inverse: g x


1 1

let:

y= x=

x 1 x2 + 2 y 1 y2 + 2
2

fg x

Interchange x and y :

g x

4. What is the value of x for which f(x) is undefined Solution:


f
1

2 2 x y 2= y 1 Make y the subject:

2x 1 = y 1 x y= y=
2

g x

put
1

g x into f

2x 1 1x

First, we need to find: let


y= f x

x y= x= x1 x2 y1 y2 replace y with

2x 1 1x

fg x

Interchange x and y

1 fg x =

2x 1 1 x

Make y the subject:


x y 2 = y 1 2x xy = y 1 2x +1 = y xy 2x + 1 = y ( 1 x )

3.
f
1

g x

inverse of g into the inverse of f

inverse of g = inverse of f = so :
f

1 g x =

x
2x 1 1 x 2 x 1 1 x

y=

2x + 1 1 x
(x) 2x + 1 1 x

f
1

x =

1 g x =

replace y with

gives:

( x) =

4.

f (x)

is undefined for values of x which makes the

denominator = 0. if x = - 2 , then f(x) is undefined ****************************************

now we must put f


1

g ( x ) into f
2

( x)

Exercise 5.8 Given:


f : x 3x + 1 ; Find i) gf 1 x ii) show that ;
fgh x
1 1 1

g (x) =

2x + 1 1 x 2

g : x 2x and

h : x x 1

******************************************************

2. To find:

( fg ) ( x )

This requires two steps:


step1: put g into f to get step2: find the inverse of

gf x = f

g1 x

fg ( x ) fg ( x )

iii)

1 gf 1 ;

fgh 17

cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

cxcDirect

Institute Step2: substitute 9 into the inverse function

Using the inverse function to solve equations. Example 5.5


1. Solve the equation below using the inverse function:
5x 2 =9 x4

4 9 2 5 9

= 38 = 9.5
4

2.

For the function to be zero the numerator must be zero.


5x 2 = 0 x = 2 /5

2. What is the value of x for which the function = 0 3. What is the value of x for which the function is undefined 3.

For the function to be undefined, the denominator must be zero.


x 4 = 0 or when

Note: if Proof:

f x = 9

then

x= f

x = 4

Given: f(x) = 9 then: but:

Exercise 5.9
1

f f

1 1

f x = f f x = x
1

. 9

..multiply both sides by f (x)

-1

given

h x =

7x 1 x 3

x= f

What is value of x for which the function: 1) is equal to zero 2) is undefined Use the inverse function method to solve the equation 7x 1 =8 x 3 **********************************************

This means that the solution x, is found substituting the value 9 in the inverse of the function.

Solution:
let 5x 2 f x = x 4

Answers
Exercise: 5.2 a =7, b = - 9, c = - 6.5 d = 50x2 + 20x 9 e = 2x2 - 20x + 39 Activity: 5.3 a = 6x+3, b=10x-1 e= 15x+2, d = 30x - 1, e = 30x-13

Two steps are needed to solve:


Step1 find the inverse of the function Step2 substitute the value 9

Step1. (find the inverse algebraic method) Let y= 5x 2 x 4 x= 5y 2 y4

Interchange x and y Make y the subject:


Activity: 5.7

i)

1 x

ii)

3 x 1 iii)

1 x 1
1

xy 4x = 5y 2 4x 2 = y 5 x y= 4x 2 5x

Activity: 5.8

gf 1 x =
1

x 2 6

fgh x =
1

x 7 6

gf 1 =1 / 2
Activity: 5.9

fgh 17 = 5 / 3

x =

4x 2 5 x

3x 1 7 x 1 h 8 = 25 ; h x = 0 if x = 1/7; h x h x =
1

is undefined if x = -3

cxcDirect Institute - 876 469-2775 Email: admin@cxcdirect.org website: www.cxcdirect.org

Math club : http://cxclink.50.forumer.com/

You might also like