Domain and Range of log function
Domain of different log functions:
- The domain of the function of the form
is given as x>0 where x≠ 1. It should be noted that x appears as base here. Writing this domain in interval form , we get
Domain : (0,1)U(1,∞ )
- Whereas the domain of the function of the form
is all the non negative real numbers.
Domain: (0, ∞ )
Note: Log functions are never defined for 0 and negative numbers and range of logarithmic function is all real numbers.
Lets work on some examples where argument (input to the log) of log function may be some rational function , radical function or some other form.
Example 1.Find domain of the given function.
Solution: Here argument of log function is a rational function. As we know that log is never defined for 0 and negative values so we have to see where this rational function have positive values.
Here function in the denominator doesn’t have real roots and positive leading coefficient ensures that this will always give positive output for all x values. That means we are only bothered by the expression on top as denominator is always a positive value.
(x-4)(x-3) > 0
Intervals | (x-4)(x-3) | Result |
(-∞, 3) | (-)(-) | + |
(3,4) | (-)(+) | – |
(4,∞ ) | (+)(+) | + |
So the domain of given log function is (-∞,3)U(4,∞ )
Using these values of x we get that maximum value of function occurs at x=0. So range of this function would be (-∞ , log(12/7 )] or (-∞ ,0.234]
Example 2. Find domain of the given log function.
Solution: As radicals are not defined for negative values ,
Therefore ,
converting log equation into exponential equation we get,
(x-4)(x-2)≤ 0
Using x=2,4 we get the intervals as (-∞, 2), (2,4), (4,∞ )
Intervals | (x-4)(x-2) | Result |
(-∞, 2) | (-)(-) | + |
(2,4) | (-)(+) | – |
(4,∞) | (+)(+) | + |
So only interval(2,4)is accepted. Which is the domain of radical function. Next we find domain of log function.
x(6-x) ≥ 0
Solving this we get two values x=0,6. Using these two values we get the intervals as. (-∞, 0), (0,6), (6, ∞) and get a sign chart as follows.
Intervals | x(x-6) | Result |
(-∞, 0) | (-)(+) | – |
(0,6) | (+)(+) | + |
(6,∞ ) | (+)(-) | – |
Only interval(0,6) is accepted.
To find final domain of complete function we find intersection of both intervals (2,4) and (0,6).
Domain: (2,4) ∩(0,6) = [2,4]
Range: When we plug in x=2 and x=4 we get y=log1=0. Observing values between 2 and 4 we see that maximum value is obtained at x=3. At x=3 we get
Range : [0, 0.226]
Example3. Find domain and range of given function.
Solution: We know that log is never defined for 0 and negative values . That means
(3-x)(3+x) > 0
-3, 3 > x
Using x=-3,3 we get intervals as (-∞ ,-3), (3,3) ,(3,∞ )
Intervals | (3-x)(3+x) | Result |
(-∞, -3) | (+)(-) | – |
(-3,3) | (+)(+) | + |
(3,∞ ) | (-)(+) | – |
Therefore, domain of this function is
Domain: (-3,3)
To find range we plug in x values as in the domain (-3,3) and get maximum value at x=0. So its range is given as,
Range: (-∞ , log3]
Practice problems:
Find domain and range of given log functions:
Answers:
- Domain: [1,5] , Range :[log2, log2√2 ]
- Domain: (-∞,∞ ), Range:[log( 7/4) ,∞ )
- Domain: (-∞ ,-2) U (2,∞ ) Range: (-∞,∞)
- Domain: (-∞ ,2) U (3,∞ ) Range: (-∞,∞ )
- Domain: (-5, ∞) Range : (-∞,∞)