Professional Documents
Culture Documents
input output
Function
1.1 INTRODUCTION
Example 1:
Ali invested a RM100 at a bank and earns simple interest rate at an annual
rate of 6%. The interest I (output) depends on the length of time t (input)
that the money is invested. Then it can be shown that interest and time are
related by the formula:
I = 100 (0.06) t
Where I is in RM and t is in years. For example; in the first year Ali will earns:
I = 100 (0.06)(1)
First year:
= RM 6 from his investment. t=1
How much will Ali earns if he invested his money for 10 years??
(input) that Ali’s money is invested. To express this dependence, we say that
I “is a function of” t. Functional relations like this are usually specified by a
formula that shows what must be done to the input to find the output. We
can think of formula as defining “rule”:
multiply t by 100(0.06)
The rule assigns to each input number t exactly one output number I, which
t I or t 100(0.06)t
1
Managerial Mathematics: SQQM1023
1.1INTRODUCTION TO FUCNTION
function . Eg : t in example 1
Example 2:
Solution
• if x =1
• if x = −4
Therefore
2
Managerial Mathematics: SQQM1023
Example 3
Consider: y2 = x
Therefore
ƒ (x)
(read as : “ƒ of x”)
means the output number that corresponds to the input number x.
3
Managerial Mathematics: SQQM1023
thus the output of ƒ (x) is the same as y. Therefore we may write the
equation y = x + 2 as:
y= ƒ (x) = x + 2
or simply
ƒ (x) = x + 2
Example 4:
u+4
c) Given h(u ) = , find h(5), h(− 4 ) and
u
h(u − 4 )
Solution:
4
Managerial Mathematics: SQQM1023
1
d) Given f ( x ) = 4 , find f (4 ), f and
100
f (x + 4)
Solution:
The range of f is the set of all values that the function takes when x takes
values in the domain.
• There are two ways to determine the domain and the range of a
function :
a) from the graph sketches
b) Using Algebra
5
Managerial Mathematics: SQQM1023
Example 5: Example 6 :
y
y
x
x
2
Example 7: Example 8 :
y
y
5
Range
3
3
1
domain
2 4 x -1 x
Domain = { 2 ≤ x ≤ 4 } Domain = { x ≤ -1 }
Range = { 3 ≤ y ≤ 5 } Range = { y = 1, y > 3}
6
Managerial Mathematics: SQQM1023
Example 9 : Example 10 :
y y
4
4
2 2
x
0 1 2 3 0 4 8
Domain = { } Domain = { }
Range = { } Range = { }
1.2.1 & 1.3.1 TYPES OF FUNCTION AND ITS DOMAIN & RANGE
Types of Function
Topic 3
Topic 4
7
Managerial Mathematics: SQQM1023
5 y=5
0 x 0 50 x
Domain = { } Domain = { }
Range = { } Range = { }
B. Linear Function : y = mx + c
Example 12 : y = 2x + 4 Example 13 : y = -5x + 10
y y
4 10
-2 0 x 0 2 x
Domain = { } Domain = { }
Range = { } Range = { }
8
Managerial Mathematics: SQQM1023
y y
44
3 5 7
-4 -1 22
-9
Domain = { } Domain = { }
Range = { } Range = { }
7
x
x
-5
Domain = { } Domain = { }
Range = { } Range = { }
9
Managerial Mathematics: SQQM1023
E. Absolute Function
Graph: only consider the positive value for the output (y)
y
x
0 1
Domain = { }
Range = { }
EXERCISE 1:
a) f ( x ) = 7 (constant function)
Answer: Domain for f ( x ) = 7 is
b) y = 3x + 1(linear function)
Answer: Domain for y = 3x + 1 is
c) y = x 2 − 9 (quadratic function)
10
Managerial Mathematics: SQQM1023
d) f ( x ) = x3 + x − 1(polynomial/cubic function)
e) f ( x) = 5 x − 1
F . Composite Function
Example 19 : Example 20 :
2; x≥0 x+3 ; x>1
f(x) = f(x) = 1 ; -1<x <1
1; x<0 x ; x≤-1
y y
4
2
1
1
x
-1 1
x -1
0
Domain = { } Domain = { }
Range = { } Range = { }
11
Managerial Mathematics: SQQM1023
Example 21 :
x+3 ; x≠1
f(x) = 1 ; x=1
Domain = { }
4 Range = { }
1
x
1
EXERCISE 2:
4 for x = 3
2
x for 1 ≤ x < 3
a) f(x) =
Domain = { }
3 for x≥2
− 3 for x<2
b) h(x) =
Domain = { }
12
Managerial Mathematics: SQQM1023
q, untuk − 1 ≤ q < 0
f (q ) = 3 − q, untuk 0 ≤ q < 3
2
2q , untuk 3 ≤ q < 5
determine;
1
a) f( − )
2
b) f(0)
c) f(2)
d) f(3)
e) f(4)
13
Managerial Mathematics: SQQM1023
1. Fungsi Malar
2. Fungsi Linear
3. Fungsi Kuadratik
4. Fungsi Polinomial Kubik
-1 0 x
5. Fungsi Rasional
6. Fungsi Punca Kuasa Dua
7. Fungsi Rencam
8. Fungsi Mutlak
Based on the graph, we can determine the domain and the range for
the given function,
Domain = { }
Range = { }
2 : Using Algebra
In order to produce an output for a rational function, the denominator
cannot be a zero (we cannot divide by 0). Therefore, the domain of a
rational functions can take any real numbers as an inputEXCEPT the
that make the denominator equal to 0.
2
1. FUNGSI MALAR f ( x) =
x +1 ≠0
Persamaan amnya ialah y=k
In order for us to determine the domain for a rational function, we need
Misalnya,
to find the values of x that make the denominator equal to zero
y=
these cannot be3an input ynumbers.
Thus we
Bentuk set the denominator equal to 0 and solve for x ,
graf,
x+1 =0
y=3
x = -1
Therefore we have, the domain for the function f is all real numbers
EXCEPT -1 OR can be written as { }
14
Managerial Mathematics: SQQM1023
EXERCISE 3:
Determine the domain for each given function:
x+2
a) f(x) = 2
x − 81
3x − 1
b) h(x) =
2x + 5
4
c) g(y) = y ( y + 1)( y − 2)
15
Managerial Mathematics: SQQM1023
Example 23 : y = + x
Domain = { }
Range = { }
0 x
Example 24 : f ( x) = 6 x + 3 ≥0
2) Using algebra
6x + 3 is a real number if 6 x + 3 is greater or equal to 0.
If 6 x + 3 is negative, then 6 x + 3 is not a real number. (It is an
imaginary number).
16
Managerial Mathematics: SQQM1023
EXERCISE 4:
a) h(x) = x−3
b) g(x) = 4x + 3
6
c) f(x) =
2x − 8
17