<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# 8.7: Graphing Logarithmic Functions

Difficulty Level: At Grade Created by: CK-12
Estimated11 minsto complete
%
Progress
Practice Graphs of Logarithmic Functions

MEMORY METER
This indicates how strong in your memory this concept is
Progress
Estimated11 minsto complete
%
Estimated11 minsto complete
%
MEMORY METER
This indicates how strong in your memory this concept is

Your math homework assignment is to find out which quadrants the graph of the function f(x)=4ln(x+3)\begin{align*}f(x)= 4\ln(x + 3)\end{align*} 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 y=x\begin{align*}y=x\end{align*}. Therefore, if we reflect y=bx\begin{align*}y=b^x\end{align*} over y=x\begin{align*}y=x\end{align*}, then we will get the graph of y=logbx\begin{align*}y=\log_b x\end{align*}.

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 f(x)=logb(xh)+k\begin{align*}f(x)=\log_b(x-h)+k\end{align*} and the vertical asymptote is x=h\begin{align*}x=h\end{align*}. The domain is x>h\begin{align*}x>h\end{align*} and the range is all real numbers. Lastly, if b>1\begin{align*}b>1\end{align*}, the graph moves up to the right. If 0<b<1\begin{align*}0, the graph moves down to the right.

#### Example A

Graph y=log3(x4)\begin{align*}y=\log_3(x-4)\end{align*}. State the domain and range.

Solution:

To graph a logarithmic function without a calculator, start by drawing the vertical asymptote, at x=4\begin{align*}x=4\end{align*}. 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 x>4\begin{align*}x>4\end{align*} and the range is all real numbers.

#### Example B

Is (16, 1) on y=log(x6)\begin{align*}y=\log (x-6)\end{align*}?

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

111=log(166)=log10=1\begin{align*}1 &= \log(16-6) \\ 1 &= \log 10 \\ 1 &= 1\end{align*}

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

#### Example C

Graph f(x)=2ln(x+1)\begin{align*}f(x)=2 \ln(x+1)\end{align*}.

Solution: To graph a natural log, we need to use a graphing calculator. Press Y=\begin{align*}Y=\end{align*} and enter in the function, Y=2ln(x+1)\begin{align*}Y=2 \ln(x+1)\end{align*}, GRAPH.

Intro Problem Revisit the vertical asymptote of the function f(x)=4ln(x+3)\begin{align*}f(x)= 4\ln(x + 3)\end{align*} is x=3\begin{align*}x = -3\end{align*} since x will approach 3\begin{align*}-3\end{align*} 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 y=log14x+2\begin{align*}y=\log_{\frac{1}{4}} x+2\end{align*} in an appropriate window.

2. Graph y=logx\begin{align*}y=-\log x\end{align*} using a graphing calculator. Find the domain and range.

3. Is (-2, 1) on the graph of f(x)=log12(x+4)\begin{align*}f(x)=\log_{\frac{1}{2}} (x+4)\end{align*}?

1. First, there is a vertical asymptote at x=0\begin{align*}x=0\end{align*}. 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 Y=\begin{align*}Y=\end{align*} and use the Change of Base Formula. The keystrokes would be:

Y=log(x)log(14)+2\begin{align*}Y= \frac{\log(x)}{\log \left ( \frac{1}{4} \right )}+2\end{align*}, GRAPH

To see a table of values, press 2nd\begin{align*}2^{nd} \rightarrow \end{align*} GRAPH.

2. The keystrokes are Y=log(x)\begin{align*}Y=-\log(x)\end{align*}, GRAPH.

The domain is x>0\begin{align*}x>0\end{align*} and the range is all real numbers.

3. Plug (-2, 1) into f(x)=log12(x+4)\begin{align*}f(x)=\log_{\frac{1}{2}} (x+4)\end{align*} to see if the equation holds true.

111=log12(2+4)=log12212x=21\begin{align*}1 &= \log_{\frac{1}{2}} (-2+4) \\ 1 &= \log_{\frac{1}{2}} 2 \rightarrow \frac{1}{2}^x=2 \\ 1 & \ne -1 \end{align*}

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.

1. y=log5x\begin{align*}y=\log_5 x\end{align*}
2. y=log2(x+1)\begin{align*}y=\log_2(x+1)\end{align*}
3. y=log(x)4\begin{align*}y=\log(x)-4\end{align*}
4. y=log13(x1)+3\begin{align*}y=\log_{\frac{1}{3}}(x-1)+3\end{align*}
5. y=log12(x+3)5\begin{align*}y=-\log_{\frac{1}{2}}(x+3)-5\end{align*}
6. y=log4(2x)+2\begin{align*}y=\log_4(2-x)+2\end{align*}

Graph the following logarithmic functions using your graphing calculator.

1. y=ln(x+6)1\begin{align*}y=\ln (x+6)-1\end{align*}
2. y=ln(x1)+2\begin{align*}y=-\ln (x-1)+2\end{align*}
3. y=log(1x)+3\begin{align*}y=\log(1-x)+3\end{align*}
4. y=log(x+2)4\begin{align*}y=\log(x+2)-4\end{align*}
5. How would you graph y=log4x\begin{align*}y=\log_4 x\end{align*} on the graphing calculator? Graph the function.
6. Graph y=log34x\begin{align*}y=\log_{\frac{3}{4}}x\end{align*} on the graphing calculator.
7. Is (3, 8) on the graph of y=log3(2x3)+7\begin{align*}y=\log_3 (2x-3)+7\end{align*}?
8. Is (9, -2) on the graph of y=log14(x5)\begin{align*}y=\log_{\frac{1}{4}} (x-5)\end{align*} ?
9. Is (4, 5) on the graph of y=5log2(8x)\begin{align*}y=5 \log_2 (8-x)\end{align*}?

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

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.

Show Hide Details
Description
Difficulty Level:
Authors:
Tags:
Subjects: