5.2 Log Functions
Logarithmic Functions
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.
It’s possible to rewrite exponential functions in a logarithmic format and vice versa.
Logarithm Equivalent to an Exponential
The logarithm (base
This means the statement
Properties of Logs: Inverse Properties
Example 1
Write these exponential equations as logarithmic equations:
is equivalent to . is equivalent to . is equivalent to .
Example 2
Solve
By rewriting this expression as a logarithm, we get
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
The natural log is the logarithm with base
Example 3
Evaluate
To evaluate
From this, we might recognize that 1000 is the cube of 10, so
We also can use the inverse property of logs to write
Number | Number as exponential | log(number) |
---|---|---|
1000 | 3 | |
100 | 2 | |
10 | 1 | |
1 | 0 | |
0.1 | -1 | |
0.01 | -2 | |
0.001 | -3 |
Example 4
Evaluate
Using a computer or calculator, we can evaluate and find that
Another property provides the basis for solving exponential equations.
Properties of Logs: Exponent Property
Solving exponential equations:
- Isolate the exponential expressions when possible.
- Take the logarithm of both sides.
- Utilize the exponent property for logarithms to pull the variable out of the exponent.
- Use algebra to solve for the variable.
Example 5
In the last section, we predicted the population (in billions) of India
We need to solve for the
Equation | Explanation |
---|---|
Initial equation. | |
Divide by 1.14 to isolate the exponential expression. | |
Take the logarithm of both sides of the equation. | |
Apply the exponent property on the right side. | |
Divide both sides by |
|
– |
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 6
Solve
First we divide by 5 to isolate the exponential:
Since this equation involves
Equation | Explanation |
---|---|
Take the natural log of both sides. | |
Utilizing the inverse property for logs. | |
Now dividing by -0.3. | |
– |
In addition to solving exponential equations, logarithmic expressions are common in many physical situations.
Example 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,
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.
To answer the first question, we evaluate the expression
To answer the second question, we need to solve the equation
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
- The graph has a horizontal intercept at (1, 0).
- The graph has a vertical asymptote at
. - The graph is increasing and concave down.
- The domain of the function is
, or in interval notation. - The range of the function is all real numbers, or
in interval notation.
When sketching a general logarithm with base
To get a feeling for how the base affects the shape of the graph, examine the graphs below:

Another important observation made was the domain of the logarithm:
Example 8
Find the domain of the function
The logarithm is only defined when the input is positive, so this function will only be defined when
The domain of this function is