Section 7.1 : Integration by Parts
6. Evaluate ∫π0x2cos(4x)dx .
Show All Steps Hide All Steps
Also, don’t forget that the limits on the integral won’t have any effect on the choices of u and dv.
The first step here is to pick u and dv. We want to choose u and dv so that when we compute du and v and plugging everything into the Integration by Parts formula the new integral we get is one that we can do or will at least be an integral that will be easier to deal with.
With that in mind it looks like the following choices for u and dv should work for us.
u=x2dv=cos(4x)dx Show Step 2Next, we need to compute du (by differentiating u) and v (by integrating dv).
u=x2→du=2xdxdv=cos(4x)dx→v=14sin(4x) Show Step 3We can deal with the limits as we do the integral or we can just do the indefinite integral and then take care of the limits in the last step. We will be using the later way of dealing with the limits for this problem.
So, plugging u, du, v and dv into the Integration by Parts formula gives,
∫x2cos(4x)dx=14x2sin(4x)−12∫xsin(4x)dx Show Step 4Now, the new integral is still not one that we can do with only Calculus I techniques. However, it is one that we can do another integration by parts on and because the power on the x’s have gone down by one we are heading in the right direction.
So, here are the choices for u and dv for the new integral.
u=x→du=dxdv=sin(4x)dx→v=−14cos(4x) Show Step 5Okay, all we need to do now is plug these new choices of u and dv into the new integral we got in Step 3 and evaluate the integral.
∫x2cos(4x)dx=14x2sin(4x)−12[−14xcos(4x)+14∫cos(4x)dx]=14x2sin(4x)−12[−14xcos(4x)+116sin(4x)]+c=14x2sin(4x)+18xcos(4x)−132sin(4x)+c Show Step 6The final step is then to take care of the limits.
\int_{0}^{\pi }{{{x^2}\cos \left( {4x} \right)\,dx}} = \left. {\left( {\frac{1}{4}{x^2}\sin \left( {4x} \right) + \frac{1}{8}x\cos \left( {4x} \right) - \frac{1}{{32}}\sin \left( {4x} \right)} \right)} \right|_0^\pi = \require{bbox} \bbox[2pt,border:1px solid black]{{\frac{1}{8}\pi }}