# 8.7: Graphing Logarithmic Functions

**At Grade**Created by: CK-12

**Practice**Graphs of Logarithmic Functions

Your math homework assignment is to find out which quadrants the graph of the function falls in. On the way home, your best friend tells you, "This is the easiest homework assignment ever! All logarithmic functions fall in Quadrants I and IV." You're not so sure, so you go home and graph the function as instructed. Your graph falls in Quadrant I as your friend thought, but instead of Quadrant IV, it also falls in Quadrants II and III. Which one of you is correct?

### Guidance

Now that we are more comfortable with using these functions as inverses, let’s use this idea to graph a logarithmic function. Recall that functions are inverses of each other when they are mirror images over the line . Therefore, if we reflect over , then we will get the graph of .

Recall that an exponential function has a horizontal asymptote. Because the logarithm is its inverse, it will have a
*
vertical
*
asymptote. The general form of a logarithmic function is
and the vertical asymptote is
. The domain is
and the range is all real numbers. Lastly, if
, the graph moves
*
up
*
to the right. If
, the graph moves
*
down
*
to the right.

#### Example A

Graph . State the domain and range.

**
Solution:
**

To graph a logarithmic function without a calculator, start by drawing the vertical asymptote, at . We know the graph is going to have the general shape of the first function above. Plot a few “easy” points, such as (5, 0), (7, 1), and (13, 2) and connect.

The domain is and the range is all real numbers.

#### Example B

Is (16, 1) on ?

**
Solution:
**
Plug in the point to the equation to see if it holds true.

Yes, this is true, so (16, 1) is on the graph.

#### Example C

Graph .

**
Solution:
**
To graph a natural log, we need to use a graphing calculator. Press
and enter in the function,
,
**
GRAPH
**
.

**
Intro Problem Revisit
**
the vertical asymptote of the function
is
since
*
x
*
will approach
but never quite reach it,
*
x
*
can assume some negative values. Hence, the function will fall in Quadrants II and III. Therefore, you are correct and your friend is wrong.

### Guided Practice

1. Graph in an appropriate window.

2. Graph using a graphing calculator. Find the domain and range.

3. Is (-2, 1) on the graph of ?

#### Answers

1. First, there is a vertical asymptote at . Now, determine a few easy points, points where the log is easy to find; such as (1, 2), (4, 1), (8, 0.5), and (16, 0).

To graph a logarithmic function using a TI-83/84, enter the function into
and use the
*
Change of Base Formula
*
. The keystrokes would be:

,
**
GRAPH
**

To see a table of values, press
**
GRAPH
**
.

2. The keystrokes are
,
**
GRAPH
**
.

The domain is and the range is all real numbers.

3. Plug (-2, 1) into to see if the equation holds true.

Therefore, (-2, 1) is not on the graph. However, (-2, -1) is.

### Practice

Graph the following logarithmic functions without using a calculator. State the equation of the asymptote, the domain and the range of each function.

Graph the following logarithmic functions using your graphing calculator.

- How would you graph on the graphing calculator? Graph the function.
- Graph on the graphing calculator.
- Is (3, 8) on the graph of ?
- Is (9, -2) on the graph of ?
- Is (4, 5) on the graph of ?

Asymptotes

An asymptote is a line on the graph of a function representing a value toward which the function may approach, but does not reach (with certain exceptions).operation

Operations are actions performed on variables, constants, or expressions. Common operations are addition, subtraction, multiplication, and division.### Image Attributions

## Description

## Learning Objectives

Here you'll learn how to graph a logarithmic function by hand and using a calculator.