Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

1.8: Logarithmic Functions

( \newcommand{\kernel}{\mathrm{null}\,}\)

Logarithms are the inverse of exponential functions – they allow us to undo exponential functions and solve for the exponent. They are also commonly used to express quantities that vary widely in size.

Logarithm Equivalent to an Exponential

The logarithm (base b) function, written logb(x), is the inverse of the exponential function (base b), bx.

This means the statement ba=c is equivalent to the statement logb(c)=a.

Properties of Logs: Inverse Properties

  • logb(bx)=x
  • blogb(x)=x

Example 1.8.1

Write these exponential equations as logarithmic equations:

  1. 23=8
  2. 52=25
  3. 104=110000

Solution

  1. 23=8 is equivalent to log2(8)=3.
  2. 52=25 is equivalent to log5(25)=2.
  3. 104=110000 is equivalent to log10(110000)=4.

Example 1.8.2

Solve 2x=10 for x.

Solution

By rewriting this expression as a logarithm, we get x=log2(10).

While this does define a solution, and an exact solution at that, you may find it somewhat unsatisfying since it is difficult to compare this expression to the decimal estimate we made earlier. Also, giving an exact expression for a solution is not always useful–often we really need a decimal approximation to the solution. Luckily, this is a task calculators and computers are quite adept at. Unluckily for us, most calculators and computers will only evaluate logarithms of two bases. Happily, this ends up not being a problem, as we’ll see briefly.

Common and Natural Logarithms

The common log is the logarithm with base 10, and is typically written log(x).

The natural log is the logarithm with base e, and is typically written ln(x).

Example 1.8.3

Evaluate log(1000) using the definition of the common log.

Solution

To evaluate log(1000), we can say x=log(1000), then rewrite into exponential form using the common log base of 10:10x=1000.

From this, we might recognize that 1000 is the cube of 10, so x=3.

We also can use the inverse property of logs to write log10(103)=3.

Values of the common log
Number Number as exponential log(number)
1000 103 3
100 102 2
10 101 1
1 100 0
0.1 101 -1
0.01 102 -2
0.001 103 -3

Example 1.8.4

Evaluate log(500) using you calculator or computer.

Solution

Using a computer or calculator, we can evaluate and find that log(500)2.69897.

Another property provides the basis for solving exponential equations.

Properties of Logs: Exponent Property

logb(Ar)=rlogb(A)

Solving exponential equations:

  1. Isolate the exponential expressions when possible.
  2. Take the logarithm of both sides.
  3. Utilize the exponent property for logarithms to pull the variable out of the exponent.
  4. Use algebra to solve for the variable.

Example 1.8.5

In the last section, we predicted the population (in billions) of India t years after 2008 by using the function f(t)=1.14(1+0.0134)t. If the population continues following this trend, when will the population reach 2 billion?

Solution

We need to solve for the t so that f(t)=2

2=1.14(1.0134)t Initial equation.
21.14=1.0134t Divide by 1.14 to isolate the exponential expression.
ln(21.14)=ln(1.0134t) Take the logarithm of both sides of the equation.
ln(21.14)=tln(1.0134) Apply the exponent property on the right side.
t=ln(21.14)ln(1.0134) Divide both sides by ln(1.0134)
t42.23 years  

If this growth rate continues, the model predicts the population of India will reach 2 billion about 42 years after 2008, or approximately in the year 2050.

Example 1.8.6

Solve 5e0.3t=2 for t.

Solution

First we divide by 5 to isolate the exponential: e0.3t=25.

Since this equation involves e, it makes sense to use the natural log:

ln(e0.3t)=ln(25) Take the natural log of both sides.
0.3t=ln(25) Utilizing the inverse property for logs.
t=ln(25)0.3 Now dividing by -0.3.
t3.054  

In addition to solving exponential equations, logarithmic expressions are common in many physical situations.

Example 1.8.7

In chemistry, pH is a measure of the acidity or basicity of a liquid. The pH is related to the concentration of hydrogen ions, [H+], measured in moles per liter, by the equationpH=log([H+])

If a liquid has concentration of 0.0001 moles per liter, determine the pH. Determine the hydrogen ion concentration of a liquid with pH of 7.

Solution

To answer the first question, we evaluate the expression log(0.0001). While we could use our calculators for this, we do not really need them here, since we can use the inverse property of logs: log(0.0001)=log(104)=(4)=4.

To answer the second question, we need to solve the equation 7=log([H+]). Begin by isolating the logarithm on one side of the equation by multiplying both sides by -1: 7=log([H+]). Rewriting into exponential form yields the answer: [H+]=107=0.0000001 moles per liter.

While we don't often need to sketch the graph of a logarithm, it is helpful to understand the basic shape.

Graphical Features of the Logarithm

Graphically, given the function g(x)=logb(x).

  • The graph has a horizontal intercept at (1, 0).
  • The graph has a vertical asymptote at x=0.
  • The graph is increasing and concave down.
  • The domain of the function is x>0, or (0,) in interval notation.
  • The range of the function is all real numbers, or (,) in interval notation.

When sketching a general logarithm with base b, it can be helpful to remember that the graph will pass through the points (1,0) and (b,1).

To get a feeling for how the base affects the shape of the graph, examine the graphs below:

1.8.1.PNG

Another important observation made was the domain of the logarithm: x>0. Like the reciprocal and square root functions, the logarithm has a restricted domain which must be considered when finding the domain of a composition involving a log.

Example 1.8.8

Find the domain of the function f(x)=log(52x).

Solution

The logarithm is only defined when the input is positive, so this function will only be defined when 52x>0. Solving this inequality, 2x>5, so x<52.

The domain of this function is x<52, or, in interval notation, (,52).


This page titled 1.8: Logarithmic Functions is shared under a CC BY 3.0 license and was authored, remixed, and/or curated by Shana Calaway, Dale Hoffman, & David Lippman (The OpenTextBookStore) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?