2 Definite integration

When dealing with definite integrals the relevant formula is as follows:

Key Point 6

Integration by Parts for Definite Integrals

For definite integrals, given functions f ( x ) and g ( x ) :

∫ a b f ⋅ g d x = f ⋅ ∫ g d x a b − ∫ a b d f d x ⋅ ∫ g d x d x

Alternatively, given functions u and v : ∫ a b u d v d x d x = u v a b − ∫ a b v d u d x d x

Example 17

Find ∫ 0 2 x e x d x .

Solution

We let f = x and g = e x . Then d f d x = 1 and ∫ g d x = e x . Using integration by parts we obtain

∫ 0 2 x e x d x = x e x 0 2 − ∫ 0 2 1 . e x d x = 2 e 2 − e x 0 2 = 2 e 2 − [ e 2 − 1 ] = e 2 + 1 (or 8.389 to 3 d.p.)

Sometimes it is necessary to apply the formula more than once as the next Example shows.

Example 18

Find the definite integral of x 2 e x from 0 to 2; that is, find ∫ 0 2 x 2 e x d x .

Solution

We let f = x 2 and g = e x . Then d f d x = 2 x  and  ∫ g d x = e x .  Using integration by parts:

∫ 0 2 x 2 e x d x = x 2 e x 0 2 − ∫ 0 2 2 x e x d x = 4 e 2 − 2 ∫ 0 2 x e x d x

The remaining integral must be integrated by parts also but we have just done this in the example above. So ∫ 0 2 x 2 e x d x = 4 e 2 − 2 [ e 2 + 1 ] = 2 e 2 − 2 = 12.778  (3 d.p.)

Task!

Find ∫ 0 π ∕ 4 ( 4 − 3 x ) sin x d x .

What are your choices for f , g ?

Take f = 4 − 3 x and g = sin x . Now complete the integral:

∫ 0 π ∕ 4 ( 4 − 3 x ) sin x d x = ( 4 − 3 x ) ( − cos x ) 0 π ∕ 4 − 3 ∫ 0 π ∕ 4 cos x d x = ( 4 − 3 x ) ( − cos x ) 0 π ∕ 4 − 3 sin x 0 π ∕ 4 = 0.716 to 3 d.p.
Exercises
  1. Evaluate the following:
    1. ∫ 0 1 x cos 2 x d x ,
    2. ∫ 0 π ∕ 2 x sin 2 x d x ,
    3. ∫ − 1 1 t e 2 t d t
  2. Find ∫ 1 2 ( x + 2 ) sin x d x
  3. Find ∫ 0 1 ( x 2 − 3 x + 1 ) e x d x
    1. 0.1006,
    2. π ∕ 4 = 0.7854 ,
    3. 1.9488.
  1. 3.3533.
  2. − 0.5634 .