We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 1

Integrals, Exponential Functions, and Logarithms

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 e 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 e, 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:

[latex]\int {x}^{n}dx=\frac{{x}^{n+1}}{n+1}+C,\phantom{\rule{0.2em}{0ex}}n\ne \text{−}1.[/latex]

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

[latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x={\int }_{1}^{x}\frac{1}{t}dt.[/latex]

For [latex]x>1,[/latex] this is just the area under the curve [latex]y=1\text{/}t[/latex] from [latex]1[/latex] 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\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}1[/latex] (see the following figure).

(a) When [latex]x>1,[/latex] the natural logarithm is the area under the curve [latex]y=1\text{/}t[/latex] from [latex]1\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}x.[/latex] (b) When [latex]x<1,[/latex] the natural logarithm is the negative of the area under the curve from [latex]x[/latex] to [latex]1.[/latex]
This figure has two graphs. The first is the curve y=1/t. It is decreasing and in the first quadrant. Under the curve is a shaded area. The area is bounded to the left at x=1. The area is labeled “area=lnx”. The second graph is the same curve y=1/t. It has shaded area under the curve bounded to the right by x=1. It is labeled “area=-lnx”.

Notice that [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}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}\phantom{\rule{0.2em}{0ex}}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

[latex]\frac{d}{dx}\text{ln}\phantom{\rule{0.2em}{0ex}}x=\frac{1}{x}.[/latex]
Corollary to the Derivative of the Natural Logarithm

The function [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x[/latex] is differentiable; therefore, it is continuous.

A graph of [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x[/latex] is shown in [link]. Notice that it is continuous throughout its domain of [latex]\left(0,\infty \right).[/latex]

The graph of [latex]f\left(x\right)=\text{ln}\phantom{\rule{0.2em}{0ex}}x[/latex] shows that it is a continuous function.
This figure is a graph. It is an increasing curve labeled f(x)=lnx. The curve is increasing with the y-axis as an asymptote. The curve intersects the x-axis at x=1.
Calculating Derivatives of Natural Logarithms

Calculate the following derivatives:

  1. [latex]\frac{d}{dx}\text{ln}\left(5{x}^{3}-2\right)[/latex]
  2. [latex]\frac{d}{dx}{\left(\text{ln}\left(3x\right)\right)}^{2}[/latex]

We need to apply the chain rule in both cases.

  1. [latex]\frac{d}{dx}\text{ln}\left(5{x}^{3}-2\right)=\frac{15{x}^{2}}{5{x}^{3}-2}[/latex]
  2. [latex]\frac{d}{dx}{\left(\text{ln}\left(3x\right)\right)}^{2}=\frac{2\left(\text{ln}\left(3x\right)\right)·3}{3x}=\frac{2\left(\text{ln}\left(3x\right)\right)}{x}[/latex]

Calculate the following derivatives:

  1. [latex]\frac{d}{dx}\text{ln}\left(2{x}^{2}+x\right)[/latex]
  2. [latex]\frac{d}{dx}{\left(\text{ln}\left({x}^{3}\right)\right)}^{2}[/latex]
  1. [latex]\frac{d}{dx}\text{ln}\left(2{x}^{2}+x\right)=\frac{4x+1}{2{x}^{2}+x}[/latex]
  2. [latex]\frac{d}{dx}{\left(\text{ln}\left({x}^{3}\right)\right)}^{2}=\frac{6\phantom{\rule{0.2em}{0ex}}\text{ln}\left({x}^{3}\right)}{x}[/latex]
Hint

Apply the differentiation formula just provided and use the chain rule as necessary.

Note that if we use the absolute value function and create a new function [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}|x|,[/latex] we can extend the domain of the natural logarithm to include [latex]x<0.[/latex] Then [latex]\left(d\text{/}\left(dx\right)\right)\text{ln}\phantom{\rule{0.2em}{0ex}}|x|=1\text{/}x.[/latex] This gives rise to the familiar integration formula.

Integral of (1/u) du

The natural logarithm is the antiderivative of the function [latex]f\left(u\right)=1\text{/}u\text{:}[/latex]

[latex]\int \frac{1}{u}du=\text{ln}\phantom{\rule{0.2em}{0ex}}|u|+C.[/latex]
Calculating Integrals Involving Natural Logarithms

Calculate the integral [latex]\int \frac{x}{{x}^{2}+4}dx.[/latex]

Using [latex]u[/latex]-substitution, let [latex]u={x}^{2}+4.[/latex] Then [latex]du=2x\phantom{\rule{0.2em}{0ex}}dx[/latex] and we have

[latex]\int \frac{x}{{x}^{2}+4}dx=\frac{1}{2}\int \frac{1}{u}du\frac{1}{2}\text{ln}\phantom{\rule{0.2em}{0ex}}|u|+C=\frac{1}{2}\text{ln}\phantom{\rule{0.2em}{0ex}}|{x}^{2}+4|+C=\frac{1}{2}\text{ln}\left({x}^{2}+4\right)+C.[/latex]

Calculate the integral [latex]\int \frac{{x}^{2}}{{x}^{3}+6}dx.[/latex]

[latex]\int \frac{{x}^{2}}{{x}^{3}+6}dx=\frac{1}{3}\text{ln}\phantom{\rule{0.2em}{0ex}}|{x}^{3}+6|+C[/latex]

Hint

Apply the integration formula provided earlier and use u-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

  1. [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}1=0[/latex]
  2. [latex]\text{ln}\left(ab\right)=\text{ln}\phantom{\rule{0.2em}{0ex}}a+\text{ln}\phantom{\rule{0.2em}{0ex}}b[/latex]
  3. [latex]\text{ln}\left(\frac{a}{b}\right)=\text{ln}\phantom{\rule{0.2em}{0ex}}a-\text{ln}\phantom{\rule{0.2em}{0ex}}b[/latex]
  4. [latex]\text{ln}\left({a}^{r}\right)=r\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}a[/latex]

Proof

  1. By definition, [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}1={\int }_{1}^{1}\frac{1}{t}dt=0.[/latex]
  2. We have

    [latex]\text{ln}\left(ab\right)={\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=\left(1\text{/}a\right)dt.[/latex] Furthermore, when [latex]t=a,u=1,[/latex] and when [latex]t=ab,u=b.[/latex] So we get

    [latex]\text{ln}\left(ab\right)={\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}\phantom{\rule{0.2em}{0ex}}a+\text{ln}\phantom{\rule{0.2em}{0ex}}b.[/latex]
  3. Note that

    [latex]\frac{d}{dx}\text{ln}\left({x}^{r}\right)=\frac{r{x}^{r-1}}{{x}^{r}}=\frac{r}{x}.[/latex]

    Furthermore,

    [latex]\frac{d}{dx}\left(r\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)=\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}\left({x}^{r}\right)=r\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}x+C[/latex]

    for some constant [latex]C.[/latex] Taking [latex]x=1,[/latex] we get

    [latex]\begin{array}{ccc}\hfill \text{ln}\left({1}^{r}\right)& =\hfill & r\phantom{\rule{0.2em}{0ex}}\text{ln}\left(1\right)+C\hfill \\ \hfill 0& =\hfill & r\left(0\right)+C\hfill \\ \hfill C& =\hfill & 0.\hfill \end{array}[/latex]

    Thus [latex]\text{ln}\left({x}^{r}\right)=r\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}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:

[latex]\text{ln}\phantom{\rule{0.2em}{0ex}}9-2\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}3+\text{ln}\left(\frac{1}{3}\right).[/latex]

We have

[latex]\text{ln}\phantom{\rule{0.2em}{0ex}}9-2\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}3+\text{ln}\left(\frac{1}{3}\right)=\text{ln}\left({3}^{2}\right)-2\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}3+\text{ln}\left({3}^{-1}\right)=2\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}3-2\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}3-\text{ln}\phantom{\rule{0.2em}{0ex}}3=\text{−}\text{ln}\phantom{\rule{0.2em}{0ex}}3.[/latex]

Use properties of logarithms to simplify the following expression into a single logarithm:

[latex]\text{ln}\phantom{\rule{0.2em}{0ex}}8-\text{ln}\phantom{\rule{0.2em}{0ex}}2-\text{ln}\left(\frac{1}{4}\right).[/latex]

[latex]4\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}2[/latex]

Hint

Apply the properties of logarithms.

Defining the Number e

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

[latex]\text{ln}\phantom{\rule{0.2em}{0ex}}e=1.[/latex]

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 [latex]1[/latex] ([link]). 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}\phantom{\rule{0.2em}{0ex}}x[/latex] is increasing to prove uniqueness.)

The area under the curve from [latex]1[/latex] to [latex]e[/latex] is equal to one.
This figure is a graph. It is the curve y=1/t. It is decreasing and in the first quadrant. Under the curve is a shaded area. The area is bounded to the left at x=1 and to the right at x=e. The area is labeled “area=1”.

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). Its approximate value is given by

[latex]e\approx 2.71828182846.[/latex]

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}\phantom{\rule{0.2em}{0ex}}x.[/latex] Then,

[latex]\text{exp}\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)=x\phantom{\rule{0.2em}{0ex}}\text{for}\phantom{\rule{0.2em}{0ex}}x>0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\text{ln}\left(\text{exp}\phantom{\rule{0.2em}{0ex}}x\right)=x\phantom{\rule{0.2em}{0ex}}\text{for all}\phantom{\rule{0.2em}{0ex}}x.[/latex]

The following figure shows the graphs of [latex]\text{exp}\phantom{\rule{0.2em}{0ex}}x[/latex] and [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x.[/latex]

The graphs of [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x[/latex] and [latex]\text{exp}\phantom{\rule{0.2em}{0ex}}x.[/latex]
This figure is a graph. It has three curves. The first curve is labeled exp x. It is an increasing curve with the x-axis as a horizontal asymptote. It intersects the y-axis at y=1. The second curve is a diagonal line through the origin. The third curve is labeled lnx. It is an increasing curve with the y-axis as an vertical axis. It intersects the x-axis at x=1.

We hypothesize that [latex]\text{exp}\phantom{\rule{0.2em}{0ex}}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}\left({e}^{x}\right)=x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}e=x.[/latex] Thus, when [latex]x[/latex] is rational, [latex]{e}^{x}=\text{exp}\phantom{\rule{0.2em}{0ex}}x.[/latex] For irrational values of [latex]x,[/latex] we simply define [latex]{e}^{x}[/latex] as the inverse function of [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x.[/latex]

Definition

For any real number [latex]x,[/latex] define [latex]y={e}^{x}[/latex] to be the number for which

[latex]\text{ln}\phantom{\rule{0.2em}{0ex}}y=\text{ln}\left({e}^{x}\right)=x.[/latex]

Then we have [latex]{e}^{x}=\text{exp}\left(x\right)[/latex] for all [latex]x,[/latex] and thus

[latex]{e}^{\text{ln}\phantom{\rule{0.2em}{0ex}}x}=x\phantom{\rule{0.2em}{0ex}}\text{for}\phantom{\rule{0.2em}{0ex}}x>0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\text{ln}\left({e}^{x}\right)=x[/latex]

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

  1. [latex]{e}^{p}{e}^{q}={e}^{p+q}[/latex]
  2. [latex]\frac{{e}^{p}}{{e}^{q}}={e}^{p-q}[/latex]
  3. [latex]{\left({e}^{p}\right)}^{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

[latex]\text{ln}\left({e}^{p}{e}^{q}\right)=\text{ln}\left({e}^{p}\right)+\text{ln}\left({e}^{q}\right)=p+q=\text{ln}\left({e}^{p+q}\right).[/latex]

Since [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x[/latex] is one-to-one, then

[latex]{e}^{p}{e}^{q}={e}^{p+q}.[/latex]

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

[latex]\begin{array}{ccc}\hfill \text{ln}\phantom{\rule{0.2em}{0ex}}y& =\hfill & x\hfill \\ \hfill \frac{d}{dx}\text{ln}\phantom{\rule{0.2em}{0ex}}y& =\hfill & \frac{d}{dx}x\hfill \\ \hfill \frac{1}{y}\phantom{\rule{0.1em}{0ex}}\frac{dy}{dx}& =\hfill & 1\hfill \\ \hfill \frac{dy}{dx}& =\hfill & y.\hfill \end{array}[/latex]

Thus, we see

[latex]\frac{d}{dx}{e}^{x}={e}^{x}[/latex]

as desired, which leads immediately to the integration formula

[latex]\int {e}^{x}dx={e}^{x}+C.[/latex]

We apply these formulas in the following examples.

Using Properties of Exponential Functions

Evaluate the following derivatives:

  1. [latex]\frac{d}{dt}{e}^{3t}{e}^{{t}^{2}}[/latex]
  2. [latex]\frac{d}{dx}{e}^{3{x}^{2}}[/latex]

We apply the chain rule as necessary.

  1. [latex]\frac{d}{dt}{e}^{3t}{e}^{{t}^{2}}=\frac{d}{dt}{e}^{3t+{t}^{2}}={e}^{3t+{t}^{2}}\left(3+2t\right)[/latex]
  2. [latex]\frac{d}{dx}{e}^{3{x}^{2}}={e}^{3{x}^{2}}6x[/latex]

Evaluate the following derivatives:

  1. [latex]\frac{d}{dx}\left(\frac{{e}^{{x}^{2}}}{{e}^{5x}}\right)[/latex]
  2. [latex]\frac{d}{dt}{\left({e}^{2t}\right)}^{3}[/latex]
  1. [latex]\frac{d}{dx}\left(\frac{{e}^{{x}^{2}}}{{e}^{5x}}\right)={e}^{{x}^{2}-5x}\left(2x-5\right)[/latex]
  2. [latex]\frac{d}{dt}{\left({e}^{2t}\right)}^{3}=6{e}^{6t}[/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]

Using [latex]u[/latex]-substitution, let [latex]u=\text{−}{x}^{2}.[/latex] Then [latex]du=-2x\phantom{\rule{0.2em}{0ex}}dx,[/latex] and we have

[latex]\int 2x{e}^{\text{−}{x}^{2}}dx=\text{−}\int {e}^{u}du=\text{−}{e}^{u}+C=\text{−}{e}^{\text{−}{x}^{2}}+C.[/latex]

Evaluate the following integral: [latex]\int \frac{4}{{e}^{3x}}dx.[/latex]

[latex]\int \frac{4}{{e}^{3x}}dx=-\frac{4}{3}{e}^{-3x}+C[/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\left(x\right)={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\left(x\right)={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:

[latex]y={a}^{x}={e}^{x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}a}.[/latex]

Now [latex]{a}^{x}[/latex] is defined rigorously for all values of x. 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

[latex]\frac{d}{dx}{a}^{x}=\frac{d}{dx}{e}^{x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}a}={e}^{x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}a}\text{ln}\phantom{\rule{0.2em}{0ex}}a={a}^{x}\text{ln}\phantom{\rule{0.2em}{0ex}}a.[/latex]

The corresponding integration formula follows immediately.

Derivatives and Integrals Involving General Exponential Functions

Let [latex]a>0.[/latex] Then,

[latex]\frac{d}{dx}{a}^{x}={a}^{x}\text{ln}\phantom{\rule{0.2em}{0ex}}a[/latex]

and

[latex]\int {a}^{x}dx=\frac{1}{\text{ln}\phantom{\rule{0.2em}{0ex}}a}{a}^{x}+C.[/latex]

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,

[latex]y={\text{log}}_{a}x\phantom{\rule{0.2em}{0ex}}\text{if and only if}\phantom{\rule{0.2em}{0ex}}x={a}^{y}.[/latex]

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

[latex]\begin{array}{ccc}\hfill \text{ln}\phantom{\rule{0.2em}{0ex}}x& =\hfill & \text{ln}\left({a}^{y}\right)\hfill \\ \hfill \text{ln}\phantom{\rule{0.2em}{0ex}}x& =\hfill & y\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}a\hfill \\ \hfill y& =\hfill & \frac{\text{ln}\phantom{\rule{0.2em}{0ex}}x}{\text{ln}\phantom{\rule{0.2em}{0ex}}a}\hfill \\ \hfill {\text{log}}_{\phantom{\rule{0.2em}{0ex}}}x& =\hfill & \frac{\text{ln}\phantom{\rule{0.2em}{0ex}}x}{\text{ln}\phantom{\rule{0.2em}{0ex}}a}.\hfill \end{array}[/latex]

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,

[latex]\begin{array}{cc}\hfill \frac{dy}{dx}& =\frac{d}{dx}\left({\text{log}}_{a}x\right)\hfill \\ & =\frac{d}{dx}\left(\frac{\text{ln}\phantom{\rule{0.2em}{0ex}}x}{\text{ln}\phantom{\rule{0.2em}{0ex}}a}\right)\hfill \\ & =\left(\frac{1}{\text{ln}\phantom{\rule{0.2em}{0ex}}a}\right)\frac{d}{dx}\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)\hfill \\ & =\frac{1}{\text{ln}\phantom{\rule{0.2em}{0ex}}a}·\frac{1}{x}\hfill \\ & =\frac{1}{x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}a}.\hfill \end{array}[/latex]
Derivatives of General Logarithm Functions

Let [latex]a>0.[/latex] Then,

[latex]\frac{d}{dx}{\text{log}}_{a}x=\frac{1}{x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}a}.[/latex]
Calculating Derivatives of General Exponential and Logarithm Functions

Evaluate the following derivatives:

  1. [latex]\frac{d}{dt}\left({4}^{t}·{2}^{{t}^{2}}\right)[/latex]
  2. [latex]\frac{d}{dx}{\text{log}}_{8}\left(7{x}^{2}+4\right)[/latex]

We need to apply the chain rule as necessary.

  1. [latex]\frac{d}{dt}\left({4}^{t}·{2}^{{t}^{2}}\right)=\frac{d}{dt}\left({2}^{2t}·{2}^{{t}^{2}}\right)=\frac{d}{dt}\left({2}^{2t+{t}^{2}}\right)={2}^{2t+{t}^{2}}\text{ln}\left(2\right)\left(2+2t\right)[/latex]
  2. [latex]\frac{d}{dx}{\text{log}}_{8}\left(7{x}^{2}+4\right)=\frac{1}{\left(7{x}^{2}+4\right)\left(\text{ln}\phantom{\rule{0.2em}{0ex}}8\right)}\left(14x\right)[/latex]

Evaluate the following derivatives:

  1. [latex]\frac{d}{dt}\phantom{\rule{0.2em}{0ex}}{4}^{{t}^{4}}[/latex]
  2. [latex]\frac{d}{dx}{\text{log}}_{3}\left(\sqrt{{x}^{2}+1}\right)[/latex]
  1. [latex]\frac{d}{dt}{4}^{{t}^{4}}={4}^{{t}^{4}}\left(\text{ln}\phantom{\rule{0.2em}{0ex}}4\right)\left(4{t}^{3}\right)[/latex]
  2. [latex]\frac{d}{dx}{\text{log}}_{3}\left(\sqrt{{x}^{2}+1}\right)=\frac{x}{\left(\text{ln}\phantom{\rule{0.2em}{0ex}}3\right)\left({x}^{2}+1\right)}[/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]

Use [latex]u\text{-substitution}[/latex] and let [latex]u=-3x.[/latex] Then [latex]du=-3dx[/latex] and we have

[latex]\int \frac{3}{{2}^{3x}}dx=\int 3·{2}^{-3x}dx=\text{−}\int {2}^{u}du=-\frac{1}{\text{ln}\phantom{\rule{0.2em}{0ex}}2}{2}^{u}+C=-\frac{1}{\text{ln}\phantom{\rule{0.2em}{0ex}}2}{2}^{-3x}+C.[/latex]

Evaluate the following integral: [latex]\int {x}^{2}{2}^{{x}^{3}}dx.[/latex]

[latex]\int {x}^{2}{2}^{{x}^{3}}dx=\frac{1}{3\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}2}{2}^{{x}^{3}}+C[/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}\phantom{\rule{0.2em}{0ex}}x={\int }_{1}^{x}\frac{1}{t}dt[/latex] Z
  • Exponential function[latex]y={e}^{x}[/latex]
  • [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}y=\text{ln}\left({e}^{x}\right)=x[/latex] Z

For the following exercises, find the derivative [latex]\frac{dy}{dx}.[/latex]

[latex]y=\text{ln}\left(2x\right)[/latex]

[latex]\frac{1}{x}[/latex]

[latex]y=\text{ln}\left(2x+1\right)[/latex]

[latex]y=\frac{1}{\text{ln}\phantom{\rule{0.2em}{0ex}}x}[/latex]

[latex]-\frac{1}{x{\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)}^{2}}[/latex]

For the following exercises, find the indefinite integral.

[latex]\int \frac{dt}{3t}[/latex]

[latex]\int \frac{dx}{1+x}[/latex]

[latex]\text{ln}\left(x+1\right)+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.)

[T][latex]y=\frac{\text{ln}\left(x\right)}{x}[/latex]

[T][latex]y=x\phantom{\rule{0.2em}{0ex}}\text{ln}\left(x\right)[/latex]

[latex]\text{ln}\left(x\right)+1[/latex]

[T][latex]y={\text{log}}_{10}x[/latex]

[T][latex]y=\text{ln}\left(\text{sin}\phantom{\rule{0.2em}{0ex}}x\right)[/latex]

[latex]\text{cot}\left(x\right)[/latex]

[T][latex]y=\text{ln}\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)[/latex]

[T][latex]y=7\phantom{\rule{0.2em}{0ex}}\text{ln}\left(4x\right)[/latex]

[latex]\frac{7}{x}[/latex]

[T][latex]y=\text{ln}\left({\left(4x\right)}^{7}\right)[/latex]

[T][latex]y=\text{ln}\left(\text{tan}\phantom{\rule{0.2em}{0ex}}x\right)[/latex]

[latex]\text{csc}\left(x\right)\text{sec}\phantom{\rule{0.2em}{0ex}}x[/latex]

[T][latex]y=\text{ln}\left(\text{tan}\left(3x\right)\right)[/latex]

[T][latex]y=\text{ln}\left({\text{cos}}^{2}x\right)[/latex]

[latex]-2\phantom{\rule{0.2em}{0ex}}\text{tan}\phantom{\rule{0.2em}{0ex}}x[/latex]

For the following exercises, find the definite or indefinite integral.

[latex]{\int }_{0}^{1}\frac{dx}{3+x}[/latex]

[latex]{\int }_{0}^{1}\frac{dt}{3+2t}[/latex]

[latex]\frac{1}{2}\text{ln}\left(\frac{5}{3}\right)[/latex]

[latex]{\int }_{0}^{2}\frac{x\phantom{\rule{0.2em}{0ex}}dx}{{x}^{2}+1}[/latex]

[latex]{\int }_{0}^{2}\frac{{x}^{3}dx}{{x}^{2}+1}[/latex]

[latex]2-\frac{1}{2}\text{ln}\left(5\right)[/latex]

[latex]{\int }_{2}^{e}\frac{dx}{x\phantom{\rule{0.2em}{0ex}}\text{ln}\phantom{\rule{0.2em}{0ex}}x}[/latex]

[latex]{\int }_{2}^{e}\frac{dx}{{\left(x\phantom{\rule{0.2em}{0ex}}\text{ln}\left(x\right)\right)}^{2}}[/latex]

[latex]\frac{1}{\text{ln}\left(2\right)}-1[/latex]

[latex]\int \frac{\text{cos}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}dx}{\text{sin}\phantom{\rule{0.2em}{0ex}}x}[/latex]

[latex]{\int }_{0}^{\pi \text{/}4}\text{tan}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}dx[/latex]

[latex]\frac{1}{2}\text{ln}\left(2\right)[/latex]

[latex]\int \text{cot}\left(3x\right)dx[/latex]

[latex]\int \frac{{\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)}^{2}dx}{x}[/latex]

[latex]\frac{1}{3}{\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)}^{3}[/latex]

For the following exercises, compute [latex]dy\text{/}dx[/latex] by differentiating [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}y.[/latex]

[latex]y=\sqrt{{x}^{2}+1}[/latex]

[latex]y=\sqrt{{x}^{2}+1}\sqrt{{x}^{2}-1}[/latex]

[latex]\frac{2{x}^{3}}{\sqrt{{x}^{2}+1}\sqrt{{x}^{2}-1}}[/latex]

[latex]y={e}^{\text{sin}\phantom{\rule{0.2em}{0ex}}x}[/latex]

[latex]y={x}^{-1\text{/}x}[/latex]

[latex]{x}^{-2-\left(1\text{/}x\right)}\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x-1\right)[/latex]

[latex]y={e}^{\left(ex\right)}[/latex]

[latex]y={x}^{e}[/latex]

[latex]e{x}^{e-1}[/latex]

[latex]y={x}^{\left(ex\right)}[/latex]

[latex]y=\sqrt{x}\phantom{\rule{0.2em}{0ex}}\sqrt[3]{x}\phantom{\rule{0.2em}{0ex}}\sqrt[6]{x}[/latex]

[latex]1[/latex]

[latex]y={x}^{-1\text{/}\text{ln}\phantom{\rule{0.2em}{0ex}}x}[/latex]

[latex]y={e}^{\text{−}\text{ln}\phantom{\rule{0.2em}{0ex}}x}[/latex]

[latex]-\frac{1}{{x}^{2}}[/latex]

For the following exercises, evaluate by any method.

[latex]{\int }_{5}^{10}\frac{dt}{t}-{\int }_{5x}^{10x}\frac{dt}{t}[/latex]

[latex]{\int }_{1}^{{e}^{\pi }}\frac{dx}{x}+{\int }_{-2}^{-1}\frac{dx}{x}[/latex]

[latex]\pi -\text{ln}\left(2\right)[/latex]

[latex]\frac{d}{dx}{\int }_{x}^{1}\frac{dt}{t}[/latex]

[latex]\frac{d}{dx}{\int }_{x}^{{x}^{2}}\frac{dt}{t}[/latex]

[latex]\frac{1}{x}[/latex]

[latex]\frac{d}{dx}\text{ln}\left(\text{sec}\phantom{\rule{0.2em}{0ex}}x+\text{tan}\phantom{\rule{0.2em}{0ex}}x\right)[/latex]

For the following exercises, use the function [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x.[/latex] If you are unable to find intersection points analytically, use a calculator.

Find the area of the region enclosed by [latex]x=1[/latex] and [latex]y=5[/latex] above [latex]y=\text{ln}\phantom{\rule{0.2em}{0ex}}x.[/latex]

[latex]{e}^{5}-6\phantom{\rule{0.2em}{0ex}}{\text{units}}^{2}[/latex]

[T] Find the arc length of [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x[/latex] from [latex]x=1[/latex] to [latex]x=2.[/latex]

Find the area between [latex]\text{ln}\phantom{\rule{0.2em}{0ex}}x[/latex] and the x-axis from [latex]x=1\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}x=2.[/latex]

[latex]\text{ln}\left(4\right)-1\phantom{\rule{0.2em}{0ex}}{\text{units}}^{2}[/latex]

Find the volume of the shape created when rotating this curve from [latex]x=1\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}x=2[/latex] around the x-axis, as pictured here.

This figure is a surface. It has been generated by revolving the curve ln x about the x-axis. The surface is inside of a cube showing it is 3-dimensinal.

[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 x-axis.

[latex]2.8656[/latex]

If you are unable to find intersection points analytically in the following exercises, use a calculator.

Find the area of the hyperbolic quarter-circle enclosed by [latex]x=2\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y=2[/latex] above [latex]y=1\text{/}x.[/latex]

[T] Find the arc length of [latex]y=1\text{/}x[/latex] from [latex]x=1\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}x=4.[/latex]

[latex]3.1502[/latex]

Find the area under [latex]y=1\text{/}x[/latex] and above the x-axis from [latex]x=1\phantom{\rule{0.2em}{0ex}}\text{to}\phantom{\rule{0.2em}{0ex}}x=4.[/latex]

For the following exercises, verify the derivatives and antiderivatives.

[latex]\frac{d}{dx}\text{ln}\left(x+\sqrt{{x}^{2}+1}\right)=\frac{1}{\sqrt{1+{x}^{2}}}[/latex]

[latex]\frac{d}{dx}\text{ln}\left(\frac{x-a}{x+a}\right)=\frac{2a}{\left({x}^{2}-{a}^{2}\right)}[/latex]

[latex]\frac{d}{dx}\text{ln}\left(\frac{1+\sqrt{1-{x}^{2}}}{x}\right)=-\frac{1}{x\sqrt{1-{x}^{2}}}[/latex]

[latex]\frac{d}{dx}\text{ln}\left(x+\sqrt{{x}^{2}-{a}^{2}}\right)=\frac{1}{\sqrt{{x}^{2}-{a}^{2}}}[/latex]

[latex]\int \frac{dx}{x\phantom{\rule{0.2em}{0ex}}\text{ln}\left(x\right)\text{ln}\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)}=\text{ln}\left(\text{ln}\left(\text{ln}\phantom{\rule{0.2em}{0ex}}x\right)\right)+C[/latex]