Optimal. Leaf size=261 \[ \frac{x^3 d^x \log (d) \sin (x)}{\log ^2(d)+1}-\frac{x^3 d^x \cos (x)}{\log ^2(d)+1}+\frac{3 x^2 d^x \sin (x)}{\left (\log ^2(d)+1\right )^2}-\frac{3 x^2 d^x \log ^2(d) \sin (x)}{\left (\log ^2(d)+1\right )^2}+\frac{6 x^2 d^x \log (d) \cos (x)}{\left (\log ^2(d)+1\right )^2}-\frac{18 x d^x \log (d) \sin (x)}{\left (\log ^2(d)+1\right )^3}+\frac{36 d^x \log ^2(d) \sin (x)}{\left (\log ^2(d)+1\right )^4}-\frac{6 d^x \sin (x)}{\left (\log ^2(d)+1\right )^4}-\frac{6 d^x \log ^4(d) \sin (x)}{\left (\log ^2(d)+1\right )^4}+\frac{6 x d^x \log ^3(d) \sin (x)}{\left (\log ^2(d)+1\right )^3}-\frac{18 x d^x \log ^2(d) \cos (x)}{\left (\log ^2(d)+1\right )^3}+\frac{6 x d^x \cos (x)}{\left (\log ^2(d)+1\right )^3}-\frac{24 d^x \log (d) \cos (x)}{\left (\log ^2(d)+1\right )^4}+\frac{24 d^x \log ^3(d) \cos (x)}{\left (\log ^2(d)+1\right )^4} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.679133, antiderivative size = 261, normalized size of antiderivative = 1., number of steps used = 25, number of rules used = 5, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.556 \[ \frac{x^3 d^x \log (d) \sin (x)}{\log ^2(d)+1}-\frac{x^3 d^x \cos (x)}{\log ^2(d)+1}+\frac{3 x^2 d^x \sin (x)}{\left (\log ^2(d)+1\right )^2}-\frac{3 x^2 d^x \log ^2(d) \sin (x)}{\left (\log ^2(d)+1\right )^2}+\frac{6 x^2 d^x \log (d) \cos (x)}{\left (\log ^2(d)+1\right )^2}-\frac{18 x d^x \log (d) \sin (x)}{\left (\log ^2(d)+1\right )^3}+\frac{36 d^x \log ^2(d) \sin (x)}{\left (\log ^2(d)+1\right )^4}-\frac{6 d^x \sin (x)}{\left (\log ^2(d)+1\right )^4}-\frac{6 d^x \log ^4(d) \sin (x)}{\left (\log ^2(d)+1\right )^4}+\frac{6 x d^x \log ^3(d) \sin (x)}{\left (\log ^2(d)+1\right )^3}-\frac{18 x d^x \log ^2(d) \cos (x)}{\left (\log ^2(d)+1\right )^3}+\frac{6 x d^x \cos (x)}{\left (\log ^2(d)+1\right )^3}-\frac{24 d^x \log (d) \cos (x)}{\left (\log ^2(d)+1\right )^4}+\frac{24 d^x \log ^3(d) \cos (x)}{\left (\log ^2(d)+1\right )^4} \]
Antiderivative was successfully verified.
[In] Int[d^x*x^3*Sin[x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{d^{x} x^{3} \log{\left (d \right )} \sin{\left (x \right )}}{\log{\left (d \right )}^{2} + 1} - \frac{d^{x} x^{3} \cos{\left (x \right )}}{\log{\left (d \right )}^{2} + 1} - 3 \int x^{2} \left (\frac{d^{x} \log{\left (d \right )} \sin{\left (x \right )}}{\log{\left (d \right )}^{2} + 1} - \frac{d^{x} \cos{\left (x \right )}}{\log{\left (d \right )}^{2} + 1}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(d**x*x**3*sin(x),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.210981, size = 169, normalized size = 0.65 \[ \frac{d^x \left (\sin (x) \left (x^3 \log ^7(d)-3 x^2 \log ^6(d)+3 x \left (x^2+2\right ) \log ^5(d)-3 \left (x^2+2\right ) \log ^4(d)+3 x \left (x^2-4\right ) \log ^3(d)+3 \left (x^2+12\right ) \log ^2(d)+x \left (x^2-18\right ) \log (d)+3 \left (x^2-2\right )\right )-\cos (x) \left (x^3 \log ^6(d)-6 x^2 \log ^5(d)+3 x \left (x^2+6\right ) \log ^4(d)-12 \left (x^2+2\right ) \log ^3(d)+3 x \left (x^2+4\right ) \log ^2(d)-6 \left (x^2-4\right ) \log (d)+x \left (x^2-6\right )\right )\right )}{\left (\log ^2(d)+1\right )^4} \]
Antiderivative was successfully verified.
[In] Integrate[d^x*x^3*Sin[x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.031, size = 437, normalized size = 1.7 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(d^x*x^3*sin(x),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.48924, size = 251, normalized size = 0.96 \[ -\frac{{\left ({\left (\log \left (d\right )^{6} + 3 \, \log \left (d\right )^{4} + 3 \, \log \left (d\right )^{2} + 1\right )} x^{3} - 6 \,{\left (\log \left (d\right )^{5} + 2 \, \log \left (d\right )^{3} + \log \left (d\right )\right )} x^{2} - 24 \, \log \left (d\right )^{3} + 6 \,{\left (3 \, \log \left (d\right )^{4} + 2 \, \log \left (d\right )^{2} - 1\right )} x + 24 \, \log \left (d\right )\right )} d^{x} \cos \left (x\right ) -{\left ({\left (\log \left (d\right )^{7} + 3 \, \log \left (d\right )^{5} + 3 \, \log \left (d\right )^{3} + \log \left (d\right )\right )} x^{3} - 6 \, \log \left (d\right )^{4} - 3 \,{\left (\log \left (d\right )^{6} + \log \left (d\right )^{4} - \log \left (d\right )^{2} - 1\right )} x^{2} + 6 \,{\left (\log \left (d\right )^{5} - 2 \, \log \left (d\right )^{3} - 3 \, \log \left (d\right )\right )} x + 36 \, \log \left (d\right )^{2} - 6\right )} d^{x} \sin \left (x\right )}{\log \left (d\right )^{8} + 4 \, \log \left (d\right )^{6} + 6 \, \log \left (d\right )^{4} + 4 \, \log \left (d\right )^{2} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(d^x*x^3*sin(x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.249742, size = 274, normalized size = 1.05 \[ -\frac{{\left (x^{3} \cos \left (x\right ) \log \left (d\right )^{6} - 6 \, x^{2} \cos \left (x\right ) \log \left (d\right )^{5} + 3 \,{\left (x^{3} + 6 \, x\right )} \cos \left (x\right ) \log \left (d\right )^{4} - 12 \,{\left (x^{2} + 2\right )} \cos \left (x\right ) \log \left (d\right )^{3} + 3 \,{\left (x^{3} + 4 \, x\right )} \cos \left (x\right ) \log \left (d\right )^{2} - 6 \,{\left (x^{2} - 4\right )} \cos \left (x\right ) \log \left (d\right ) +{\left (x^{3} - 6 \, x\right )} \cos \left (x\right ) -{\left (x^{3} \log \left (d\right )^{7} - 3 \, x^{2} \log \left (d\right )^{6} + 3 \,{\left (x^{3} + 2 \, x\right )} \log \left (d\right )^{5} - 3 \,{\left (x^{2} + 2\right )} \log \left (d\right )^{4} + 3 \,{\left (x^{3} - 4 \, x\right )} \log \left (d\right )^{3} + 3 \,{\left (x^{2} + 12\right )} \log \left (d\right )^{2} + 3 \, x^{2} +{\left (x^{3} - 18 \, x\right )} \log \left (d\right ) - 6\right )} \sin \left (x\right )\right )} d^{x}}{\log \left (d\right )^{8} + 4 \, \log \left (d\right )^{6} + 6 \, \log \left (d\right )^{4} + 4 \, \log \left (d\right )^{2} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(d^x*x^3*sin(x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 45.4307, size = 1355, normalized size = 5.19 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(d**x*x**3*sin(x),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.254913, size = 1, normalized size = 0. \[ \mathit{Done} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(d^x*x^3*sin(x),x, algorithm="giac")
[Out]