Optimal. Leaf size=27 \[ 3 e+x-\log (5)+\frac {1}{2} e^x \left (\frac {x}{\log (5)}+\log (5)\right )+\log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 33, normalized size of antiderivative = 1.22, number of steps used = 7, number of rules used = 5, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {12, 14, 43, 2176, 2194} \begin {gather*} x+\frac {e^x \left (x+1+\log ^2(5)\right )}{2 \log (5)}+\log (x)-\frac {e^x}{2 \log (5)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 43
Rule 2176
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \frac {(2+2 x) \log (5)+e^x \left (x+x^2+x \log ^2(5)\right )}{x} \, dx}{2 \log (5)}\\ &=\frac {\int \left (\frac {2 (1+x) \log (5)}{x}+e^x \left (1+x+\log ^2(5)\right )\right ) \, dx}{2 \log (5)}\\ &=\frac {\int e^x \left (1+x+\log ^2(5)\right ) \, dx}{2 \log (5)}+\int \frac {1+x}{x} \, dx\\ &=\frac {e^x \left (1+x+\log ^2(5)\right )}{2 \log (5)}-\frac {\int e^x \, dx}{2 \log (5)}+\int \left (1+\frac {1}{x}\right ) \, dx\\ &=x-\frac {e^x}{2 \log (5)}+\frac {e^x \left (1+x+\log ^2(5)\right )}{2 \log (5)}+\log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 18, normalized size = 0.67 \begin {gather*} x+\frac {e^x \left (x+\log ^2(5)\right )}{\log (25)}+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 27, normalized size = 1.00 \begin {gather*} \frac {{\left (\log \relax (5)^{2} + x\right )} e^{x} + 2 \, x \log \relax (5) + 2 \, \log \relax (5) \log \relax (x)}{2 \, \log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 29, normalized size = 1.07 \begin {gather*} \frac {e^{x} \log \relax (5)^{2} + x e^{x} + 2 \, x \log \relax (5) + 2 \, \log \relax (5) \log \relax (x)}{2 \, \log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 19, normalized size = 0.70
method | result | size |
risch | \(x +\ln \relax (x )+\frac {\left (\ln \relax (5)^{2}+x \right ) {\mathrm e}^{x}}{2 \ln \relax (5)}\) | \(19\) |
norman | \(x +\frac {{\mathrm e}^{x} \ln \relax (5)}{2}+\frac {{\mathrm e}^{x} x}{2 \ln \relax (5)}+\ln \relax (x )\) | \(20\) |
default | \(\frac {{\mathrm e}^{x} x +\ln \relax (5)^{2} {\mathrm e}^{x}+2 \ln \relax (5) \ln \relax (x )+2 x \ln \relax (5)}{2 \ln \relax (5)}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.69, size = 33, normalized size = 1.22 \begin {gather*} \frac {e^{x} \log \relax (5)^{2} + {\left (x - 1\right )} e^{x} + 2 \, x \log \relax (5) + 2 \, \log \relax (5) \log \relax (x) + e^{x}}{2 \, \log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.12, size = 19, normalized size = 0.70 \begin {gather*} x+\ln \relax (x)+\frac {{\mathrm {e}}^x\,\ln \relax (5)}{2}+\frac {x\,{\mathrm {e}}^x}{2\,\ln \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 19, normalized size = 0.70 \begin {gather*} x + \frac {\left (x + \log {\relax (5 )}^{2}\right ) e^{x}}{2 \log {\relax (5 )}} + \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________