Optimal. Leaf size=30 \[ x+e^5 \left (\log \left (x^2\right )+\log ^2\left (\frac {1}{3} \left (1+\log \left (\left (-x+x^2\right )^2\right )\right )\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.55, antiderivative size = 34, normalized size of antiderivative = 1.13, number of steps
used = 6, number of rules used = 5, integrand size = 106, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.047, Rules used = {6873, 6874,
45, 6816, 6818} \begin {gather*} e^5 \log ^2\left (\frac {1}{3} \left (\log \left ((1-x)^2 x^2\right )+1\right )\right )+x+2 e^5 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 6816
Rule 6818
Rule 6873
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {x-x^2-e^5 (-2+2 x)-\left (-x+x^2+e^5 (-2+2 x)\right ) \log \left (x^2-2 x^3+x^4\right )-e^5 (-4+8 x) \log \left (\frac {1}{3} \left (1+\log \left (x^2-2 x^3+x^4\right )\right )\right )}{(1-x) x \left (1+\log \left ((-1+x)^2 x^2\right )\right )} \, dx\\ &=\int \left (\frac {2 e^5+x}{x}+\frac {4 e^5 (-1+2 x) \log \left (\frac {1}{3} \left (1+\log \left ((-1+x)^2 x^2\right )\right )\right )}{(-1+x) x \left (1+\log \left ((-1+x)^2 x^2\right )\right )}\right ) \, dx\\ &=\left (4 e^5\right ) \int \frac {(-1+2 x) \log \left (\frac {1}{3} \left (1+\log \left ((-1+x)^2 x^2\right )\right )\right )}{(-1+x) x \left (1+\log \left ((-1+x)^2 x^2\right )\right )} \, dx+\int \frac {2 e^5+x}{x} \, dx\\ &=e^5 \log ^2\left (\frac {1}{3} \left (1+\log \left ((1-x)^2 x^2\right )\right )\right )+\int \left (1+\frac {2 e^5}{x}\right ) \, dx\\ &=x+2 e^5 \log (x)+e^5 \log ^2\left (\frac {1}{3} \left (1+\log \left ((1-x)^2 x^2\right )\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 32, normalized size = 1.07 \begin {gather*} x+2 e^5 \log (x)+e^5 \log ^2\left (\frac {1}{3} \left (1+\log \left ((-1+x)^2 x^2\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 52, normalized size = 1.73
method | result | size |
norman | \(x +{\mathrm e}^{5} \ln \left (\frac {\ln \left (x^{4}-2 x^{3}+x^{2}\right )}{3}+\frac {1}{3}\right )^{2}+2 \,{\mathrm e}^{5} \ln \left (x \right )\) | \(32\) |
default | \(x +2 \,{\mathrm e}^{5} \ln \left (x \right )-2 \,{\mathrm e}^{5} \ln \left (3\right ) \ln \left (\ln \left (x^{4}-2 x^{3}+x^{2}\right )+1\right )+{\mathrm e}^{5} \ln \left (\ln \left (x^{4}-2 x^{3}+x^{2}\right )+1\right )^{2}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.54, size = 45, normalized size = 1.50 \begin {gather*} -2 \, e^{5} \log \left (3\right ) \log \left (2 \, \log \left (x - 1\right ) + 2 \, \log \left (x\right ) + 1\right ) + e^{5} \log \left (2 \, \log \left (x - 1\right ) + 2 \, \log \left (x\right ) + 1\right )^{2} + 2 \, e^{5} \log \left (x\right ) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 31, normalized size = 1.03 \begin {gather*} e^{5} \log \left (\frac {1}{3} \, \log \left (x^{4} - 2 \, x^{3} + x^{2}\right ) + \frac {1}{3}\right )^{2} + 2 \, e^{5} \log \left (x\right ) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.14, size = 34, normalized size = 1.13 \begin {gather*} x + 2 e^{5} \log {\left (x \right )} + e^{5} \log {\left (\frac {\log {\left (x^{4} - 2 x^{3} + x^{2} \right )}}{3} + \frac {1}{3} \right )}^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.48, size = 51, normalized size = 1.70 \begin {gather*} -2 \, e^{5} \log \left (3\right ) \log \left (\log \left (x^{4} - 2 \, x^{3} + x^{2}\right ) + 1\right ) + e^{5} \log \left (\log \left (x^{4} - 2 \, x^{3} + x^{2}\right ) + 1\right )^{2} + 2 \, e^{5} \log \left (x\right ) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.80, size = 31, normalized size = 1.03 \begin {gather*} {\mathrm {e}}^5\,{\ln \left (\frac {\ln \left (x^4-2\,x^3+x^2\right )}{3}+\frac {1}{3}\right )}^2+x+2\,{\mathrm {e}}^5\,\ln \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________