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

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Statistics LibreTexts

1.13: Logarithms

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

Learning Objectives

  • Compute logs using different bases
  • Perform basic arithmetic operations using logs
  • State the relationship between logs and proportional change

The log transformation reduces positive skew. This can be valuable both for making the data more interpretable and for helping to meet the assumptions of inferential statistics.

Basics of Logarithms (Logs)

Logs are, in a sense, the opposite of exponents. Consider the following simple expression:

102=100

Here we can say the base of 10 is raised to the second power. Here is an example of a log:

log10(100)=2

This can be read as: The log base ten of 100 equals 2. The result is the power that the base of 10 has to be raised to in order to equal the value (100). Similarly,

log10(1000)=3

since 10 has to be raised to the third power in order to equal 1,000.

These examples all used base 10, but any base could have been used. There is a base which results in "natural logarithms" and that is called e and equals approximately 2.718. It is beyond the scope here to explain what is "natural" about it. Natural logarithms can be indicated either as: ln(x)orloge(x).

Changing the base of the log changes the result by a multiplicative constant. To convert from log10 to natural logs, you multiply by 2.303. Analogously, to convert in the other direction, you divide by 2.303.

lnX=2.303log10X

Taking the antilog of a number undoes the operation of taking the log. Therefore, since log10(1000)=3, the antilog10 of 3 is 103=1,000. Taking the antilog of a number simply raises the base of the logarithm in question to that number.

Logs and Proportional Change

A series of numbers that increase proportionally will increase in equal amounts when converted to logs. For example, the numbers in the first column of Table 1.13.1
increase by a factor of 1.5 so that each row is 1.5 times as high as the preceding row. The log10 transformed numbers increase in equal steps of 0.176.

Table 1.13.1: Proportional raw changes are equal in log units
Raw Log
4.0 0.602
6.0 0.778
9.0 0.954
13.5 1.130

As another example, if one student increased their score from 100 to 200 while a second student increased theirs from 150 to 300, the percentage change (100%) is the same for both students. The log difference is also the same, as shown below.

Log10(100)=2.000log10(200)=2.301Difference:0.301log10(150)=2.176log10(300)=2.477Difference:0.301

Arithmetic Operations

Rules for logs of products and quotients are shown below.

log(AB)=log(A)+log(B)

log(AB)=log(A)log(B)

For example,

log10(10×100)=log10(10)+log10(100)=1+2=3.

Similarly,

log10(10010)=log10(100)log10(10)=21=1.

Contributors and Attributions

  • Online Statistics Education: A Multimedia Course of Study (http://onlinestatbook.com/). Project Leader: David M. Lane, Rice University.

  • David M. Lane


This page titled 1.13: Logarithms is shared under a Public Domain license and was authored, remixed, and/or curated by David Lane via source content that was edited to the style and standards of the LibreTexts platform.

  • Was this article helpful?

Support Center

How can we help?