Learning Objectives
- Write the definition of the natural logarithm as an integral.
- Recognize the derivative of the natural logarithm.
- Integrate functions involving the natural logarithmic function.
- Define the number [latex]e[/latex] through an integral.
- Recognize the derivative and integral of the exponential function.
- Prove properties of logarithms and exponential functions using integrals.
- Express general logarithmic and exponential functions in terms of natural logarithms and exponentials.
We already examined exponential functions and logarithms in earlier chapters. However, we glossed over some key details in the previous discussions. For example, we did not study how to treat exponential functions with exponents that are irrational. The definition of the number [latex]e[/latex] is another area where the previous development was somewhat incomplete. We now have the tools to deal with these concepts in a more mathematically rigorous way, and we do so in this section.
For purposes of this section, assume we have not yet defined the natural logarithm, the number [latex]e[/latex], or any of the integration and differentiation formulas associated with these functions. By the end of the section, we will have studied these concepts in a mathematically rigorous way (and we will see they are consistent with the concepts we learned earlier).
We begin the section by defining the natural logarithm in terms of an integral. This definition forms the foundation for the section. From this definition, we derive differentiation formulas, define the number [latex]e,[/latex] and expand these concepts to logarithms and exponential functions of any base.
The Natural Logarithm as an Integral
Recall the power rule for integrals:
Clearly, this does not work when [latex]n=-1,[/latex] as it would force us to divide by zero. So, what do we do with [latex]\int \frac{1}{x}dx?[/latex] Recall from the Fundamental Theorem of Calculus that [latex]{\int }_{1}^{x}\frac{1}{t}dt[/latex] is an antiderivative of [latex]1\text{/}x.[/latex] Therefore, we can make the following definition.
Definition
For [latex]x>0,[/latex] define the natural logarithm function by
For [latex]x>1,[/latex] this is just the area under the curve [latex]y=1\text{/}t[/latex] from 1 to [latex]x.[/latex] For [latex]x<1,[/latex] we have [latex]{\int }_{1}^{x}\frac{1}{t}dt=\text{−}{\int }_{x}^{1}\frac{1}{t}dt,[/latex] so in this case it is the negative of the area under the curve from [latex]x\text{ to }1[/latex] (see the following figure).
Notice that [latex]\text{ln}1=0.[/latex] Furthermore, the function [latex]y=1\text{/}t>0[/latex] for [latex]x>0.[/latex] Therefore, by the properties of integrals, it is clear that [latex]\text{ln}x[/latex] is increasing for [latex]x>0.[/latex]
Properties of the Natural Logarithm
Because of the way we defined the natural logarithm, the following differentiation formula falls out immediately as a result of to the Fundamental Theorem of Calculus.
Derivative of the Natural Logarithm
For [latex]x>0,[/latex] the derivative of the natural logarithm is given by
Corollary to the Derivative of the Natural Logarithm
The function [latex]\text{ln}x[/latex] is differentiable; therefore, it is continuous.
A graph of [latex]\text{ln}x[/latex] is shown in (Figure). Notice that it is continuous throughout its domain of [latex](0,\infty ).[/latex]
Calculating Derivatives of Natural Logarithms
Calculate the following derivatives:
- [latex]\frac{d}{dx}\text{ln}(5{x}^{3}-2)[/latex]
- [latex]\frac{d}{dx}{(\text{ln}(3x))}^{2}[/latex]
Calculate the following derivatives:
- [latex]\frac{d}{dx}\text{ln}(2{x}^{2}+x)[/latex]
- [latex]\frac{d}{dx}{(\text{ln}({x}^{3}))}^{2}[/latex]
Note that if we use the absolute value function and create a new function [latex]\text{ln}|x|,[/latex] we can extend the domain of the natural logarithm to include [latex]x<0.[/latex] Then [latex](d\text{/}(dx))\text{ln}|x|=1\text{/}x.[/latex] This gives rise to the familiar integration formula.
Integral of (1/[latex]u[/latex]) du
The natural logarithm is the antiderivative of the function [latex]f(u)=1\text{/}u\text{:}[/latex]
Calculating Integrals Involving Natural Logarithms
Calculate the integral [latex]\int \frac{x}{{x}^{2}+4}dx.[/latex]
Calculate the integral [latex]\int \frac{{x}^{2}}{{x}^{3}+6}dx.[/latex]
Hint
Apply the integration formula provided earlier and use [latex]u[/latex]-substitution as necessary.
Although we have called our function a “logarithm,” we have not actually proved that any of the properties of logarithms hold for this function. We do so here.
Properties of the Natural Logarithm
If [latex]a,b>0[/latex] and [latex]r[/latex] is a rational number, then
- [latex]\text{ln}1=0[/latex]
- [latex]\text{ln}(ab)=\text{ln}a+\text{ln}b[/latex]
- [latex]\text{ln}(\frac{a}{b})=\text{ln}a-\text{ln}b[/latex]
- [latex]\text{ln}({a}^{r})=r\text{ln}a[/latex]
Proof
- By definition, [latex]\text{ln}1={\int }_{1}^{1}\frac{1}{t}dt=0.[/latex]
- We have
[latex]\text{ln}(ab)={\int }_{1}^{ab}\frac{1}{t}dt={\int }_{1}^{a}\frac{1}{t}dt+{\int }_{a}^{ab}\frac{1}{t}dt.[/latex]
Use [latex]u\text{-substitution}[/latex] on the last integral in this expression. Let [latex]u=t\text{/}a.[/latex] Then [latex]du=(1\text{/}a)dt.[/latex] Furthermore, when [latex]t=a,u=1,[/latex] and when [latex]t=ab,u=b.[/latex] So we get
[latex]\text{ln}(ab)={\int }_{1}^{a}\frac{1}{t}dt+{\int }_{a}^{ab}\frac{1}{t}dt={\int }_{1}^{a}\frac{1}{t}dt+{\int }_{1}^{ab}\frac{a}{t}·\frac{1}{a}dt={\int }_{1}^{a}\frac{1}{t}dt+{\int }_{1}^{b}\frac{1}{u}du=\text{ln}a+\text{ln}b.[/latex] - Note that
[latex]\frac{d}{dx}\text{ln}({x}^{r})=\frac{r{x}^{r-1}}{{x}^{r}}=\frac{r}{x}.[/latex]
Furthermore,
[latex]\frac{d}{dx}(r\text{ln}x)=\frac{r}{x}.[/latex]Since the derivatives of these two functions are the same, by the Fundamental Theorem of Calculus, they must differ by a constant. So we have
[latex]\text{ln}({x}^{r})=r\text{ln}x+C[/latex]for some constant [latex]C.[/latex] Taking [latex]x=1,[/latex] we get
[latex]\begin{array}{ccc}\hfill \text{ln}({1}^{r})& =\hfill & r\text{ln}(1)+C\hfill \\ \hfill 0& =\hfill & r(0)+C\hfill \\ \hfill C& =\hfill & 0.\hfill \end{array}[/latex]Thus [latex]\text{ln}({x}^{r})=r\text{ln}x[/latex] and the proof is complete. Note that we can extend this property to irrational values of [latex]r[/latex] later in this section.
Part iii. follows from parts ii. and iv. and the proof is left to you.
□
Using Properties of Logarithms
Use properties of logarithms to simplify the following expression into a single logarithm:
Use properties of logarithms to simplify the following expression into a single logarithm:
Hint
Apply the properties of logarithms.
Defining the Number [latex]e[/latex]
Now that we have the natural logarithm defined, we can use that function to define the number [latex]e.[/latex]
Definition
The number [latex]e[/latex] is defined to be the real number such that
To put it another way, the area under the curve [latex]y=1\text{/}t[/latex] between [latex]t=1[/latex] and [latex]t=e[/latex] is 1 ((Figure)). The proof that such a number exists and is unique is left to you. (Hint: Use the Intermediate Value Theorem to prove existence and the fact that [latex]\text{ln}x[/latex] is increasing to prove uniqueness.)
The number [latex]e[/latex] can be shown to be irrational, although we won’t do so here (see the Student Project in Taylor and Maclaurin Series in the second volume of this text). Its approximate value is given by
The Exponential Function
We now turn our attention to the function [latex]{e}^{x}.[/latex] Note that the natural logarithm is one-to-one and therefore has an inverse function. For now, we denote this inverse function by [latex]\text{exp}x.[/latex] Then,
The following figure shows the graphs of [latex]\text{exp}x[/latex] and [latex]\text{ln}x.[/latex]
We hypothesize that [latex]\text{exp}x={e}^{x}.[/latex] For rational values of [latex]x,[/latex] this is easy to show. If [latex]x[/latex] is rational, then we have [latex]\text{ln}({e}^{x})=x\text{ln}e=x.[/latex] Thus, when [latex]x[/latex] is rational, [latex]{e}^{x}=\text{exp}x.[/latex] For irrational values of [latex]x,[/latex] we simply define [latex]{e}^{x}[/latex] as the inverse function of [latex]\text{ln}x.[/latex]
Definition
For any real number [latex]x,[/latex] define [latex]y={e}^{x}[/latex] to be the number for which
Then we have [latex]{e}^{x}=\text{exp}(x)[/latex] for all [latex]x,[/latex] and thus
for all [latex]x.[/latex]
Properties of the Exponential Function
Since the exponential function was defined in terms of an inverse function, and not in terms of a power of [latex]e,[/latex] we must verify that the usual laws of exponents hold for the function [latex]{e}^{x}.[/latex]
Properties of the Exponential Function
If [latex]p[/latex] and [latex]q[/latex] are any real numbers and [latex]r[/latex] is a rational number, then
- [latex]{e}^{p}{e}^{q}={e}^{p+q}[/latex]
- [latex]\frac{{e}^{p}}{{e}^{q}}={e}^{p-q}[/latex]
- [latex]{({e}^{p})}^{r}={e}^{pr}[/latex]
Proof
Note that if [latex]p[/latex] and [latex]q[/latex] are rational, the properties hold. However, if [latex]p[/latex] or [latex]q[/latex] are irrational, we must apply the inverse function definition of [latex]{e}^{x}[/latex] and verify the properties. Only the first property is verified here; the other two are left to you. We have
Since [latex]\text{ln}x[/latex] is one-to-one, then
□
As with part iv. of the logarithm properties, we can extend property iii. to irrational values of [latex]r,[/latex] and we do so by the end of the section.
We also want to verify the differentiation formula for the function [latex]y={e}^{x}.[/latex] To do this, we need to use implicit differentiation. Let [latex]y={e}^{x}.[/latex] Then
Thus, we see
as desired, which leads immediately to the integration formula
We apply these formulas in the following examples.
Using Properties of Exponential Functions
Evaluate the following derivatives:
- [latex]\frac{d}{dt}{e}^{3t}{e}^{{t}^{2}}[/latex]
- [latex]\frac{d}{dx}{e}^{3{x}^{2}}[/latex]
Evaluate the following derivatives:
- [latex]\frac{d}{dx}(\frac{{e}^{{x}^{2}}}{{e}^{5x}})[/latex]
- [latex]\frac{d}{dt}{({e}^{2t})}^{3}[/latex]
Hint
Use the properties of exponential functions and the chain rule as necessary.
Using Properties of Exponential Functions
Evaluate the following integral: [latex]\int 2x{e}^{\text{−}{x}^{2}}dx.[/latex]
Evaluate the following integral: [latex]\int \frac{4}{{e}^{3x}}dx.[/latex]
Hint
Use the properties of exponential functions and [latex]u\text{-substitution}[/latex] as necessary.
General Logarithmic and Exponential Functions
We close this section by looking at exponential functions and logarithms with bases other than [latex]e.[/latex] Exponential functions are functions of the form [latex]f(x)={a}^{x}.[/latex] Note that unless [latex]a=e,[/latex] we still do not have a mathematically rigorous definition of these functions for irrational exponents. Let’s rectify that here by defining the function [latex]f(x)={a}^{x}[/latex] in terms of the exponential function [latex]{e}^{x}.[/latex] We then examine logarithms with bases other than [latex]e[/latex] as inverse functions of exponential functions.
Definition
For any [latex]a>0,[/latex] and for any real number [latex]x,[/latex] define [latex]y={a}^{x}[/latex] as follows:
Now [latex]{a}^{x}[/latex] is defined rigorously for all values of [latex]x[/latex]. This definition also allows us to generalize property iv. of logarithms and property iii. of exponential functions to apply to both rational and irrational values of [latex]r.[/latex] It is straightforward to show that properties of exponents hold for general exponential functions defined in this way.
Let’s now apply this definition to calculate a differentiation formula for [latex]{a}^{x}.[/latex] We have
The corresponding integration formula follows immediately.
Derivatives and Integrals Involving General Exponential Functions
Let [latex]a>0.[/latex] Then,
and
If [latex]a\ne 1,[/latex] then the function [latex]{a}^{x}[/latex] is one-to-one and has a well-defined inverse. Its inverse is denoted by [latex]{\text{log}}_{a}x.[/latex] Then,
Note that general logarithm functions can be written in terms of the natural logarithm. Let [latex]y={\text{log}}_{a}x.[/latex] Then, [latex]x={a}^{y}.[/latex] Taking the natural logarithm of both sides of this second equation, we get
Thus, we see that all logarithmic functions are constant multiples of one another. Next, we use this formula to find a differentiation formula for a logarithm with base [latex]a.[/latex] Again, let [latex]y={\text{log}}_{a}x.[/latex] Then,
Derivatives of General Logarithm Functions
Let [latex]a>0.[/latex] Then,
Calculating Derivatives of General Exponential and Logarithm Functions
Evaluate the following derivatives:
- [latex]\frac{d}{dt}({4}^{t}·{2}^{{t}^{2}})[/latex]
- [latex]\frac{d}{dx}{\text{log}}_{8}(7{x}^{2}+4)[/latex]
Evaluate the following derivatives:
- [latex]\frac{d}{dt}{4}^{{t}^{4}}[/latex]
- [latex]\frac{d}{dx}{\text{log}}_{3}(\sqrt{{x}^{2}+1})[/latex]
Hint
Use the formulas and apply the chain rule as necessary.
Integrating General Exponential Functions
Evaluate the following integral: [latex]\int \frac{3}{{2}^{3x}}dx.[/latex]
Evaluate the following integral: [latex]\int {x}^{2}{2}^{{x}^{3}}dx.[/latex]
Hint
Use the properties of exponential functions and [latex]u\text{-substitution}[/latex] as necessary.
Key Concepts
- The earlier treatment of logarithms and exponential functions did not define the functions precisely and formally. This section develops the concepts in a mathematically rigorous way.
- The cornerstone of the development is the definition of the natural logarithm in terms of an integral.
- The function [latex]{e}^{x}[/latex] is then defined as the inverse of the natural logarithm.
- General exponential functions are defined in terms of [latex]{e}^{x},[/latex] and the corresponding inverse functions are general logarithms.
- Familiar properties of logarithms and exponents still hold in this more rigorous context.
Key Equations
- Natural logarithm function
- [latex]\text{ln}x={\int }_{1}^{x}\frac{1}{t}dt[/latex] Z
- Exponential function[latex]y={e}^{x}[/latex]
- [latex]\text{ln}y=\text{ln}({e}^{x})=x[/latex] Z
For the following exercises, find the derivative [latex]\frac{dy}{dx}.[/latex]
1. [latex]y=\text{ln}(2x)[/latex]
2. [latex]y=\text{ln}(2x+1)[/latex]
3. [latex]y=\frac{1}{\text{ln}x}[/latex]
For the following exercises, find the indefinite integral.
4. [latex]\int \frac{dt}{3t}[/latex]
5. [latex]\int \frac{dx}{1+x}[/latex]
[latex]\text{ln}(x+1)+C[/latex]
For the following exercises, find the derivative [latex]dy\text{/}dx.[/latex] (You can use a calculator to plot the function and the derivative to confirm that it is correct.)
6. [T][latex]y=\frac{\text{ln}(x)}{x}[/latex]
7. [T][latex]y=x\text{ln}(x)[/latex]
[latex]\text{ln}(x)+1[/latex]
8. [T][latex]y={\text{log}}_{10}x[/latex]
9. [T][latex]y=\text{ln}( \sin x)[/latex]
10. [T][latex]y=\text{ln}(\text{ln}x)[/latex]
11. [T][latex]y=7\text{ln}(4x)[/latex]
12. [T][latex]y=\text{ln}({(4x)}^{7})[/latex]
13. [T][latex]y=\text{ln}( \tan x)[/latex]
14. [T][latex]y=\text{ln}( \tan (3x))[/latex]
15. [T][latex]y=\text{ln}({ \cos }^{2}x)[/latex]
[latex]-2 \tan x[/latex]
For the following exercises, find the definite or indefinite integral.
16. [latex]{\int }_{0}^{1}\frac{dx}{3+x}[/latex]
17. [latex]{\int }_{0}^{1}\frac{dt}{3+2t}[/latex]
18. [latex]{\int }_{0}^{2}\frac{xdx}{{x}^{2}+1}[/latex]
19. [latex]{\int }_{0}^{2}\frac{{x}^{3}dx}{{x}^{2}+1}[/latex]
20. [latex]{\int }_{2}^{e}\frac{dx}{x\text{ln}x}[/latex]
21. [latex]{\int }_{2}^{e}\frac{dx}{{(x\text{ln}(x))}^{2}}[/latex]
[latex]\frac{1}{\text{ln}(2)}-1[/latex]
22. [latex]\int \frac{ \cos xdx}{ \sin x}[/latex]
23. [latex]{\int }_{0}^{\pi \text{/}4} \tan xdx[/latex]
24. [latex]\int \cot (3x)dx[/latex]
25. [latex]\int \frac{{(\text{ln}x)}^{2}dx}{x}[/latex]
For the following exercises, compute [latex]dy\text{/}dx[/latex] by differentiating [latex]\text{ln}y.[/latex]
26. [latex]y=\sqrt{{x}^{2}+1}[/latex]
27. [latex]y=\sqrt{{x}^{2}+1}\sqrt{{x}^{2}-1}[/latex]
28. [latex]y={e}^{ \sin x}[/latex]
29. [latex]y={x}^{-1\text{/}x}[/latex]
30. [latex]y={e}^{(ex)}[/latex]
31. [latex]y={x}^{e}[/latex]
32. [latex]y={x}^{(ex)}[/latex]
33. [latex]y=\sqrt{x}\sqrt[3]{x}\sqrt[6]{x}[/latex]
34. [latex]y={x}^{-1\text{/}\text{ln}x}[/latex]
35. [latex]y={e}^{\text{−}\text{ln}x}[/latex]
For the following exercises, evaluate by any method.
36. [latex]{\int }_{5}^{10}\frac{dt}{t}-{\int }_{5x}^{10x}\frac{dt}{t}[/latex]
37. [latex]{\int }_{1}^{{e}^{\pi }}\frac{dx}{x}+{\int }_{-2}^{-1}\frac{dx}{x}[/latex]
38. [latex]\frac{d}{dx}{\int }_{x}^{1}\frac{dt}{t}[/latex]
39. [latex]\frac{d}{dx}{\int }_{x}^{{x}^{2}}\frac{dt}{t}[/latex]
40. [latex]\frac{d}{dx}\text{ln}( \sec x+ \tan x)[/latex]
For the following exercises, use the function [latex]\text{ln}x.[/latex] If you are unable to find intersection points analytically, use a calculator.
41. Find the area of the region enclosed by [latex]x=1[/latex] and [latex]y=5[/latex] above [latex]y=\text{ln}x.[/latex]
42. [T] Find the arc length of [latex]\text{ln}x[/latex] from [latex]x=1[/latex] to [latex]x=2.[/latex]
43. Find the area between [latex]\text{ln}x[/latex] and the [latex]x[/latex]-axis from [latex]x=1\text{ to }x=2.[/latex]
44. Find the volume of the shape created when rotating this curve from [latex]x=1\text{ to }x=2[/latex] around the [latex]x[/latex]-axis, as pictured here.
45. [T] Find the surface area of the shape created when rotating the curve in the previous exercise from [latex]x=1[/latex] to [latex]x=2[/latex] around the [latex]x[/latex]-axis.
If you are unable to find intersection points analytically in the following exercises, use a calculator.
46. Find the area of the hyperbolic quarter-circle enclosed by [latex]x=2\text{ and }y=2[/latex] above [latex]y=1\text{/}x.[/latex]
47. [T] Find the arc length of [latex]y=1\text{/}x[/latex] from [latex]x=1\text{ to }x=4.[/latex]
48. Find the area under [latex]y=1\text{/}x[/latex] and above the [latex]x[/latex]-axis from [latex]x=1\text{ to }x=4.[/latex]
For the following exercises, verify the derivatives and antiderivatives.
49. [latex]\frac{d}{dx}\text{ln}(x+\sqrt{{x}^{2}+1})=\frac{1}{\sqrt{1+{x}^{2}}}[/latex]
50. [latex]\frac{d}{dx}\text{ln}(\frac{x-a}{x+a})=\frac{2a}{({x}^{2}-{a}^{2})}[/latex]
51. [latex]\frac{d}{dx}\text{ln}(\frac{1+\sqrt{1-{x}^{2}}}{x})=-\frac{1}{x\sqrt{1-{x}^{2}}}[/latex]
52. [latex]\frac{d}{dx}\text{ln}(x+\sqrt{{x}^{2}-{a}^{2}})=\frac{1}{\sqrt{{x}^{2}-{a}^{2}}}[/latex]
53. [latex]\int \frac{dx}{x\text{ln}(x)\text{ln}(\text{ln}x)}=\text{ln}(\text{ln}(\text{ln}x))+C[/latex]
Candela Citations
- Calculus I. Provided by: OpenStax. Located at: http://cnx.org/contents/8b89d172-2927-466f-8661-01abc7ccdba4@2.89. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Download for free at http://cnx.org/contents/8b89d172-2927-466f-8661-01abc7ccdba4@2.89
Hint
Apply the differentiation formula just provided and use the chain rule as necessary.