Logarithmic Functions
The logarithmic function is an important medium of math calculations. Logarithms
were discovered in the 16th century by John Napier a Scottish mathematician, scientist,
and astronomer.
The basic logarithmic function is of the form f(x) = log ax (r) or y = logax, where a >
0. It is the inverse of the exponential function a y = x. Log functions include natural
logarithm (ln) or common logarithm (log). Here are some examples of logarithmic
functions:
f(x) = ln (x - 2)
g(x) = log2 (x + 5) – 2
h(x) = 2 log x, etc.
Finding the value of x in the exponential expressions 2 x = 8, 2x = 16 is easy, but
finding the value of x in 2 x = 10 is difficult. Here we can use log functions to transform 2 x
= 10 into logarithmic form as log210 = x and then find the value of x.
Domain and Range of Log Functions
Let us consider the basic (parent) common logarithmic function f(x) = log x (or y =
log x). We know that log x is defined only when x > 0 (try finding log 0, log (-1), log (-
2), etc using your calculator. You will come up with an error). So, the domain is the set
of all positive real numbers. Now, we will observe some of the y-values (outputs) of
the function for different x-values (inputs).
When x = 1, y = log 1 = 0
When x = 2, y = log 2 = 0.3010
When x = 0.2, y = -0.6990
When x = 0.01, y = -2, etc
We can see that y can be either a positive or negative real number (or) it can be zero as
well. Thus, y can take the value of any real number. Hence, the range of a logarithmic function is
the set of all real numbers. Thus:
The domain of log function y = log x is x > 0 (or) (0, ∞).
The range of any log function is the set of all real numbers (R)
Example: Find the domain and range of the logarithmic function f(x) = 2 log (2x - 4) + 5.
Solution:
For finding domain, set the argument of the function greater than 0 and solve for x.
2x - 4 > 0
2x > 4
x>2
Thus, domain = (2, ∞).
As we have seen earlier, the range of any log function is R. So, the range of f(x) is R.
Logarithmic Graph
We have already seen that the domain of the basic logarithmic function y = log a x
is the set of positive real numbers and the range is the set of all real numbers. We know
that the exponential and log functions are inverses of each other and hence their graphs
are symmetric with respect to the line y = x. Also, note that y = 0 when x = 1 as y =
loga1 = 0 for any 'a'. Thus, all such functions have an x-intercept of (1, 0). A
logarithmic function doesn't have a y-intercept as loga0 is not defined.
Summarizing all these, the graphs of exponential functions and logarithmic graph look
like below.
Properties of Logarithmic Graph
a > 0 and a ≠ 1
The logarithmic graph increases when a > 1, and decreases when 0 < a < 1.
The domain is obtained by setting the argument of the function greater than 0.
The range is the set of all real numbers.
Graphing Logarithmic Functions
Before drawing a log function graph, just have an idea of whether you get an increasing
curve or decreasing curve as the answer. If the base > 1, then the curve is increasing; and if 0 <
base < 1, then the curve is decreasing. Here are the steps for graphing logarithmic functions:
Find the domain and range.
Find the vertical asymptote by setting the argument equal to 0. Note that a log function
doesn't have any horizontal asymptote.
Substitute some value of x that makes the argument equal to 1 and use the property
loga 1 = 0. This gives us the x-intercept.
Substitute some value of x that makes the argument equal to the base and use the
property loga a = 1. This would give us a point on the graph.
Join the two points (from the last two steps) and extend the curve on both sides with
respect to the vertical asymptote.
Example: Graph the logarithmic function f(x) = 2 log 3 (x + 1).
Solution:
Here, the base is 3 > 1. So the curve would be increasing.
For domain: x + 1 > 0 ⇒ x > -1. So domain = (-1, ∞).
Range = R.
Vertical asymptote is x = -1.
At x = 0, y = 2 log3 (0 + 1) = 2 log3 1 = 2 (0) = 0
At x = 2, y = 2 log3 (2 + 1)= 2 log3 3 = 2 (1) = 2
Properties of Logarithmic Functions
log ab = log a + log b
loga/b = log a - log b
logba = (logc a)/(logc b) (change of base rule)
logax = x loga
loga 1 = 0
loga a = 1
Examples: Solve each equation
1) log 5x = log (2x + 9)
2) log (−2a + 9) = log (7 − 4a)
3) 2log 7−2r = 0
4) −2log 5 7x = 2
5) −6log 3 (x − 3) = −24
6) log 12 (v 2 + 35) = log 12 (−12v − 1)
7) log x + log 8 = 2
8) log x − log 2 = 1
9) log x + log 7 = log 37
10) ln 2 − ln (3x + 2) = 1
Solving Real-Life Problems Involving Logarithmic Functions, Equations and
Inequalities