Skip to main content
Mathematics LibreTexts

7.3: Evaluate and Graph Logarithmic Functions

  • Page ID
    29086
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives

    By the end of this section, you will be able to:

    • Convert between exponential and logarithmic form
    • Evaluate logarithmic functions
    • Graph Logarithmic functions
    • Solve logarithmic equations
    • Use logarithmic models in applications

    Before you get started, take this readiness quiz.

    1. Solve: \(x^{2}=81\).
      If you missed this problem, review Example 6.46.
    2. Evaluate: \(3^{−2}\).
      If you missed this problem, review Example 5.15.
    3. Solve: \(2^{4}=3x−5\).
      If you missed this problem, review Example 2.2.

    We have spent some time finding the inverse of many functions. It works well to ‘undo’ an operation with another operation. Subtracting ‘undoes’ addition, multiplication ‘undoes’ division, taking the square root ‘undoes’ squaring.

    As we studied the exponential function, we saw that it is one-to-one as its graphs pass the horizontal line test. This means an exponential function does have an inverse. If we try our algebraic method for finding an inverse, we run into a problem.

    \(f(x)=a^{x}\)

    Rewrite with \(y=f(x)\).

    \(y=a^{x}\)

    Interchange the variables \(x\) and \(y\).

    \(x=a^{y}\)

    Solve for \(y\).

    Oops! We have no way to solve for \(y\)!

    To deal with this we define the logarithm function with base a to be the inverse of the exponential function \(f(x)=a^{x}\). We use the notation \(f^{−1}(x)=log_{a}x\) and say the inverse function of the exponential function is the logarithmic function.

    Definition \(\PageIndex{1}\): Logarithmic Function

    The function \(f(x)=\log_{a}x\) is the logarithmic function with base \(a\), where \(a>0,x>0\), and \(a≠1\).

    \(y=\log _{a} x\) is equivalent to \(x=a^{y}\)

    Convert Between Exponential and Logarithmic Form

    Since the equations \(y=\log _{a} x\) and \(x=a^{y}\) are equivalent, we can go back and forth between them. This will often be the method to solve some exponential and logarithmic equations. To help with converting back and forth let’s take a close look at the equations. See Figure 10.3.1. Notice the positions of the exponent and base.

    This figure shows the expression y equals log sub a of x, where y is the exponent and a is the base. Next to this expression we have x equals a to the y, where again y is the exponent and a is the base.
    Figure 10.3.1

    If we realize the logarithm is the exponent it makes the conversion easier. You may want to repeat, “base to the exponent give us the number.”

    Example \(\PageIndex{1}\)

    Convert to logarithmic form:

    1. \(2^{3}=8\)
    2. \(5^{\frac{1}{2}}=\sqrt{5}\)
    3. \(\left(\frac{1}{2}\right)^{x}=\frac{1}{16}\)

    Solution:

    In part (a) we have 2 to the 3 power equals 8, where the 2 is red and the 3 is blue. Following this, we have blue y equals log sub red a of x. Then 3 equals log sub 2 of 8. Hence, if 2 cubed equals 8, then 3 equals log sub 2 of 8. In part (b) we have 5 to the 1 over 2 power equals square root of 5, where the 5 is red and the 1 over 2 is blue. Following this, we have blue y equals log sub red a of x. Then 1 over 2 equals log sub 5 of the square root of 5. Hence, if 5 to the 1 over 2 power equals the square root of 5, then 1 over 2 equals log sub 5 of the square root of 5. In part (c) we have 1 over 2 to the x power equals 1 over 16, where the 1 over 2 is red and the x is blue. Following this, we have blue y equals log sub red a of x. Then x equals log sub 1 over 2 of 1 over 16. Hence, if 1 over 2 to the x power equals 1 over 16, then x equals log sub 1 over 2 of 1 over 16.
    Figure 10.3.2
    Exercise \(\PageIndex{1}\)

    Convert to logarithmic form:

    1. \(3^{2}=9\)
    2. \(7^{\frac{1}{2}}=\sqrt{7}\)
    3. \(\left(\frac{1}{3}\right)^{x}=\frac{1}{27}\)
    Answer
    1. \(\log _{3} 9=2\)
    2. \(\log _{7} \sqrt{7}=\frac{1}{2}\)
    3. \(\log _{\frac{1}{3}} \frac{1}{27}=x\)
    Exercise \(\PageIndex{2}\)

    Convert to logarithmic form:

    1. \(4^{3}=64\)
    2. \(4^{\frac{1}{3}}=\sqrt[3]{4}\)
    3. \(\left(\frac{1}{2}\right)^{x}=\frac{1}{32}\)
    Answer
    1. \(\log _{4} 64=3\)
    2. \(\log _{4} \sqrt[3]{4}=\frac{1}{3}\)
    3. \(\log _{\frac{1}{2}} \frac{1}{32}=x\)

    In the next example we do the reverse—convert logarithmic form to exponential form.

    Example \(\PageIndex{2}\)

    Convert to exponential form:

    1. \(2=\log _{8} 64\)
    2. \(0=\log _{4} 1\)
    3. \(-3=\log _{10} \frac{1}{1000}\)

    Solution:

    In part (a) we have 2 equals log sub 8 of 64, where the 2 is blue and the 8 is red. Following this, we have x equals red a to the blue y power. Then 64 equals 8 squared. Hence, if 2 equals log sub 8 of 64, then 64 equals 8 squared. In part (b) we have 0 equals log sub 4 of 1, where the 0 is blue and the 4 is red. Following this, we have x equals red a to the blue y power. Then 1 equals 4 to the zero power. Hence, if 0 equals log sub 4 of 1, then 1 equals 4 to the zero power. In part (c) we have negative 3 equals log sub 10 of 1 over 1000, where the negative 3 is blue and the 10 is red. Following this, we have x equals red a to the blue y power. Then 1 over 1000 equals 10 to the negative three power. Hence, if negative 3 equals log sub 10 of 1 over 1000, then 1 over 1000 equals 10 to the negative 3 power.
    Figure 10.3.3
    Exercise \(\PageIndex{3}\)

    Convert to exponential form:

    1. \(3=\log _{4} 64\)
    2. \(0=\log _{x} 1\)
    3. \(-2=\log _{10} \frac{1}{100}\)
    Answer
    1. \(64=4^{3}\)
    2. \(1=x^{0}\)
    3. \(\frac{1}{100}=10^{-2}\)
    Exercise \(\PageIndex{4}\)

    Convert to exponential form:

    1. \(3=\log _{3} 27\)
    2. \(0=\log _{x} 1\)
    3. \(-1=\log _{10} \frac{1}{10}\)
    Answer
    1. \(27=3^{3}\)
    2. \(1=x^{0}\)
    3. \(\frac{1}{10}=10^{-1}\)

    Evaluate Logarithmic Functions

    We can solve and evaluate logarithmic equations by using the technique of converting the equation to its equivalent exponential equation.

    Example \(\PageIndex{3}\)

    Find the value of \(x\):

    1. \(\log _{x} 36=2\)
    2. \(\log _{4} x=3\)
    3. \(\log _{\frac{1}{2}} \frac{1}{8}=x\)

    Solution:

    a.

    \(\log _{x} 36=2\)

    Convert to exponential form.

    \(x^{2}=36\)

    Solve the quadratic.

    \(x=6, \quad \cancel{x=-6}\)

    The base of a logarithmic function must be positive, so we eliminate \(x=−6\).

    \(x=6 \quad\) Therefore, \(\log _{6} 36=2\)

    b.

    \(\log _{4} x=3\)

    Convert to exponential form.

    \(4^{3}=x\)

    Simplify.

    \(x=64 \quad\) Therefore \(, \log _{4} 64=3\)

    c.

    \(\log _{\frac{1}{2}} \frac{1}{8}=x\)

    Convert to exponential form.

    \(\left(\frac{1}{2}\right)^{x}=\frac{1}{8}\)

    Rewrite \(\frac{1}{8}\) as \(\left(\frac{1}{2}\right)^{3}\).

    \(\left(\frac{1}{2}\right)^{x}=\left(\frac{1}{2}\right)^{3}\)

    With the same base, the exponents must be equal.

    \(x=3 \quad\) Therefore \(\log _{\frac{1}{2}} \frac{1}{8}=3\)

    Exercise \(\PageIndex{5}\)

    Find the value of \(x\):

    1. \(\log _{x} 64=2\)
    2. \(\log _{5} x=3\)
    3. \(\log _{\frac{1}{2}} \frac{1}{4}=x\)
    Answer
    1. \(x=8\)
    2. \(x=125\)
    3. \(x=2\)
    Exercise \(\PageIndex{6}\)

    Find the value of \(x\):

    1. \(\log _{x} 81=2\)
    2. \(\log _{3} x=5\)
    3. \(\log _{\frac{1}{3}} \frac{1}{27}=x\)
    Answer
    1. \(x=9\)
    2. \(x=243\)
    3. \(x=3\)

    When see an expression such as \(log_{3}27\), we can find its exact value two ways. By inspection we realize it means “\(3\) to what power will be \(27\)”? Since \(3^{3}=27\), we know \(log_{3}27=3\). An alternate way is to set the expression equal to \(x\) and then convert it into an exponential equation.

    Example \(\PageIndex{4}\)

    Find the exact value of each logarithm without using a calculator:

    1. \(\log _{5} 25\)
    2. \(\log _{9} 3\)
    3. \(\log _{2} \frac{1}{16}\)

    Solution:

    a.

    \(\log _{5} 25\)

    \(5\) to what power will be \(25\)?

    \(\log _{5} 25=2\)

    Or

    Set the expression equal to \(x\).

    \(\log _{5} 25=x\)

    Change to exponential form.

    \(5^{x}=25\)

    Rewrite \(25\) as \(5^{2}\).

    \(5^{x}=5^{2}\)

    With the same base the exponents must be equal.

    \(x=2 \quad\) Therefore \(, \log _{5} 25=2\).

    b.

    \(\log _{9} 3\)

    Set the expression equal to \(x\).

    \(\log _{9} 3=x\)

    Change to exponential form.

    \(9^{x}=3\)

    Rewrite \(9\) as \(3^{2}\).

    \(\left(3^{2}\right)^{x}=3^{1}\)

    Simplify the exponents.

    \(3^{2 x}=3^{1}\)

    With the same base the exponents must be equal.

    \(2 x=1\)

    Solve the equation.

    \(x=\frac{1}{2} \quad\) Therefore \(, \log _{9} 3=\frac{1}{2}\).

    c.

    \(\log _{2} \frac{1}{16}\)

    Set the expression equal to \(x\).

    \(\log _{2} \frac{1}{16}=x\)

    Change to exponential form.

    \(2^{x}=\frac{1}{16}\)

    Rewrite \(16\) as \(2^{4}\).

    \(2^{x}=\frac{1}{2^{4}}\)

    \(2^{x}=2^{-4}\)

    With the same base the exponents must be equal.

    \(x=-4 \quad\) Therefore \(, \log _{2} \frac{1}{16}=-4\).

    Exercise \(\PageIndex{7}\)

    Find the exact value of each logarithm without using a calculator:

    1. \(\log _{12} 144\)
    2. \(\log _{4} 2\)
    3. \(\log _{2} \frac{1}{32}\)
    Answer
    1. \(2\)
    2. \(\frac{1}{2}\)
    3. \(-5\)
    Exercise \(\PageIndex{8}\)

    Find the exact value of each logarithm without using a calculator:

    1. \(\log _{9} 81\)
    2. \(\log _{8} 2\)
    3. \(\log _{3} \frac{1}{9}\)
    Answer
    1. \(2\)
    2. \(\frac{1}{3}\)
    3. \(-2\)

    Graph Logarithmic Functions

    To graph a logarithmic function \(y=log_{a}x\), it is easiest to convert the equation to its exponential form, \(x=a^{y}\). Generally, when we look for ordered pairs for the graph of a function, we usually choose an \(x\)-value and then determine its corresponding \(y\)-value. In this case you may find it easier to choose \(y\)-values and then determine its corresponding \(x\)-value.

    Example \(\PageIndex{5}\)

    Graph \(y=\log _{2} x\).

    Solution:

    To graph the function, we will first rewrite the logarithmic equation, \(y=\log _{2} x\), in exponential form, \(2^{y}=x\).

    We will use point plotting to graph the function. It will be easier to start with values of \(y\) and then get \(x\).

    Table 10.3.1
    \(y\) \(2^{y}=x\) \((x,y)\)
    \(-2\) \(2^{-2}=\frac{1}{2^{2}}=\frac{1}{4}\) \((\frac{1}{4},2)\)
    \(-1\) \(2^{-1}=\frac{1}{2^{1}}=\frac{1}{2}\) \((\frac{1}{2},-1)\)
    \(0\) \(2^{0}=1\) \((1,0)\)
    \(1\) \(2^{1}=2\) \((2,1)\)
    \(2\) \(2^{2}=4\) \((4,2)\)
    \(3\) \(2^{3}=8\) \((8,3)\)
    This figure shows the logarithmic curve going through the points (1 over 2, negative 1), (1, 0), and (2, 1).
    Figure 10.3.4
    Exercise \(\PageIndex{9}\)

    Graph: \(y=\log _{3} x\).

    Answer
    This figure shows the logarithmic curve going through the points (1 over 3, negative 1), (1, 0), and (3, 1).
    Figure 10.3.5
    Exercise \(\PageIndex{10}\)

    Graph: \(y=\log _{5} x\).

    Answer
    This figure shows the logarithmic curve going through the points (1 over 5, negative 1), (1, 0), and (5, 1).
    Figure 10.3.6

    The graphs of \(y=\log _{2} x, y=\log _{3} x\), and \(y=\log _{5} x\) are the shape we expect from a logarithmic function where \(a>1\).

    We notice that for each function the graph contains the point \((1,0)\). This make sense because \(0=log_{a}1\) means \(a^{0}=1\) which is true for any \(a\).

    The graph of each function, also contains the point \((a,1)\). This makes sense as \(1=\log _{a} a\) means \(a^{1}=a\). which is true for any \(a\).

    Notice too, the graph of each function \(y=\log _{a} x\) also contains the point \(\left(\frac{1}{a},-1\right)\). This makes sense as \(-1=\log _{a} \frac{1}{a}\) means \(a^{-1}=\frac{1}{a}\), which is true for any \(a\).

    Look at each graph again. Now we will see that many characteristics of the logarithm function are simply ’mirror images’ of the characteristics of the corresponding exponential function.

    What is the domain of the function? The graph never hits the \(y\)-axis. The domain is all positive numbers. We write the domain in interval notation as \((0,∞)\).

    What is the range for each function? From the graphs we can see that the range is the set of all real numbers. There is no restriction on the range. We write the range in interval notation as \((−∞,∞)\).

    When the graph approaches the \(y\)-axis so very closely but will never cross it, we call the line \(x=0\), the \(y\)-axis, a vertical asymptote.

    Table 10.3.2: Properties of the Graph of \(y=\log _{a} x\) When \(a>1\)
    Domain \((0, \infty)\)
    Range \((-\infty, \infty)\)
    \(x\)-intercept \((1,0)\)
    \(y\)-intercept None
    Contains \((a, 1),\left(\frac{1}{a},-1\right)\)
    Asymptote \(y\)-axis
    This figure shows the logarithmic curve going through the points (1 over a, negative 1), (1, 0), and (a, 1).
    Figure 10.3.7

    Our next example looks at the graph of \(y=log_{a}x\) when \(0<a<1\).

    Example \(\PageIndex{6}\)

    Graph \(y=\log _{\frac{1}{3}} x\).

    Solution:

    To graph the function, we will first rewrite the logarithmic equation, \(y=\log _{\frac{1}{3}} x\), in exponential form, \(\left(\frac{1}{3}\right)^{y}=x\).

    We will use point plotting to graph the function. It will be easier to start with values of \(y\) and then get \(x\).

    Table 10.3.3
    \(y\) \(\left(\frac{1}{3}\right)^{y}=x\) \((x,y)\)
    \(-2\) \(\left(\frac{1}{3}\right)^{-2}=3^{2}=9\) \((9,-2)\)
    \(-1\) \(\left(\frac{1}{3}\right)^{-1}=3^{1}=3\) \((3,-1)\)
    \(0\) \(\left(\frac{1}{3}\right)^{0}=1\) \((1,0)\)
    \(1\) \(\left(\frac{1}{3}\right)^{1}=\frac{1}{3}\) \(\left(\frac{1}{3}, 1\right)\)
    \(2\) \(\left(\frac{1}{3}\right)^{2}=\frac{1}{9}\) \(\left(\frac{1}{9}, 2\right)\)
    \(3\) \(\left(\frac{1}{3}\right)^{3}=\frac{1}{27}\) \(\left(\frac{1}{27}, 3\right)\)
    This figure shows the logarithmic curve going through the points (1 over 3, 1), (1, 0), and (3, negative 1).
    Exercise \(\PageIndex{11}\)

    Graph: \(y=\log _{\frac{1}{2}} x\).

    Answer
    This figure shows the logarithmic curve going through the points (1 over 2, 1), (1, 0), and (2, negative 1).
    Exercise \(\PageIndex{12}\)

    Graph: \(y=\log _{\frac{1}{4}} x\).

    Answer
    This figure shows the logarithmic curve going through the points (1 over 4, 1), (1, 0), and (4, negative 1).

    Now, let’s look at the graphs \(y=\log _{\frac{1}{2}} x, y=\log _{\frac{1}{3}} x\) and \(y=\log _{\frac{1}{4}} x\), so we can identify some of the properties of logarithmic functions where \(0<a<1\).

    The graphs of all have the same basic shape. While this is the shape we expect from a logarithmic function where \(0<a<1\).

    We notice, that for each function again, the graph contains the points,\((1,0),(a, 1),\left(\frac{1}{a},-1\right)\). This make sense for the same reasons we argued above.

    We notice the domain and range are also the same—the domain is \((0,∞)\) and the range is \((−∞,∞)\). The \(y\)-axis is again the vertical asymptote.

    We will summarize these properties in the chart below. Which also include when \(a>1\).

    Table 10.3.4: Properties of the Graph of \(y=\log _{a} x\)
    When \(a>1\) When \(0<a<1\)
    1\)">Domain \((0, \infty)\) Domain \((0, \infty)\)
    1\)">Range \((-\infty, \infty)\) Range \((-\infty, \infty)\)
    1\)">\(x\)-intercept \((1,0)\) \(x\)-intercept \((1,0)\)
    1\)">\(y\)-intercept None \(y\)-intercept None
    1\)">Contains \((a, 1),\left(\frac{1}{a},-1\right)\) Contains \((a, 1),\left(\frac{1}{a},-1\right)\)
    1\)">Asymptote \(y\) -axis Asymptote \(y\) -axis
    1\)">Basic shape Increasing Basic shape Decreasing
    This figure shows that, for a greater than 1, the logarithmic curve going through the points (1 over a, negative 1), (1, 0), and (a, 1). This figure shows that, for a greater than 0 and less than 1, the logarithmic curve going through the points (a, 1), (1, 0), and (1 over a, negative 1).
    Figure 10.3.11

    We talked earlier about how the logarithmic function \(f^{-1}(x)=\log _{a} x\) is the inverse of the exponential function \(f(x)=a^{x}\). The graphs in Figure 10.3.12 show both the exponential (blue) and logarithmic (red) functions on the same graph for both \(a>1\) and \(0<a<1\).

    This figure shows that, for a greater than 1, the logarithmic curve going through the points (1 over a, negative 1), (1, 0), and (a, 1). It also shows the exponential curve going through the points (1, 1 over a), (0, 1), and (1, a) along with the line y equals x. The logarithmic curve is a mirror image of the exponential curve across the y equals x line. This figure shows that, for a greater than 0 and less than 1, the logarithmic curve going through the points (a, 1), (1, 0), and (1 over a, negative 1). It also shows the exponential curve going through the points (negative 1, 1 over a), (0, 1), and (1, a) along with the line y equals x. The logarithmic curve is a mirror image of the exponential curve across the y equals x line.
    Figure 10.3.12

    Notice how the graphs are reflections of each other through the line \(y=x\). We know this is true of inverse functions. Keeping a visual in your mind of these graphs will help you remember the domain and range of each function. Notice the \(x\)-axis is the horizontal asymptote for the exponential functions and the \(y\)-axis is the vertical asymptote for the logarithmic functions.

    Solve Logarithmic Equations

    When we talked about exponential functions, we introduced the number \(e\). Just as \(e\) was a base for an exponential function, it can be used a base for logarithmic functions too. The logarithmic function with base \(e\) is called the natural logarithmic function. The function \(f(x)=\log _{e} x\) is generally written \(f(x)=\ln x\) and we read it as “el en of \(x\).”

    Definition \(\PageIndex{2}\): Natural Logarithmic Function

    The function \(f(x)=\ln x\) is the natural logarithmic function with base \(e\), where \(x>0\).

    \(y=\ln x\) is equivalent to \(x=e^{y}\)

    When the base of the logarithm function is \(10\), we call it the common logarithmic function and the base is not shown. If the base \(a\) of a logarithm is not shown, we assume it is \(10\).

    Definition \(\PageIndex{3}\): Common Logarithmic Function

    The function \(f(x)=\log x\) is the common logarithmic function with base \(10\), where \(x>0\).

    \(y=\log x\) is equivalent to \(x=10^{y}\)

    It will be important for you to use your calculator to evaluate both common and natural logarithms. Find the log and ln keys on your calculator.

    To solve logarithmic equations, one strategy is to change the equation to exponential form and then solve the exponential equation as we did before. As we solve logarithmic equations, \(y=log_{a}x\), we need to remember that for the base \(a\), \(a>0\) and \(a≠1\). Also, the domain is \(x>0\). Just as with radical equations, we must check our solutions to eliminate any extraneous solutions.

    Example \(\PageIndex{7}\)

    Solve:

    1. \(\log _{a} 49=2\)
    2. \(\ln x=3\)

    Solution:

    a.

    \(\log _{a} 49=2\)

    Rewrite in exponential form.

    \(a^{2}=49\)

    Solve the equation using the square root property.

    \(a=\pm 7\)

    The base cannot be negative, so we eliminate \(a=-7\).

    \(a=7, \quad \cancel{a=-7}\)

    Check. \(a=7\)

    \(\begin{aligned} \log _{a} 49&=2 \\ \log_{7}49&\stackrel{?}{=}2 \\ 7^{2}&\stackrel{?}{=}49 \\ 49&=49 \end{aligned}\)

    b.

    \(\ln x=3\)

    Rewrite in exponential form.

    \(e^{3}=x\)

    Check. \(x=e^{3}\)

    \(\begin{aligned} \ln x &=3 \\ \ln e^{3} & \stackrel{?}{=} 3 \\ e^{3} &=e^{3} \end{aligned}\)

    Exercise \(\PageIndex{13}\)

    Solve:

    1. \(\log _{a} 121=2\)
    2. \(\ln x=7\)
    Answer
    1. \(a=11\)
    2. \(x=e^{7}\)
    Exercise \(\PageIndex{14}\)

    Solve:

    1. \(\log _{a} 64=3\)
    2. \(\ln x=9\)
    Answer
    1. \(a=4\)
    2. \(x=e^{9}\)
    Example \(\PageIndex{8}\)

    Solve:

    1. \(\log _{2}(3 x-5)=4\)
    2. \(\ln e^{2 x}=4\)

    Solution:

    a.

    \(\log _{2}(3 x-5)=4\)

    Rewrite in exponential form.

    \(2^{4}=3 x-5\)

    Simplify.

    \(16=3 x-5\)

    Solve the equation.

    \(21=3 x\)

    \(7=x\)

    Check. \(x=7\)

    \(\begin{aligned} \log _{2}(3 x-5)&=4 \\ \log_{2}(3\cdot7-5)&\stackrel{?}{=}4\\ \log_{2}(16)&\stackrel{?}{=}4 \\ 2^{4}& \stackrel{?}{=}16 \\ 16&=16 \end{aligned}\)

    b.

    \(\ln e^{2 x}=4\)

    Rewrite in exponential form.

    \(e^{4}=e^{2 x}\)

    Since the bases are the same the exponents are equal.

    \(4=2 x\)

    Solve the equation.

    \(2=x\)

    Check. \(x=2\)

    \(\begin{aligned} \ln e^{2 x} &=4 \\ \ln e^{2 \cdot 2} & \stackrel{?}{=} 4 \\ \ln e^{4} &=4 \\ e^{4} &=e^{4} \end{aligned}\)

    Exercise \(\PageIndex{15}\)

    Solve:

    1. \(\log _{2}(5 x-1)=6\)
    2. \(\ln e^{3 x}=6\)
    Answer
    1. \(x=13\)
    2. \(x=2\)
    Exercise \(\PageIndex{16}\)

    Solve:

    1. \(\log _{3}(4 x+3)=3\)
    2. \(\ln e^{4 x}=4\)
    Answer
    1. \(x=6\)
    2. \(x=1\)

    Use Logarithmic Models in Applications

    There are many applications that are modeled by logarithmic equations. We will first look at the logarithmic equation that gives the decibel (dB) level of sound. Decibels range from \(0\), which is barely audible to \(160\), which can rupture an eardrum. The \(10^{−12}\) in the formula represents the intensity of sound that is barely audible.

    Definition \(\PageIndex{4}\)

    Decibel Level of Sound

    The loudness level, \(D\), measured in decibels, of a sound of intensity, \(I\), measured in watts per square inch is

    \(D=10 \log \left(\frac{I}{10^{-12}}\right)\)

    Example \(\PageIndex{9}\)

    Extended exposure to noise that measures \(85\) dB can cause permanent damage to the inner ear which will result in hearing loss. What is the decibel level of music coming through ear phones with intensity \(10^{−2}\) watts per square inch?

    Solution:

      .
    Substitute in the intensity level, \(I\). .
    Simplify. .
    Since \(\log 10^{10}=10\). .
    Multiply. .
      The decibel level of music coming through earphones is \(100\) dB.
    Exercise \(\PageIndex{17}\)

    What is the decibel level of one of the new quiet dishwashers with intensity \(10^{−7}\) watts per square inch?

    Answer

    The quiet dishwashers have a decibel level of \(50\) dB.

    Exercise \(\PageIndex{18}\)

    What is the decibel level heavy city traffic with intensity \(10^{−3}\) watts per square inch?

    Answer

    The decibel level of heavy traffic is \(90\) dB.

    The magnitude \(R\) of an earthquake is measured by a logarithmic scale called the Richter scale. The model is \(R=\log I\), where \(I\) is the intensity of the shock wave. This model provides a way to measure earthquake intensity.

    Definition \(\PageIndex{5}\): Earthquake Intensity

    The magnitude \(R\) of an earthquake is measured by\(R=\log I\), where \(I\) is the intensity of its shock wave.

    Example \(\PageIndex{10}\)

    In 1906, San Francisco experienced an intense earthquake with a magnitude of \(7.8\) on the Richter scale. Over \(80\)% of the city was destroyed by the resulting fires. In 2014, Los Angeles experienced a moderate earthquake that measured \(5.1\) on the Richter scale and caused $\(108\) million dollars of damage. Compare the intensities of the two earthquakes.

    Solution:

    To compare the intensities, we first need to convert the magnitudes to intensities using the log formula. Then we will set up a ratio to compare the intensities.

    Convert the magnitudes to intensities.

    \(R=\log I\)

    1906 earthquake

    \(7.8=\log I\)

    Convert to exponential form.

    \(I=10^{7.8}\)

    2014 earthquake

    \(5.1=\log I\)

    Convert to exponential form.

    \(I=10^{5.1}\)

    Form a ratio of the intensities.

    \(\frac{\text { Intensity for } 1906}{\text { Intensity for } 2014}\)

    Substitute in the values.

    \(\frac{10^{7.8}}{10^{5.1}}\)

    Divide by subtracting the exponents.

    \(10^{2.7}\)

    Evaluate.

    \(501\)

    The intensity of the 1906 earthquake was about \(501\) times the intensity of the 2014 earthquake.

    Exercise \(\PageIndex{19}\)

    In 1906, San Francisco experienced an intense earthquake with a magnitude of \(7.8\) on the Richter scale. In 1989, the Loma Prieta earthquake also affected the San Francisco area, and measured \(6.9\) on the Richter scale. Compare the intensities of the two earthquakes.

    Answer

    The intensity of the 1906 earthquake was about \(8\) times the intensity of the 1989 earthquake.

    Exercise \(\PageIndex{20}\)

    In 2014, Chile experienced an intense earthquake with a magnitude of \(8.2\) on the Richter scale. In 2014, Los Angeles also experienced an earthquake which measured \(5.1\) on the Richter scale. Compare the intensities of the two earthquakes.

    Answer

    The intensity of the earthquake in Chile was about \(1,259\) times the intensity of the earthquake in Los Angeles.

    Access these online resources for additional instruction and practice with evaluating and graphing logarithmic functions.

    Key Concepts

    • Properties of the Graph of \(y=\log _{a} x\):
    When \(a>1\) When \(0<a<1\)
    1\)">Domain \((0, \infty)\) Domain \((0, \infty)\)
    1\)">Range \((-\infty, \infty)\) Range \((-\infty, \infty)\)
    1\)">\(x\)-intercept \((1,0)\) \(x\)-intercept \((1,0)\)
    1\)">\(y\)-intercept None \(y\)-intercept None
    1\)">Contains \((a, 1),\left(\frac{1}{a},-1\right)\) Contains \((a, 1),\left(\frac{1}{a},-1\right)\)
    1\)">Asymptote \(y\) -axis Asymptote \(y\) -axis
    1\)">Basic shape Increasing Basic shape Decreasing
    This figure shows that, for a greater than 1, the logarithmic curve going through the points (1 over a, negative 1), (1, 0), and (a, 1). This figure shows that, for a greater than 0 and less than 1, the logarithmic curve going through the points (a, 1), (1, 0), and (1 over a, negative 1).
    Figure 10.3.11
    • Decibel Level of Sound: The loudness level, \(D\), measured in decibels, of a sound of intensity, \(I\), measured in watts per square inch is \(D=10 \log \left(\frac{I}{10^{-12}}\right)\).
    • Earthquake Intensity: The magnitude \(R\) of an earthquake is measured by \(R=\log I\), where \(I\) is the intensity of its shock wave.

    Glossary

    common logarithmic function
    The function \(f(x)=\log x\) is the common logarithmic function with base \(10\), where \(x>0\).

    \(y=\log x\) is equivalent to \(x=10^{y}\)

    logarithmic function
    The function \(f(x)=\log _{a} x\) is the logarithmic function with base \(a\), where \(a>0,x>0\), and \(a≠1\).

    \(y=\log _{a} x\) is equivalent to \(x=a^{y}\)

    natural logarithmic function
    The function \(f(x)=\ln x\) is the natural logarithmic function with base \(e\), where \(x>0\).

    \(y=\ln x\) is equivalent to \(x=e^{y}\)


    This page titled 7.3: Evaluate and Graph Logarithmic Functions is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.

    • Was this article helpful?