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

5.3: Logarithms and Logarithmic Functions

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

Learning Objectives

In this section you will learn to:

  • Write equivalent logarithmic and exponential expressions.
  • Evaluate logs.
  • Use properties of logs to solve exponential equations.

Prerequisite Skills

Before you get started, take this prerequisite quiz.

1. Use patterns to simplify each exponent without the use of a calculator.

a. 43

b. 42

c. 41

d. 40

e. 41

f. 42

g. 43

Click here to check your answer

a. 43=64

b. 42=16

c. 41=4

d. 40=1

e. 41=14

f. 42=116

g. 43=164

If you missed this problem, review here. (Note that this will open a YouTube video in a new window.)

 

2. Simplify each expression.

a. 412

b. 912

Click here to check your answer

a. 412=4=2

b. 912=9=3

If you missed this problem, review here. (Note that this will open a different textbook in a new window.)

 

3. What can "easily" be determined about x in each equation?

a. 4x=4

b. 4x=8

c. 4x=16

Click here to check your answer

a. x=1

b. Since 8 is between 4 and 16, this means x must be between 1 and 2.

c. x=2

If you missed this problem, review here. (Note that this will open a different textbook in a new window.)

The Logarithm

Suppose that a population of 50 flies is expected to double every week, leading to a function of the form f(x)=50(2)x, where x represents the number of weeks that have passed. When will this population reach 500?

Trying to solve this problem leads to

500=50(2)x

Dividing both sides by 50 to isolate the exponential leads to

10=2x.

While we have set up exponential models and used them to make predictions, you may have noticed that solving exponential equations has not yet been mentioned. The reason is simple: none of the algebraic tools discussed so far are sufficient to solve exponential equations. Consider the equation 2x = 10 above. We know that 23 = 8 and 24 = 16, so it is clear that x must be some value between 3 and 4 since g(x) = 2x is increasing. We could use technology to create a table of values or graph to better estimate the solution, but we would like to find an algebraic way to solve the equation.

We need an inverse operation to exponentiation in order to solve for the variable if the variable is in the exponent. The inverse function for an exponential function is a logarithmic function.

 

Logarithm

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

y=logb(x) is equivalent to by=x

In general, the statement ba=c is equivalent to the statement logb(c)=a.

Note: The base b must be positive: b>0

Inverse Property of Logarithms

Since the logarithm and exponential are inverses, it follows that:

logb(bx) and blogb(x)=x

Since log is a function, it is most correctly written as logb (c), using parentheses to denote function evaluation, just as we would with f(c). However, when the input is a single variable or number, it is common to see the parentheses dropped and the expression written as logb c.

Example 5.3.1

Write these exponential equations as logarithmic equations:

  1. 23 = 8
  2. 52 = 25
  3. 103=11000

Solution

a. 23 = 8 can be written as a logarithmic equation as log2 (8) = 3

b. 52 = 25 can be written as a logarithmic equation as log5 (25) = 2

c. 103=11000 can be written as a logarithmic equation as log10(11000)=3

Example 5.3.2

Write these logarithmic equations as exponential equations:

  1. log7(49)=2
  2. log3(81)=4

Solution

  1. log7(49)=2 can be written as an exponential equation as 72=49
  2. log3(81)=4 can be written as an exponential equation as 34=81

By establishing the relationship between exponential and logarithmic functions, we can now solve basic logarithmic and exponential equations by rewriting.

Example 5.3.3

Use the definition of logs to solve log4 (x) = 2 for x.

Solution

By rewriting this expression as an exponential, 42 = x, so x = 16

Example 5.3.4

Use the definition of logs to solve 2x = 10 for x.

Solution

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

While this does define a solution, 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 that calculators and computers are quite adept at. Unluckily for us, most calculators and computers will only evaluate logarithms of two bases: base 10 and base e. Happily, this ends up not being a problem, as we’ll see soon that we can use a “change of base” formula to evaluate logarithms for other bases.

Common and Natural Logarithms

The common log is the logarithm with base 10, and is typically written log(x) and sometimes like log10(x). If the base is not indicated in the log function, then the base b used is b=10.

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

Note that for any other base b, other than 10, the base must be indicated in the notation logb(x).

Example 5.3.5

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

Solution

The table shows 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

10-1

-1

0.01

10-2

-2

0.001

10-3

-3

To evaluate log(100), we can say

x=log(100)

Then rewrite the equation in exponential form using the common log base of 10

10x=100

From this, we might recognize that 100 is the square of 10, so

x=2

Alternatively, we can use the inverse property of logs to write

log10(102)=2

Example 5.3.6

Evaluate log(11,000) using the definition of the common log.

Solution

To evaluate log(1/1,000), we can say

x=log(1/1,000)=log(1/103)=log(103)

Then rewrite the equation in exponential form: 10x=103

Therefore x=3

Alternatively, we can use the inverse property of logs to find the answer:

log10(103)=3

Example 5.3.7

Evaluate each expression using the definition of the natural log.

  1. lne
  2. lne5

Solution

a. To evaluate lne, we can say

x=lne

Then rewrite into exponential form using the natural log base of e

ex=e

Notice that there isn't an exponent shown on the right side, so the exponent must be 1.

ex=e1

Therefore x=1.

It is a good idea to remember that lne=1.

b. To evaluate lne5, we can say

x=lne5

Then rewrite into exponential form using the natural log base of e

ex=e5

Therefore x=5.

Alternatively, we can use the inverse property of logs to write ln(e5)=5.

Example 5.3.8

Evaluate the following using your calculator:

  1. log500
  2. ln500

Solution

a. Using the LOG key on the calculator to evaluate logarithms in base 10, we evaluate LOG(500)

Answer: log5002.69897

b. Using the LN key on the calculator to evaluate natural logarithms, we evaluate LN(500)

Answer: ln5006.214608

Using Properties of Logarithms to Solve Exponential Equations

We often need to evaluate logarithms using a base other than 10 or e. To find a way to utilize the common or natural logarithm functions to evaluate expressions like log2(10), we need some additional properties.

Properties of Logs: Change of Base

logb(A)=logc(A)logc(b) for any bases b,c>0

The change of base property allows us to easily convert logarithms into base 10 or base e.

Properties of Logs: One-to-One Property of Logarithms

C=Dif and only iflogb(C)=logb(D)

The one-to-one property of logs allows us to take the logarithm of both sides of an equation.

Properties of Logs: Power Property

logb(Aq)=qlogb(A)

The power property allows us to move a variable out of an exponent.  When used in conjunction with the one-to-one property of logs, this becomes a convenient way to isolate the variable when it is in the exponent.

Evaluating Logarithms

Example 5.3.9

Evaluate log5(100) using the change of base formula.

Solution

We can rewrite this expression using any other base.

Method 1: We can use natural logarithm base e with the change of base formula

log5(100)=ln(100)ln(5)=LN(100)/LN(5)2.861

Method 2: We can use common logarithm base 10 with the change of base formula,

log5(100)=log(100)log(5)=LOG(100)/LOG(5)2.861

With the change of base formula, logb(A)=logc(A)logc(b) for any bases b, c>0, we can finally find a decimal approximation to our question from the beginning of the section.

Example 5.3.10

Solve 2x=10 for x.

Solution

Method 1: Use the definition of logarithms, followed by the change of base formula.

2x=10

Use the definition of logarithms to rewrite the exponential equation as a logarithmic equation:

x=log2(10)

Using the change of base formula, we can rewrite log base 2 as a logarithm of any other base. Since our calculators can evaluate natural log, one option is to choose to use the natural logarithm, which is the log base e:

Using our calculators to evaluate this, ln(10)ln(2)=LN(10)/LN(2)3.3219

 

Method 2: Use the one-to-one property of logarithms, followed by the power property, to isolate the exponent.

2x=10

Use the one-to-one property of logarithms to take the logarithm of both sides of the equation. 

log(2x)=log(10)

Apply the power property to move the exponent out of the logarithm.

xlog(2)=log(10)

Divide both sides by log(2) to isolate the variable.

x=log(10)log(2)3.3219

 

This finally allows us to answer our original question from the beginning of this section:
For the population of 50 flies that doubles every week, it will take approximately 3.32 weeks to grow to 500 flies.

Example 5.3.11

Solve 2(3)5x=24 for x by using the one-to-one property of logs.

Solution

First, isolate the exponential expression by dividing both sides by 2.

2(3)5x=24

35x=12

Then use the one-to-one property of logarithms to take the logarithm of both sides of the equation. 

log(35x)=log(12)

Apply the power property to move the exponent out of the logarithm.

5xlog(3)=log(12)

The x is multiplied by both the 5 and the log(3), so divide both sides by 5log(3) to isolate the variable.

x=log(12)5log(3)0.4524

 

 

We summarize the relationship between exponential and logarithmic functions

Logarithms

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

y=logb(x) is equivalent to by=x

In general, the statement ba=c is equivalent to the statement logb(c)=a.

Note: The base b must be positive: b>0

Inverse Property of Logarithms

Since the logarithm and exponential are inverses, it follows that:

logb(bx) and blogb(x)=x

Properties of Logs: Exponential Property: logb(Aq)=qlogb(A)

Properties of Logs: Change of Base: logb(A)=logc(A)logc(b) for any base b,c>0

The inverse, exponential, and change of base properties above will allow us to solve the equations that arise in this course.

For the sake of completeness, we state a few more properties of logarithms here.

Sum of Logs Property: logb(A)+logb(C)=logb(AC)

Difference of Logs Property: logb(A)logb(C)=logb(AC)

Power Property of Logs: logb(An)=nlogb(A)

Logs of Reciprocals: logb(1C)=logb(C)

Reciprocal Bases: log1/bC=logb(C)

Source: The material in this section of the textbook originates from David Lippman and Melonie Rasmussen, Open Text Bookstore, Precalculus: An Investigation of Functions, “Chapter 4: Exponential and Logarithmic Functions,” licensed under a Creative Commons CC BY-SA 3.0 license. The material here is based on material contained in that textbook but has been modified by Roberta Bloom, as permitted under this license.


This page titled 5.3: Logarithms and Logarithmic Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?