Calculus Volume 2

# 1.6Integrals Involving Exponential and Logarithmic Functions

Calculus Volume 21.6 Integrals Involving Exponential and Logarithmic Functions

### Learning Objectives

• 1.6.1 Integrate functions involving exponential functions.
• 1.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+C∫axdx=axlna+C∫exdx=ex+C∫axdx=axlna+C$
1.21

### Example 1.37

#### Finding an Antiderivative of an Exponential Function

Find the antiderivative of the exponential function ex.

Checkpoint 1.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 1.38

#### Square Root of an Exponential Function

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

Checkpoint 1.32

Find the antiderivative of $ex(3ex−2)2.ex(3ex−2)2.$

### Example 1.39

#### Using Substitution with an Exponential Function

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

Checkpoint 1.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 1.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 1.41

#### Evaluating a Definite Integral Involving an Exponential Function

Evaluate the definite integral $∫12e1−xdx.∫12e1−xdx.$

Checkpoint 1.34

Evaluate $∫02e2xdx.∫02e2xdx.$

### Example 1.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 1.35

From Example 1.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 1.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 1.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 1.44

#### Evaluating a Definite Integral Using Substitution

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

Checkpoint 1.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|+C∫lnxdx=xlnx−x+C=x(lnx−1)+C∫logaxdx=xlna(lnx−1)+C∫x−1dx=ln|x|+C∫lnxdx=xlnx−x+C=x(lnx−1)+C∫logaxdx=xlna(lnx−1)+C$
1.22

### Example 1.45

#### Finding an Antiderivative Involving $lnxlnx$

Find the antiderivative of the function $3x−10.3x−10.$

Checkpoint 1.38

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

### Example 1.46

#### Finding an Antiderivative of a Rational Function

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

### Example 1.47

#### Finding an Antiderivative of a Logarithmic Function

Find the antiderivative of the log function $log2x.log2x.$

Checkpoint 1.39

Find the antiderivative of $log3x.log3x.$

Example 1.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 1.48

#### Evaluating a Definite Integral

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

### Section 1.6 Exercises

In the following exercises, compute each indefinite integral.

320.

$∫e2xdx∫e2xdx$

321.

$∫e−3xdx∫e−3xdx$

322.

$∫2xdx∫2xdx$

323.

$∫3−xdx∫3−xdx$

324.

$∫12xdx∫12xdx$

325.

$∫2xdx∫2xdx$

326.

$∫1x2dx∫1x2dx$

327.

$∫1xdx∫1xdx$

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

328.

$∫lnxxdx∫lnxxdx$

329.

$∫dxx(lnx)2∫dxx(lnx)2$

330.

$∫dxxlnx(x>1)∫dxxlnx(x>1)$

331.

$∫dxxlnxln(lnx)∫dxxlnxln(lnx)$

332.

$∫tanθdθ∫tanθdθ$

333.

$∫cosx−xsinxxcosxdx∫cosx−xsinxxcosxdx$

334.

$∫ln(sinx)tanxdx∫ln(sinx)tanxdx$

335.

$∫ln(cosx)tanxdx∫ln(cosx)tanxdx$

336.

$∫xe−x2dx∫xe−x2dx$

337.

$∫x2e−x3dx∫x2e−x3dx$

338.

$∫esinxcosxdx∫esinxcosxdx$

339.

$∫etanxsec2xdx∫etanxsec2xdx$

340.

$∫elnxdxx∫elnxdxx$

341.

$∫eln(1−t)1−tdt∫eln(1−t)1−tdt$

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

342.

343.

$∫x2ln2xdx∫x2ln2xdx$

344.

$∫lnxx2dx∫lnxx2dx$ $(Hint:Setu=1x.)(Hint:Setu=1x.)$

345.

$∫lnxxdx∫lnxxdx$ $(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(2x)dx∫tan(2x)dx$

349.

$∫sin(3x)−cos(3x)sin(3x)+cos(3x)dx∫sin(3x)−cos(3x)sin(3x)+cos(3x)dx$

350.

$∫xsin(x2)cos(x2)dx∫xsin(x2)cos(x2)dx$

351.

$∫xcsc(x2)dx∫xcsc(x2)dx$

352.

$∫ln(cosx)tanxdx∫ln(cosx)tanxdx$

353.

$∫ln(cscx)cotxdx∫ln(cscx)cotxdx$

354.

$∫ex−e−xex+e−xdx∫ex−e−xex+e−xdx$

In the following exercises, evaluate the definite integral.

355.

$∫121+2x+x23x+3x2+x3dx∫121+2x+x23x+3x2+x3dx$

356.

$∫0π/4tanxdx∫0π/4tanxdx$

357.

$∫0π/3sinx−cosxsinx+cosxdx∫0π/3sinx−cosxsinx+cosxdx$

358.

$∫π/6π/2cscxdx∫π/6π/2cscxdx$

359.

$∫π/4π/3cotxdx∫π/4π/3cotxdx$

In the following exercises, integrate using the indicated substitution.

360.

$∫xx−100dx;u=x−100∫xx−100dx;u=x−100$

361.

$∫y−1y+1dy;u=y+1∫y−1y+1dy;u=y+1$

362.

$∫1−x23x−x3dx;u=3x−x3∫1−x23x−x3dx;u=3x−x3$

363.

$∫sinx+cosxsinx−cosxdx;u=sinx−cosx∫sinx+cosxsinx−cosxdx;u=sinx−cosx$

364.

$∫e2x1−e2xdx;u=e2x∫e2x1−e2xdx;u=e2x$

365.

$∫ln(x)1−(lnx)2xdx;u=lnx∫ln(x)1−(lnx)2xdx;u=lnx$

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=e−xy=e−x$ 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=−2−xy=−2−x$ over $[0,1][0,1]$

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

372.

$f(x)=log10(x)x;a=10,b=100f(x)=log10(x)x;a=10,b=100$

373.

$f(x)=log2(x)x;a=32,b=64f(x)=log2(x)x;a=32,b=64$

374.

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

375.

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

376.

Find the area under the graph of the function $f(x)=xe−x2f(x)=xe−x2$ between $x=0x=0$ and $x=5.x=5.$

377.

Compute the integral of $f(x)=xe−x2f(x)=xe−x2$ and find the smallest value of N such that the area under the graph $f(x)=xe−x2f(x)=xe−x2$ 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)=xe−x2f(x)=xe−x2$ between $x=0x=0$ and $x=5.x=5.$

379.

Show that $∫abdtt=∫1/b1/adtt∫abdtt=∫1/b1/adtt$ when $0

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 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 $∫1xy1tdt∫1xy1tdt$ to show that $lnxy=lnx+lnyforx,y>0.lnxy=lnx+lnyforx,y>0.$

385.

Use the identity $lnx=∫1xdtxlnx=∫1xdtx$ 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 $k≥1,|S(2πk)−S(2π(k+1))|≤1k(2k+1)π.k≥1,|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πe−x2/2dx.∫−1112πe−x2/2dx.$

390.

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