Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Calculus Volume 1

5.6 Integrals Involving Exponential and Logarithmic Functions

Calculus Volume 15.6 Integrals Involving Exponential and Logarithmic Functions

Learning Objectives

  • 5.6.1 Integrate functions involving exponential functions.
  • 5.6.2 Integrate functions involving 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,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+Cexdx=ex+Caxdx=axlna+C
(5.21)

Example 5.37

Finding an Antiderivative of an Exponential Function

Find the antiderivative of the exponential function ex.

Checkpoint 5.31

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

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.

Example 5.38

Square Root of an Exponential Function

Find the antiderivative of the exponential function ex1+ex.ex1+ex.

Checkpoint 5.32

Find the antiderivative of ex(3ex2)2.ex(3ex2)2.

Example 5.39

Using Substitution with an Exponential Function

Use substitution to evaluate the indefinite integral 3x2e2x3dx.3x2e2x3dx.

Checkpoint 5.33

Evaluate the indefinite integral 2x3ex4dx.2x3ex4dx.

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.

Example 5.40

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),p(x), for x number of tubes per week, is given as

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

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

Example 5.41

Evaluating a Definite Integral Involving an Exponential Function

Evaluate the definite integral 12e1xdx.12e1xdx.

Checkpoint 5.34

Evaluate 02e2xdx.02e2xdx.

Example 5.42

Growth of Bacteria in a Culture

Suppose the rate of growth of bacteria in a Petri dish is given by q(t)=3t,q(t)=3t, where t is given in hours and q(t)q(t) is given in thousands of bacteria per hour. If a culture starts with 10,000 bacteria, find a function Q(t)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?

Checkpoint 5.35

From Example 5.42, suppose the bacteria grow at a rate of q(t)=2t.q(t)=2t. Assume the culture still starts with 10,000 bacteria. Find Q(t).Q(t). How many bacteria are in the dish after 3 hours?

Example 5.43

Fruit Fly Population Growth

Suppose a population of fruit flies increases at a rate of g(t)=2e0.02t,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?

Checkpoint 5.36

Suppose the rate of growth of the fly population is given by g(t)=e0.01t,g(t)=e0.01t, and the initial fly population is 100 flies. How many flies are in the population after 15 days?

Example 5.44

Evaluating a Definite Integral Using Substitution

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

Checkpoint 5.37

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

Integrals Involving Logarithmic Functions

Integrating functions of the form f(x)=x−1f(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)=lnxf(x)=lnx and f(x)=logax,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)+Cx−1dx=ln|x|+Clnxdx=xlnxx+C=x(lnx1)+Clogaxdx=xlna(lnx1)+C
(5.22)

Example 5.45

Finding an Antiderivative Involving lnxlnx

Find the antiderivative of the function 3x10.3x10.

Checkpoint 5.38

Find the antiderivative of 1x+2.1x+2.

Example 5.46

Finding an Antiderivative of a Rational Function

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

Example 5.47

Finding an Antiderivative of a Logarithmic Function

Find the antiderivative of the log function log2x.log2x.

Checkpoint 5.39

Find the antiderivative of log3x.log3x.

Example 5.48 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.

Example 5.48

Evaluating a Definite Integral

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

Section 5.6 Exercises

In the following exercises, compute each indefinite integral.

320.

e 2 x d x e 2 x d x

321.

e −3 x d x e −3 x d x

322.

2 x d x 2 x d x

323.

3 x d x 3 x d x

324.

1 2 x d x 1 2 x d x

325.

2 x d x 2 x d x

326.

1 x 2 d x 1 x 2 d x

327.

1 x d x 1 x d x

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

328.

ln x x d x ln x x d x

329.

d x x ( ln x ) 2 d x x ( ln x ) 2

330.

d x x ln x ( x > 1 ) d x x ln x ( x > 1 )

331.

d x x ln x ln ( ln x ) d x x ln x ln ( ln x )

332.

tan θ d θ tan θ d θ

333.

cos x x sin x x cos x d x cos x x sin x x cos x d x

334.

ln ( sin x ) tan x d x ln ( sin x ) tan x d x

335.

ln ( cos x ) tan x d x ln ( cos x ) tan x d x

336.

x e x 2 d x x e x 2 d x

337.

x 2 e x 3 d x x 2 e x 3 d x

338.

e sin x cos x d x e sin x cos x d x

339.

e tan x sec 2 x d x e tan x sec 2 x d x

340.

e ln x d x x e ln x d x x

341.

e ln ( 1 t ) 1 t d t e ln ( 1 t ) 1 t d t

In the following exercises, verify by differentiation that lnxdx=x(lnx1)+C,lnxdx=x(lnx1)+C, then use appropriate changes of variables to compute the integral.

342.

x lnxdxx lnxdx (Hint:x lnxdx=12x ln(x2)dx)(Hint:x lnxdx=12x ln(x2)dx)

343.

x 2 ln( x 2 ) d x x 2 ln( x 2 ) d x

344.

lnxx2dxlnxx2dx (Hint:Setu=1x.)(Hint:Setu=1x.)

345.

lnxxdxlnxxdx (Hint:Setu=x.)(Hint:Setu=x.)

346.

Write an integral to express the area under the graph of y=1ty=1t from t=1t=1 to ex and evaluate the integral.

347.

Write an integral to express the area under the graph of y=ety=et between t=0t=0 and t=lnx,t=lnx, and evaluate the integral.

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

348.

tan ( 2 x ) d x tan ( 2 x ) d x

349.

sin ( 3 x ) cos ( 3 x ) sin ( 3 x ) + cos ( 3 x ) d x sin ( 3 x ) cos ( 3 x ) sin ( 3 x ) + cos ( 3 x ) d x

350.

x sin ( x 2 ) cos ( x 2 ) d x x sin ( x 2 ) cos ( x 2 ) d x

351.

x csc ( x 2 ) d x x csc ( x 2 ) d x

352.

ln ( cos x ) tan x d x ln ( cos x ) tan x d x

353.

ln ( csc x ) cot x d x ln ( csc x ) cot x d x

354.

e x e x e x + e x d x e x e x e x + e x d x

In the following exercises, evaluate the definite integral.

355.

1 2 1 + 2 x + x 2 3 x + 3 x 2 + x 3 d x 1 2 1 + 2 x + x 2 3 x + 3 x 2 + x 3 d x

356.

0 π / 4 tan x d x 0 π / 4 tan x d x

357.

0 π / 3 sin x cos x sin x + cos x d x 0 π / 3 sin x cos x sin x + cos x d x

358.

π / 6 π / 2 csc x d x π / 6 π / 2 csc x d x

359.

π / 4 π / 3 cot x d x π / 4 π / 3 cot x d x

In the following exercises, integrate using the indicated substitution.

360.

x x 100 d x ; u = x 100 x x 100 d x ; u = x 100

361.

y 1 y + 1 d y ; u = y + 1 y 1 y + 1 d y ; u = y + 1

362.

1 x 2 3 x x 3 d x ; u = 3 x x 3 1 x 2 3 x x 3 d x ; u = 3 x x 3

363.

sin x + cos x sin x cos x d x ; u = sin x cos x sin x + cos x sin x cos x d x ; u = sin x cos x

364.

e 2 x 1 e 2 x d x ; u = e 2 x e 2 x 1 e 2 x d x ; u = e 2 x

365.

ln ( x ) 1 ( ln x ) 2 x d x ; u = ln x ln ( x ) 1 ( ln x ) 2 x d x ; u = ln x

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.

366.

[T] y=exy=ex over [0,1][0,1]

367.

[T] y=exy=ex over [0,1][0,1]

368.

[T] y=ln(x)y=ln(x) over [1,2][1,2]

369.

[T] y=x+1x2+2x+6y=x+1x2+2x+6 over [0,1][0,1]

370.

[T] y=2xy=2x over [−1,0][−1,0]

371.

[T] y=2xy=2x over [0,1][0,1]

In the following exercises, f(x)0f(x)0 for axb.axb. Find the area under the graph of f(x)f(x) between the given values a and b by integrating.

372.

f ( x ) = log 10 ( x ) x ; a = 10 , b = 100 f ( x ) = log 10 ( x ) x ; a = 10 , b = 100

373.

f ( x ) = log 2 ( x ) x ; a = 32 , b = 64 f ( x ) = log 2 ( x ) x ; a = 32 , b = 64

374.

f ( x ) = 2 x ; a = 1 , b = 2 f ( x ) = 2 x ; a = 1 , b = 2

375.

f ( x ) = 2 x ; a = 3 , b = 4 f ( x ) = 2 x ; a = 3 , b = 4

376.

Find the area under the graph of the function f(x)=xex2f(x)=xex2 between x=0x=0 and x=5.x=5.

377.

Compute the integral of f(x)=xex2f(x)=xex2 and find the smallest value of N such that the area under the graph f(x)=xex2f(x)=xex2 between x=Nx=N and x=N+1x=N+1 is, at most, 0.01.

378.

Find the limit, as N tends to infinity, of the area under the graph of f(x)=xex2f(x)=xex2 between x=0x=0 and x=N.x=N.

379.

Show that abdtt=1/b1/adttabdtt=1/b1/adtt when 0<ab.0<ab.

380.

Suppose that f(x)>0f(x)>0 for all x and that f and g are differentiable. Use the identity fg=eglnffg=eglnf and the chain rule to find the derivative of fg.fg.

381.

Use the previous exercise to find the antiderivative of h(x)=xx(1+lnx)h(x)=xx(1+lnx) and evaluate 23xx(1+lnx)dx.23xx(1+lnx)dx.

382.

Show that if c>0,c>0, then the integral of 1/x1/x from ac to bc (0<a<b)(0<a<b) is the same as the integral of 1/x1/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,ln(x)=1xdtt, using properties of the definite integral and making no further assumptions.

383.

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

384.

Use a change of variable in the integral 1xy1tdt1xy1tdt to show that lnxy=lnx+lnyforx,y>0.lnxy=lnx+lnyforx,y>0.

385.

Use the identity lnx=1xdttlnx=1xdtt to show that ln(x)ln(x) is an increasing function of x on [0,),[0,), and use the previous exercises to show that the range of ln(x)ln(x) is (,).(,). Without any further assumptions, conclude that ln(x)ln(x) has an inverse function defined on (,).(,).

386.

Pretend, for the moment, that we do not know that exex is the inverse function of ln(x),ln(x), but keep in mind that ln(x)ln(x) has an inverse function defined on (,).(,). Call it E. Use the identity lnxy=lnx+lnylnxy=lnx+lny to deduce that E(a+b)=E(a)E(b)E(a+b)=E(a)E(b) for any real numbers a, b.

387.

Pretend, for the moment, that we do not know that exex is the inverse function of lnx,lnx, but keep in mind that lnxlnx has an inverse function defined on (,).(,). Call it E. Show that E'(t)=E(t).E'(t)=E(t).

388.

The sine integral, defined as S(x)=0xsinttdtS(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)π.k1,|S(2πk)S(2π(k+1))|1k(2k+1)π. (Hint:sin(t+π)=sint)(Hint:sin(t+π)=sint)

389.

[T] The normal distribution in probability is given by p(x)=1σ2πe(xμ)2/2σ2,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,ps, corresponds to μ=0andσ=1.μ=0andσ=1. Compute the right endpoint estimates R10andR100R10andR100 of −1112πex22dx.−1112πex22dx.

390.

[T] Compute the right endpoint estimates R50andR100R50andR100 of −35122πe(x1)2/8.−35122πe(x1)2/8.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction
Citation information

© Jul 25, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.