Optimal. Leaf size=32 \[ \frac{d^x \log (d) \sin (x)}{\log ^2(d)+1}-\frac{d^x \cos (x)}{\log ^2(d)+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0109728, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {4432} \[ \frac{d^x \log (d) \sin (x)}{\log ^2(d)+1}-\frac{d^x \cos (x)}{\log ^2(d)+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4432
Rubi steps
\begin{align*} \int d^x \sin (x) \, dx &=-\frac{d^x \cos (x)}{1+\log ^2(d)}+\frac{d^x \log (d) \sin (x)}{1+\log ^2(d)}\\ \end{align*}
Mathematica [A] time = 0.0183267, size = 22, normalized size = 0.69 \[ \frac{d^x (\log (d) \sin (x)-\cos (x))}{\log ^2(d)+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.018, size = 69, normalized size = 2.2 \begin{align*}{ \left ({\frac{{{\rm e}^{x\ln \left ( d \right ) }}}{1+ \left ( \ln \left ( d \right ) \right ) ^{2}} \left ( \tan \left ({\frac{x}{2}} \right ) \right ) ^{2}}-{\frac{{{\rm e}^{x\ln \left ( d \right ) }}}{1+ \left ( \ln \left ( d \right ) \right ) ^{2}}}+2\,{\frac{\ln \left ( d \right ){{\rm e}^{x\ln \left ( d \right ) }}\tan \left ( x/2 \right ) }{1+ \left ( \ln \left ( d \right ) \right ) ^{2}}} \right ) \left ( \left ( \tan \left ({\frac{x}{2}} \right ) \right ) ^{2}+1 \right ) ^{-1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.976485, size = 34, normalized size = 1.06 \begin{align*} \frac{d^{x} \log \left (d\right ) \sin \left (x\right ) - d^{x} \cos \left (x\right )}{\log \left (d\right )^{2} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.82861, size = 61, normalized size = 1.91 \begin{align*} \frac{{\left (\log \left (d\right ) \sin \left (x\right ) - \cos \left (x\right )\right )} d^{x}}{\log \left (d\right )^{2} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.09542, size = 104, normalized size = 3.25 \begin{align*} \begin{cases} \frac{x e^{- i x} \sin{\left (x \right )}}{2} - \frac{i x e^{- i x} \cos{\left (x \right )}}{2} - \frac{e^{- i x} \cos{\left (x \right )}}{2} & \text{for}\: d = e^{- i} \\\frac{x e^{i x} \sin{\left (x \right )}}{2} + \frac{i x e^{i x} \cos{\left (x \right )}}{2} - \frac{e^{i x} \cos{\left (x \right )}}{2} & \text{for}\: d = e^{i} \\\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} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.13138, size = 443, normalized size = 13.84 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]