Advanced Integration Techniques
Advanced Integration Techniques
Contents
1. Basic Techniques
We begin with a collection of quick explanations and exercises using standard
techniques to evaluate integrals that will be used later on.
where x = v(y). Then the rule allows us to calculate the integral of a less compli-
cated function provided we Zmake an appropriate transformation of the differential.
Consider, for example, x2 (x3 + 1)100 dx. While it is possible to expand the
binomial by the binomial theorem and then use the decomposition method, it is
easier to substitute u = x3 +1. Then the differential should be du = 3x2 dx. Hence,
1
2 MITCHELL HARRIS AND JON CLAUS
Z Z
1 100
x2 (x3 + 1)100 dx = u · (3x2 dx)
3
Z
1
= u100 du
3
1 101
= u +C
303
1
= (x3 + 1)101 + C
303
It is important to remember that u was a variable we made up (to represent
x3 +1) and that it has no meaning to an outside observer. We must always substitute
back in for the original variables, and in this case express our answer in terms of x.
1.3.1. Understanding the formula. Given two differentiable functions u and v that
are dependent on x, the product rule for differentiation gives
(uv)0 = u0 v + v 0 u.
Z Z
0
(uv) dx = (u0 v + v 0 u) dx
Z Z
uv = u0 v dx + v 0 u dx
Z Z
u v dx = uv − v 0 u dx
0
Hence, when the left hand side is hard to evaluate but we can find the integral
on the right hand side, we can apply this formula.
ADVANCED TECHNIQUES OF INTEGRATION 3
1.3.2. Integrals of Inverses. Applying the integration by parts formula to any dif-
ferentiable function f (x) gives
Z Z
f (x) dx = xf (x) − xf 0 (x) dx.
Z
= xf −1 (x) − f ◦ f −1 (x) · (f −1 (x))0 dx
= xf −1 (x) − F ◦ f −1 (x) + C,
which allows for the quick evaluation of the integral of the inverse of a multitude
of functions if we know the integral of the original function.
Exercise 1.2. Evaluate the following indefinite integrals by employing the idea of
integration by parts.
Z Z
(1) xe−x dx (7) sec3 (x) dx
√
Z Z
(2) x ln2 (x) dx (8) (arcsin(x))2 dx
Z Z √
(3) ln(x) dx (9) e x dx
Z Z
(4) arctan(x) dx (10) sin(ln(x)) dx
Z Z
(5) x2 arccos(x) dx (11) eax cos(bx) dx
Z Z p
(6) sec(x) dx (12) ln(x + 1 + x2 ) dx
Z p Z
1
(1) a2 + x2 dx (3) p dx
Z p (x + a)(x + b)
x2
Z
(2) √ dx (4) (x + a)(x + b) dx
a2 + x2
2. “Rational” Functions
2.1. Denominator is Quadratic. The simplest rational function with a quadratic
1
denominator is . If we try to evaluate this integral, it is helpful to
ax2 + bx + c
b 2 b2
“complete the square” and write ax2 + bx + c = a x + 2a + c − 4a . Then it is
b2
easier to see that for c − 4 >0
Z Z
dx dx
=
ax2 + bx + c b
2 q
b2
2
a x + 2a + c− 4a
Z
1 dx
=
a u2 + v 2
1 u
= arctan + C,
av v
q b
b c− 2a
where u = x + 2a and v = a .
b2
In the case that c − ≤ 0, then the denominator can be factored and evaluated
4
using partial fraction decomposition.
This technique can be applied to integrals where the situation may not be so
obvious. For instance, for the integral
Z
(x + 1)
2
dx
x +x+1
ADVANCED TECHNIQUES OF INTEGRATION 5
one might try an immediate substitution, which would fail. First split the numer-
2
ator x + 1 = x + 12 + 12 to match the denominator written as x + 12 + 12 . Now
it is more obvious how to apply the above technique along with a substitution as
x + 21 1
Z Z Z
(x + 1) 2
2
dx = 2 dx + 2 dx
x +x+1 x + 21 + 12 x + 12 + 12
1 1 2x + 1
= ln(4x2 + 4x + 3) + √ tan √ +C
2 2 2
Exercise 2.7. Using the above ideas or another method, evaluate the following
indefinite integrals.
x2 a1 x2 + b1 x + c1
Z Z
(1) √ dx (3) 2
dx
1 + 2x − x2 Z ax + bx + c
Z
x2 x
(2) √ dx (4) √ dx
1 + x + x2 (x − 1) 1 + 2x − x2
2
ADVANCED TECHNIQUES OF INTEGRATION 7
Z
1 Z √
(5) √ dx x2 + x + 1
(7) dx
(1 − x)21− x2 (x + 1)2
Z √ 2
x + 2x + 2x
(6) dx
2.9. Chebyshev’s Theorem. The integrals we have treated thus far have either
been square roots of functions or functions raised to integral powers. The indefinite
integral of many functions with other rational exponents cannot be written in terms
of elementary functions. In particular,
Z
xm (a + bxn )p dx
2.9.2. Case m+1n is an integer. Since p is not necessarily an integer, we focus the
substitution on the binomial term. If the binomial were raised to the power of
the denominator of p, say N , then N p is an integer. So let z N = a + bxn , where
N m n
xm = z b−a . This substitution works because N z n−1 dz = bnxn−1 dx, so the
integral becomes
m
(z N − a)/b n
Z
N −1
n−1 · z · z N p dz.
N
((z − a)/b) n
Furthermore, m n − n−1
n is an integer if m−n+1
n = m+1n − 1 is an integer. Since this
is that case in particular, this substitution works to make all the powers integers
and we may continue as before.
−n
2.9.3. Case m+1
n +p is an integer. The verification that the substitution ax +b =
N
z works is similar to the previous case but a bit more technical. It is left as an
exercise to the interested reader.
Exercise 2.9. Evaluate the follow indefinite integrals using Chebyshev’s theorem.
Z p Z
1
(1) 3 4
x + x dx (3) √4
dx
4
Z Z p1 + x
1 3
(2) √
3
dx (4) 3x − x3 dx
1 + x3
3. Trig Integrals
We will assume competency with the integrals of common trigonometric expres-
sions.
3.1. “Rational” Trig Functions. When confronted with an integral of the form
Z
A sin x + B cos x
dx,
a sin x + b cos x
d
we need to exploit the relationship that dx (a sin x + b cos x) = a cos x − b sin x. We
can write the numerator as a linear combination c1 (a sin x + b cos x) + c2 (a cos x −
b sin x) in order to use the decomposition method to evaluate the integral as
u0
Z
c1 + c2 dx, with u = a sin x + b cos x,
u
which evaluates to c1 x + c2 ln |a sin x + b cos x| + C. The constants c1 and c2 are
determined by the equation A sin x + B cos x = c1 (a sin x + b cos x) + c2 (a cos x −
b sin x). Comparing coefficients of the sine and cosine terms gives us a system of
equations that can be solved to get
aA + bB aB − bA
c1 = 2 and c2 = 2 .
a + b2 a + b2
In contrast, integrals of the form
Z
1
dx
a sin x + b cos x
do not have the numerator to allow for helpful cancellation. We know that a linear
combination of trig functions is in turn a simple trig function. Our goal is to turn
the denominator into an expression of the form A sin(x+φ) for some constant phase
ADVANCED TECHNIQUES OF INTEGRATION 9
angle φ. Using the angle sum formula, this is A cos φ sin x + A sin φ cos x. We can
set this equal to the original denominator,
a sin x + b cos x = (A cos φ) sin x + (A sin φ) cos x
√
and equate the coefficients as a = A cos φ and b = A sin φ. Then A = a2 + b2 and
tan φ = ab . So all we need to do is calculate
−1
Z Z
1 1
dx = csc(x + φ)dx = ln | csc(x + φ) + cot(x + φ)| + C
A sin(x + φ) A A
and substitute in for A and φ.
3.2. Hyperbolic Functions. When dealing with integrals of hyperbolic functions,
there are two general ways to proceed. We can either evaluate them with the
substitution ex = u or using hyperbolic identities, such as cosh2 x − sinh2 x = 1.
The substitution method is more general and builds on previous sections. This
is because all hyperbolic functions are rational functions of ex , meaning that there
exists some rational function f (ex ) = h(x), where h(x) is a hyperbolic function.
In addition, the substitution maps dx to u1 du. Hence, after the susbtition, any
hyperbolic function will be transformed into an expression involving polynomials
of u in place of the hyperbolic functions.
An alternative to the substitution method is to evaluate hyperbolic integrals in
the same manner as trignometric integrals, but with a slightly different identity set.
Here is one such example:
sinh(2x) − 1
Z Z
sinh2 (x)dx = dx)
2
sinh(2x) x
= − +C
4 2
This following example is evaluated using the standard substitution.
u4
Z Z
2 2 1 1 1
sinh (x) cosh (x)dx = − − dx)
16 16u4
u 8
u4 1 ln u
= + 4
− +C
64 64u 8
e4x e−4x x
= + − +C
64 64 8
sinh(4x) x
= − +C
32 8
In general, it is often hard to convert a polynomial of ex back into hyperbolic
form, which is one of the shortcomings of the substitution method. One of the
strengths of this method is that it allows any rational function of hyperbolic func-
tions to be evaluated using the substitution and Ostrogradsky’s Method.
Lastly, one can convert a hyperbolic function using the relations i sinh(x) =
sin(ix) and cosh(x) = cos(ix) and the substitution ix = u. However, this involves
integration of complex numbers and will not be dealt with in this text.
Exercise 3.1. Evaluate the follow indefinite integrals containing hyperbolic func-
tions.
10 MITCHELL HARRIS AND JON CLAUS
Z Z p
(1) cosh4 (x) dx (5) tanh(x) dx
Z Z
1
(2) sinh3 (x) dx (6) dx
Z Z sinh(x) + 2 cosh(x)
cosh(x)
(3) sinh(x) · sinh(2x) · sinh(3x) dx (7) dx
Z
1 Z 3 sinh(x) − 4 cosh(x)
(4) dx
(8) sinh(ax) · cosh(bx) dx
sinh2 x − 4 sinh x cosh x + 9 cosh2 x
Acknowledgements
The exercises themselves were largely translated and selected from the Russian
text of Gradshteyn Ryzhik. The authors would like to thank Sergei Shabanov for
his help with the translation and other helpful comments. Please report errors to
[email protected].