Skip to main content

Section 5.4 Graphs of Logarithmic Functions (EL4)

Subsection 5.4.1 Activities

Activity 5.4.1.

Consider the function \(g(x)=\log_2 x\text{.}\)
(a)
Since we are familiar with graphing exponential functions, we’ll use that to help us graph logarithmic ones. Rewrite \(g(x)\) in exponential form, replacing \(g(x)\) with \(y\text{.}\)
  1. \(\displaystyle x^y=2\)
  2. \(\displaystyle 2^y=x\)
  3. \(\displaystyle y^2=x\)
  4. \(\displaystyle 2^x=y\)
  5. \(\displaystyle x^2=y\)
Answer.
B
(b)
Fill in the table of values. Notice you are given \(y\)-values, not \(x\)-values to plug in since those are easier in the equivalent exponential form. Then plot the points on a graph.
\(x\) \(y\)
\(-2\)
\(-1\)
\(0\)
\(1\)
\(2\)
Answer.
\(x\) \(y\)
\(\frac{1}{4}\) \(-2\)
\(\frac{1}{2}\) \(-1\)
\(1\) \(0\)
\(2\) \(1\)
\(4\) \(2\)
(c)
What seems to be happening with the graph as \(x\) goes toward infinity? Plug in large positive values of \(x\) to test your guess, then describe the end behavior.
  1. As \(x \to \infty\text{,}\) \(y \to -\infty\text{.}\)
  2. As \(x \to \infty\text{,}\) \(y \to 0\text{.}\)
  3. As \(x \to \infty\text{,}\) \(y \to 6\text{.}\)
  4. As \(x \to \infty\text{,}\) \(y \to \infty\text{.}\)
  5. The graph isn’t defined as \(x \to \infty\text{.}\)
Answer.
D
(d)
What seems to be happening with the graph as \(x\) goes toward negative infinity? Plug in large negative values of \(x\) to test your guess, then describe the end behavior.
  1. As \(x \to -\infty\text{,}\) \(y \to -\infty\text{.}\)
  2. As \(x \to -\infty\text{,}\) \(y \to 0\text{.}\)
  3. As \(x \to -\infty\text{,}\) \(y \to 6\text{.}\)
  4. As \(x \to -\infty\text{,}\) \(y \to \infty\text{.}\)
  5. The graph isn’t defined as \(x \to -\infty\text{.}\)
Answer.
E
(e)
What seems to be happening with the graph as we approach \(x\)-values closer and closer to zero from the positive direction?
  1. As \(x \to 0\) from the positive direction, \(y \to -\infty\text{.}\)
  2. As \(x \to 0\) from the positive direction, \(y \to 0\text{.}\)
  3. As \(x \to 0\) from the positive direction, \(y \to \infty\text{.}\)
  4. As \(x \to 0\) from the positive direction, the graph isn’t defined.
Answer.
A
(f)
What seems to be happening with the graph as we approach \(x\)-values closer and closer to zero from the negative direction?
  1. As \(x \to 0\) from the negative direction, \(y \to -\infty\text{.}\)
  2. As \(x \to 0\) from the negative direction, \(y \to 0\text{.}\)
  3. As \(x \to 0\) from the negative direction, \(y \to \infty\text{.}\)
  4. As \(x \to 0\) from the negative direction, the graph isn’t defined.
Answer.
D
(g)
Complete the graph you started in Task 5.4.1.a, connecting the points and including the end behavior and behavior near zero that you’ve just determined.
Answer.
(h)
Does your graph seem to have any asymptotes?
  1. No. There are no asymptotes.
  2. There is a vertical asymptote but no horizontal one.
  3. There is a horizontal asymptote but no vertical one.
  4. The graph has both a horizontal and vertical asymptote.
Answer.
B
(i)
What the equation for each asymptote of \(f(x)\text{?}\) Select all that apply.
  1. There are no asymptotes.
  2. \(\displaystyle x=0\)
  3. \(\displaystyle x=6\)
  4. \(\displaystyle y=0\)
  5. \(\displaystyle y=6\)
Answer.
B
(j)
Find the domain and range of \(g(x)\text{.}\) Write your answers using interval notation.
Answer.
Domain: \((0,\infty)\text{,}\) Range: \((-\infty, \infty)\)
(k)
Find the interval(s) where \(g(x)\) is increasing and the interval(s) where \(g(x)\) is decreasing. Write your answers using interval notation.
Answer.
Increasing: \((0,\infty)\text{,}\) Decreasing: nowhere

Activity 5.4.2.

The function we’ve just graphed, \(g(x)=\log_2 x\text{,}\) and the function \(f(x)=2^x\) (which we graphed in Activity 5.2.1) are inverse functions.
(a)
How are the graphs of \(f(x)\) and \(g(x)\) similar?
Answer.
Answers could include basic shape (though mirrored), both are increasing.
(b)
How are the graphs of \(f(x)\) and \(g(x)\) different?
Answer.
Answers could include flipped \(x\) and \(y\) values, flipped asymptote, one has \(x\)-intercept and one has \(y\)-intercept, domain and range are swapped.

Remark 5.4.3.

The graph of a logarithmic function \(g(x)=\log_b x\) where \(b>0\) and \(b \neq 1\) has the following characteristics:
  • Its domain is \((0,\infty)\) and its range is \((-\infty,\infty)\text{.}\)
  • There is a vertical asymptote at \(x=0\text{.}\) There is no horizontal asymptote.
  • There is an \(x\)-intercept at \((1,0)\text{.}\) There is no \(y\)-intercept.

Activity 5.4.5.

Let \(f(x)=\log_4 x\text{.}\)
(a)
Graph \(f(x)\text{.}\)
Answer.
(b)
Match the following functions to their graphs.
  • \(\displaystyle g(x)= -\log_4 x \)
  • \(\displaystyle h(x)= \log_4 (-x) \)
  • \(\displaystyle j(x)= \log_4 (x+1) \)
  • \(\displaystyle k(x)= \log_4 (x) + 1 \)
Answer.
  • \(g(x)= -\log_4 x \) is A.
  • \(h(x)= \log_4 (-x) \) is C.
  • \(j(x)= \log_4 (x+1) \) is D.
  • \(k(x)= \log_4 (x) + 1 \) is B.
(c)
Find the domain, range, and equation of the asymptote for the parent function \(\left(f(x)\right)\) and each of the four transformations \(\left(g(x), h(x), j(x), \text{ and } k(x)\right)\text{.}\)
Answer.
\(f(x)\text{:}\)
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
\(g(x)\text{:}\)
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
\(h(x)\text{:}\)
  • Domain: \((-\infty,0)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
\(j(x)\text{:}\)
  • Domain: \((-1,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=-1\)
\(k(x)\text{:}\)
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
(d)
Which of the transformations affected the domain of the logarithmic function? Select all that apply.
  1. A vertical shift.
  2. A horizontal shift.
  3. A reflection over the \(x\)-axis.
  4. A reflection over the \(y\)-axis.
  5. None of these.
Answer.
B,C
(e)
Which of the transformations affected the range of the logarithmic function? Select all that apply.
  1. A vertical shift.
  2. A horizontal shift.
  3. A reflection over the \(x\)-axis.
  4. A reflection over the \(y\)-axis.
  5. None of these.
Answer.
E
(f)
Which of the transformations affected the asymptote of the logarithmic function? Select all that apply.
  1. A vertical shift.
  2. A horizontal shift.
  3. A reflection over the \(x\)-axis.
  4. A reflection over the \(y\)-axis.
  5. None of these.
Answer.
B

Activity 5.4.6.

Consider the function \(f(x)=\ln(x)\text{.}\)
(a)
Graph \(f(x)=\ln(x)\text{.}\) First find \(f(1)\) and \(f(e)\text{.}\) Then use what you know about the characteristics of logarithmic graphs to sketch the rest. Then state the domain, range, and equation of the asymptote. (Recall that \(e \approx 2.72\) to help estimate where to put your points.)
Answer.
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
(b)
Sketch the graph of \(g(x)=\ln(x-3)\) using transformations. State the transformation(s) used, the domain, the range, and the equation of the asymptote.
Answer.
  • Transformation: shift right 3
  • Domain: \((3,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=3\)
(c)
Sketch the graph of \(h(x)=3\ln(x)\) using transformations. State the transformation(s) used, the domain, the range, and the equation of the asymptote.
Answer.
  • Transformation: vertical stretch with factor of three.
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)

Activity 5.4.7.

Graph each of the following logarithmic functions. Include any asymptotes with a dotted line. State the domain, the range, and the equation of the asymptote.
(a)
\(f(x)=\log_3 x\)
Answer.
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
(b)
\(f(x)=\log_6 (-x)\)
Answer.
  • Domain: \((-\infty,0)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
(c)
\(f(x)=\log_{\frac{1}{5}} x\)
Answer.
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)
(d)
\(f(x)=\log_{\frac{1}{3}} x +2\)
Answer.
  • Domain: \((0,\infty)\)
  • Range: \((-\infty,\infty)\)
  • Asymptote: \(x=0\)

Subsection 5.4.2 Videos

It would be great to include videos down here, like in the Calculus book!