(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

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

2. Relevant 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??

3. 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 Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Intergration by parts

**Physics Forums | Science Articles, Homework Help, Discussion**