Integration by Parts: Solving x^2(cosx)dx with Step-by-Step Guide

  • Thread starter Thread starter ldbaseball16
  • Start date Start date
  • Tags Tags
    Intergration parts
ldbaseball16
Messages
39
Reaction score
0

Homework Statement


solve by using intergration by parts x^2(cosx)dx

Homework Equations


My question is i got this answer but my computer algebra system gave me this answer
(x^2-2)sin(x)+2xcos(x) can you tell me where i went wrong??

The Attempt at a Solution


u=X^2
dv=cosx
du=dx
v=sinx

Sx^2(cosx)dx=uv-Svdu=x^2(sinx)-Ssinxdx

S2xcosxdx=2xsinx-(-cosx)+c= final answer= 2xsinx+cosx+C
 
Physics news on Phys.org
If u=x^2, du=2x*dx. Not du=dx. You have to do integration by parts twice. And why are you integrating 2xcos(x)?
 
oo thank you
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top