Evaluate the following.
- \(e^{\ln (4)} = \answer {4}\)
- \(\ln (e^7) = \answer {7}\)
- \(\ln \left ( \frac {1}{e} \right ) = \answer {-1}\)
\(\log _A(B)\) is pronounced “the logarithm base \(A\) of \(B\)” or “the log base \(A\) of \(B\)” or “the logarithm of \(B\)
base \(A\)”.
\(\log _A(B)\) is the thing you raise \(A\) to, to get \(B\).
this is the magic sentence
Logarithms are exponents. They are the things we raise bases to, to get targeted
outputs. Therefore, to understand logarithms, we should investigate the exponents in
exponential functions.
An example of a basic exponential function is \(E(t) = 2^t\).
Its graph looks like
\(E(t)\) is an increasing function, which means when we select a greater exponent in the domain, then we get a greater function value.
We can see this by evaluating our exponential function with increasing domain numbers:
When we evaluate this exponential function, we know the domain number and we seek its range partner. In this case, we select \(d\) from the domain and we assemble the pair \((d, 2^d)\), where \(2^d\) is the value of the function, \(E(t)\), at \(d\).
Here we are supplying an exponent from the domain and then obtaining a function value for the exponential function. We can look at this process in reverse: we select a function value and we are in search of an exponent that will produce the desired output.
How do we think about \(E(t) = 2^t\) in reverse?
Here, we know the desired value of the function. We seek the domain numbers paired with it. We seek the exponent. We know \(2^d\), we seek the pair \((d, 2^d)\), where \(d\) is the solution to the equation \(E(t) = 2^d\).
\(\bigstar \) Since \(E(t) = 2^t > 0\) for any \(t\), thinking backwards only works if we provide positive function values.
\(2^t\) cannot equal a negative value. \(2^t\) cannot equal \(0\).
\(\bigstar \) For \(E(t) = 2^t\), every positive function value has exactly one associated domain number, one
exponent, one logarithm. (That is eeriely similar to the function rule for pairs in the
exponential function.)
Thinking of an exponential function in reverse sounds like a new function. We call it
a logarithmic function.
The basic logarithmic function just reverses the pairs in the basic exponential function. If \((a, 2^a)\) is a pair in the exponential function, then \((2^a, a)\) is a pair in the logarithmic function.
Therefore, the domains and ranges switch.
It seems weird to write \((2^a, a)\), even though it is perfectly correct. We are supplying values of an exponential function, which look like \(2^a\) and then the value of the logarithmic function is the needed exponent.
Instead, we are used to writing the domain number by a letter, like \(b\), and then the function value as a formula involving \(b\). That’s what we are used to.
We would prefer our pairs in the logarithm function to look like
Logarithmic functions come from the study of logarithms, which is the study of the
exponents, just like we are talking about. This gets shortened to log for notational
purposes.
In our example here, we are working with the base \(2\) exponential function, \(E(t) = 2^t\). So, the reverse is called the logarithm base \(2\). We tack on a subscript \(2\) to the log to remind us of the base.
With this new symbol, we can describe pairs in the logarithmic function and points on its graph like
\(\log _2(b)\) is just the exponent that \(2\) needs to equal \(b\).
\(\blacktriangleright \) Remember: These pairs, \((b, \log _2(b))\), are the reverse of the exponential pairs : \((a, 2^a)\). Therefore, \((b, \log _2(b))\) is
also \((2^c, c)\) for some \(c\).
\(\blacktriangleright \) \(\log _2(b)\) is the exponent, so that \(2^? = b\)
\(\blacktriangleright \) \(\log _2(b)\) is the number that you raise \(2\) to, to get \(b\).
We have a logarithmic function for every exponential function. They are designated by their bases.
\(\log _r(x)\) is the number you raise \(r\) to, to get \(x\).
The domain is \((0, \infty )\).
The range is \((-\infty , \infty )\).
Since all of the pairs of exponential and logarithmic functions are reversed, the graphs switch axes.
The horizontal axis is an asymptote for the graph of a basic exponential function. Switching axes makes the vertical axis an asymptote for the graph of a basic logarithmic function.
The graph of a basic exponential function has \((0,1)\) as an intercept. The graph of a basic logarithmic function has \((1,0)\) as an intercept.
Their graphs are mirror images of each other across the diagonal through quandrants I and III.
From this basic logarithmic function and its graph we can transform and analyze more general logarithmic functions.
Logarithmic functions don’t really have vertically shifted versions. We can talk about a basic logarithm function being shifted.
But, the \(D\) can be explained with additional horizontal transformations, like this...
We know that the range of \(\log _r(x)\) is all real numbers, which includes \(D\). Therefore, there
must be a real number, \(d\), such that \(\log _r(d) = D\).
That gives us
And, we have logarithm rules, which give us
Therefore, we separate exponential and shifted exponential, but we don’t separate logarithmic and shifted logarithmic.
Note: Many times people just speak about exponential functions, and they mean both exponential and shifted exponential.
Analyze \(M(t) = \log _2(t+3) - 4\)
We’ll begin by thinking about the graph to help our analysis.
\(\blacktriangleright \) First, the base is \(2\), which is greater than \(1\).
\(\blacktriangleright \) The inside of the logarithm is \(t+3\) and this equals \(0\) when \(t=-3\). This must be the vertical asymptote.
\(\blacktriangleright \) The inside of the logarithm is \(t+3\), and this is positive for \(t>-3\). The graph must be on the right side of the vertical asymptote.
\(\blacktriangleright \) The leading coefficient of \(M\) is \(1\), which is positive. Therefore, the graph hugs the asymptote down the asymptote.
\(\blacktriangleright \) \(t+3=1\) when \(t=-2\). Therefore, the anchor point \((1,0)\) has moved to \(t = -2\). \(M(-2) = -4\). This gives us the point \((-2, -4)\).
Graph of \(y = M(t)\).
With these ideas, we can write an algebraic analysis.
Domain
The inside of the logarithm is positive on \((-3, \infty )\). Therefore, the domain of \(M\) is \((-3, \infty )\).
Zeros
All logarithmic functions have a single zero. We see that this graph will have a
horizontal intercept around \((11, 0)\).
\(M(t) = \log _2(t+3) - 4 = 0\)
\begin{align*} \log _2(t+3) - 4 & = 0 \\ \log _2(t+3) & = 4 \\ 2^{\log _2(t+3)} & = 2^4 \\ t+3& = 16 \\ t & = 13 \end{align*}
\(\blacktriangleright \) Remember: \(\log _2(t+3)\) is the thing that you raise \(2\) to, to get \(t+3\) and \(\log _2(t+3) = 4\). Therefore, \(4\) is also the thing that you raise \(2\) to, to get \(t+3\). Therefore, \(t+3\) must be \(16\).
Continuity
Logarithmic functions are continuous. That is a property of all logarithmic functions.
End-Behavior
We are comparing back to our choice for a basic basic logarithmic function. If we
chose \(\ln (x)\), then we can inventory the pieces of the formula for \(M\) and compare back to \(\ln (x)\),
which is an increasing function.
The base of \(M\) is \(2 > 1\), so this does not change the behavior. The leading coefficient of \(M\) is \(1\), which is positive, so this does not change the behavior. the leading coefficient of the linear inside is \(1\), which is also positive, so this does not change the behavior.
\(M\) is an increasing function.
End-Behavior
\(M\) is an increasing function on \((-3, \infty )\).
Global Extrema
Logarithmic functions do not have global maximums or minimums.
Local Extrema:
Logarithmic functions do not have local maximums or minimums.
Range:
The range of every logarithmic function is \((-\infty , \infty )\).
In this example, \(M(t)\) is a logarithmic function, so it must have an inverse partner
exponential function. The pairs for \(M\) look like \((t, M(t))\) or just \((t,M)\). The pairs for the exponential
function would look like \((M, t)\). The roles of \(M\) and \(t\) would be switched. \(M\) would be the
variable in the formula. \(t\) would be the function value.
\(M = \log _2(t+3) - 4\) is an equation describing both the logarithmic function, \(M(t)\), and the exponential
function \(t(M)\). We just are used to having the function name by itself on one side of the
equal sign.
We can obtain such a formula for this partner exponential function by solving the logarithmic equation for \(t\).
\begin{align*} \log _2(t+3) - 4 & = M \\ \log _2(t+3) & = M + 4 \\ 2^{\log _2(t+3)} & = 2^{M+4} \\ t+3 & = 2^{M+4} \\ t & = 2^{M+4} - 3 \end{align*}
\(\blacktriangleright \) Remember: \(\log _2(t+3)\) is the thing that you raise \(2\) to, to get \(t+3\) and \(\log _2(t+3) = M+4\). Therefore, \(M+4\) is the thing that you raise \(2\) to, to get \(t+3\)
Here is the graph of both the logarithmic and the associated exponential functions. They are inverses of each other.
Analyze \(K(x) = -2 \, \log _3(4-x)\)
Categorize: \(K(x) = -2 \, \log _3(4-x)\) is a logarithmic function, because it matches out template, \(A \, \log _r(B \, x + C) + D\).
We’ll begin by thinking about the graph to help guide our analysis.
\(\blacktriangleright \) First, the base is \(3\), which is greater than \(1\).
\(\blacktriangleright \) The inside of the logarithm is \(4-x\), and this equals \(0\) when \(x=4\). Therefore, \(x=4\) has to be the vertical asymptote.
\(\blacktriangleright \) The inside of the logarithm is \(4-x\), and this is positive for \(x<4\). The graph must be on the left side of the vertical asymptote.
\(\blacktriangleright \) The leading coefficient is \(-2\), which is negative. Therefore, the graph is flipped vertically horizontally from the basic graph. It goes up the asymptote.
\(\blacktriangleright \) \(4-x=1\) when \(x=3\). Therefore, the anchor point \((1,0)\) has moved to \(\left ( \answer {3}, 0 \right )\).
Graph of \(y = K(x)\).
With these ideas, we can write an algebraic analysis.
Domain
The inside of the logarithm is positive on \((-\infty , 4)\). Therefore, the domain of \(K\) is \((-\infty , 4)\).
Zeros
We see that the graph is suggesting that the zero is around \(3\).
\(K(x) = -2 \, \log _3(4 - x) = 0\)
\begin{align*} -2 \, \log _3(4 - x) & = 0 \\ \log _2(4 - x) & = 0 \\ 4 - x & = 1 \\ 3 & = x \end{align*}
\(\blacktriangleright \) Remember \(\log _3(4 - x)\) is the thing that you raise \(3\) to, to get \(4 - x\) and \(\log _3(4 - x) = 0\). Since, \(0\) is also the thing that you raise \(3\) to, to get \(4 - x\), we must have \(4 - x\) must be \(1\).
Continuity
Logarithmic functions are continuous. That is a property of all logarithmic functions.
Behavior
We are comparing back to our choice for a basic basic logarithmic function. If we
chose \(\ln (x)\), then we can inventory the pieces of the formula for \(K\) and compare back to \(\ln (x)\),
which is an increasing function.
The base of \(K\) is \(3 > 1\), so this does not change the behavior. The leading coefficient of \(K\) is \(-2 < 0\) and this does change the behavior to decreasing. the leading coefficient of the linear inside is \(-1\), which is also negative, so this again changes the behavior back to increasing.
\(K\) is an increasing function.
End-Behavior
\(K\) is an increasing function. on the domain \((-\infty , 4)\). That tell sus that
Global Extrema
Logarithmic function do not have global maximums or minimums.
Local Extrema
Logarithmic function do not have local maximums or minimums.
Range
The range of every logarithmic function is \((-\infty , \infty )\).
Reversing all of the pairs will give the inverse exponential function.
\(K(x)\) is a logarithmic function, so it must have a partner exponential function. The pairs for \(K\) look like \((x, K)\). The pairs for the exponential function would look like \((K, x)\). The roles of \(K\) and \(x\) would be switched. \(K\) would be the variable in the exponential formula. \(x\) would be the exponential function value. \(K\) would be the independent variable and \(x\) would be the dependent variable.
We can obtain a nice formula for this partner exponential function by solving the logarithmic equation for \(x\).
\begin{align*} -2 \, \log _3(4-x) & = M \\ \log _3(4-x) & = -\frac {M}{2} \\ 3^{\log _3(4-x)} & = 3^{-\frac {M}{2}} \\ 4 - x & = 3^{-\frac {M}{2}} \\ 4 - 3^{-\frac {M}{2}} & = x \\ \end{align*}
\(\blacktriangleright \) Remember: \(\log _3(4-x)\) is the thing that you raise \(3\) to, to get \(4-x\) and \(\log _3(4-x) = - \frac {M}{2}\). Therefore, \(- \frac {M}{2}\) is the thing that you raise \(3\) to, to get \(4-x\).
Here is the graph of both the logarithmic and exponential functions. They are reflected about the diagonal, because the functions are inverses of each other.
The natural logarithm is the logarithm base \(e\).
It has special notation.
\(\ln (x)\) is the thing you raise \(e\) to, to get \(x\).
Note: That is a lowercase “el” and a lowercase “en”. It is not “In”.
Evaluate the following.
Remember: The function \(\left ( 1 + \frac {1}{x} \right )^{x}\) has a limiting value. Its end-behavior is a constant. Its graph has a horizontal asymptote. \(e\) is this limiting value.
It might seem strange to select that number as the base for a logarithm and give it special notation. However, it turns out that exponential functions with this base, \(e\), are intricately connected to natural growth in the universe.
It is used A LOT!
ooooo-=-=-=-ooOoo-=-=-=-ooooo
more examples can be found by following this link
More Examples of Logarithmic Functions