Example 7.2.6(b): Applying Integration by Parts

Find x2 cos(x) dx
Back Back
This time we define
Then G(x) = f(x) g(x) = sin(x) x2 and
x2 cos(x) dx = G(b) - G(a) - 2x sin(x) dx
Intergration by parts reduced the original problem to finding a slightly simpler integral, but we can not find the second integral immediately. What worked once might work again so let's use integration by parts on the second integral with:
so that G*(x) = -2x cos(x). Therefore
2x sin(x) dx = G*(b) - G*(a) + 2 cos(x) dx
Taking everything together we have:
x2 cos(x) dx = G(b) - G(a) - [G*(b) - G*(a) + 2 cos(x) dx ] =
      = G(b) - G(a) - G*(b) + G*(a) - 2 (sin(b) - sin(a)) =
      = sin(b) b2 - sin(a) a2 + 2b cos(b) - 2a cos(a) -2sin(b) + 2sin(a)


Interactive Real Analysis, ver. 1.9.5
(c) 1994-2007, Bert G. Wachsmuth
Page last modified: Mar 28, 2007