Optimal. Leaf size=26 \[ -x^2+x \left (6+x+\log \left (\frac {e^5}{x}\right )-\frac {\log (x)}{x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 14, normalized size of antiderivative = 0.54, number of steps used = 5, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {14, 43, 2295} \begin {gather*} 11 x+x \log \left (\frac {1}{x}\right )-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 43
Rule 2295
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (5+\frac {-1+5 x}{x}+\log \left (\frac {1}{x}\right )\right ) \, dx\\ &=5 x+\int \frac {-1+5 x}{x} \, dx+\int \log \left (\frac {1}{x}\right ) \, dx\\ &=6 x+x \log \left (\frac {1}{x}\right )+\int \left (5-\frac {1}{x}\right ) \, dx\\ &=11 x+x \log \left (\frac {1}{x}\right )-\log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 14, normalized size = 0.54 \begin {gather*} 11 x+x \log \left (\frac {1}{x}\right )-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 15, normalized size = 0.58 \begin {gather*} {\left (x + 1\right )} \log \left (\frac {e^{5}}{x}\right ) + 6 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.51, size = 32, normalized size = 1.23 \begin {gather*} {\left (e^{15} \log \left (\frac {e^{5}}{x}\right ) + \frac {e^{15} \log \left (\frac {e^{5}}{x}\right )}{x} + 6 \, e^{15}\right )} x e^{\left (-15\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 18, normalized size = 0.69
method | result | size |
risch | \(x \ln \left (\frac {{\mathrm e}^{5}}{x}\right )+6 x -\ln \relax (x )\) | \(18\) |
norman | \(x \ln \left (\frac {{\mathrm e}^{5}}{x}\right )+\ln \left (\frac {{\mathrm e}^{5}}{x}\right )+6 x\) | \(21\) |
derivativedivides | \(-{\mathrm e}^{5} \left (-x \,{\mathrm e}^{-5} \ln \left (\frac {{\mathrm e}^{5}}{x}\right )-x \,{\mathrm e}^{-5}\right )+5 x +\ln \left (\frac {{\mathrm e}^{5}}{x}\right )\) | \(38\) |
default | \(-{\mathrm e}^{5} \left (-x \,{\mathrm e}^{-5} \ln \left (\frac {{\mathrm e}^{5}}{x}\right )-x \,{\mathrm e}^{-5}\right )+5 x +\ln \left (\frac {{\mathrm e}^{5}}{x}\right )\) | \(38\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 17, normalized size = 0.65 \begin {gather*} x \log \left (\frac {e^{5}}{x}\right ) + 6 \, x - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.63, size = 14, normalized size = 0.54 \begin {gather*} 11\,x+\ln \left (\frac {1}{x}\right )+x\,\ln \left (\frac {1}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 14, normalized size = 0.54 \begin {gather*} x \log {\left (\frac {e^{5}}{x} \right )} + 6 x - \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________