Math Help - integral of xsinx^2

1. integral of xsinx^2

Integral of xsin(x^2)
ok, so the answer is .-.5cox^2
however, when i do integration by parts i get -.5cos(x^2)+(1/2x)Cos(x^2)
i cant seem to figure out what i am doing wrong =/
help please

2. Originally Posted by xslim12
Integral of xsin(x^2)
ok, so the answer is .-.5cox^2
however, when i do integration by parts i get -.5cos(x^2)+(1/2x)Cos(x^2)
i cant seem to figure out what i am doing wrong =/
help please
What have you set to $u$ and what to $dv$ ?

ZB

3. i set u=x du=1 dv=sin(x^2) v=(1/2x)sin(x^2)

4. Originally Posted by xslim12
i set u=x du=1 dv=sin(x^2) v=(1/2x)sin(x^2)
If $dv=sin(x^2)$, $v$ does not equal $(1/2x)sin(x^2)$, as you have to integrate $dv$ to get $v$.

Also (1/2x)sin(x^2) is ambiguous, it could mean (1/(2x))sin(x^2) or =((1/2)x)sin(x^2)

ZB

5. Originally Posted by xslim12
Integral of xsin(x^2)
ok, so the answer is .-.5cox^2
however, when i do integration by parts i get -.5cos(x^2)+(1/2x)Cos(x^2)
i cant seem to figure out what i am doing wrong =/
help please
Set $u=x^2$
$du=2xdx$

From there, you just integrate $0.5sin(u)$

6. Originally Posted by colby2152
Set $u=x^2$
$du=2xdx$

From there, you just integrate $0.5sin(u)$
Thanks, i also tried substitution, but forgot to take the extra x out.
Thanks again man! I really got to stop making dumb mistakes

7. Originally Posted by xslim12
Thanks, i also tried substitution, but forgot to take the extra x out.
Thanks again man! I really got to stop making dumb mistakes
Trust me, you'll eliminate a lot of dumb mistakes (but never all!). Practice makes perfect, so keep up the good work.