Skip to main content

Business Calculus with Excel

Section 7.4 Integration by Change of Variables or Substitution

At the end of the last section, we warned that the symbolic integration techniques we have developed only work for problems that exactly fit our formulas. When we tried integrating an exponential function where the exponent was a constant times t, we had to change the base to get a function with only t in the exponent. We want to develop one more technique of integration, called change of variables or substitution, to handle integrals that are pretty close to our stated rules. This technique is often called u-substitution and is related to the chain rule for differentiation.

Subsection 7.4.1 Change of variables for indefinite integrals

We start by exploring some examples where we can get the desired result by the guess and check technique.

Example 7.4.1. Power of a linear by guess and check.

Find (3x+5)7dx.
Solution.
We could do this problem by rewriting the integrand as an explicit seventh degree polynomial and then using the power and sum rules, but that is too much work. Instead, I will notice the integrand looks almost like a power, and thus guess an answer of 18(3x+5)8+C. I then check by differentiating. Using the chain rule,
ddx(18(3x+5)8+C)=188(3x+5)813=3(3x+5)7.
Thus our guess was off by a factor of 3 and the correct antiderivative is
1318(3x+5)8+C=124(3x+5)8+C.
We can easily use the same trick to produce a rule for powers of a linear polynomial.

Example 7.4.2. Power of a generic linear by guess and check.

Find (ax+b)ndx.
Solution.
As we did in the previous example, we first guess the antiderivative to be 1n+1(ax+b)n+1+C. We then take the derivative of that expression and obtain a(ax+b)n. This misses our integrand by a factor of a. We adjust by that factor and find the antiderivative is 1a1(n+1)(ax+b)n+1+C.
We can use the same trick to produce a rule for functions that are the exponential of a linear function.

Example 7.4.3. Antidifferentiation of an exponential function by guess and check.

Find eax+bdx.
Solution.
As we did in the last example, our first guess uses the basic rule without worrying about the linear term, so we guess eax+b+C. We then take the derivative of that expression and obtain aeax+b. This misses our integrand by a factor of a. We adjust by that factor and find the antiderivative is 1aeax+b+C.
We run into a problem if we try to extend this method with quadratic terms. If we start with (x2+5)3 and guess an antiderivative of 14(x2+5)4, when we differentiate we get (x2+5)32x and are off by a factor of 8x. However, when we divide by that factor to get (x2+5)48x as a proposed antiderivative, and then differentiate again, we get
42x(x2+5)38x(x2+5)488x,
which is not what we want. The key is to start by recalling the chain rule:
ddx(f(g(x)))=f(g(x))g(x).
We want to use the same rule with a different notation, using implicit differentiation and a new variable u:
ddx(f(u))=f(u)dudx.
By the fundamental theorem of calculus, we can convert this to an integration formula:
f(u)dudxdx=f(u)+C.
We will generally simplify dudxdx to du, so our substitution rule is
f(u)du=f(u)+C.
Let us rework some earlier examples with this method and then illustrate the method with a more difficult problem.

Example 7.4.4. Power of linear example redone with change of variables.

Find (3x+5)7dx.
Solution.
The obvious candidate for u is 3x+5. Then du=3dx. Thus
(3x+5)7dx=13(3x+5)7(3dx) (Make u and duexplicit.)=13(u)7du (Do the substitution.)=138(u)8+C (Find the integral in terms of u.)=124(3x+5)8+C (Substitute back.).
This is easy to generalize for a power of a linear term.

Example 7.4.5. Power of generic linear example redone with change of variables.

Find (ax+b)ndx.
Solution.
The obvious candidate for u is ax+b. Then du=adx. Hence
(ax+b)ndx=1a(ax+b)n(adx) (Make u and du explicit.)=1a(u)ndu (Do the substitution.)=1a(n+1)(u)n+1+C (Find the integral in terms of u.)=1a(n+1)(ax+b)n+1+C (Substitute back.).
To use this method with u replacing something more complicated than a linear term, we need to have du available, with the possible addition of multiplying by a scalar constant.

Example 7.4.6. Power of cubic function with change of variables.

Find (2x3+11)7x2dx.
Solution.
The obvious candidate for u is 2x3+11, since it is an expression taken to a large power. Then du=6x2dx. Thus
(2x3+11)7x2dx=16(2x3+11)7(6x2dx) (Make u and du explicit.)=16(u)7du (Do the substitution.)=168(u)8+C (Find the integral in terms of u.)=148(2x3+11)8+C (Substitute back.).
By convention, u is often used the new variable used with this change of variables technique, so the technique is often called u-substitution.

Subsection 7.4.2 Change of variables for definite integrals

In the definite integral, we understand that a and b are the x-values of the ends of the integral. We could be more explicit and write x=a and x=b. The last step in solving a definite integral is to substitute the endpoints back into the antiderivative we have found. We can either change the variables for the endpoints as well, or we can convert the antiderivative back to the original variables before substituting. Consider the following example.

Example 7.4.7. A definite integral with change of variables.

Evaluate 13e2x+5dx.
Solution 1.
Solution 1: Convert everything to u. The obvious candidate for u is 2x+5. Then du=2dx. For the lower endpoint, x=1 becomes u=2(1)+5=7. For the upper endpoint x=3 becomes u=2(3)+5=11. Substituting,
13e2x+5dx=(12)(2)13e2x+5dx) (Add needed factors.)=1213e2x+5(2dx) (Make u and du explicit.)=12u=7u=11eudu (Do the substitution.)=12eu|711 (Find the antiderivative.)=12e1112e7. (Evaluate.).
Solution 2.
Solution 2: Keeping, but labeling, the endpoints. We have the same u and du, but do not convert the endpoints. To reduce confusion we make sure to label the variable when we are using both x and u. Thus,
13e2x+5dx=1213e2x+5(2dx) (Make u and du explicit.)=12x=1x=3eudu (Do the substitution.)=12eu|x=1x=3 (Find the antiderivative.)=12e2x+3|x=1x=3 (Convert back.)=12e1112e7. (Evaluate.).
It should be noted that when we change variables we may find ourselves looking at an integral from a to b where the b<a. We do not change the order of the endpoints.

Example 7.4.8. A second definite integral with change of variables.

Evaluate 21xe(x2)dx
Solution.
(Convert everything to u.) The obvious candidate for u is x2. Then du=2xdx. For the lower endpoint, x=2 becomes u=(2)2=4. For the upper endpoint x=1 becomes u=12=1. Substituting,
21xe(x2)dx=1221e(x2)(2xdx)(Make u and duexplicit.)=1241eudu (Do the substitution.)=12eu|41 (Find the antiderivative.)=12(1e4). (Evaluate.).

Reading Questions 7.4.3 Reading Check

1. Reading check, Integration by Change of Variable or Substitution.

This question checks your reading comprehension of the material is section 7.4, Integration by Change of Variable or Substitution, of Business Calculus with Excel. Based on your reading, select all statements that are correct. There may be more than one correct answer. The statements may appear in what seems to be a random order.
  1. For the method of substitution, we want to make both u and du explicit.
  2. Substitution for integration is related to the chain rule for integration.
  3. We can pick any expression for u when doing substitution.
  4. We can also do change of variables with definite integrals.
  5. One of the methods in this section is called Guess and Check.
  6. None of the above

Exercises 7.4.4 Exercises: Integration by Change of Variables or Substitution Problems

Exercise Group.

Evaluate the following integrals. In each case identify the term that will be treated as u.
1.
(5x+3)4dx.
Solution.
Let u=5x+3. Then du=5dx.
(5x+3)4dx=(u)4du5=u525+c=(5x+3)525+c.
3.
(x/52)2/3dx.
Solution.
Let u=x/52. Then du=dx/5.
(x/52)2/3dx=5u2/3du=5u5/35/3+c=3u5/3+c=3(x/52)5/3+c.
4.
(143567x+98736)2578965dx.
5.
(8x3)dx.
Solution.
Let u=8x3. Then du=8dx.
(8x3)1/2dx=1/8u1/2du=112u3/2+c=112(8x3)3/2+c.
7.
100e.06t5dt.
Solution.
Let u=0.06t5. Then du=0.06dt.
100e0.06t5dt=10.06100eudu=100eu0.06+c=100e0.06t50.06+c.
9.
(2x+5)(x2+5x+3)5dx.
Solution.
Let u=x2+5x+3. Then du=(2x+5)dx.
(2x+5)(x2+5x+3)5dx=u5du=u66+c=(x2+5x+3)66+c.
11.
3x2+1x3+x+9dx.
Solution.
Let u=x3+x+9. Then du=(3x2+1)dx.
3x2+1x3+x+9dx=duu=ln|u|+c=ln|x3+x+9|+c.
13.
03e3x+1dx.
Solution.
Let u=3x+1. Then du=3dx.
03e3x+1dx=u=1u=10eudu=13eu|u=1u=10=13(e10e1).
15.
05e(0.05(t+1))dt.
Solution.
Let u=0.05(t+1). Then du=0.05dt.
05e0.05(t+1)dt=10.05u=0.05u=0.3eudu=20eu|u=0.05u=0.3=20(e0.3e0.05).
17.
16x3x2+7dx.
Solution.
Let u=3x2+7. Then du=6xdx.
16x(3x2+7)1/2dx=16u=10u=115u1/2du=19u3/2|u=10u=115=19(1153/2103/2)133.51.

19.

Find an antiderivative F(x) for f(x)=x2(x3+7)3 such that F(0)=5.
Solution.
Let u=x3+7. Then du=6x2dx.
(x2)(x3+7)3dx=16u3du=u424+c=(x3+7)424+cF(0)=5=(7)424+cc=5(7)4244F(x)=(x3+7)424+5(7)424.

20.

Find an antiderivative F(x) for f(x)=(4x3+5)exp(x4+5x9) such that F(0)=2.

21.

An investment stream pays out at a rate of $10,000 per year. In computing present value, I assume an investment return rate of 5% compounded continuously. What is the present value of the first 10 years of the payout?
Solution.
Value=01010000e0.05tdt=10000e0.05t0.05|010=100000.05(e0.51)78693.87.

22.

My gas well is returning a payout of $10,000. The well output is expected to decay exponentially with half as much output in 7 years. How much do I make over the next 10 years?

23.

The sales rate on a book is s(t)=1000texp(t2/4), with time in years.
  1. What are the total sales over 10 years?
  2. When does the sales rate drop to 10?
  3. What is the maximum sales rate?
Solution.
  1. Let u=t24. Then du=t2dt.
    Sales=0101000tet2/4dt=0252000eudu=2000eu)|025=2000((1e25)2000.
  2. 10=1000tet2/4t5.0028.
  3. At t=1.454, sales are approximately 857.4

24.

The marginal profit on an item is Mp(q)=(100q)(q2+1)2, measured in thousands of dollars per thousands of units.
  1. How much should I produce to maximize profits?
  2. What is my profit function if my start up cost is $60,000?
  3. What is the maximum profit?
You have attempted 1 of 2 activities on this page.