What Are Logarithmic Functions?

A logarithmic function is a type of function that is always growing, but very slowly. There are many different logarithmic functions, but the ones you are going to learn in this article are the most common.

The two most common logarithms are the common logarithm, log(x) or lg(x), and the natural logarithm, ln(x).

The functions log(x) and ln(x) work in exactly the same way when it comes to arithmetic, and they follow the same rules. Their graphs are also about the same. The only difference is that log(x) has 10 as its base— that is— 10log x = x, while ln(x) has e as its base, that is, eln x = x. The natural logarithm got its name because it has the “natural” number e as its base.

Theory

Logarithmic Function

The logarithms ln() and log() are functions, so when you take the logarithm of a number (x = a) you will get a y-value.

f(x) = ln(x), x > 0 f(x) = log(x), x > 0

Note! Since the exponential function is always positive, and the logarithmic function is the “opposite” function of the exponential function, it’s not possible to take the logarithm of a number that is negative or zero.

In this figure, you see the graphs of the common logarithm and the natural logarithm. Both intersect the x-axis at x = 1, but ln x grows a little faster than log x.

Graph of the logarithmic fuction ln(x) and log(x) plotted in the same coordinate                                                                                                                                                                                                                                          system

Graph of the logarithmic fuction ln(x) and log(x) plotted in the same coordinate system

Example 1

The magnitude of an earthquake is measured using the Richter scale. This is a logarithmic scale, and the function is given by

R(E) = log E + 1.32 1.44

where E is the energy that is released in kWh, and R is called the Richter magnitude (this is the number you read about in the newspaper when they report the magnitude of the earthquake). The Richter magnitude tells you how strong an earthquake is.

You read in the newspaper one day that an earthquake in Japan released 1.4 109 kWh of energy. You wonder what this corresponds on the Richter scale.

To find the Richter magnitude, you have to insert 1.4 109 for E, and compute the function value:

R (1.4 109) = log (1.4 109) + 1.32 1.44 7.27

R (1.4 109) = log (1.4 109) + 1.32 1.44 7.27

Thus, the magnitude of the earthquake was equal to 7.27 on the Richter scale, which is a pretty strong earthquake!

Want to know more?Sign UpIt's free!