This section integrates the easy way, by looking for antiderivatives. We leave aside sums of rectangular areas, and their limits as Δx → 0. Instead we search for an ƒ(x) with the required derivative u(x). In practice, this approach is more or less independent of the approach through sums—but it gives the same answer. And also, the search for an antiderivative may not succeed. We may not find ƒ. In that case we go back to rectangles, or on to something better in Section 5.8.
A computer is ready to integrate v, but not by discovering ƒ. It integrates between specified limits, to obtain a number (the definite integral). Here we hope to find a function (the indefinite integral). That requires a symbolic integration code like MACSYMA
or Mathematica
or MAPLE
, or a reasonably nice v(x), or both. An expression for ƒ(x) can have tremendous advantages over a list of numbers.
Thus our goal is to find antiderivatives and use them. The techniques will be further developed in Chapter 7—this section is short but good. First we write down what we know. On each line, ƒ(x) is an antiderivative of v(x) because dƒ/dx = v(x).
Known pairs | Function v(x) | Antiderivative ƒ(x) |
---|---|---|
Powers of x | xn | xn+1/(n + 1) + C |
n = -1 is not included, because n+1 would be zero. v = x-1 will lead us to ƒ = ln x.
Trigonometric functions | cos x | sin x + C |
---|---|---|
sin x | -cos x + C | |
sec²x | tan x + C | |
csc²x | -cot x + C | |
sec x tan x | sec x + C | |
csc x cot x | -csc x + C | |
Inverse functions | 1/√1−x² | sin-1 x + C |
1/(1+x²) | tan-1 x + C | |
1/|x|√1−x² | sec-1 x + C |
You recognize that each integration formula came directly from a differentiation formula. The integral of the cosine is the sine, because the derivative of the sine is the cosine. For emphasis we list three derivatives above three integrals:
d | (constant) = 0 | d | (x) = 1 | d | xn+1 | = xn | ||
dx | dx | dx | n+1 |
∫ | 0dx = C | ∫ | 1dx = x + C | ∫ | xndx = | xn+1 | + C |
n+1 |
There are two ways to make this list longer. One is to find the derivative of a new ƒ(x). Then ƒ goes in one column and v = dƒ/dx goes in the other column.* The other possibility is to use rules for derivatives to find rules for integrals. That is the way to extend the list, enormously and easily.
Among the rules for derivatives, three were of supreme importance. They were linearity, the product rule, and the chain rule. Everything flowed from those three. In the reverse direction (from v to ƒ) this is still true. The three basic methods of differential calculus also dominate integral calculus:
The easiest is linearity, which comes first. Integration by parts will be left for Section 7.1. This section starts on substitutions, reversing the chain rule to make an integral simpler.
What is the integral of v(x) + w(x)? Add the two separate integrals. The graph of v + w has two regions below it, the area under v and the area from v to v + w. Adding areas gives the sum rule. Suppose f and g are antiderivatives of v and w:
sum rule: | ƒ + g | is an antiderivative of | v + w |
---|---|---|---|
constant rule: | cƒ | is an antiderivative of | cv |
linearity: | aƒ + bg | is an antiderivative of | av + bw |
This is a case of overkill. The first two rules are special cases of the third, so logically the last rule is enough. However it is so important to deal quickly with constants—just "factor them outv—that the rule cv↔cƒ is stated separately. The proofs come from the linearity of derivatives: (aƒ + bg)' equals aƒ' + bg' which equals av + bw. The rules can be restated with integral signs:
sum rule: | ∫[v(x) + w(x)]dx = ∫v(x)dx + ∫w(x)dx |
---|---|
constant rule: | ∫cv(x)dx = c∫v(x)dx |
linearity: | ∫[av(x) − bw(x)] = a∫v(x)dx + b∫w(x)dx |
Note about the constant in ƒ(x) + C. All antiderivatives allow the addition of a constant. For a combination like av(x) + bw(x),the antiderivative is aƒ(x) + bg(x) + C. The constants for each part combine into a single constant. To give all possible antiderivatives of a function, just remember to write "+ C" after one of them. The real problem is to find that one antiderivative.
EXAMPLE 1 The antiderivative of v = x² + x-2 is ƒ = x³/3 + (x-1)/(-1) + C.
EXAMPLE 2 The antiderivative of 6 cos t + 7 sin t is 6 sin t − 7 cos t + C.
EXAMPLE 3 Rewrite 1 / (1 + sin x) as (1 − sin x) / (1 − sin²x) = (1 − sin x) / cos²x = sec²x − sec x tan x.
The antiderivative is tan x − sec x + C. That rewriting is done by a symbolic algebra code (or by you). Differentiation is often simple, so most people check that dƒ/dx = v(x).
Question How to integrate tan²x?
Method Write it as sec²x − 1. Answer tan x − x + C
We now present the most valuable technique in this section—substitution. To see the idea, you have to remember the chain rule:
ƒ(g(x)) | has derivative | ƒ'(g(x))(dg/dx) |
sin x² | has derivative | (cos x²)(2x) |
(x³+1)³ | has derivative | 5(x³+1)⁴(3x²) |
If the function on the right is given, the function on the left is its antiderivative! There are two points to emphasize right away:
1. Constants are no problem—they can always be fixed. Divide by 2 or 15:
∫ | x cos (x²) dx = | 1 | sin (x²) + C | ∫ | x²(x³+1)⁴dx = | 1 | (x³+1)⁵dx + C |
2 | 15 |
Notice the 2 from x², the 5 from the fifth power, and the 3 from x³.
2. Choosing the inside function g (or u) commits us to its derivative:
the integral of 2x cos x² is sin x² + C | (g = x², dg/dx = 2x) |
the integral of cos x² is (failure) | (no dg/dx) |
the integral of x² cos x² is (failure) | (wrong dg/dx) |
To substitute g for x², we need its derivative. The trick is to spot an inside function whose derivative is present. We can fix constants like 2 or 15, but otherwise dg/dx has to be there. Very often the inside function g is written u. We use that letter to state the substitution rule, when ƒ is the integral of v:
∫ | v(u(x)) | du | dx = ƒ(u(x)) + C. (1) |
dx |
EXAMPLE 4 ∫ sin x cos x dx = ½(sin x)² + C u = sin x (compare Example 6)
EXAMPLE 5 ∫ sin² x cos x dx = (1/3)(sin x)³ + C u = sin x
EXAMPLE 6 ∫ cos x sin x dx = -½(cos x)² + C u = cos x (compare Example 4)
The next example has u = x² − 1 and du/dx = 2x. The key step is choosing u:
EXAMPLE 8 ∫ x dx / √x² − 1 = √x² − 1 ∫ x√x² − 1dx = (1/3)(x² − 1)3/2 + C
A shift of x (to x + 2) or a multiple of x (rescaling to 2x) is particularly easy:
EXAMPLES 9-10 ∫ (x + 2)³ dx = ¼(x + 2)⁴ + C ∫ cos 2x dx = ½sin 2x + C
You will soon be able to do those in your sleep. Officially the derivative of (x + 2)⁴ uses the chain rule. But the inside function u = x + 2 has duldx = 1. The "1" is there automatically, and the graph shifts over—as in Figure 5.8b.
For Example 10 the inside function is u = 2x. Its derivative is du/dx = 2. This required factor 2 is missing in ∫ cos 2x dx, but we put it there by multiplying and dividing by 2. Check the derivative of ½ sin 2x: the 2 from the chain rule cancels the ½. The rule for any nonzero constant is similar:
∫ | v(x + c) dx = ƒ(x + c) and | ∫ | v(cx) dx = | 1 | ƒ(cx). (2) |
c |
Squeezing the graph by c divides the area by c. Now 3x + 7 rescales and shifts:
EXAMPLE 11 ∫ cos(3x+7) dx = (1/3)sin(3x+7) + C ∫ (3x+7)² dx= (1/3)⋅(1/3)(3x+7)³ + C
Remark on writing down the steps When the substitution is complicated, it is a good idea to get du/dx where you need it. Here 3x² + 1 needs 6x:
∫ | 7x(3x² + 1)⁴ dx = | 7 | ∫ | (3x² + 1)⁴6x dx = | 7 | ∫ | u⁴ | du | dx |
6 | 6 | dx |
Now integrate: | 7 | u⁵ | + C = | 7 | (3x²+1)⁵ | + C. (3) |
6 | 5 | 6 | 5 |
Check the derivative at the end. The exponent 5 cancels 5 in the denominator, 6x from the chain rule cancels 6, and 7x is what we started with.
Remark on differentials In place of (du/dx) dx, many people just write du:
∫ (3x² + 1)⁴6x dx = ∫ u⁴ du = (1/5)u⁵ + C. (4)
This really shows how substitution works. We switch from x to u, and we also switch from dx to du. The most common mistake is to confuse dx with du. The factor du/dx from the chain rule is absolutely needed, to reach du. The change of variables (dummy variables anyway!) leaves an easy integral, and then u turns back into 3x² + 1. Here are the four steps to substitute u for x:
EXAMPLE 12 ∫ (cos √x) dx / 2√x = ∫ cos u du (put in u) = sin u + C (integrate) = sin √x + C (put back x)
The choice of u must be right, to change everything from x to u. With ingenuity, some remarkable integrals are possible. But most will remain impossible forever. The functions cos x² and 1/√4 − sin²x have no "elementary" antiderivative. Those integrals are well defined and they come up in applications—the latter gives the distance around an ellipse. That can be computed to tremendous accuracy, but not to perfect accuracy.
The exercises concentrate on substitutions, which need and deserve practice. We give a nonexample—∫ (x²+1)² dx does not equal (1/3)(x² + 1)³—to emphasize the need for duldx. Since 2x is missing, u = x² + 1 does not work. But we can fix up π:
∫ | sin πx dx = | ∫ | sin u | du | = − | 1 | cos u + C = − | 1 | cos πx + C. |
π | π | π |