Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

18.3.1: Introduction to Natural and Common Logarithms

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

Learning Objectives
  • Use a calculator to find logarithms or powers of base  e.
  • Graph exponential and logarithmic functions of base  e.
  • Find logarithms to bases other than  e or 10 by using the change of base formula.

Introduction

In both exponential functions and logarithms, any number can be the base. However, there are two bases that are used so frequently that mathematicians have special names for their logarithms, and scientific and graphing calculators include keys specifically for them! These are the common and natural logarithms.

Common Logarithms and  e

A common logarithm is any logarithm with base 10. Recall that our number system is base 10; there are ten digits from 0 through 9, and place value is determined by groups of ten. You can remember a “common logarithm,” then, as any logarithm whose base is our “common” base, 10.

Natural logarithms are different than common logarithms. While the base of a common logarithm is 10, the base of a natural logarithm is the special number  e. Although this looks like a variable, it represents a fixed irrational number approximately equal to 2.718281828459. (Like pi, it continues without a repeating pattern in its digits.)  e is sometimes called Euler′s number or Napier’s constant, and the letter  e was chosen to honor the mathematician Leonhard Euler (pronounced oiler).

 e is a complicated but interesting number. Let’s take a closer look at it through the lens of a formula you have seen before: compound interest.

The formula for compound interest is  A=P(1+rm)mt, where  A is the amount of money after  t years,  P is the principal or initial investment,  r is the annual interest rate (expressed as a decimal, not a percent),  m is the number of compounding periods in a year, and  t is the number of years.

Imagine what happens when the compounding happens frequently. If interest is compounded annually, then  m=1. If compounded monthly, then  m=12. Compounding daily would be represented by  m=365; hourly would be represented by  m=8,760. You can see that as the frequency of the compounding periods increases, the value of  m increases quickly. Imagine the value of  m if interest were compounded each minute or each second!

You can even go more frequently than each second, and eventually get compounding continuously. Look at the values in this table, which looks a lot like the expression multiplied by  P in the above formula. As  x gets greater, the expression more closely resembles continuous compounding.

 x  (1+1x)x
1 2
10 2.59374 ...
100 2.70481 ...
1000 2.71692 ...
10,000 2.71814 ...
100,000 2.71826 ...
1,000,000 2.71828 ...

Notice that although  x is increasing a lot (multiplying by 10 each time!), the value of  (1+1x)x is not increasing wildly. In fact, it is getting closer and closer to 2.718281828459... or the value now called  e.

The function  f(x)=ex has many applications in economics, business, and biology. e is an important number for this reason.

Working with Bases of  e and 10

Scientific and graphing calculators all have keys that help you work with e. Look on your calculator and find one labeled “e” or “exp.” (Some graphing calculators may require you to use a menu to find e. If you can’t see the key, consult your manual or ask your instructor.)

How to evaluate exponential expressions using  e (such as  e3) depends on your calculator. On some calculators, you have to press the  [ex] key first then enter the exponent and press enter. On others you enter the exponent first then press the  [ex] key. It is important that you know how your calculator works. With your calculator, try finding  e3. The result should be 20.0855369... (the number of digits displayed will also depend on your calculator).

Example

Find  e1.5 using a calculator. Round your answer to the nearest hundredth.

Solution
Enter the keystrokes needed for your calculator. If you are having trouble getting the correct answer, consult your manual or instructor.
4.4816890... Calculator result. Then round the answer to the nearest hundredth.
4.48 To see this worked out on a calculator, see the Worked Examples for this topic.

You can find powers of 10 (the common base) in the same way. Some calculators have a  [10] or  [10x] key that you can use to find powers of 10. Another way to find powers of 10 is to use the  [xy] or the  [yx] key that will work with any base (although if you use this method, you will have to key in two numbers: the base, 10, and whatever exponent you are raising it to).

Example

Find  101.5, using a calculator. Round your answer to the nearest hundredth.

Solution
Enter the keystrokes needed for your calculator. If you are having trouble getting the correct answer, consult your manual or instructor.
31.6227766... Calculator result. Then round the answer to the nearest hundredth.
31.62 To see this worked out on a calculator, see the Worked Examples for this topic.

Natural logarithms (using e as the base) and common logarithms (using 10 as the base) are also available on scientific and graphing calculators. When a logarithm is written without a base then you should assume the base is 10. For example:

 log100=log10100=2

Natural logarithms also have their own symbol:  ln.

 ln100=loge100=4.60517

The logarithm keys are often easier to find, but they may work differently from one calculator to the next. Most handheld scientific calculators require you to provide the input first, then press the  [log] (common) or  [ln] (natural) key. Other calculators work in reverse: press the  [log] or  [ln] key, and then provide the input and press [Enter] or [=].

On your calculator, find the common logarithm ( [log] or  [log10]) key and the natural logarithm ( [ln]) key and verify that  ln100=loge100=4.60517

Example

Find  ln3, using a calculator. Round your answer to the nearest hundredth.

Solution

Remember  ln means “natural logarithm,” or  loge.

Enter the keystrokes needed for your calculator. If you are having trouble getting the correct answer, consult your manual or instructor.

1.098612... Calculator result. Then round the answer to the nearest hundredth.
1.10 To see this worked out on a calculator, see the Worked Examples for this topic.
Example

Find  log34, using a calculator. Round your answer to the nearest hundredth.

Solution
Remember, when no base is specified, this is the common logarithm (base 10). Enter the keystrokes needed for your calculator. If you are having trouble getting the correct answer, consult your manual or instructor.
1.5314789... Calculator result. Then round the answer to the nearest hundredth.
1.53 To see this worked out on a calculator, see the Worked Examples for this topic.
Exercise

Use a calculator to find  ln7.

  1. 0.845098...
  2. c
  3. 1096.633...
  4. 10,000,000
Answer
  1. 0.845098...

    Incorrect. You found the value of  log7, that is,  log107. The correct answer is 1.945910...

  2. 0.845098...

    Correct. You correctly identified the keys on your calculator and found the natural  log of 7.

  3. 1096.633...

    Incorrect. You found the value of  e7. The correct answer is 1.945910...

  4. 10,000,000

    Incorrect. You found the value of  107. The correct answer is 1.945910...

Graphing Exponential and Logarithmic Functions of Base  e

Graphing functions with the base  e is no different than graphing other exponential and logarithmic functions: create a table of values, plot the points, and connect them with a smooth curve. You will want to use a calculator when creating the table.

Example

Graph  f(x)=ex.

Solution
 xf(x)20.135310.36780112.718227.3890

Start with a table of values. Don’t forget to choose positive and negative values for  x.

Use a calculator to find the  f(x) values.

 (x,y) pairs (2,0.1353)(1,0.3678)(0,1)(1,2.7182)(2,7.3890) If you think of  f(x), as  y, each row forms an ordered pair that you can plot on a coordinate grid.
Screen Shot 2021-07-16 at 10.47.25 PM.png Plot the points.
Screen Shot 2021-07-16 at 10.48.03 PM.png Connect the points as best you can, using a smooth curve (not a series of straight lines). Use the shape of an exponential graph to help you: the graph gets close to the x-axis on the left, and gets steeper and steeper on the right.

The same process works for logarithmic functions. Choose  x values and use a calculator to find the  y values.

Example

Graph  f(x)=lnx.

Solution
 xf(x)0.12.300.50.6910e151.60102.30 Start with a table of values. If you choose  x values, remember that  x must be greater than 0. Choose values greater than and less than the base (the base and 1 are also good choices for  x values).
 (x,y) pairs (0.1,2.30)(0.5,0.69)(1,0)(e,1)(5,1.60)(10,2.30) If you think of  f(x) as  y, each row forms an ordered pair that you can plot on a coordinate grid.
Screen Shot 2021-07-16 at 10.52.09 PM.png Plot the points.
Screen Shot 2021-07-16 at 10.52.49 PM.png Connect the points as best you can, using a smooth curve (not a series of straight lines). Use the shape of a logarithmic graph to help you: the graph gets close to the y-axis for  x near 0.

Sometimes the inputs to the logarithm, or the exponent on the base, will be more complicated than just a single variable. In those cases, be sure to use the correct input on the calculator.

Note: If your calculator uses the “input last” method for logarithms, either calculate the input separately and write it down, or use parentheses to be sure the correct input is used. For example, when calculating  log(3x) when  x=4, the correct answer is 1.079... . If you don’t use the parentheses, the calculator will find  log3, and multiply that by 4 to get 1.908... .

Example

Graph  f(x)=ln4x.

Solution
 x4xf(x)0.10.40.910.520.69141.383122.4810403.68 Create a table of values. Although everything could be done using the calculator, let’s include a column for the input of the logarithm. This helps you avoid calculator errors.
Screen Shot 2021-07-16 at 10.56.42 PM.png Use the table pairs to plot points. You may want to choose additional values for the table to give a better idea for the entire visible graph.
Screen Shot 2021-07-16 at 10.57.18 PM.png Connect the points as best you can, using a smooth curve.
Exercise

Which of the following is a graph for  f(x)=e0.5x?

  1. Screen Shot 2021-07-16 at 10.59.04 PM.png
  2. Screen Shot 2021-07-16 at 10.59.21 PM.png
  3. Screen Shot 2021-07-16 at 10.59.37 PM.png
  4. Screen Shot 2021-07-16 at 10.59.51 PM.png
Answer
  1. Screen Shot 2021-07-16 at 10.59.04 PM.png
  2. Screen Shot 2021-07-16 at 10.59.21 PM.png
  3. Screen Shot 2021-07-16 at 10.59.37 PM.png
  4. Screen Shot 2021-07-16 at 10.59.51 PM.png

Finding Logarithms of Other Bases

Now you know how to find base 10 and base  e logarithms of any number. What if you wanted to calculate  log736? Converting to an exponential equation, you have  7x=36. You know  71 is 7, and  72 is 49, so you can reason that  x must be between 1 and 2, probably very close to 2. But how close? You don’t have a key for base 7, so you use a Change of Base formula to change the base of a log function to another base.

Change of Base formula

 logbx=logaxlogab

Notice that  a appears as the base in both logarithms on the right side of the formula. For example,  log736=log36log7, using a new base of 10. You could also say  log736=ln36ln7, or even  log736=log36236log3627. Of course, that last one isn’t any easier to calculate than the original expression, but using the  [log] or  [ln] keys on a calculator, you can use  log36log7 or  ln36ln7 to find  log736.

Example

Find  log736.

Solution
 log736=log36log7 Use the Change of Base formula. You can use common logarithms or natural logarithms. For this example, let’s use common logarithms.
 log36log7=1.556300.84509=1.84156 Use the calculator to evaluate the quotient.

 1.84156

If you had used natural logarithms, you would have gotten the same answer:  log736=ln36ln7=3.58351.9459=1.84156

Example

Find  log325.9.

Solution
 log325.9=ln25.9ln3 Use the Change of Base formula. This time, let’s use natural logarithms.
 ln25.9ln3=3.25421.0986=2.9621 Evaluate the quotient.

2.9621

Exercise

Find  log5200.

  1. 40
  2. 0.303...
  3. 3.292...
  4. 2.301...
Answer
  1. 40

    Incorrect. You found the value of  200÷5. The correct answer is 3.292...

  2. 0.303...

    Incorrect. When using the Change of Base formula, the log of the original base is the denominator:  log5200=log200log5=ln200ln5. The correct answer is 3.292...

  3. 3.292...

    Correct.  log5200=log200log5=ln200ln5=3.292

  4. 2.301...

    Incorrect. You found the value of  log200. The correct answer is 3.292...

Summary

Common logarithms (base 10, written  logx without a base) and natural logarithms (base  e, written  lnx) are used often. Scientific and graphing calculators have keys or menu items that allow you to easily find  logx and  lnx, as well as  10x and  ex. Using these keys and the change of base formula, you can find logarithms in any base.


18.3.1: Introduction to Natural and Common Logarithms is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

Support Center

How can we help?