Hotmath
Math Homework. Do It Faster, Learn It Better.

Domain and Range of Exponential and Logarithmic Functions

Recall that the domain of a function is the set of input or  x -values for which the function is defined, while the range is the set of all the output or  y -values that the function takes. 

A simple exponential function like  f ( x ) = 2 x  has as its domain the whole real line. But its range is only the  positive  real numbers,  y > 0 : f ( x )  never takes a negative value. Furthermore, it never actually reaches 0 , though it approaches asymptotically as  x goes to .

If we replace   x with x   to get the equation g ( x ) = 2 x ,  the graph gets reflected around the  y -axis, but the domain and range do not change:

If we put a negative sign in frontto get the equation h ( x ) = 2 x , the graph gets reflected around the  x -axis. We still have the whole real line as our domain, but the range is now the negative numbers, y < 0 .

Now, consider the function f ( x ) = ( 2 ) x . When x = 1 2 , y must be a complex number, so things get tricky. For this lesson we will require that our bases be positive for the moment, so that we can stay in the real-valued world.

In general, the graph of the basic exponential function y = a x drops from to 0  when 0 < a < 1  as x varies from  to and rises from 0 to when a > 1 .

The exponential function y = a x , can be shifted  k  units vertically and  h  units horizontally with the equation y = a ( x + h ) + k . Then the domain of the function remains unchanged and the range becomes { y | y > h } .

Example 1:

Find the domain and range of the function y = 3 x + 2 .

Graph the function on a coordinate plane.

The graph is nothing but the graph y = 3 x   translated 2 units to the left.

The function is defined for all real numbers. So, the domain of the function is set of real numbers.

As x tends to , the value of the function also tends to   and as x tends to , the function approaches the x -axis but never touches it.

Therefore, the range of the function is set of real positive numbers or { x | x > 0 } .

Example 2:

Find the domain and range of the function y = ( 1 4 ) 2 x .

Graph the function on a coordinate plane.

The graph is nothing but the graph y = ( 1 4 ) x compressed by a factor of 2 .

The function is defined for all real numbers. So, the domain of the function is set of real numbers.

As x tends to , the value of the function tends to zero and the graph approaches x -axis but never touches it.

As x tends to , the function also tends to .

Therefore, the range of the function is set of real positive numbers or { y | y > 0 } .

The inverse of an exponential function is a logarithmic function.

A simple logarithmic function y = log 2 x  where x > 0 is equivalent to the function x = 2 y . That is, y = log 2 x is the inverse of the function y = 2 x .

The function y = log 2 x has the domain of set of positive real numbers and the range of set of real numbers.

Remember that since the logarithmic function is the inverse of the exponential function, the domain of logarithmic function is the range of exponential function, and vice versa.

In general, the function y = log b x where b , x > 0 and b 1 is a continuous and one-to-one function. Note that the logarithmic functionis not defined for negative numbers or for zero. The graph of the function approaches the y -axis as x tends to , but never touches it.

Therefore, the domain of the logarithmic function y = log b x is the set of positive real numbers and the range is the set of real numbers.

The function rises from to as x increases if b > 1 and falls from to as x increases if 0 < b < 1 .

The logarithmic function, y = log b x , can be shifted  k  units vertically and  h  units horizontally with the equation y = log b ( x + h ) + k . Then the domain of the function becomes { x | x > h } . However, the range remains the same.

Example 3:

Find the domain and range of the function y = log ( x ) 3 .

Graph the function on a coordinate plane.Remember that when no base is shown, the base is understood to be 10 .

The graph is nothing but the graph y = log ( x ) translated 3 units down.

The function is defined for only positive real numbers. So, the domain of the function is set of positive real numbers or { x | x > 0 } .

The function takes all the real values from to .

Therefore, the range of the function is set of real numbers.

Example 4:

Find the domain and range of the function y = log 3 ( x 2 ) + 4 .

Graph the function on a coordinate plane.

The graph is nothing but the graph y = log 3 ( x ) translated 2 units to the right and 4 units up.

As x tends to 2 , the function approaches the line x = 2 but never touches it. As x tends to the value of the function also tends to . That is, the function is defined for real numbers greater than 2 . So, the domain of the function is set of positive real numbers or { x | x > 2 } .

The function takes all the real values from to .

Therefore, the range of the function is set of real numbers.