Optimal. Leaf size=15 \[ -x \cos (x)+x \log \left (e^{\cos (x)}\right )+\sin (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {2628, 3377,
2717} \begin {gather*} \sin (x)-x \cos (x)+x \log \left (e^{\cos (x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2628
Rule 2717
Rule 3377
Rubi steps
\begin {align*} \int \log \left (e^{\cos (x)}\right ) \, dx &=x \log \left (e^{\cos (x)}\right )+\int x \sin (x) \, dx\\ &=-x \cos (x)+x \log \left (e^{\cos (x)}\right )+\int \cos (x) \, dx\\ &=-x \cos (x)+x \log \left (e^{\cos (x)}\right )+\sin (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 15, normalized size = 1.00 \begin {gather*} x \left (-\cos (x)+\log \left (e^{\cos (x)}\right )\right )+\sin (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 15, normalized size = 1.00
method | result | size |
default | \(-x \cos \left (x \right )+x \ln \left ({\mathrm e}^{\cos \left (x \right )}\right )+\sin \left (x \right )\) | \(15\) |
risch | \(-x \cos \left (x \right )+x \ln \left ({\mathrm e}^{\cos \left (x \right )}\right )+\sin \left (x \right )\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.05, size = 2, normalized size = 0.13 \begin {gather*} \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.22, size = 2, normalized size = 0.13 \begin {gather*} \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.07, size = 15, normalized size = 1.00 \begin {gather*} x \log {\left (e^{\cos {\left (x \right )}} \right )} - x \cos {\left (x \right )} + \sin {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 2, normalized size = 0.13 \begin {gather*} \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 2, normalized size = 0.13 \begin {gather*} \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________