# Thread: Can someone check my integral work?

1. ## Can someone check my integral work?

Did I do this right, is so did I get the right answer and if not, could you point out some things I did wrong? Thanks in advance.

$\intx*sin x dx$
$u=x$ and $v'= sin x$
$u'=1$ and v= $-cos x$
$uv-\int u'v dx$ so... $-x cos x - \int -cos x dx = -x cos x + sin x +C$

2. Assuming you were doing the integral of xsin(x).

This is easy enough to check by differentiation:

(-xcos(x) + sin(x) + C) ' = -cos(x) +xsin(x) +cos(x) = xsin(x)