Integrand size = 6, antiderivative size = 24 \[ \int x^3 \sin (x) \, dx=6 x \cos (x)-x^3 \cos (x)-6 \sin (x)+3 x^2 \sin (x) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3377, 2717} \[ \int x^3 \sin (x) \, dx=x^3 (-\cos (x))+3 x^2 \sin (x)-6 \sin (x)+6 x \cos (x) \]
[In]
[Out]
Rule 2717
Rule 3377
Rubi steps \begin{align*} \text {integral}& = -x^3 \cos (x)+3 \int x^2 \cos (x) \, dx \\ & = -x^3 \cos (x)+3 x^2 \sin (x)-6 \int x \sin (x) \, dx \\ & = 6 x \cos (x)-x^3 \cos (x)+3 x^2 \sin (x)-6 \int \cos (x) \, dx \\ & = 6 x \cos (x)-x^3 \cos (x)-6 \sin (x)+3 x^2 \sin (x) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.83 \[ \int x^3 \sin (x) \, dx=-x \left (-6+x^2\right ) \cos (x)+3 \left (-2+x^2\right ) \sin (x) \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.96
method | result | size |
risch | \(\left (-x^{3}+6 x \right ) \cos \left (x \right )+3 \left (x^{2}-2\right ) \sin \left (x \right )\) | \(23\) |
default | \(6 x \cos \left (x \right )-x^{3} \cos \left (x \right )-6 \sin \left (x \right )+3 x^{2} \sin \left (x \right )\) | \(25\) |
parallelrisch | \(6 x \cos \left (x \right )-x^{3} \cos \left (x \right )-6 \sin \left (x \right )+3 x^{2} \sin \left (x \right )\) | \(25\) |
parts | \(6 x \cos \left (x \right )-x^{3} \cos \left (x \right )-6 \sin \left (x \right )+3 x^{2} \sin \left (x \right )\) | \(25\) |
meijerg | \(8 \sqrt {\pi }\, \left (\frac {x \left (-\frac {5 x^{2}}{2}+15\right ) \cos \left (x \right )}{20 \sqrt {\pi }}-\frac {\left (-\frac {15 x^{2}}{2}+15\right ) \sin \left (x \right )}{20 \sqrt {\pi }}\right )\) | \(36\) |
norman | \(\frac {x^{3} \left (\tan ^{2}\left (\frac {x}{2}\right )\right )+6 x -x^{3}-6 x \left (\tan ^{2}\left (\frac {x}{2}\right )\right )+6 x^{2} \tan \left (\frac {x}{2}\right )-12 \tan \left (\frac {x}{2}\right )}{1+\tan ^{2}\left (\frac {x}{2}\right )}\) | \(55\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.88 \[ \int x^3 \sin (x) \, dx=-{\left (x^{3} - 6 \, x\right )} \cos \left (x\right ) + 3 \, {\left (x^{2} - 2\right )} \sin \left (x\right ) \]
[In]
[Out]
Time = 0.20 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.08 \[ \int x^3 \sin (x) \, dx=- x^{3} \cos {\left (x \right )} + 3 x^{2} \sin {\left (x \right )} + 6 x \cos {\left (x \right )} - 6 \sin {\left (x \right )} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.88 \[ \int x^3 \sin (x) \, dx=-{\left (x^{3} - 6 \, x\right )} \cos \left (x\right ) + 3 \, {\left (x^{2} - 2\right )} \sin \left (x\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.88 \[ \int x^3 \sin (x) \, dx=-{\left (x^{3} - 6 \, x\right )} \cos \left (x\right ) + 3 \, {\left (x^{2} - 2\right )} \sin \left (x\right ) \]
[In]
[Out]
Time = 0.02 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.96 \[ \int x^3 \sin (x) \, dx=\cos \left (x\right )\,\left (6\,x-x^3\right )+\sin \left (x\right )\,\left (3\,x^2-6\right ) \]
[In]
[Out]