Calculus Examples

Find the Integral x^2sin(x)
x2sin(x)
Step 1
Integrate by parts using the formula udv=uv-vdu, where u=x2 and dv=sin(x).
x2(-cos(x))--cos(x)(2x)dx
Step 2
Multiply 2 by -1.
x2(-cos(x))--2cos(x)xdx
Step 3
Since -2 is constant with respect to x, move -2 out of the integral.
x2(-cos(x))-(-2cos(x)xdx)
Step 4
Multiply -2 by -1.
x2(-cos(x))+2cos(x)xdx
Step 5
Integrate by parts using the formula udv=uv-vdu, where u=x and dv=cos(x).
x2(-cos(x))+2(xsin(x)-sin(x)dx)
Step 6
The integral of sin(x) with respect to x is -cos(x).
x2(-cos(x))+2(xsin(x)-(-cos(x)+C))
Step 7
Simplify the answer.
Tap for more steps...
Step 7.1
Rewrite x2(-cos(x))+2(xsin(x)-(-cos(x)+C)) as -x2cos(x)+2(xsin(x)--cos(x))+C.
-x2cos(x)+2(xsin(x)--cos(x))+C
Step 7.2
Simplify.
Tap for more steps...
Step 7.2.1
Multiply -1 by -1.
-x2cos(x)+2(xsin(x)+1cos(x))+C
Step 7.2.2
Multiply cos(x) by 1.
-x2cos(x)+2(xsin(x)+cos(x))+C
-x2cos(x)+2(xsin(x)+cos(x))+C
-x2cos(x)+2(xsin(x)+cos(x))+C
 [x2  12  π  xdx ]