Integrals Involving Exponential and Logarithmic Functions

Exponential and logarithmic functions are used to model population growth, cell growth, and financial growth, as well as depreciation, radioactive decay, and resource consumption, to name only a few applications. In this section, we explore integration involving exponential and logarithmic functions.

Integrals of Exponential Functions

The exponential function is perhaps the most efficient function in terms of the operations of calculus. The exponential function, y=ex,

is its own derivative and its own integral.

Rule: Integrals of Exponential Functions

Exponential functions can be integrated using the following formulas.

exdx=ex+Caxdx=axlna+C
Finding an Antiderivative of an Exponential Function

Find the antiderivative of the exponential function ex.

Use substitution, setting u=x,

and then du=−1dx.

Multiply the du equation by −1, so you now have du=dx.

Then,

exdx=eudu=eu+C=ex+C.

Find the antiderivative of the function using substitution: x2e−2x3.

x2e−2x3dx=16e−2x3+C
Hint

Let u equal the exponent on e.

A common mistake when dealing with exponential expressions is treating the exponent on e the same way we treat exponents in polynomial expressions. We cannot use the power rule for the exponent on e. This can be especially confusing when we have both exponentials and polynomials in the same expression, as in the previous checkpoint. In these cases, we should always double-check to make sure we’re using the right rules for the functions we’re integrating.

Square Root of an Exponential Function

Find the antiderivative of the exponential function ex1+ex.

First rewrite the problem using a rational exponent:

ex1+exdx=ex(1+ex)1/2dx.

Using substitution, choose u=1+ex.u=1+ex.

Then, du=exdx.

We have ([link])

ex(1+ex)1/2dx=u1/2du.

Then

u1/2du=u3/23/2+C=23u3/2+C=23(1+ex)3/2+C.

A graph of the function f(x) = e^x * sqrt(1 + e^x), which is an increasing concave up curve, over [-3, 1]. It begins close to the x axis in quadrant two, crosses the y axis at (0, sqrt(2)), and continues to increase rapidly.

Find the antiderivative of ex(3ex2)2.

ex(3ex2)2dx=19(3ex2)3
Hint

Let u=3ex2u=3ex2.

Using Substitution with an Exponential Function

Use substitution to evaluate the indefinite integral 3x2e2x3dx.

Here we choose to let u equal the expression in the exponent on e. Let u=2x3

and du=6x2dx..

Again, du is off by a constant multiplier; the original function contains a factor of 3x2, not 6x2. Multiply both sides of the equation by 12

so that the integrand in u equals the integrand in x. Thus,

3x2e2x3dx=12eudu.

Integrate the expression in u and then substitute the original expression in x back into the u integral:

12eudu=12eu+C=12e2x3+C.

Evaluate the indefinite integral 2x3ex4dx.

2x3ex4dx=12ex4
Hint

Let u=x4.

As mentioned at the beginning of this section, exponential functions are used in many real-life applications. The number e is often associated with compounded or accelerating growth, as we have seen in earlier sections about the derivative. Although the derivative represents a rate of change or a growth rate, the integral represents the total change or the total growth. Let’s look at an example in which integration of an exponential function solves a common business application.

A price–demand function tells us the relationship between the quantity of a product demanded and the price of the product. In general, price decreases as quantity demanded increases. The marginal price–demand function is the derivative of the price–demand function and it tells us how fast the price changes at a given level of production. These functions are used in business to determine the price–elasticity of demand, and to help companies determine whether changing production levels would be profitable.

Finding a Price–Demand Equation

Find the price–demand equation for a particular brand of toothpaste at a supermarket chain when the demand is 50 tubes per week at $2.35 per tube, given that the marginal price—demand function, p(x),

for x number of tubes per week, is given as

p'(x)=−0.015e−0.01x.

If the supermarket chain sells 100 tubes per week, what price should it set?

To find the price–demand equation, integrate the marginal price–demand function. First find the antiderivative, then look at the particulars. Thus,

p(x)=−0.015e−0.01xdx=−0.015e−0.01xdx.

Using substitution, let u=−0.01x

and du=−0.01dx.

Then, divide both sides of the du equation by −0.01. This gives

−0.015−0.01eudu=1.5eudu=1.5eu+C=1.5e−0.01x+C.

The next step is to solve for C. We know that when the price is $2.35 per tube, the demand is 50 tubes per week. This means

p(50)=1.5e−0.01(50)+C=2.35.

Now, just solve for C:

C=2.351.5e−0.5=2.350.91=1.44.

Thus,

p(x)=1.5e−0.01x+1.44.

If the supermarket sells 100 tubes of toothpaste per week, the price would be

p(100)=1.5e−0.01(100)+1.44=1.5e−1+1.441.99.

The supermarket should charge $1.99 per tube if it is selling 100 tubes per week.

Evaluating a Definite Integral Involving an Exponential Function

Evaluate the definite integral 12e1xdx.

Again, substitution is the method to use. Let u=1x,

so du=−1dx

or du=dx.

Then e1xdx=eudu.

Next, change the limits of integration. Using the equation u=1x,

we have

u=1(1)=0u=1(2)=−1.

The integral then becomes

12e1xdx=0−1eudu=−10eudu=eu\|−10=e0(e−1)=e−1+1.

See [link].

A graph of the function f(x) = e^(1-x) over [0, 3]. It crosses the y axis at (0, e) as a decreasing concave up curve and symptotically approaches 0 as x goes to infinity.

Evaluate 02e2xdx.

1204eudu=12(e41)
Hint

Let u=2x.

Growth of Bacteria in a Culture

Suppose the rate of growth of bacteria in a Petri dish is given by q(t)=3t,

where t is given in hours and q(t)

is given in thousands of bacteria per hour. If a culture starts with 10,000 bacteria, find a function Q(t)

that gives the number of bacteria in the Petri dish at any time t. How many bacteria are in the dish after 2 hours?

We have

Q(t)=3tdt=3tln3+C.

Then, at t=0

we have Q(0)=10=1ln3+C,

so C9.090

and we get

Q(t)=3tln3+9.090.

At time t=2,

we have

Q(2)=32ln3+9.090
=17.282.

After 2 hours, there are 17,282 bacteria in the dish.

From [link], suppose the bacteria grow at a rate of q(t)=2t.

Assume the culture still starts with 10,000 bacteria. Find Q(t).

How many bacteria are in the dish after 3 hours?

Q(t)=2tln2+8.557.

There are 20,099 bacteria in the dish after 3 hours.

Hint

Use the procedure from [link] to solve the problem.

Fruit Fly Population Growth

Suppose a population of fruit flies increases at a rate of g(t)=2e0.02t,

in flies per day. If the initial population of fruit flies is 100 flies, how many flies are in the population after 10 days?

Let G(t)

represent the number of flies in the population at time t. Applying the net change theorem, we have

G(10)=G(0)+0102e0.02tdt=100+[20.02e0.02t]\|010=100+[100e0.02t]\|010=100+100e0.2100122.

There are 122 flies in the population after 10 days.

Suppose the rate of growth of the fly population is given by g(t)=e0.01t,

and the initial fly population is 100 flies. How many flies are in the population after 15 days?

There are 116 flies.

Hint

Use the process from [link] to solve the problem.

Evaluating a Definite Integral Using Substitution

Evaluate the definite integral using substitution: 12e1/xx2dx.

This problem requires some rewriting to simplify applying the properties. First, rewrite the exponent on e as a power of x, then bring the x2 in the denominator up to the numerator using a negative exponent. We have

12e1/xx2dx=12ex−1x−2dx.

Let u=x−1,

the exponent on e. Then

du=x−2dxdu=x−2dx.

Bringing the negative sign outside the integral sign, the problem now reads

eudu.

Next, change the limits of integration:

u=(1)−1=1u=(2)−1=12.

Notice that now the limits begin with the larger number, meaning we must multiply by −1 and interchange the limits. Thus,

11/2eudu=1/21eudu=eu\|1/21=ee1/2=ee.

Evaluate the definite integral using substitution: 121x3e4x−2dx.

121x3e4x−2dx=18[e4e]
Hint

Let u=4x−2.

Integrals Involving Logarithmic Functions

Integrating functions of the form f(x)=x−1

result in the absolute value of the natural log function, as shown in the following rule. Integral formulas for other logarithmic functions, such as f(x)=lnx

and f(x)=logax,

are also included in the rule.

Rule: Integration Formulas Involving Logarithmic Functions

The following formulas can be used to evaluate integrals involving logarithmic functions.

x−1dx=ln\|x\|+Clnxdx=xlnxx+C=x(lnx1)+Clogaxdx=xlna(lnx1)+C
Finding an Antiderivative Involving lnx

Find the antiderivative of the function 3x10.

First factor the 3 outside the integral symbol. Then use the u−1 rule. Thus,

3x10dx=31x10dx=3duu=3ln\|u\|+C=3ln\|x10\|+C,x10.

See [link].

A graph of the function f(x) = 3 / (x – 10). There is an asymptote at x=10. The first segment is a decreasing concave down curve that approaches 0 as x goes to negative infinity and approaches negative infinity as x goes to 10. The second segment is a decreasing concave up curve that approaches infinity as x goes to 10 and approaches 0 as x approaches infinity.

Find the antiderivative of 1x+2.

ln\|x+2\|+C
Hint

Follow the pattern from [link] to solve the problem.

Finding an Antiderivative of a Rational Function

Find the antiderivative of 2x3+3xx4+3x2.

This can be rewritten as (2x3+3x)(x4+3x2)−1dx.

Use substitution. Let u=x4+3x2,

then du=4x3+6x.

Alter du by factoring out the 2. Thus,

du=(4x3+6x)dx=2(2x3+3x)dx12du=(2x3+3x)dx.

Rewrite the integrand in u:

(2x3+3x)(x4+3x2)−1dx=12u−1du.

Then we have

12u−1du=12ln\|u\|+C=12ln\|x4+3x2\|+C.
Finding an Antiderivative of a Logarithmic Function

Find the antiderivative of the log function log2x.

Follow the format in the formula listed in the rule on integration formulas involving logarithmic functions. Based on this format, we have

log2xdx=xln2(lnx1)+C.

Find the antiderivative of log3x.

xln3(lnx1)+C
Hint

Follow [link] and refer to the rule on integration formulas involving logarithmic functions.

[link] is a definite integral of a trigonometric function. With trigonometric functions, we often have to apply a trigonometric property or an identity before we can move forward. Finding the right form of the integrand is usually the key to a smooth integration.

Evaluating a Definite Integral

Find the definite integral of 0π/2sinx1+cosxdx.

We need substitution to evaluate this problem. Let u=1+cosx,,

so du=sinxdx.

Rewrite the integral in terms of u, changing the limits of integration as well. Thus,

u=1+cos(0)=2u=1+cos(π2)=1.

Then

0π/2sinx1+cosx=21u−1du=12u−1du=ln\|u\|\|12=[ln2ln1]=ln2.

Key Concepts

Key Equations


axdx=axlna+C
lnxdx=xlnxx+C=x(lnx1)+C
logaxdx=xlna(lnx1)+C

In the following exercises, compute each indefinite integral.

e2xdx
e−3xdx
−13e−3x+C
2xdx
3xdx
3xln3+C
12xdx
2xdx
ln(x2)+C
1x2dx
1xdx
2x+C

In the following exercises, find each indefinite integral by using appropriate substitutions.

lnxxdx
dxx(lnx)2
1lnx+C
dxxlnx(x>1)
dxxlnxln(lnx)
ln(ln(lnx))+C
tanθdθ
cosxxsinxxcosxdx
ln(xcosx)+C
ln(sinx)tanxdx
ln(cosx)tanxdx
12(ln(cos(x)))2+C
xex2dx
x2ex3dx
ex33+C
esinxcosxdx
etanxsec2xdx
etanx+C
elnxdxx
eln(1t)1tdt
t+C

In the following exercises, verify by differentiation that lnxdx=x(lnx1)+C,

then use appropriate changes of variables to compute the integral.

lnxdx (Hint:lnxdx=12xln(x2)dx)
x2ln2xdx
19x3(ln(x3)1)+C
lnxx2dx (Hint:Setu=1x.)
lnxxdx (Hint:Setu=x.)
2x(lnx2)+C

Write an integral to express the area under the graph of y=1t

from t=1

to ex and evaluate the integral.

Write an integral to express the area under the graph of y=et

between t=0

and t=lnx,

and evaluate the integral.

0lnxetdt=et\|0lnx=elnxe0=x1

In the following exercises, use appropriate substitutions to express the trigonometric integrals in terms of compositions with logarithms.

tan(2x)dx
sin(3x)cos(3x)sin(3x)+cos(3x)dx
13ln(sin(3x)+cos(3x))
xsin(x2)cos(x2)dx
xcsc(x2)dx
12ln\|csc(x2)+cot(x2)\|+C
ln(cosx)tanxdx
ln(cscx)cotxdx
12(ln(cscx))2+C
exexex+exdx

In the following exercises, evaluate the definite integral.

121+2x+x23x+3x2+x3dx
13ln(267)
0π/4tanxdx
0π/3sinxcosxsinx+cosxdx
ln(31)
π/6π/2cscxdx
π/4π/3cotxdx
12ln32

In the following exercises, integrate using the indicated substitution.

xx100dx;u=x100
y1y+1dy;u=y+1
y2ln\|y+1\|+C
1x23xx3dx;u=3xx3
sinx+cosxsinxcosxdx;u=sinxcosx
ln\|sinxcosx\|+C
e2x1e2xdx;u=e2x
ln(x)1(lnx)2xdx;u=lnx
13(1(lnx2))3/2+C

In the following exercises, does the right-endpoint approximation overestimate or underestimate the exact area? Calculate the right endpoint estimate R50 and solve for the exact area.

[T] y=ex

over [0,1]

[T] y=ex

over [0,1]

Exact solution: e1e,R50=0.6258.

Since f is decreasing, the right endpoint estimate underestimates the area.

[T] y=ln(x)

over [1,2]

[T] y=x+1x2+2x+6

over [0,1]

Exact solution: 2ln(3)ln(6)2,R50=0.2033.

Since f is increasing, the right endpoint estimate overestimates the area.

[T] y=2x

over [−1,0]

[T] y=2x

over [0,1]

Exact solution: 1ln(4),R50=−0.7164.

Since f is increasing, the right endpoint estimate overestimates the area (the actual area is a larger negative number).

In the following exercises, f(x)0

for axb.

Find the area under the graph of f(x)

between the given values a and b by integrating.

f(x)=log10(x)x;a=10,b=100
f(x)=log2(x)x;a=32,b=64
112ln2
f(x)=2x;a=1,b=2
f(x)=2x;a=3,b=4
1ln(65,536)

Find the area under the graph of the function f(x)=xex2

between x=0

and x=5.

Compute the integral of f(x)=xex2

and find the smallest value of N such that the area under the graph f(x)=xex2

between x=N

and x=N+10

is, at most, 0.01.

NN+1xex2dx=12(eN2e(N+1)2).

The quantity is less than 0.01 when N=2.

Find the limit, as N tends to infinity, of the area under the graph of f(x)=xex2

between x=0

and x=5.

Show that abdtt=1/b1/adtt

when 0<ab.

abdxx=ln(b)ln(a)=ln(1a)ln(1b)=1/b1/adxx

Suppose that f(x)>0

for all x and that f and g are differentiable. Use the identity fg=eglnf

and the chain rule to find the derivative of fg.

Use the previous exercise to find the antiderivative of h(x)=xx(1+lnx)

and evaluate 23xx(1+lnx)dx.

23

Show that if c>0,

then the integral of 1/x

from ac to bc (0<a<b)

is the same as the integral of 1/x

from a to b.

The following exercises are intended to derive the fundamental properties of the natural log starting from the definition ln(x)=1xdtt,

using properties of the definite integral and making no further assumptions.

Use the identity ln(x)=1xdtt

to derive the identity ln(1x)=lnx.

We may assume that x>1,so1x<1.

Then, 11/xdtt.

Now make the substitution u=1t,

so du=dtt2

and duu=dtt,

and change endpoints: 11/xdtt=1xduu=lnx.

Use a change of variable in the integral 1xy1tdt

to show that lnxy=lnx+lnyforx,y>0.

Use the identity lnx=1xdtx

to show that ln(x)

is an increasing function of x on [0,),

and use the previous exercises to show that the range of ln(x)

is (,).

Without any further assumptions, conclude that ln(x)

has an inverse function defined on (,).

Pretend, for the moment, that we do not know that ex

is the inverse function of ln(x),

but keep in mind that ln(x)

has an inverse function defined on (,).

Call it E. Use the identity lnxy=lnx+lny

to deduce that E(a+b)=E(a)E(b)

for any real numbers a, b.

Pretend, for the moment, that we do not know that ex

is the inverse function of lnx,

but keep in mind that lnx

has an inverse function defined on (,).

Call it E. Show that E'(t)=E(t).

x=E(ln(x)).

Then, 1=E'(lnx)xorx=E'(lnx).

Since any number t can be written t=lnx

for some x, and for such t we have x=E(t),

it follows that for any t,E'(t)=E(t).

The sine integral, defined as S(x)=0xsinttdt

is an important quantity in engineering. Although it does not have a simple closed formula, it is possible to estimate its behavior for large x. Show that for k1,\|S(2πk)S(2π(k+1))\|1k(2k+1)π.

(Hint:sin(t+π)=sint)

[T] The normal distribution in probability is given by p(x)=1σ2πe(xμ)2/2σ2,

where σ is the standard deviation and μ is the average. The standard normal distribution in probability, ps,

corresponds to μ=0andσ=1.

Compute the left endpoint estimates R10andR100

of −1112πex2/2dx.

R10=0.6811,R100=0.6827

A graph of the function f(x) = .5 * ( sqrt(2)*e^(-.5x^2)) / sqrt(pi). It is a downward opening curve that is symmetric across the y axis, crossing at about (0, .4). It approaches 0 as x goes to positive and negative infinity. Between 1 and -1, ten rectangles are drawn for a right endpoint estimate of the area under the curve.

[T] Compute the right endpoint estimates R50andR100

of −35122πe(x1)2/8.


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/9a1df55a-b167-4736-b5ad-15d996704270@5.1

Attribution: