Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
input output
Function
2.1 INTRODUCTION
Example 1:
annual rate of 6%. The interest I (output) depends on how long that
the money have been invested, t (input). Then it can be shown that
I = 100 (0.06) t
Where I is in RM and t is in years. For example; in the first year Ali will
How much will Ali earns if he invested his money for 10 years??
that I “is a function of” t. Functional relations like this are usually
multiply t by 100(0.06)
The rule assigns to each input number t exactly one output number I,
t Æ I or t Æ 100(0.06)t
a function . Eg : t in example 1
Example 2:
Solution
• if x =1
• if x = −4
Therefore
∴ The rules define/not define y as a function of x .
Example 3
Consider: y2 = x
Therefore
input 1, we write
ƒ (x)
(read as : “ƒ of x”)
means the output number that corresponds to the input number x.
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:
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
Example 5: Example 6 :
y
y
x
x
2
Example 7: Example 8 :
y
y
5
Å
range
3
Æ
3
1
ÅdomainÆ
2 x -1 x
4
Domain = { 2 ≤ x ≤ 4 } Domain = { x ≤ -1 }
Range = { 3 ≤ y ≤ 5 } Range = { y = 1, y > 3}
Example 9 : Example 10 :
y y
4
4
2 2
x
1 2 3 0 4 8 x
0
Domain = { } Domain = { }
Range = { } Range = { }
2.2.1 & 2.3.1 TYPES OF FUNCTION AND ITS DOMAIN & RANGE
A. Constant Function : y=k @ x=h
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 = { }
y y
44
3 5 7 x
x
-4 -1 22
-9
Domain = { } Domain = { }
Range = { } Range = { }
7
x
x
-5
Domain = { } Domain = { }
Range = { } Range = { }
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 = 3 x + 1(linear function)
Answer: Domain for y = 3 x + 1 is …..
c) y = x 2 − 9 (quadratic 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 = { }
Example 21 :
x+3 ; x≠1
f(x) = 1 ; x=1
Domain = { }
4 Range = { }
1
x
1
EXERCISE 2
4 for x = 3
a) f(x) = 2
x for 1 ≤ x < 3
Domain = { }
3 for x≥2
b) h(x) =
− 3 for x<2
Domain = { }
q, for − 1 ≤ q < 0
f (q ) = 3 − q, for 0 ≤ q < 3
2q 2 , for 3 ≤ q < 5
determine;
1
a) f( − )
2
b) f(0)
c) f(2)
d) f(3)
e) f(4)
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 function can take any real numbers as an input EXCEPT the one
that make the denominator equal to 0.
2
1. FUNGSI MALAR f ( x) =
x +1 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 NOT 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 { }
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)
Example 23 : y = + x
Domain = { }
Range = { }
0 x
Example 24 : f ( x) = 6 x + 3 6x + 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).
EXERCISE 4:
a) h(x) = x−3
b) g(x) = 4x + 3
6
c) f(x) =
2x − 8