136 4. METHODS OF INTEGRATION I
Notice that the second integration by parts in this example was very similar to the one in Example
4.28. We could have simply plugged that result in. e example was worked in full to show how
two integrations by parts are needed.
Let’s consider for a minute what happened in the last example. To deal with the x
2
part of the
integral we integrated by parts twice – reducing the power by one in each step. at means that,
for example,
Z
x
5
e
x
dx
would require integration by parts five times.
Fortunately, there is a shortcut. What happens if we integrate
Z
f .x/ e
x
dx
Choose U D f .x/ and d V D e
x
dx.
en dU D f
0
.x/ and V D e
x
.
Integrate by parts and we get:
Z
f .x/ e
x
dx D f .x/e
x
Z
f
0
.x/e
x
dx
Which, used correctly, is a remarkable shortcut.
Knowledge Box 4.5
Shortcut for
Z
p.x/e
x
dx
Suppose that p.x/ is a polynomial. en
Z
p.x/e
x
dx D
p.x/ p
0
.x/ Cp
00
.x/ p
000
.x/ C
e
x
C C
e formula in Knowledge Box 4.5 comes from applying the formula for
Z
p.x/e
x
dx many
times. Let’s use the shortcut in an example.