Functions (Domain and Range)
Functions (Domain and Range)
Functions (Domain and Range)
Introduction
Domain of a function
The domain of any given function is the set of input values for which the function is
defined.
Problem 1
We need 4 3x - x 2 0 and solving this inequality we see that this is only true for
- 1 x 4 or [-1,4]
1
Problem 3: Find the domain of f(x)
x 3x 2 2 x
3
Solution:
Since x 3 3x 2 2 x x(x - 1)(x - 2). we see that this function is defined for all
x , x 0, x 1, x 2
5x
Problem 4: Find the domain of f(x) 2
x 3x - 4
Solution:
x 3 3x - 4 0
x - 4x 1 0
x 4 or x -1
Thus all real numbers expect -1 and 4. In interval notation this is written
- ,-1 1,4 4,
2
Problem 5: Find the domain of f(x)
x -1
Solution:
We must be very careful with this function since it involves both a rational and a
square root. The square root requires the radicand to be greater than or equal to
zero, that is x - 1 0 . However, since the square root is in the denominator and we
can not divide by zero, we cannot let x - 1 0 . Thus,
x -1 0
x 1
Try this: For each of the following functions find its domain i.e the set of points
where each function is defined.
1. f(x) x 2 5x - 7
2. f(x) x 3 x
3. f(x) 3 x -1
4. f(x) x - 1
1
5. f(x) sin
x
1
6. f(x)
x-2
x -1
7. f(x) 2 5
x 2x 1
8. f(x) x - 6 2
1
9. f(x) 2
x 3x - 10
1
10. f(x) x
e 1
11. f(x) x 1
12. f(x) 1 - cosx
2x 2 3
13. f(x)
x2 9 x2 4
14. f(x) logx - 2
x
15. f(x) log 2
x 1
2x -3
16. f(x) e x
x-2
17. f(x)
x -5
x -5
18. f(x)
x-2
2x 2 3
19. f(x) 2
x 1
20. f(x) 2x 5 6 x 3 8x 2 5
Range of a function
We have already discussed the domain of a function f(x) i.e, the values of x for
which f(x) is defined. Next we consider the values f(x) we get as x varies over
the domain. This is, not surprisingly, called the range of f(x).
range is 2,
1
vi. f(x) . The range is all values expect 0 or 0
x
The range is - 2,
1
Problem 4: Find the range of f(x)
x-2
Solution:
y , y 0
x
Problem 5: Find the range of f(x)
x 1
Solution:
All real numbers
Try this: For each of the following functions find its range i.e the set of points where
each function is defined.
1. f(x) 5x 3
2. y -7x - 4
3. y 2x 2 1
4. y x 9
5. y 4 - x 2
6
6. y
x2
1
7. y
x-2
2
8. y
2x - 5
1
9. y x - 2
x -5
1
10. y
1
1-
x-2
1
11. f(x) x
e 1
12. f(x) logx - 2
13. f(x) 1 - cosx
14. f(x) x - 6 2
15. f(x) 3 x -1