Match the integration method to a common kind of integrand it's used to antidifferentiate.
(A) u=f(x) substitution
(I)
a function multiplied by its derivative
(B) trigonometric substitution
(II)
a polynomial function times an exponential function
(C) integration by parts
(III)
a rational function
(D) partial fractions
(IV)
the square root of a quadratic function
Hint+
Each option in each column should be used exactly once.
Answer+
(A)–(I), (B)–(IV), (C)–(II), (D)–(III)
Full solution+
(A) Note ∫f′(x)f(x)dx=∫udu if we substitute u=f(x). This is the kind of integrand described in (I). It's quite possible that a u=f(x) substitution would work on the others, as well, but (I) is the most reliable kind of integrand for a u=f(x) substitution.
(B) A trigonometric substitution usually allows us to cancel out a square root containing a quadratic function, as in (IV).
(C) We can often antidifferentiate the product of a polynomial with an exponential function using integration by parts: see Examples 1.7.1, 1.7.6
in the CLP-2 text. If we let u be the polynomial function and dv be the exponential, as long as we can antidifferentiate dv, we can repeatedly apply integration by parts until the polynomial function goes away. So, we go with (II)
(D) We apply partial fractions to rational functions, (III).
Note: without knowing more about the functions, there's no guarantee that the methods we chose will be the best methods, or even that they will work (with the exception of (I)). With practice, you gain intuition about likely methods for different integrals. Luckily for you, there's lots of practice below.
2Stage 2Procedural
Practising the skill itself, until applying it is automatic.
The integrand is the product of sines and cosines. See how this was handled with a substitution in Section 1.8.1 of the CLP-2 text.
After your substitution, you should have a polynomial expression in u–but it might take some simplification to get it into a form you can easily integrate.
Answer+
51−72+91=3158
Full solution+
The integrand is a product of powers of sine and cosine. Since cosine has an odd power, we want to substitute u=sinx, du=cosxdx. Therefore, we should:
reserve one cosine for the derivative of sine in our substitution, and
change the rest of the cosines to sines using the identity sin2x+cos2x=1.
We notice that the integrand has a quadratic polynomial under the square root. If that polynomial were a perfect square, we could get rid of the square root:
try a trig substitution, as in Section 1.9 of the CLP-2 text.
The identity sin(2θ)=2sinθcosθ might come in handy.
Answer+
253arcsin(x35)+2x3−5x2+C
Full solution+
We notice that there is a quadratic equation under the square root. If that equation were a perfect square, we could get rid of the square root: so we'll mould it into a perfect square using a trig substitution.
Our candidates will use one of the following identities:
1−sin2θ=cos2θtan2θ+1=sec2θsec2θ−1=tan2θ
We'll be substituting x=(something), so we notice that 3−5x2 has the general form of
(constant)−(function), as does 1−sin2θ. In order to get the constant right, we multiply through by three:
3−3sin2θ=3cos2θ
Our goal is to get 3−5x2=3−3sin2θ; so we solve this equation for x and decide on the substitution
From our substitution x=3/5sinθ, we glean sinθ=x5/3, and θ=arcsin(x5/3). To figure out cosθ, we draw a right triangle. Let θ be one angle, and since sinθ=3x5, we let the hypotenuse be 3 and the side opposite θ be x5. By Pythagoras, the missing side (adjacent to θ) has length 3−5x2.
Therefore, cosθ=hypadj=33−5x2. So our integral evaluates to:
Notice the integral is improper. When you compute the limit, l'H^opital's rule might help.
If you're struggling to think of how to antidifferentiate, try writing exx−1=(x−1)e−x.
Answer+
0
Full solution+
First, we note the integral is improper. So, we'll need to replace the top bound with a variable, and take a limit. Second, we're going to have to antidifferentiate. The integrand is the product of an exponential function, e−x, with a polynomial function, x−1, so we use integration by parts with u=x−1, dv=e−xdu, du=dx, and v=−e−x.
Which method usually works for rational functions (the quotient of two polynomials)?
Answer+
log3x+1x+1+C
Full solution+
Notice the denominator factors as (x+1)(3x+1). Since the integrand is a rational function (the quotient of two polynomials), we can use partial fraction decomposition.
The previous solution is probably the nicest. However, for the foolhardy or the brave, this integral can also be evaluated using trigonometric substitution.
We start by completing the square on the denominator.
This has the form of a function minus a constant, which matches the trigonometric identity sec2θ−1=tan2θ. Multiplying through by 31, we see we can use the identity 31sec2θ−31=31tan2θ. So, to get the substitution right, we want to choose a substitution that makes the following true:
Using the result of Example 1.8.21 in the CLP-2 text,
or a table of integrals:
=2log∣cscθ+cotθ∣+C
Our final task is to translate this back from θ to x. Recall we used the substitution 3x+2=secθ. Using this information, and secθ=adjacenthypotenuse, we can fill in two sides of a right triangle with angle θ. The Pythagorean theorem tells us the third side (opposite to θ) has measure (3x+2)2−1=9x2−12x+3.
It would be nice to replace logarithm with its derivative, x1.
Answer+
38log2−97
Full solution+
We see that we have two functions multiplied, but they don't simplify nicely with each other. However, if we differentiate logarithm, and integrate x2, we'll get a polynomial. So, let's use integration by parts.
u=logxdv=x2dx
du=(1/x)dxv=x3/3
First, let's antidifferentiate. We'll deal with the limits of integration later.
The integrand is a rational function, so it is possible to use partial fractions. But there is a much easier way!
Answer+
21logx2−3+C
Full solution+
The derivative of the denominator shows up in the numerator, only differing by a constant, so we perform a substitution. Specifically,
substitute u=x2−3, du=2xdx.
This gives
You should prepare your own personal internal list of integration techniques ordered
from easiest to hardest. You should have associated to each technique
your own personal list of signals that you use to decide when the technique
is likely to be useful.
Answer+
(a)
2
(b)
152
(c)
163e4+161
Full solution+
(a) Although a quadratic under a square root often suggests trigonometric substitution, in this case we have an easier substitution.
Specifically, let y=9+x2. Then dy=2xdx,xdx=2dy,y(0)=9, and y(4)=25.
(b)
The power of cosine is odd, so we can reserve one cosine for the differential and change the rest to sines.
Substituting y=sinx,dy=cosx, dx,y(0)=0,y(π/2)=1,cos2x=1−y2:
(c)
The integrand is the product of two different kinds of functions, with no obvious substitution or simplification. If we differentiate logx, it will match better with the polynomial nature of the rest of the integrand.
So, integrate by parts with u(x)=logx and dv=x3dx, then
du=x1dx and v=x4/4.
For the integral of secant, see
See Section 1.8.3 or Example 1.10.5 in the
CLP-2 text.
In (c), notice the denominator is not yet entirely factored.
Answer+
(a)
e2+1
(b)
log(2+1)
(c)
log1315≈0.1431
Full solution+
(a) This is a classic integration-by-parts example. If we integrate ex, it doesn't change, and if we differentiate x it becomes a constant. So,
let u=x and dv=exdx,
so that du=dx and v=ex.
∫02xexdx=[xex]02−∫02exdx=2e2−[ex]02=e2+1
(b) We have a quadratic function underneath a square root. In the absence of an easier substitution, we can get rid of the square root with a trigonometric substitution.
Substitute x=tany, dx=sec2ydy. When x=0, tany=0
so y=0. When x=1, tany=1 so y=4π. Also 1+x2=1+tan2y=sec2y=secy, since secy≥0 for all
0≤y≤4π.
Part (a) can be done by inspection – use a little highschool geometry!
Part (b) is reminiscent of the antiderivative of logarithm–how did we find that one out?
Part (c) is an improper integral.
Answer+
(a)
49π
(b)
log2−2+2π≈0.264
(b)
2log2−21≈0.886
Full solution+
(a)
∫039−x2dx is the area of the portion of the
disk x2+y2≤9 that lies in the first quadrant. It is
41π33=49π. Alternatively,
you could also evaluate this integral using the substitution
x=3siny, dx=3cosydy.
(b) It's not immediately obvious what to do with this one, but remember we found ∫logxdx using integration by parts with u=logx and dv=dx. Let's hope a similar trick works here.
Integrate by parts, using u=log(1+x2) and dv=dx, so that
du=1+x22xdx, v=x.
Since the numerator does not have smaller degree than the denominator, we need to do some long division before we can set up our partial fractions decomposition.
(a) It doesn't matter to us right now that the arguments of sine and cosine are 2x rather than x. This is still the integral of powers of products of sines and cosines. Since cosine has an odd power, we
make the substitution u=sin(2x), du=2cos(2x)dx.
To antidifferentiate the second piece, we split it into two integrals: one that can be handled with the substitution u=x2+1, and another that looks like the derivative of arctangent.
(d)
We know the derivative of arctangent, and it would integrate nicely if multiplied to the antiderivative of x. So, we
integrate by parts with u=arctanx and dv=xdx so that
du=1+x21dx and v=21x2. Then
since siny=2x and cosy=1−sin2y=1−4x2. Alternately, we can draw a triangle with siny=2x, and use the Pythagorean theorem to find the adjacent side.
(c)
Seeing a rational function with no obvious substitution, we use the method of partial fractions. The denominator is already completely factored.
Setting x=1 gives us C=2.
Setting x=0 gives us B=−1. Furthermore, the coefficient
of x2 on the left hand side (after collecting like terms), namely A+C, must be the same as
the coefficient of x2 on the right hand side, namely 0.
So A+C=0 and A=−2.
Checking,
For part (b), first complete the square in the denominator.
You can save some work by first comparing the derivative of the denominator
with the numerator.
For part (d) use a simple substitution.
(b) The denominator is an irreducible quadratic, so partial fractions can't get us any further. To integrate a function whose denominator is quadratic, we split the numerator up so that one piece can be evaluated with a u-substitution, and the other piece looks like arctangent.
For part (a), can you convert this into a partial fractions integral?
For part (b), start by completing the square inside the square root.
Answer+
(a)
−41log∣ex+1∣+41log∣ex−3∣+C
(b)
34π−23
Full solution+
(a)
If the integrand had x's instead of ex's it would be a rational function,
ripe for the application of partial fractions. So let's start by making the
substitution u=ex, du=exdx:
∫(ex+1)(ex−3)exdx=∫(u+1)(u−3)du
Now, we follow the partial fractions protocol, starting with expressing
(u+1)(u−3)1=u+1A+u−3B
To find A and B, the sneaky way, we cross multiply by the denominator
1=A(u−3)+B(u+1)
and find A and B by evaluating at u=−1 and u=3, respectively.
Hmmm. The numerator is x2−4x+4=(x−2)2. So let's make the integral look somewhat simpler by substituting u=x−2, du=dx.
When x=2 we have u=0, and when x=4 we have u=2, so:
∫x=2x=412+4x−x2x2−4x+4dx=∫u=0u=216−u2u2du
This is perfect for the trig substitution u=4sinθ,
du=4cos(θ)dθ. When u=0 we have 4sinθ=0
and hence θ=0. When u=2 we have 4sinθ=2
and hence θ=6π. So
(b)
The integrand is an even function, and the limits of integration are symmetric. So, we can slightly simplify the integral by replacing the lower limit with 0, and doubling the integral.
We'd rather not use partial fractions here, because it would be pretty complicated. Instead, notice that the numerator is only off by a constant from the derivative of x5.
Substituting x5=4y, 5x4dx=4dy,
and using that x=2⟹25=4y⟹y=8,
We have an integrand with x multiplied by something integrable. So, if we use integration by parts with u=x and dv=x−1dx, then du=dx (that is, the x goes away) and v=32(x−1)3/2.
We have just seen two solutions. There are other solutions too. For example, one could use the substitution u=x−1. Or, as another example, one could write
xx−1=(x−1)x−1+x−1=(x−1)3/2+(x−1)1/2
and just guess a function whose derivative is (x−1)3/2 and a function whose derivative is
(x−1)1/2.
Note the quadratic function under the square root: you can solve this with trigonometric substitution, as in Section 1.9 of the CLP-2 text.
Answer+
logx+x2−2−xx2−2+C
Full solution+
We are to integrate
∫x2x2−2dx
We notice that there is a quadratic function under the square root. If that function were a perfect square, we could get rid of the square root: so we'll mould it into a perfect square using a trig substitution.
Our candidates are the following identities:
1−sin2θ=cos2θtan2θ+1=sec2θsec2θ−1=tan2θ
We'll be substituting x=(something), so we notice that x2−2 has the general form of
(function)−(constant), as does sec2θ−1. In order to get the constant right, we multiply through by two:
2sec2θ−2=2tan2θ
or:
(2secθ)2−2=2tan2θ
So we decide to use the substitution
xdxx2−2=2secθ0≤θ<π/2(Recall that x≥2.)=2secθtanθdθ=2sec2θ−2=2tan2θ=2∣tanθ∣=2tanθsince 0≤θ<π/2
Now that we've chosen the substitution, we evaluate the integral.
Now we need everything back in terms of x. We need a triangle. Since x=2secθ, that means that if we label an angle θ, its secant (hypotenuse over adjacent side) is 2x. By Pythagoras, the opposite side is x2−2.
So tanθ=adjopp=2x2−2, and sinθ=hypopp=xx2−2. Then the value of the integral is:
Note that the simplification in the last step is possible because C is an arbitrary constant. So, C−log2 is just another arbitrary constant and can be renamed to C.
Try a substitution, as in Section 1.8.2 of the CLP-2 text.
Answer+
247
Full solution+
This is the product of secants and tangents, as in Section 1.8.2
of the CLP-2 text.
If u=tanx, then du=sec2xdx. We can get the remaining two secants to turn into tangents with the identity sec2x=1+tan2x, so we'll use this substitution.
What's the usual trick for evaluating a rational function (quotient of polynomials)?
Answer+
3log∣x+1∣+x+12−2(x+1)25+C
Full solution+
We can use partial fraction decomposition to break this into chunks that we can deal with. The denominator has a repeated linear factor, so it can be decomposed as the sum of constants divided by powers of that factor.
If the denominator were x2+1, the antiderivative would be arctangent.
Answer+
32arctan(32x+31)+C
Full solution+
If the denominator were x2+1, the antiderivative would be arctangent. So, by completing the square, let's aim for the fraction to look like u2+11, for some u. This is a good strategy for integrating an irreducible quadratic under a constant.
First: complete the square
∫x2+x+11dx=∫x2+x+41+431dx=∫(x+21)2+431dx
Second: get the denominator in the form u2+1. To do this, we need to fix the constant
We have the integral of a rational function with no obvious substitution, so we use partial fractions. That means we need to factor the denominator. We see that x=−1 is a root of the denominator, so x+1 is a factor. You might be able to figure out the rest of the factorization by inspection, or from having seen this common expression before; alternately, we can use long division.
Matching up coefficients of corresponding power of x, we see B=−31 and C=32.
∫x3+11dx=∫(x+11/3−x2−x+131x−32)dx
To integrate the second fraction, we break it up into two pieces: one we can integrate using the substitution u=x2−x+1, the other will look like the derivative of arctangent.
You have the product of two quite dissimilar functions in the integrand–try integration by parts.
Answer+
3x3arcsinx+31−x2−(1−x2)3/2+C
Full solution+
By process of elimination, we decide to use integration by parts. We won't get anything better by antidifferentiating arcsine, so let's plan on differentiating it:
So: we've gotten rid of the ugly pairing of arcsine with a polynomial, but now we're in another pickle. From here, two options present themselves. We could use the substitution u=1−x2, or we could use a trig substitution.
We would like to not have that square root there. Luckily, there's a way of turning cosine into cosine squared: the identity cos(2x)=2cos2x−1. If we take 2x=t, then cost=2cos2(t/2)−1.
What is the derivative of the function in the denominator? How could that be useful to you?
Answer+
log(log(cos(0.2))log(cos(0.1)))
Full solution+
∫0.10.2log(cosx)tanxdx
It might not be immediately obvious how to proceed on this one, so this is another example of an integral where you should not be discouraged by finding methods that don't work. One thing that's worked for us in the past is to use a u-substitution with the denominator. With that in mind, let's find the derivative of the denominator.
dxd{log(cosx)}=cosx1⋅(−sinx)=cosx−sinx=−tanx
So, if we let u=log(cosx), we see −du=tanxdx, which will work for a substitution.
Things to notice: the integrand is only defined when log(cosx) exists AND is nonzero. So, for instance, it is not defined when x=0, because then logcosx=log1=0, and we can't divide by zero.
In the final simplification, since 0.1 and 0.2 are between 0 and π/2, the cosine term is positive but less than one, so log(cos0.1) and log(cos0.2) are both negative; then their quotient is positive, so we can drop the absolute value signs.
Using the base change formula, we can also write the final answer as
log(logcos(0.2)cos(0.1)).
(a) Without any other ideas, we see we have a compound function–a function of a function. We often find it useful to substitute for the “inside" function. So, we
substitute u=logx, du=x1dx. Then
dx=xdu=eudu.
∫sin(logx)dx=∫sin(u)eudu
We have already seen, in Example 1.7.11 of
the CLP-2 text, that
∫sin(u)eudu=21eu(sinu−cosu)+C
So,
∫sin(logx)dx=21x[sin(logx)−cos(logx)]+C
(b)
The integrand is of the form N(x)/D(x) with N(x) of lower degree
than D(x). So we factor D(x)=(x−2)(x−3) and look for a partial fractions decomposition:
For part (a), split the integral in two. One part may be evaluated
by interpreting it geometrically, without doing any integration at all.
For part (c), multiply both the numerator and denominator by ex
and then make a substitution.
Answer+
(a)
49π+9
(b)
2log∣x−2∣−log(x2+4)+C
(c)
2π
Full solution+
(a)
If we expand the integrand, one part of it is quite familiar–a portion of a circle.
So, we split the specified integral in two.
∫03(x+1)9−x2dx=∫039−x2dx+∫03x9−x2dx
The first piece represents the area above the x–axis and below the curve
y=9−x2, i.e. x2+y2=9, with 0≤x≤3. That's the area of
one quadrant of a disk of radius 3. So
∫039−x2dx=41(π⋅32)=49π
For the second part, we substitute u=9−x2, du=−2xdx. Note
u(0)=9 and u(3)=0. So,
(b)
The integrand is of the form N(x)/D(x) with D(x) already factored
and N(x) of lower degree. We immediately look for a partial fractions decomposition:
Here the second integral was found just by guessing an antiderivative.
Alternatively, one could use the substitution u=x2+4,
du=2xdx.
(c)
The given integral is improper, but only because of its infinite limits of integration. (The integrand is continuous for all real numbers.) So, we'll have to take two limits. Before we do that, though, let's find the antiderivative. We would like to use the substitution u=ex, du=exdx. That is, u1du=dx.
It's not immediately clear where to start, but a common method we've seen is to use the denominator in a u-substitution, especially when square roots are involved.
Let u=1−x, du=−21−x1dx. Then u2=1−x, so x=1−u2.
∫1−xxdx=2∫21−xxdx=−2∫1−u2du
Now we're back in familiar territory. Let u=sinθ, du=cosθdθ.
In (∗), to convert from θ to u, our substitution u=sinθ tells us θ=arcsinu. To find cosθ, we can either trace our work backwards to see that we already simplified 1−u2 into cosθ, or we can draw a right triangle with angle θ and sinθ=u, then use the Pythagorean theorem to find the length of the adjacent side of the triangle and cosθ.
Let's use the substitution u=ex. There are a few reasons to think this is a good choice. It's an “inside function," in that if we let f(x)=ex, then f(ex)=eex, which is a piece of our integrand. Also its derivative, ex, is multiplied by the rest of the integrand, since e2x=ex⋅ex .
Let u=ex, du=exdx. When x=0, u=1, and when x=1, u=e.
∫01e2xeexdx=∫01exeexexdx=∫1eueudu
This is more familiar. We use integration by parts with dv=eudu, v=eu. Conveniently, the “u" we brought in with the substitution is what we want to use for the “u" in integration by parts, so we don't have to change the names of our variables.
Use integration by parts. If you choose your parts well, the resulting integration will be very simple.
Answer+
x+1ex+C
Full solution+
The substitution u=x+1 looks promising at first, but doesn't result in something easily integrable. We can't use partial fractions because our integration isn't rational. This doesn't look like something from the trig-substitution family. So, let's think about integration by parts. There's a lot of different ways we could break up the integrand into two parts. For example, we could view it as ((x+1)2x)(ex), or we could view it as (x+1x)(x+1ex). After some trial and error, we settle on u=xex and dv=(x+1)−2dx. Then du=ex(x+1) and v=x+1−1.
It would be nice to use integration by parts with u=x, because then we would integrate ∫vdu, and du=dx. That is, the x would go away, and we'd be left with a pure trig integral. If we use u=x, then dv=cos2xsinx. We need to find v:
The cases n=−1 and n=−2 are different from all other values of n.
Answer+
∫x(x+a)ndx=⎩⎨⎧n+2(x+a)(n+2)−an+1(x+a)n+1+C(x+a)−alog∣x+a∣+Clog∣x+a∣+x+aa+C if n=−1,−2 if n=−1 if n=−2
Full solution+
If the unknown exponent gives you the jitters, think about what this looks like in easier cases. If n is a whole number, the integrand is a polynomial. Not so scary, right? However, it's a little complicated to expand. (You can do it using the very handy binomial theorem.) Let's think of an easier way.
If we had simply the variable x raised to the power n, rather than the binomial x+a, that might be nicer. So, let's use the substitution u=x+a, du=dx. Note x=u−a.
∫x(x+a)ndx=∫(u−a)undx=∫(un+1−aun)du
Now, if n=−1 and n=−2, we can just use the power rule:
We've seen how to antidifferentiate arctanx: integration by parts. Let's hope the same thing will work here.
Step 1: integration by parts.
Let u=arctan(x2) and dv=dx. Then du=x4+12xdu and v=x.
∫arctan(x2)dx=xarctan(x2)−∫x4+12x2dx
Now we have a rational function. There's no obvious substitution, but we can use partial fractions. The degree of the numerator is strictly less than the degree of the denominator, so we don't need to long divide first. We do, however, need to factor the denominator. It's a common function, so you might already know the factorization, or you might be able to guess it. Below, we show another way to find the factorization, similar to the method of partial fractions.
Step 2: factor x4+1.
For any real x, note x4+1>0. Since it has no roots, it has no linear factors. That means it factors as the product of two irreducible quadratics. That is,
x4+1=(ax2+bx+c)(dx2+ex+f)
Since the coefficient of x4 on the left-hand is 1, we may assume a=d=1.
x4+1=(x2+bx+c)(x2+ex+f)
Since the constant term is 1, cf=1. That is, f=c1.
Then the coefficient of x tells us 0=cb+ec=cb−bc. So, c=c1, hence c=±1.
Finally, the coefficient of x2 tells us
0=c1+be+c=c1−b2+c. Since −b2 is negative (or zero), c1+c is positive, so c=1. That is, 0=1−b2+1. So, b=2.
All together,
x4+1=(x2+2x+1)(x2−2x+1)
Step 3: partial fraction decomposition.
Now that we have the denominator factored into irreducible quadratics, we can find the partial fraction decomposition of the integrand.
To integrate, we want to break the fractions into two pieces each: one we can integrate with a substitution u=x2±2x+1 ,
du=(2x±2)dx (shown in blue), and one that looks like the derivative of arctangent (shown in red).
Remark: although this integral calculation was longer than average, it didn't use any new ideas (except for the factoring of x4+1 mentioned in the hint). It's good exercise to apply familiar techniques in challenging situations, to deepen your mastery.