Skip to main content

Section 14.2 Logarithmic Functions

In 2010, a major earthquake struck Haiti, destroying or damaging over 285,000 homes 1 . One year later, another, stronger earthquake devastated Honshu, Japan, destroying or damaging over 332,000 buildings 2 . Even though both caused substantial damage, the earthquake in 2011 was 100 times stronger than the earthquake in Haiti. How do we know? The magnitudes of earthquakes are measured on a scale known as the Richter Scale. The Haitian earthquake registered a 7.0 on the Richter Scale, whereas the Japanese earthquake registered a 9.0.

The Richter Scale is a base-ten logarithmic scale. In other words, an earthquake of magnitude 8 is not twice as great as an earthquake of magnitude 4. It is \({10}^{8-4}={10}^{4}=10,000\) times as great! In this section, we will investigate the nature of the Richter Scale and the base-ten function upon which it depends.

Subsection 14.2.1 Converting from Logarithmic to Exponential Form

In order to analyze the magnitude of earthquakes or compare the magnitudes of two different earthquakes, we need to be able to convert between logarithmic and exponential form. For example, suppose the amount of energy released from one earthquake were 500 times greater than the amount of energy released from another. We want to calculate the difference in magnitude. The equation that represents this problem is \(10^x=500\text{,}\) where \(x\) represents the difference in magnitudes on the Richter Scale. How would we solve for\(x\text{?}\)

We have not yet learned a method for solving exponential equations. None of the algebraic tools discussed so far is sufficient to solve \(10^x=500\text{.}\) We know that \(10^2=100\) and \(10^3=1000\text{,}\) so it is clear that \(x\) must be some value between 2 and 3, since, as we learned in Section 14.1, \(y=10^x\) is an increasing function.

To find an algebraic solution, we must introduce a new function. To represent \(y\) as a function of \(x\text{,}\) we use a logarithmic function of the form \(y=\mathrm{log}_{b}\left(x\right)\text{.}\) The base \(b\) logarithm of a number is the exponent by which we must raise \(b\) to get that number.

We read a logarithmic expression as, “The logarithm with base \(b\) of \(x\) is equal to \(y\)” or, simplified, “log base \(b\) of \(x\) is \(y\text{.}\)” We can also say, “\(b\) raised to the power of \(y\) is \(x\)” because logs are exponents. For example, the base 2 logarithm of 32 is 5, because 5 is the exponent we must apply to 2 to get 32. Since \(2^5=32\text{,}\) we can write \(\mathrm{log}_{2}32=5\text{.}\) We read this as “log base \(2\) of \(32\) is \(5\text{.}\)”

We can express the relationship between logarithmic form and its corresponding exponential form as follows:

\begin{equation*} \mathrm{log}_{b}\left(x\right)=y\Longleftrightarrow{b}^{y}=x,b>0,b\ne 1 \end{equation*}

Note that the base \(b\) is always positive.

Visual illustration of log base b of x equals y with arrows depicting how to read it.
Figure 14.2.1.

Because a logarithm is a function, it is most correctly written as \(\mathrm{log}_{b}\left(x\right)\text{,}\) using parentheses to denote function evaluation, just as we would with \(f\left(x\right)\text{.}\) However, when the input is a single variable or number, it is common to see the parentheses dropped and the expression written without parentheses, as \(\mathrm{log}_{b}x\text{.}\) Note that many calculators require parentheses around the \(x\text{.}\)

We can illustrate the notation of logarithms as follows:

Visual illustration of log base b of c equals a with arrows depicting how to rewrite it as an exponential equation, as b^a=c.
Figure 14.2.2.
Definition 14.2.3. Logarithmic Function.

A logarithm base \(b\) of a positive number \(x\) satisfies the following definition.

For \(x>0,b>0,b\ne 1\text{,}\)

\begin{equation*} y=\mathrm{log}_{b}\left(x\right)\text{  is equivalent to  }b^y=x \end{equation*}

where,

  • we read \(\mathrm{log}_{b}\left(x\right)\) as, “the logarithm with base \(b\) of \(x\)” or the “log base \(b\) of \(x\)".

  • the logarithm \(y\) is the exponent to which \(b\) must be raised to get \(x\text{.}\)

Also,

  • the domain of the logarithm function with base \(b\) is \(\left(0,\infty \right)\text{.}\)

  • the range of the logarithm function with base \(b\) is \(\left(-\infty ,\infty \right)\text{.}\)

The following diagram may help you identify the base and exponent when converting between exponential and logarithmic forms of an equation:

Diagram of exponential equation versus logarithmic equation, pointing out the base and exponent in each.
Figure 14.2.4.
  1. Examine the equation \(y=\mathrm{log}_{b}\left(x\right)\) and identify \(b\text{,}\) \(y\text{,}\) and \(x\text{.}\)

  2. Rewrite \(\mathrm{log}_{b}\left(x\right)=y\) as \(b^y=x\text{.}\)

Example 14.2.5. Converting from Logarithmic Form to Exponential Form.

Write the following logarithmic equations in exponential form.

  1. \(\displaystyle \mathrm{log}_{6}\left(\sqrt{6}\right)=\frac{1}{2}\)

  2. \(\displaystyle \mathrm{log}_{3}\left(9\right)=2\)

Explanation

First, identify the values of \(b\text{,}\) \(y\text{,}\) and, \(x\text{.}\) Then, write the equation in the form \(b^y=x\text{.}\)

  1. \(\mathrm{log}_{6}\left(\sqrt{6}\right)=\frac{1}{2}\)

    Here, \(b=6\text{,}\) \(y=\frac{1}{2}\text{,}\) and \(x=\sqrt{6}\text{.}\) Therefore, the equivalent exponential equation is \(6^{\frac{1}{2}}=\sqrt{6}\text{.}\)

  2. \(\mathrm{log}_{3}\left(9\right)=2\)

    Here, \(b=3\text{,}\) \(y=2\text{,}\) and \(x=9\text{.}\) Therefore, the equation \(\mathrm{log}_{3}\left(9\right)=2\) is equivalent to \(3^2=9\text{.}\)

Subsection 14.2.2 Converting from Exponential to Logarithmic Form

To convert from exponents to logarithms, we follow the same steps in reverse. We identify the base \(b\text{,}\) exponent \(y\text{,}\) and output \(x\text{.}\) Then, we write \(y=\mathrm{log}_{b}\left(x\right)\text{.}\)

Example 14.2.6. Converting from Exponential Form to Logarithmic Form.

Write the following exponential equations in logarithmic form.

  1. \(\displaystyle 2^3=8\)

  2. \(\displaystyle 5^2=25\)

  3. \(\displaystyle 10^{-4}=\frac{1}{10{,}000}\)

Explanation

First, identify the values of \(b\text{,}\) \(y\text{,}\) and \(x\text{.}\) Then, write the equation in the form \(y=\mathrm{log}_{b}\left(x\right)\text{.}\)

  1. \(2^3=8\)

    Here, \(b=2\text{,}\) \(y=3\text{,}\) and \(x=8\text{.}\) Therefore, the equation \(2^3=8\) is equivalent to\(\mathrm{log}_{2}\left(8\right)=3\text{.}\)

  2. \(5^2=25\)

    Here, \(b=5\text{,}\) \(y=2\text{,}\) and\(x=25\text{.}\) Therefore, the equation \(5^2=25\) is equivalent to \(\mathrm{log}_{5}\left(25\right)=2\text{.}\)

  3. \(10^{-4}=\frac{1}{10{,}000}\)

    Here, \(b=10\text{,}\) \(y=-4\text{,}\) and \(x=\frac{1}{10{,}000}\text{.}\) Therefore, the equation \(10^{-4}=\frac{1}{10{,}000}\) is equivalent to \(\mathrm{log}_{10}\left(\frac{1}{10{,}000}\right)=-4\text{.}\)

Checkpoint 14.2.7.

Write the following exponential equations in logarithmic form.

  1. \(\displaystyle 3^2=9\)

  2. \(\displaystyle 5^3=125\)

  3. \(\displaystyle 2^{-1}=\frac{1}{2}\)

Explanation
  1. \(\displaystyle \mathrm{log}_{3}\left(9\right)=2\)

  2. \(\displaystyle \mathrm{log}_{5}\left(125\right)=3\)

  3. \(\displaystyle \mathrm{log}_{2}\left(\frac{1}{2}\right)=-1\)

Subsection 14.2.3 Evaluating Logarithms

Knowing the squares, cubes, and roots of numbers allows us to evaluate many logarithms mentally. For example, consider \(\mathrm{log}_{2}8\text{.}\) We ask, “To what exponent must \(2\) be raised in order to get 8?” Because we already know \(2^3=8\text{,}\) it follows that \(\mathrm{log}_{2}8=3\text{.}\)

Now consider solving \(\mathrm{log}_{7}49\) and \(\mathrm{log}_{3}27\) mentally.

  • We ask, “To what exponent must 7 be raised in order to get 49?” We know \(7^2=49\text{.}\) Therefore, \(\mathrm{log}_{7}49=2\text{.}\)

  • We ask, “To what exponent must 3 be raised in order to get 27?” We know \(3^3=27\text{.}\) Therefore, \(\mathrm{log}_{3}27=3\text{.}\)

Even some seemingly more complicated logarithms can be evaluated without a calculator. For example, let’s evaluate \(\mathrm{log}_{\frac{2}{3}}\frac{4}{9}\) mentally.

  • We ask, “To what exponent must \(\frac{2}{3}\) be raised in order to get \(\frac{4}{9}\text{?}\)” We know \(2^2=4\) and \(3^2=9\text{,}\) so \(\left(\frac{2}{3}\right)^2=\frac{4}{9}\text{.}\) Therefore, \(\mathrm{log}_{\frac{2}{3}}\left(\frac{4}{9}\right)=2\text{.}\)

Example 14.2.8. Solving Logarithms Mentally.

Solve \(y=\mathrm{log}_{4}\left(64\right)\) without using a calculator.

Explanation

First we rewrite the logarithm in exponential form: \(4^y=64\text{.}\) Next, we ask, “To what exponent must 4 be raised in order to get 64?”

Well, we know \(4^3=64\text{.}\) Therefore, \(\mathrm{log}_{4}\left(64\right)=3\text{,}\) so \(y=3\text{.}\)

Checkpoint 14.2.9.
Example 14.2.10. Solving the Logarithm of a Reciprocal.

Solve \(y=\mathrm{log}_{3}\left(\frac{1}{27}\right)\) without using a calculator.

Explanation

First we rewrite the logarithm in exponential form: \(3^y=\frac{1}{27}\text{.}\) Next, we ask, “To what exponent must 3 be raised in order to get \(\frac{1}{27}\text{?}\)”

We know \(3^3=27\text{,}\) but what must we do to get the reciprocal \(\frac{1}{27}\text{?}\) Recall from working with exponents that \(b^{-n}=\frac{1}{{b}^{n}}\text{.}\) We use this information to write

\begin{align*} 3^{-3}\amp=\frac{1}{{3}^{3}}\\ \amp=\frac{1}{27} \end{align*}

Therefore, \(y=\mathrm{log}_{3}\left(\frac{1}{27}\right)=-3\text{.}\)

Checkpoint 14.2.11.

Subsection 14.2.4 Using Common Logarithms

Sometimes we may see a logarithm written without a base. In this case, we assume that the base is 10. In other words, the expression \(\mathrm{log}\left(x\right)\) means \(\mathrm{log}_{10}\left(x\right)\text{.}\) We call a base-10 logarithm a common logarithm. Common logarithms are used to measure the Richter Scale mentioned at the beginning of the section. Scales for measuring the brightness of stars and the pH of acids and bases also use common logarithms.

Definition 14.2.12. Common Logarithm.

A common logarithm is a logarithm with base \(10\text{.}\) We write \(\mathrm{log}_{10}\left(x\right)\) simply as \(\mathrm{log}\left(x\right)\text{.}\) The common logarithm of a positive number \(x\) satisfies the following definition.

For \(x>0\text{,}\)

\begin{equation*} y=\mathrm{log}\left(x\right)\text{ is equivalent to }10^y=x \end{equation*}

We read \(\mathrm{log}\left(x\right)\) as, “the logarithm with base \(10\) of \(x\)” or “log base \(10\) of \(x\text{.}\)”

Example 14.2.13. Converting from Common Logarithmic Form to Exponential Form.

Write the following logarithmic equations in exponential form.

  1. \(\displaystyle \mathrm{log}\left(\sqrt{10}\right)=\frac{1}{2}\)

  2. \(\displaystyle \mathrm{log}\left(100\right)=2\)

Explanation

First, identify the values of \(b\text{,}\) \(y\text{,}\) and \(x\text{.}\) Then, write the equation in the form \(b^y=x\text{.}\)

  1. \(\mathrm{log}\left(\sqrt{10}\right)=\frac{1}{2}\)

    Here, \(b=10\text{,}\) \(y=\frac{1}{2}\text{,}\) and \(x=\sqrt{10}\text{.}\) Therefore, the equation \(\mathrm{log}\left(\sqrt{10}\right)=\frac{1}{2}\) is equivalent to \(10^{\frac{1}{2}}=\sqrt{10}\text{.}\)

  2. \(\mathrm{log}\left(100\right)=2\)

    Here, \(b=10\text{,}\) \(y=2\text{,}\) and \(x=100\text{.}\) Therefore, the equation \(\mathrm{log}\left(100\right)=2\) is equivalent to \(10^2=100\text{.}\)

List 14.2.14. How To Solve a Common Logarithmc Equation Mentally

Given a common logarithmic equation with the form \(y=\mathrm{log}\left(x\right)\text{,}\) to solve it mentally do the following:

  1. Rewrite the argument \(x\) as a power of \(10\text{:}\) \(10^y=x\text{.}\) (Note: if you're given an expression instead, like \(\mathrm{log}\left(x\right)\text{,}\) then set it equal to \(y\) to get the equation into log form first.)

  2. Use previous knowledge of powers of \(10\) to identify \(y\) by asking, "To what exponent must \(10\) be raised in order to get \(x\text{?}\)"

Example 14.2.15. Finding the Value of a Common Logarithm Mentally.

Solve \(y=\mathrm{log}\left(1000\right)\) without using a calculator.

Explanation

First we rewrite the logarithm in exponential form: \(10^y=1000\text{.}\) Next, we ask, “To what exponent must \(10\) be raised in order to get \(1000\text{?}\)” We know \(10^3=1000\text{.}\) Therefore, \(y=\mathrm{log}\left(1000\right)=3\text{.}\)

Checkpoint 14.2.16.
List 14.2.17. How To Evaluate a Common Logarithmc Expression Using a Calculator

Given a common logarithmic expression with the form \(\mathrm{log}\left(x\right)\text{,}\) to evaluate it using the calculator do the following:

  1. Press LOG.

  2. Enter the value given for \(x\) followed by a closing parenthesis ")".

  3. Press ENTER or the equals sign button, \(=\text{.}\)

Example 14.2.18. Finding the Value of a Common Logarithm Using a Calculator.

Evaluate \(\mathrm{log}\left(321\right)\text{,}\) using a calculator, and round to four decimal places.

Explanation
  • Press [LOG].

  • Enter \(321\text{,}\) followed by ")".

  • Press [ENTER] or the equals sign button, \(=\text{.}\)

Rounding to four decimal places, \(\mathrm{log}\left(321\right)\approx 2.5065\text{.}\)

Note that \(10^2=100\) and \(10^3=1000\text{.}\) Since \(321\) is between \(100\) and \(1000\text{,}\) we know that \(\mathrm{log}\left(321\right)\) must be between \(\mathrm{log}\left(100\right)=2\) and \(\mathrm{log}\left(1000\right)=3\text{.}\) So our answer of \(\approx 2.5065\) indeed seems reasonable.

Checkpoint 14.2.19.
Example 14.2.20. Rewriting and Solving a Real-World Exponential Model.

The amount of energy released from one earthquake was 500 times greater than the amount of energy released from another. The equation \(10^x=500\) represents this situation, where \(x\) is the difference in magnitudes on the Richter Scale. To the nearest thousandth, what was the difference in magnitudes?

Explanation

We begin by rewriting the exponential equation in logarithmic form, using the definition of the common logarithm.

\begin{align*} 10^x\amp=500\\ \mathrm{log}\left(500\right)\amp=x \end{align*}

Next we evaluate the logarithm using a calculator:

  • Press [LOG].

  • Enter \(500\) followed by “)”.

  • Press [ENTER] or the equals sign button, \(=\text{.}\)

  • To the nearest thousandth, \(\mathrm{log}\left(500\right)\approx 2.699\text{.}\)

The difference in magnitudes was about \(2.699\text{.}\)

Checkpoint 14.2.21.

Subsection 14.2.5 Using Natural Logarithms

The most frequently used base for logarithms is \(e\text{.}\) Base \(e\) logarithms are important in calculus and many scientific applications; they are called natural logarithms. The base \(e\) logarithm, \(\mathrm{log}_{e}\left(x\right)\text{,}\) has its own shorthand notation, \(\mathrm{ln}\left(x\right)\text{.}\)

Most values of \(\mathrm{ln}\left(x\right)\) can be found only using a calculator. The major exception is that, because the logarithm of 1 is always 0 for any base, \(\mathrm{ln}1=0\text{.}\) For other natural logarithms, we can use the \(\mathrm{ln}\) key that can be found on most scientific calculators. We can also find the natural logarithm of any power of \(e\) using what we've learned so far about the relationship between logarithm and exponential equations.

Definition 14.2.22. Natural Logarithm.

A natural logarithm is a logarithm with base \(e\text{.}\) We write \(\mathrm{log}_{e}\left(x\right)\) simply as \(\mathrm{ln}\left(x\right)\text{.}\) The natural logarithm of a positive number \(x\) satisfies the following definition.

For \(x>0\text{,}\)

\begin{equation*} y=\mathrm{ln}\left(x\right)\text{ is equivalent to }{e}^{y}=x \end{equation*}

We read \(\mathrm{ln}\left(x\right)\) as, “the logarithm with base \(e\) of \(x\)” or “the natural logarithm of \(x\text{.}\)”

The natural logarithm \(y\) is the exponent to which \(e\) must be raised to get \(x\text{.}\)

Example 14.2.23. Converting from Natural Logarithmic Form to Exponential Form.

Write the following logarithmic equations in exponential form.

  1. \(\displaystyle \mathrm{ln}\left(M\right)=\frac{1}{2}\)

  2. \(\displaystyle \mathrm{ln}\left(95\right)=K\)

Explanation

First, identify the values of \(b\text{,}\) \(y\text{,}\) and \(x\text{.}\) Then, write the equation in the form \(b^y=x\text{.}\)

  1. \(\mathrm{ln}\left(M\right)=\frac{1}{2}\)

    Here, \(b=e\text{,}\) \(y=\frac{1}{2}\) and \(x=M\text{.}\) Therefore, the equation \(\mathrm{ln}\left(M\right)=\frac{1}{2}\) is equivalent to \(e^{\frac{1}{2}}=M\text{.}\)

  2. \(\mathrm{ln}\left(95\right)=K\)

    Here, \(b=e\text{,}\) \(y=K\text{,}\) and \(x=95\text{.}\) Therefore, the equation \(\mathrm{ln}\left(95\right)=K\) is equivalent to \(e^K=95\text{.}\)

List 14.2.24. How to Evaluate a Natural Logarithm Using a Calculator

Given a natural logarithmic expression with the form \(\mathrm{ln}\left(x\right)\text{,}\) to solve it using the calculator do the following:

  1. Press LN.

  2. Enter the value given for \(x\) followed by a closing parenthesis ")".

  3. Press ENTER or the equals sign button, \(=\text{.}\)

Example 14.2.25. Evaluating a Natural Logarithm Using a Calculator.

Evaluate \(\mathrm{ln}\left(500\right)\text{,}\) using a calculator, and round to four decimal places.

Explanation
  • Press [LN].

  • Enter \(500\text{,}\) followed by “)”.

  • Press ENTER or the equals sign button, \(=\text{.}\)

Rounding to four decimal places, \(\mathrm{ln}\left(500\right)\approx 6.2146\)

Checkpoint 14.2.26.

Exercises 14.2.6 Exercises

For the following exercises, rewrite each equation in exponential form.

1.

\({\mathrm{log}}_{5}\left(m\right)=n\)

2.

\({\mathrm{log}}_{4}\left(q\right)=m\)

3.

\({\mathrm{log}}_{a}\left(b\right)=c\)

4.

\({\mathrm{log}}_{16}\left(y\right)=x\)

5.

\({\mathrm{log}}_{x}\left(64\right)=y\)

6.

\({\mathrm{log}}_{y}\left(x\right)=-11\)

7.

\({\mathrm{log}}_{15}\left(a\right)=b\)

8.

\({\mathrm{log}}_{y}\left(137\right)=x\)

9.

\({\mathrm{log}}_{13}\left(142\right)=a\)

10.

\(\mathrm{log}\left(v\right)=t\)

11.

\(\mathrm{ln}\left(w\right)=n\)

For the following exercises, rewrite each equation in logarithmic form.

12.

\({4}^{x}=y\)

13.

\({c}^{d}=k\)

14.

\({m}^{-7}=n\)

15.

\({19}^{x}=y\)

16.

\({x}^{-\frac{10}{13}}=y\)

17.

\({n}^{4}=103\)

18.

\({\left(\frac{7}{5}\right)}^{m}=n\)

19.

\({y}^{x}=\frac{39}{100}\)

20.

\({10}^{a}=b\)

21.

\({e}^{k}=h\)

For the following exercises, use the definition of common and natural logarithms to simplify.

22.

\(\mathrm{log}\left({100}^{8}\right)\)

23.

\(\mathrm{log}\left({10}^{32}\right)\)

24.

\(2\mathrm{log}\left(.0001\right)\)

25.

\(\mathrm{ln}\left({e}^{1.06}\right)\)

For the following exercises, evaluate the logarithmic expression without using a calculator.

26.

\({\mathrm{log}}_{3}\left(\frac{1}{27}\right)\)

27.

\({\mathrm{log}}_{6}\left(\sqrt{6}\right)\)

28.

\({\mathrm{log}}_{2}\left(\frac{1}{8}\right)+4\)

29.

\(6{\mathrm{log}}_{8}\left(4\right)\)

30.

\(\mathrm{log}\left(10\,000\right)\)

31.

\(\mathrm{log}\left(0.001\right)\)

32.

\(\mathrm{log}\left(1\right)+7\)

33.

\(2\mathrm{log}\left({100}^{-3}\right)\)

34.

\(\mathrm{ln}\left({e}^{\frac{1}{3}}\right)\)

35.

\(\mathrm{ln}\left(1\right)\)

36.

\(\mathrm{ln}\left({e}^{-0.225}\right)\)

37.

\(25\mathrm{ln}\left({e}^{\frac{2}{5}}\right)\)

For the following exercises, evaluate each expression using a calculator. Round to the nearest thousandth.

38.

\(\mathrm{log}\left(0.04\right)\)

39.

\(\mathrm{ln}\left(15\right)\)

40.

\(\mathrm{ln}\left(\frac{4}{5}\right)\)

41.

\(\text{log}\left(\sqrt{2}\right)\)

42.

\(\mathrm{ln}\left(\sqrt{2}\right)\)

Extensions
43.

Is \(x=0\) in the domain of the function \(f\left(x\right)=\mathrm{log}\left(x\right)\text{?}\) If so, what is the value of the function when \(x=0\text{?}\) Verify the result.

44.

Is \(f\left(x\right)=0\) in the range of the function \(f\left(x\right)=\mathrm{log}\left(x\right)\text{?}\) If so, for what value of \(x\text{?}\) Verify the result.

45.

Is there a number \(x\) such that \(\mathrm{ln}x=2?\) If so, what is that number? Verify the result.

Real-World Applications
46.

The exposure index \(EI\) for a 35 millimeter camera is a measurement of the amount of light that hits the film. It is determined by the equation \(EI={\mathrm{log}}_{2}\left(\frac{{f}^{2}}{t}\right)\text{,}\) where \(f\) is the “f-stop” setting on the camera, and \(t\) is the exposure time in seconds. Suppose the f-stop setting is \(8\) and the desired exposure time is \(2\)seconds. What will the resulting exposure index be?

47.

Refer to the previous exercise. Suppose the light meter on a camera indicates an \(EI\) of \(-2\text{,}\) and the desired exposure time is 16 seconds. What should the f-stop setting be?

48.

The intensity levels \(I\) of two earthquakes measured on a seismograph can be compared by the formula \(\mathrm{log}\frac{{I}_{1}}{{I}_{2}}={M}_{1}-{M}_{2}\) where \(M\) is the magnitude given by the Richter Scale. In August 2009, an earthquake of magnitude \(6.2\) hit Honshu, Japan 3 . In March 2011 4 , that same region experienced yet another, more devastating earthquake, this time with a magnitude of \(9.1\text{.}\) How many times greater was the intensity of the 2011 earthquake? Round to the nearest whole number.

This section is adapted from "Logarithmic Functions" 5  by Wendy Lightheart, OpenStax CNX, which is licensed under CC BY 4.0 6 / A derivative from the original work "Logarithmic Functions" 7  by OpenStax, OpenStax CNX.