Optimal. Leaf size=22 \[ \log (x)+5 \left (9-e^5 (4-x)+x+\log (2+x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 17, normalized size of antiderivative = 0.77, number of steps used = 3, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {1593, 1820} \begin {gather*} 5 \left (1+e^5\right ) x+\log (x)+5 \log (x+2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 1820
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {2+16 x+5 x^2+e^5 \left (10 x+5 x^2\right )}{x (2+x)} \, dx\\ &=\int \left (5 \left (1+e^5\right )+\frac {1}{x}+\frac {5}{2+x}\right ) \, dx\\ &=5 \left (1+e^5\right ) x+\log (x)+5 \log (2+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 17, normalized size = 0.77 \begin {gather*} 5 \left (1+e^5\right ) x+\log (x)+5 \log (2+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.56, size = 17, normalized size = 0.77 \begin {gather*} 5 \, x e^{5} + 5 \, x + 5 \, \log \left (x + 2\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 19, normalized size = 0.86 \begin {gather*} 5 \, x e^{5} + 5 \, x + 5 \, \log \left ({\left | x + 2 \right |}\right ) + \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.22, size = 18, normalized size = 0.82
method | result | size |
default | \(5 x \,{\mathrm e}^{5}+5 x +5 \ln \left (2+x \right )+\ln \relax (x )\) | \(18\) |
norman | \(\left (5 \,{\mathrm e}^{5}+5\right ) x +5 \ln \left (2+x \right )+\ln \relax (x )\) | \(18\) |
risch | \(5 x \,{\mathrm e}^{5}+5 x +5 \ln \left (2+x \right )+\ln \relax (x )\) | \(18\) |
meijerg | \(-\ln \left (1+\frac {x}{2}\right )+\ln \relax (x )-\ln \relax (2)+2 \left (5 \,{\mathrm e}^{5}+5\right ) \left (\frac {x}{2}-\ln \left (1+\frac {x}{2}\right )\right )+2 \left (5 \,{\mathrm e}^{5}+8\right ) \ln \left (1+\frac {x}{2}\right )\) | \(50\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 16, normalized size = 0.73 \begin {gather*} 5 \, x {\left (e^{5} + 1\right )} + 5 \, \log \left (x + 2\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.37, size = 17, normalized size = 0.77 \begin {gather*} 5\,\ln \left (x+2\right )+\ln \relax (x)+x\,\left (5\,{\mathrm {e}}^5+5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 17, normalized size = 0.77 \begin {gather*} x \left (5 + 5 e^{5}\right ) + \log {\relax (x )} + 5 \log {\left (x + 2 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________