Optimal. Leaf size=26 \[ (3+\log (4)) \left (2 x-\log \left (x+\frac {1}{2} (2+\log (-1+x+\log (x)))\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.78, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 139, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {6688, 12, 6742, 6684} \begin {gather*} 2 x (3+\log (4))-(3+\log (4)) \log (2 x+\log (x+\log (x)-1)+2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 6684
Rule 6688
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {(3+\log (4)) \left (1+3 x+2 x^2-4 x^3-2 (-1+x) x \log (-1+x+\log (x))-2 x \log (x) (1+2 x+\log (-1+x+\log (x)))\right )}{x (1-x-\log (x)) (2+2 x+\log (-1+x+\log (x)))} \, dx\\ &=(3+\log (4)) \int \frac {1+3 x+2 x^2-4 x^3-2 (-1+x) x \log (-1+x+\log (x))-2 x \log (x) (1+2 x+\log (-1+x+\log (x)))}{x (1-x-\log (x)) (2+2 x+\log (-1+x+\log (x)))} \, dx\\ &=(3+\log (4)) \int \left (2+\frac {-1+x-2 x^2-2 x \log (x)}{x (-1+x+\log (x)) (2+2 x+\log (-1+x+\log (x)))}\right ) \, dx\\ &=2 x (3+\log (4))+(3+\log (4)) \int \frac {-1+x-2 x^2-2 x \log (x)}{x (-1+x+\log (x)) (2+2 x+\log (-1+x+\log (x)))} \, dx\\ &=2 x (3+\log (4))-(3+\log (4)) \log (2+2 x+\log (-1+x+\log (x)))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.51, size = 23, normalized size = 0.88 \begin {gather*} (3+\log (4)) (2 x-\log (2+2 x+\log (-1+x+\log (x)))) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.51, size = 29, normalized size = 1.12 \begin {gather*} 4 \, x \log \relax (2) - {\left (2 \, \log \relax (2) + 3\right )} \log \left (2 \, x + \log \left (x + \log \relax (x) - 1\right ) + 2\right ) + 6 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 30, normalized size = 1.15 \begin {gather*} 2 \, x {\left (2 \, \log \relax (2) + 3\right )} - {\left (2 \, \log \relax (2) + 3\right )} \log \left (2 \, x + \log \left (x + \log \relax (x) - 1\right ) + 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 40, normalized size = 1.54
method | result | size |
risch | \(4 x \ln \relax (2)+6 x -2 \ln \left (\ln \left (-1+\ln \relax (x )+x \right )+2 x +2\right ) \ln \relax (2)-3 \ln \left (\ln \left (-1+\ln \relax (x )+x \right )+2 x +2\right )\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.51, size = 30, normalized size = 1.15 \begin {gather*} 2 \, x {\left (2 \, \log \relax (2) + 3\right )} - {\left (2 \, \log \relax (2) + 3\right )} \log \left (2 \, x + \log \left (x + \log \relax (x) - 1\right ) + 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} -\int \frac {9\,x+2\,\ln \relax (2)\,\left (-4\,x^3+2\,x^2+3\,x+1\right )+6\,x^2-12\,x^3-\ln \relax (x)\,\left (6\,x+2\,\ln \relax (2)\,\left (4\,x^2+2\,x\right )+12\,x^2\right )+\ln \left (x+\ln \relax (x)-1\right )\,\left (6\,x+2\,\ln \relax (2)\,\left (2\,x-2\,x^2\right )-\ln \relax (x)\,\left (6\,x+4\,x\,\ln \relax (2)\right )-6\,x^2\right )+3}{\ln \left (x+\ln \relax (x)-1\right )\,\left (x\,\ln \relax (x)-x+x^2\right )-2\,x+\ln \relax (x)\,\left (2\,x^2+2\,x\right )+2\,x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.60, size = 31, normalized size = 1.19 \begin {gather*} x \left (4 \log {\relax (2 )} + 6\right ) + \left (-3 - 2 \log {\relax (2 )}\right ) \log {\left (2 x + \log {\left (x + \log {\relax (x )} - 1 \right )} + 2 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________