Professional Documents
Culture Documents
3 EXPLAIN FUNCTION
CLO3: SOLVE RELATED PROBLEMS CRITICALLY USING APPROPRIATE FORMULAE AND CONCEPTS. (C3, A1 )
1
LEARNING OUTCOMES
Describe basic constructions. Explain the properties of following functions:
One-to-one functions Onto functions Composition functions Inverse functions
liyana
FUNCTIONS
Let A and B be nonempty sets. A function A to B is an assignment of exactly one element of B to each element of A . Write as : (Function from A to B) Function sometimes called mapping. (Mapping input to output)
liyana
FUNCTIONS
liyana
IS THIS A FUNCTION?
R = { (1,a), (2,b), (3,b), (4, c) R is a function from A to B. Exactly one element in B is assigned to every element of A.
liyana
JMSK , POLITEKNIK BALIK PULAU
IS THIS A FUNCTION?
R= {(1,a), (2,b), 3,c)} R is not a function Because 4 belongs to A and 4 is not associated with any element of B. R is only a relation but not a function.
liyana
JMSK , POLITEKNIK BALIK PULAU
IS THIS A FUNCTION?
R= {(1,a), (1,b), (2,c), (3,c), (4,c) Not function Because 1 belongs to A and 1 is associated with two element of B.
liyana
JMSK , POLITEKNIK BALIK PULAU
IS THIS A FUNCTION?
f(x) = {(1,2), (2,3), (3,4)} Funtion Exactly one element in y is associated with every element in x
liyana
JMSK , POLITEKNIK BALIK PULAU
TERMS IN FUNCTON
Everywhere defined Domain Codomain Range Image Pre-image/Inverse image
liyana
EVERYWHERE DEFINED
Let f be a function from A to B. Then we say that f is everywhere defined function if Dom(f) = A. In other words, all domain are used.
Everywhere defined
10
TERMS IN FUNCTION
liyana
11
TERMS IN FUNCTION
12
PROPERTIES OF FUNCTION
One to One Onto Composition Inverse
liyana
13
liyana
14
ONTO FUNCTION
All element in the domain is assigned to element in domain All elements in codomain has assignment Also known as surjective.
liyana
15
liyana
16
INVERSE
To define Inverse Function, the function has to be one to one correspondence. A function is not invertible if it is not a one -to-one correspondence, because the inverse of such function does not exist.
It is not a function c is element in the domain but not associated with any element in codomain element a is assigned to two different element in codomain
liyana
JMSK , POLITEKNIK BALIK PULAU
inverse
17
INVERSE
To obtain the inverse function, simply reversing the direction of each arrow. For example :
= {(1,a), (2,c), (3,b)} 1 = { (a, 1), (c,2), (b,3) }
liyana
18
INVERSE
= 2 5. Find 1 () .
Let
= 2 5
2 = + 5 =
+5 2 +5 2
1 =
liyana
19
INVERSE
= 2 2 + 5. Find 1 (2) Let = 2 2 + 5 2 2 = 5 2 = =
5 2 5 2 5 2
1 2 =
52 2
= 1.5 = 1.2247
1 =
liyana
20
INVERSE
= + 10. 1 = 12. . Let = + 10 = 10 1 = 10 10 = 12 = 12 + 10 = 22
liyana
21
EXERCISES
Find inverse of = 3 2. Find 1 5 of function = ( 3) 2 Function = 1 = 10
3
2 . 3
liyana
22
COMPOSITE
Combination of two functions. If we have two functions, f(x) and g(x) the composite of f(x) and g(x) can be denote as : fg(x) f g
liyana
23
COMPOSITE
= 2 + 5 = 3 = 3 = 2 3 + 5 = 2 6 + 5 = 2 1
= 2 + 5 = 2 + 5 3 = 2 + 2
liyana
JMSK , POLITEKNIK BALIK PULAU
24
EXERCISES
Given = 4 2 1 and = 3 + 2. Find each of the followings:
liyana
25
COMPOSITE
= 2 = 2 4 + 8 Find ()
= 2 4 + 8 2 = 2 4 + 8 Assume = 2 = + 2 = ( + 2) 2 4 + 2 + 8 2 + 4 = 2 + 4
liyana
JMSK , POLITEKNIK BALIK PULAU
26
EXERCISE
= 2 = 3 5 Find Solve the equation = 1
liyana
27
GRAPH FUNCTION
Two important function in discrete Mathematics:
Floor Function Ceiling Function
liyana
28
FLOOR FUNCTION
The floor function rounds x down to the closest integer less than or equal to x. Example :
1.5 = 1 1.5 = 2 7 =7 6.9 = 6
liyana
29
FLOOR FUNCTION
Draw a graph for =
liyana
30
CEILING FUNCTION
The ceiling function round x up to the closest integer greater than or equal to x Example :
0.5 = 1 1 =1 2.1 = 3
liyana
31
CEILING FUNCTION
Draw a graph for =
liyana
32