{{ option.icon }} {{ option.label }} arrow_right
{{ option.icon }} {{ option.label }} arrow_right
{{ option.icon }} {{ option.label }}
{{ option.icon }} {{ option.label }} # Graphing Logarithmic Functions

## Logarithmic Function

Logarithmic functions are functions that can be written in the form
They have a domain restricted to x>0, and their range is all real numbers. For functions with the base 0<b<1, the graph of is decreasing over its entire domain. If the base, b, is greater than 1, the graph is increasing over the entire domain. The reason logarithmic functions are undefined for x0 can be explained by rewriting the logarithm in exponential form.
For all real numbers, y, the term Consider a few powers of 3.
As the exponent decreases, the value of becomes smaller, but never equals 0 or becomes negative. Since it follows then that x>0.

## Graph the logarithmic function

fullscreen
Graph the logarithmic function using a table of values. Then, describe the intercepts, end behavior and increasing/decreasing intervals of the function.
Show Solution expand_more

To calculate y-values for logarithmic functions by hand, it can be helpful to think about the logarithm as an exponent. can be thought of as "2 to what power equals x?" Thus, x is all the powers of 2 and y is the exponent on base 2. We can list known powers of 2 to determine corresponding values of x and y.

Powers of 2 x y
-2
-1
2 1
4 2
8 3

The x-y points from the table above can be plotted on a coordinate plane. Connecting the points with a smooth curve gives the graph. ### Key Features

Now that the graph is drawn we can describe the intercepts, end behavior and increasing/decreasing intervals of the function.
• First, the graph shows an x-intercept at (1,0).
• From the left-end of the graph, it appears as though the graph approaches the y-axis but does not intersect it. This is true because x=0 for all y-intercepts. We know the domain of a logarithmic function is x>0. Thus, there is no y-intercept.
• As x approaches y continues to increase. Thus, the function increases over its entire domain, x>0. • Looking at the graph, we can see that the left-end extends downward and the right-end extends upward. Thus, the end behavior of can be written as follows.
Let's show this in the graph. ## Solving Logarithmic Equations Graphically

A logarithmic equation is an equation which can be written in the form
where C is a constant. This type of equation can be solved graphically. This is done by first graphing the function then finding the x-coordinate(s) of the point(s) on the graph that has the y-coordinate(s) C. All found x-coordinates are solutions to the equation.

## Solve the logarithmic equation graphically

fullscreen
Solve the equation graphically.
Show Solution expand_more
When equations are solved graphically, the variable terms are isolated on one side of the equation, with the constant term on the other. In the given equation, this is already the case. Therefore, we do not need to rearrange the equation before constructing the function rule.
We can graph f in a coordinate plane. The solution to the equation is the x-value of the point whose y-coordinate is 1.5. We'll mark this point on the graph. From the graph, we can see that x=8. We can verify this solution by substituting it into the original equation.
1.5=1.5
Since x=8 makes a true statement, it is a solution to the equation.

## Inverse Functions

Two functions are called inverse functions if they undo each other. This is, the functions f(x) and g(x) are inverses if they satisfy the following condition for all values of x in their corresponding domains.

When a function is denoted f(x), its inverse is often referred to as

## Inverse Functions to Logarithmic Functions

Logarithmic functions and exponential functions are inverses of each other. This yields
When two inverse functions are graphed in the same coordinate plane, their graphs are reflections of each other in the line y=x. This can be seen for the function and its inverse . ## Show that the functions are inverses

fullscreen
Show that the logarithmic function and the exponential function are inverses.
Show Solution expand_more
The inverse of a function switches the x- and y-values of all the points on the function. Thus, one way to determine if two functions are inverses is two examine their coordinates. We'll begin by creating a table of values for a few points on f. Since
we can think of x as powers of 4 and f(x) as exponents for base 4.
x f(x)
-2
-1
1 0
2 0.5
4 1
16 2

Next, we can create a table for g using the values of f(x) for x.

x y
-2
-1
0 1
1 4
2 16

It can be seen that the coordinates of the points of f and g are switched. Assuming the behaviors of both functions follow this pattern, we can conclude that f and g are inverses.