What Is A Function
What Is A Function
DEFINITION: A function f is a rule that assigns to each element x in a set A exactly one
element, called f (x), in a set B. The set A is called the domain of f. The range of f is the
set of all possible values of f (x) as x varies throughout the domain.
EXAMPLES:
1. Let f (x) = x +
x. Then
f (0) = 0 +
f (4) = 4 +
0=0
4=6
3. Let f (x) =
x+1
. Then
x
3+1
4
2
f (3) =
=
=
3
3
3
and
f (a 1) =
{
4. Let
f (x) =
and
g(x) =
f (5) =
5+1
6
=
5
5
a1+1
a
=
a1
a1
3x2 + x 5 if x 0
if x > 0
x+ x
3x2 + x 5 if x < 0
if x 0
x+ x
Then
f (2) = 3 (2)2 + (2) 5 = 5
f (0) = 3 02 + 0 5 = 5
f (4) = 4 + 4 = 6
and
g(2) = 3 (2)2 + (2) 5 = 5
g(0) = 0 + 0 = 0
g(4) = 4 + 4 = 6
x f (x)
1
2
8
3. Numerically: 2
7
-1
10
5
4. Algebraically:
(a) f (x) = 1, g(x) =
(b) f (x) =
(c) f (x) =
x
1
5 sin x 4
, h(x) = x2 , F (x) = , y =
x
x
ln x
1
, x>5
x
{ 2
x
if x 2
x + 1 if x > 2
1
x
1
, x2
x
1
x+5
5. f (x) =
x2
x2 3
3}
or
(,
3)
(
3,
3)
(
3, ), since x2 3 6= 0.
Domain:({x | x 6=
)
] [
1
1
Range: ,
, .
6
2
6. f (x) =
2x
6. f (x) =
2x
7. f (x) =
1
2x
8. f (x) =
1
2x x2
8. f (x) =
1
2x x2
9. f (x) =
x2
1
+ 3x + 2
x2 + 3x + 2
11. f (x) =
x2 + 2
11. f (x) =
x2 + 2
2
Domain: All realnumbers,
or (, ), since x + 2 is always > 0.
Range: {y | y 2} or [ 2, ).
12. f (x) =
1x
x1
14. f (x) = x6 + x2 + x 1
Domain: (, ).
Range: {y | y 1.2392} or [1.2392, ).