Optimal. Leaf size=31 \[ \frac{d^x \sin (x)}{\log ^2(d)+1}+\frac{d^x \log (d) \cos (x)}{\log ^2(d)+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0082266, antiderivative size = 31, 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 = {4433} \[ \frac{d^x \sin (x)}{\log ^2(d)+1}+\frac{d^x \log (d) \cos (x)}{\log ^2(d)+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4433
Rubi steps
\begin{align*} \int d^x \cos (x) \, dx &=\frac{d^x \cos (x) \log (d)}{1+\log ^2(d)}+\frac{d^x \sin (x)}{1+\log ^2(d)}\\ \end{align*}
Mathematica [A] time = 0.0162946, size = 20, normalized size = 0.65 \[ \frac{d^x (\log (d) \cos (x)+\sin (x))}{\log ^2(d)+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.016, size = 71, normalized size = 2.3 \begin{align*}{ \left ({\frac{\ln \left ( d \right ){{\rm e}^{x\ln \left ( d \right ) }}}{1+ \left ( \ln \left ( d \right ) \right ) ^{2}}}+2\,{\frac{{{\rm e}^{x\ln \left ( d \right ) }}\tan \left ( x/2 \right ) }{1+ \left ( \ln \left ( d \right ) \right ) ^{2}}}-{\frac{\ln \left ( d \right ){{\rm e}^{x\ln \left ( d \right ) }}}{1+ \left ( \ln \left ( d \right ) \right ) ^{2}} \left ( \tan \left ({\frac{x}{2}} \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.958547, size = 32, normalized size = 1.03 \begin{align*} \frac{d^{x} \cos \left (x\right ) \log \left (d\right ) + d^{x} \sin \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.87864, size = 61, normalized size = 1.97 \begin{align*} \frac{{\left (\cos \left (x\right ) \log \left (d\right ) + \sin \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.08018, size = 107, normalized size = 3.45 \begin{align*} \begin{cases} \frac{i x e^{- i x} \sin{\left (x \right )}}{2} + \frac{x e^{- i x} \cos{\left (x \right )}}{2} + \frac{i e^{- i x} \cos{\left (x \right )}}{2} & \text{for}\: d = e^{- i} \\- \frac{i x e^{i x} \sin{\left (x \right )}}{2} + \frac{x e^{i x} \cos{\left (x \right )}}{2} - \frac{i e^{i x} \cos{\left (x \right )}}{2} & \text{for}\: d = e^{i} \\\frac{d^{x} \log{\left (d \right )} \cos{\left (x \right )}}{\log{\left (d \right )}^{2} + 1} + \frac{d^{x} \sin{\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.12309, size = 444, normalized size = 14.32 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]