Optimal. Leaf size=20 \[ \log \left ((1+x)^2\right )+\log \left (\left (7+e-\frac {2}{x}\right ) x \log (x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 19, normalized size of antiderivative = 0.95, number of steps used = 6, number of rules used = 4, integrand size = 68, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {6688, 72, 2302, 29} \begin {gather*} 2 \log (x+1)+\log (2-(7+e) x)+\log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 72
Rule 2302
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {3+e+3 (7+e) x}{(1+x) (-2+(7+e) x)}+\frac {1}{x \log (x)}\right ) \, dx\\ &=\int \frac {3+e+3 (7+e) x}{(1+x) (-2+(7+e) x)} \, dx+\int \frac {1}{x \log (x)} \, dx\\ &=\int \left (\frac {2}{1+x}+\frac {-7-e}{2-(7+e) x}\right ) \, dx+\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (x)\right )\\ &=2 \log (1+x)+\log (2-(7+e) x)+\log (\log (x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 25, normalized size = 1.25 \begin {gather*} 2 \log (1+x)+\log (9+e-7 (1+x)-e (1+x))+\log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 20, normalized size = 1.00 \begin {gather*} \log \left (x e + 7 \, x - 2\right ) + 2 \, \log \left (x + 1\right ) + \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 20, normalized size = 1.00 \begin {gather*} \log \left (x e + 7 \, x - 2\right ) + 2 \, \log \left (x + 1\right ) + \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.13, size = 21, normalized size = 1.05
method | result | size |
default | \(\ln \left (\ln \relax (x )\right )+\ln \left (x \,{\mathrm e}+7 x -2\right )+2 \ln \left (x +1\right )\) | \(21\) |
norman | \(\ln \left (\ln \relax (x )\right )+\ln \left (x \,{\mathrm e}+7 x -2\right )+2 \ln \left (x +1\right )\) | \(21\) |
risch | \(2 \ln \left (-x -1\right )+\ln \left (x \left (7+{\mathrm e}\right )-2\right )+\ln \left (\ln \relax (x )\right )\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 19, normalized size = 0.95 \begin {gather*} \log \left (x {\left (e + 7\right )} - 2\right ) + 2 \, \log \left (x + 1\right ) + \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.91, size = 20, normalized size = 1.00 \begin {gather*} 2\,\ln \left (x+1\right )+\ln \left (\ln \relax (x)\right )+\ln \left (7\,x+x\,\mathrm {e}-2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.83, size = 20, normalized size = 1.00 \begin {gather*} 2 \log {\left (x + 1 \right )} + \log {\left (x - \frac {2}{e + 7} \right )} + \log {\left (\log {\relax (x )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________