Integration by Parts (Examples)
Integration of the product of an exponential and polynomial
The evaluation of the integral
(1) ⌠⌡x2exdx
can be performed using integration by parts. By invoking the substitutions:
(2)
f = x2
⇒ df = 2xdx
dg = exdx
⇒ g = ex
Then the integration becomes:
where C is a constant of integration.
Utilizing integration by parts once more allows us to reduce the integral (second term on the right hand side in Equation 3↑):
(4)
f = 2x
⇒ df = 2dx
dg = exdx
⇒ g = ex
The second term in Equation 3↑ reduces to:
(5)
⌠⌡2xexdx
= 2xex − ⌠⌡2exdx + D
= 2xex − 2ex
where D is a constant of integration.
The entire expression then amounts to:
(6) ⌠⌡x2exdx = x2ex − 2xex + 2ex + C + D
Integration of the product of an exponential and a trigonometric function
The evaluation of the integral
(7) ⌠⌡excos(x)dx
can be performed using integration by parts. By invoking the substitutions:
(8)
f = cos(x)
⇒ df = − sin(x)dx
dg = exdx
⇒ g = ex
where C is a constant of integration.
The second term of Equation 9↑ can be integrated again using:
(10)
f = sin(x)
⇒ df = cos(x)dx
dg = exdx
⇒ g = ex
where D is a constant of integration.
Recognizing that the second term of Equation 11↑ is the original expression, we can get:
(12)
⌠⌡excos(x)dx
= excos(x) + exsin(x) − ⌠⌡excos(x)dx + C + D
⌠⌡excos(x)dx
= (excos(x) + exsin(x) + C + D)/(2)