Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Block 8: Advanced Integration

Contents
8.1 Revision of Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
8.2 Integration by Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
8.3 Integration by Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
8.4 Integration using Partial Fractions . . . . . . . . . . . . . . . . . . . . . . . 10
8.5 Answers to Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2

8.1 Revision of Integration


R
Recall that f (x)dx is defined as the integral of a f (x) with respect to x. An indefinite
integral has no limits. Here we must always add an arbitrary constant to the answer.
Z
f (x) dx = F (x) + C

A definite integral has limits, say we integrate x between a and b. This does not require
an arbitrary constant and can be interpreted as the area under the curve.
Z b
Area = f (x) dx = F (b) − F (a)
a

d
where F (x) is a function such that F (x) = f (x). This is the Fundamental Theorem of
dx
Calculus
In F11EP1 you learnt how to differentiate common functions and the rules of differentiation.
Here is a reminder.

• Integration: Common Functions and Rules

General R Example R
f (x) f (x) f (x) f (x)
n xn+1 7 x8
x n+1
+ C for n 6= −1 x 8
+C
cos ax cos 5x
sin ax − +C sin 5x − +C
a 5
sin ax sin(2x)
cos ax +C cos(2x) +C
a 2
eax e−4x
eax +C e−4x − +C
a 4
1 1 1 1
ln(ax + b) + C 3x−2
ln(3x − 2) + C
ax + b a ³x´ 3 ³x´
1 1 1 1
tan−1 +C tan−1 +C
a + x2
2 a ³ xa´ 16 + x2 4 ³ x4´
1 1
√ sin−1 +C √ sin−1 +C
a2 − x2 R a 9 − x2 3
λg(x)dx λ g(x)dx 10e5x 2e5x + C
R R x3
(g(x) + h(x)) g(x)dx + h(x)dx x2 + cos x + sin x + C
3
d d
(f (x)) f (x) + C (sin 3x) sin 3x + C
dx dx
3

• Integration: Some Practice


Z
Example 8.1 (4e−2x + 9x2 ) dx

Solution
Z Z Z
−2x 2 −2x e−2x x3
(4e + 9x ) dx = 4 e dx + 9 x2 dx = 4 + 9 + C = −2e−2x + 3x3 + C
−2 3

Z
Example 8.2 (cos(E/8) + sin(E/2)) dE

Solution
Z
sin(E/8) cos(E/2)
(cos(E/8) + sin(E/2)) dE = − + C = 8 sin(E/8) − 2 cos(E/2) + C
1/8 1/2

Z 2
Example 8.3 (6x2 − 2x) dx
0

Solution Z 2 £ ¤2
(6x2 − 2x) dx = 2x3 − x2 0 = (16 − 4) − (0 − 0) = 12
0

Z 5
3
Example 8.4 dV
1 V
Solution Z 5
3
dV = [3 ln V ]51 = 3 ln(5) − 3 ln(1) = 3 ln(5)
1 V

Z ∞
Example 8.5 100e−x dx
0

Solution Z ∞ £ ¤∞
100e−x dx = −100e−x 0 = (0) − (−100) = 100
0

Exercises 8.1
Z Z Z
3
3 α
1. Evaluate 2x − 16x dx 2. Evaluate (e + 3) dα 3. Evaluate −x 2 dx
Z 2 Z 2π Z 4
3 1
4. Evaluate 4x − 2x dx 5. Evaluate sin θ dθ 6. Evaluate dx
1 π 1 2x
Z ∞
1
7. Evaluate dx
1 x2
4

8.2 Integration by Substitution


Some integrals cannot be determined by just using the standard integrals above. Instead we
have to combine the standard integrals and rules with some ‘tricks’. One trick is Integration
by Substitution (which is really the opposite of the chain rule). It is easiest the understand
the method by considering an example.

R
Example 8.6 Find e2x+1 dx

Solution Can’t do this with the standard integrals and rules learnt so far! Instead we
can use the following trick :
Trick: Introduce a new variable u, which is related to x by

u = 2x + 1

Differentiating with respect to x gives


du
=2
dx
Re-arranging (regarding du and dx as symbols) gives
1
du = 2 dx or dx = du
2
We then substitute the expressions for u and du into the original expression
Z Z Z
2x+1 u1 1
e dx = e du = eu du
2 2
This is now a standard integral so we can find the integral
Z
1 1
eu du = eu + C
2 2
Finally we substitute again so our answer is in terms of x (as that’s what we started with)
1 u 1
e + C = e2x+1 + C
2 2

• Summary: To apply the method of integration by substitution

1. Let u be some function of the original variable x.


du
2. Differentiate to find .
dx
3. Rearrange to get dx in terms of du.

4. Substitute into the original integral.

5. Do integral.

6. Replace u in the answer.


5

Example 8.7 Find Z



x + 1 dx

du
Solution Let u = x + 1. Then = 1 so du = dx. Therefore
dx
Z Z Z
√ √ 1/2 u3/2 2
x + 1 dx = u du = u du = + C = (x + 1)3/2 + C
3/2 3

Example 8.8 Find Z


2x
dx
x2 +1

du du
Solution Let u = x2 + 1. Then = 2x so dx = . Therefore
dx 2x
Z Z Z
2x 2x du 1
2
dx = = du
x +1 u 2x u
Notice that the 2x term cancels on the top and the bottom. This is no accident. I chose
u = x2 +1 because I noticed its derivative was 2x which was the other term in the expression.
Continuing the solution we get
Z
1
du = ln(u) + C = ln(x2 + 1) + C
u

Example 8.9 Find Z


6x2 cos(x3 ) dx.

Solution Let u = x3 . I have chosen this because I notice that the derivative of x3 is 3x2
du du
which is a multiple of 6x2 . Then = 3x2 so dx = 2 . Therefore
dx 3x
Z Z Z
du
6x2 cos(x2 ) dx = 6x2 cos(u) 2 = 2 cos(u) du = 2 sin(u) + C = 2 sin(x3 ) + C.
3x

• How can you determine which substitution to make?

• Experience...
...which is gained from doing exercises!

• Look for an expression and it’s derivative.

• Just try something!


6

Example 8.10 Calculate Z e


ln(t)
dt
1 t

Solution
R To calculate the definite integral we first need to know the indefinite integral
ln(t)/t; Z
ln(t)
dt
t
Guessing or noticing that 1/t is the derivative of ln(t) we put u = ln(t). Then

du 1
= so dt = t du
dt t
Therefore
Z Z Z
ln(t) u u2 1
dt = t du = u du = + C = (ln(t))2 + C
t t 2 2
Having found the indefinite integral we can now compute the definite integral using the
fundamental theorem of calculus:
Z e h1 ie
ln(t) 1 1 1
dt = (ln(t))2 = (ln(e))2 − (ln(1))2 =
1 t 2 1 2 2 2

(n.b. ln(e) = 1 and ln(1) = 0).

Exercises 8.2

1.Z Use the given substitution toZ find each of the following indefinite
Z integrals.
3
a. (x+7)9 dx; u = x+7 b. sin(2θ −4) dθ; u = 2θ −4 c. x2 ex dx; u = x3
Z Z
3 x
d. sin (5t) cos(5t) dt; u = sin(5t) e. √ dx; u = x2 + 1
2
x +1
Z Z
1−5x ln(x)
f. e dx; u = 1 − 5x g. dx; u = ln(x)
x
2.Z Use a substitution Zto find each of the following
Z indefinite integrals.
Z
5 2 4x−5 2
a. (−x − 3) dx b. θ sin(θ + 4) dθ c. e dx d. xe2−x dx
Z Z Z Z
3 x 2x + 1 cos(x)
e. cos (t) sin(t) dt f. √ dx g. dx h. dx
1 − x2 2
x +x+1 sin4 (x)
3. Evaluate the following definite integrals.
Z 1 Z 2 Z π/2 Z e2
2 x3 7 1
a. x e dx b. (2x + 4) dx c. x cos(x2 ) dx d. dx
0 1 0 e x ln(x)
7

8.3 Integration by Parts


Another method for integration when standard rules cannot be used is Integration by parts.

If u(x) and v(x) are two functions then

Z Z
0
u(x) v (x) dx = u(x) v(x) − u0 (x) v(x) dx

The above fact can be obtained from the product rule for derivatives and the definition of
indefinite integrals.

Example 8.11 Derivation of integration by parts formula.

Solution To see how the integration by parts formula can be derived, we start by recalling
the product rule (for derivatives):

d
(u(x) v(x)) = u(x) v 0 (x) + u0 (x) v(x)
dx
Integrating both sides then gives
Z Z
d
(u(x) v(x)) dx = (u(x) v 0 (x) + u0 (x) v(x)) dx
dx
Therefore Z Z
0
u(x) v(x) + C = u(x) v (x) dx + u0 (x) v(x) dx

Re-arranging (and absorbing the integration constant back inside the indefinite integral)
then gives the fact stated above:
Z Z
u(x) v (x) dx = u(x) v(x) − u0 (x) v(x) dx
0

Integration by parts is used to simplify an integral; the hope is that the integral on the
RHS is simpler than the one on the LHS!

Z
Example 8.12 Find ln(x) x dx

Solution Let
u(x) = ln(x) and v 0 (x) = x
so Z Z
0 1 0 x2
u (x) = and v(x) = v (x) dx = x dx = (+C)
x 2
8

Thus
Z Z Z
x2 1 x2 x2 1 x2 x2
ln(x) x dx = ln(x) − dx = ln(x) − x dx = ln(x) − +C
2 x 2 2 2 2 4

• Summary: To apply the method of integration by parts:

1. Identify u(x) and v 0 (x).


Z
0
2. Determine u (x) and v(x) = v 0 (x) dx.
Z Z
0
3. Plug these into the formula uv = uv − u0 v

4. Do remaining integral.

Z
Example 8.13 Find x sin(x) dx

Solution Let
u = x and v 0 = sin(x)
u0 = 1 and v = − cos(x)
Therefore
R R
x sin(x) dx = x(− cos(x)) − 1(− cos(x)) dx
R
= −x cos(x) + cos(x) dx = −x cos(x) + sin(x) + C

• How do you choose u(x) and v 0 (x) ?

• Experience...
...which is gained from doing exercises!

• Remember that the integral on the right hand side should be simpler than the original
integral!

• Just try something!

In the previous example the choice


u = sin(x) and v 0 = x
is bad since
x2
u0 = cos(x) and v =
2
so Z Z
x2 x2
x sin(x) dx = sin(x) − cos(x) dx
2 2
The integral on the RHS is more complicated than the original integral!
9

Z
Example 8.14 Find xex dx

Solution Let
u(x) = x and v 0 (x) = ex
so
u0 (x) = 1 and v(x) = ex .
Therefore Z Z
x x
xe dx = xe − ex dx = xex − ex + C.

• Integrating by parts more than once


Sometimes it may be necessary to apply integration by parts twice (or even more!). For
example

Z
Example 8.15 Find x2 cos(x) dx

Solution We let
u = x2 and v 0 = cos(x)
so
u0 = 2x and v = sin(x)
Therefore
Z Z Z
2 2 2
x cos(x) dx = x sin(x) − 2x sin(x) dx = x sin(x) − 2 x sin(x) dx

The integral on the RHS can be done by applying integration by parts again! We did this
in an earlier example so we now get
Z
x2 cos(x) dx = x2 sin(x)−2(−x cos(x)+sin(x))+C = x2 sin(x)+2x cos(x)−2 sin(x)+C

Exercises 8.3

1.Z Find the following using integration by parts with


Z the given u and v.
a. (4 − 2x) sin(x) dx; u = 4 − 2x, v 0 = sin(x) b. te−4t dt; u = t, v 0 = e−4t

2.Z Find the followingZusing integration byZ parts


a. x sin(2x) dx b. x3 ln(x) dx c. xe3x−1 dx

3.Z Use your results from


Z 3question 2 to determine
Z 2 the following definate integrals.
π
a. x sin(2x) dx b. x3 ln(x) dx c. xe3x−1 dx
0 2 1
Z 2
4. Apply integration by parts twice to evaluate x2 ex dx
0
10

8.4 Integration using Partial Fractions


• Partial Fractions
Recall partial fractions are a way of splitting complicated rational expressions into simpler
parts. For example, we have
7x + 3 2 5
= +
(x − 1)(x + 4) x−1 x+4
To achieve this we begin by writing
7x + 3 A B
= +
(x − 1)(x + 4) x−1 x+4
Multiplying both sides by (x − 1)(x + 4) gives

7x + 3 = A(x + 4) + B(x − 1)

Putting x = 1 leads to

7 × 1 + 3 = A × (1 + 4) + B × (1 − 1) =⇒ 10 = 5A =⇒ A = 2,

while putting x = −4 gives

7 × (−4) + 3 = A × (−4 + 4) + B × (−4 − 1) =⇒ −25 = −5B =⇒ B = 5.

Therefore
7x + 3 2 5
= + .
(x − 1)(x + 4) x−1 x+4

• Integrating using partial fractions


Partial fractions can be used to help integrate rational functions. For example, to find
Z
7x + 3
dx
(x − 1)(x + 4)
we can use the partial fraction decomposition found above to get
Z Z Z
7x + 3 2 5
dx = dx + dx
(x − 1)(x + 4) x−1 x+4
Now
Z Z Z
2 2 1
dx = du (with u = x − 1) = 2 du = 2 ln(u) + C = 2 ln(x − 1) + C,
x−1 u u
while
Z Z Z
5 5 1
dx = du (with u = x + 4) = 2 du = 5 ln(u) + C = 5 ln(x + 4) + C.
x+4 u u
Hence Z
7x + 3
dx = 2 ln(x − 1) + 5 ln(x + 4) + C
(x − 1)(x + 4)
11

• Summary: To integrate a rational function using partial fractions:

1. Write the rational function in terms of partial fractions.

2. Integrate.

Note: The second step will generally involve the integral


Z
1
du = ln(u) + C
u

Z
3
Example 8.16 dx
x(x + 3)

Solution Firstly we find a partial fractions decomposition; suppose


3 A B
= +
x(x + 3) x x+3

so (multiplying by x(x + 3))


3 = A(x + 3) + Bx
Putting x = 0 leads to
3 = 3A + 0 =⇒ A=1
while putting x = −3 gives

3 = 0 + (−3)B =⇒ B = −1

Therefore
3 1 1
= −
x(x + 3) x x+3
so
Z Z Z ³ x ´
3 1 1
dx = dx − dx = ln(x) − ln(x + 3) + C = ln +C
x(x + 3) x x+3 x+3

Exercises 8.4

1.Z Use partial fractions to find


Z the integrals below. Z
1 13x − 4 1
a. dx b. dx c. dx
(2 + 2x)(x − 3) 6x2 − x − 2 x2 − 2x − 3
2.Z Evaluate the following integrals.
Z 4 Z
2 2
1 2x + 3 1
a. dx b. dx c. dx
1 (1 + x)(3 + x) 0 (x + 3)(2x + 5) 1 x2 + 2x
12

8.5 Answers to Exercises


Exercise Set 8.1
1 2 5
1. x4 − 8x2 + C 2. eα + 3α + C 3. − x 2 + C
2 5
4. 12 5. −2 6. ln(2) 7. 1

Exercise Set 8.2


10
−1/2 cos(2 θ −4)+C, (c) 1/3 ex +C, (d) 1/20 (sin(5 t))4 +C,
3
1. (a)
√ 1/10 (x + 7) +C, (b)1−5
(e) x2 + 1 + C, (f) −1/5 e x + C, (g) 1/2 (ln(x))2 + C.
2. (a) −1/6 (−x − 3)6 + C, (b)
2
√ −1/2 cos(θ2 + 4) +C, (c) 1/4 e4 x−5 + C, (d) −1/2 e2−x + C,
(e) −1/4 (cos(t))4 + C, (f) − 1 − x2 + C, (g) ln(x2 + x + 1) + C, (h) −1/3 (sin(x))−3 + C.
3. (a) 0.573 to 3 d.p., (b) 943600, (c) 0.312 to 3 d.p., (d) 0.693 to 3 d.p.

Exercise Set 8.3


1. (a) −4 cos(x) − 2 sin(x) + 2 x cos(x) + C, (b) −1/4 te−4 t − 1/16 e−4 t + C.
2. (a) 1/4 sin(2 x)−1/2 x cos(2 x)+C, (b) 1/4 x4 ln(x)−1/16 x4 +C, (c) 1/9 (3 x − 1) e3 x−1 +
C.
3. (a) −π/2, (b) 15.412 to 3 d.p., (c) 80.808 to 3 d.p.
4. 2e2 − 2 = 12.778 to 3 d.p.

Exercise Set 8.4


1. (a) −1/8 ln(2 + 2x) + 1/8 ln(x − 3) + C, (b) 3/2 ln(2 x + 1) + 2/3 ln(3 x − 2) + C,
(c) −1/4 ln(1 + x) + 1/4 ln(x − 3) + C.
2. (a) 0.0912 to 4 d.p., (b) 0.6309 to 4 d.p., (c) 0.2027 to 4 d.p.

You might also like