Optimal. Leaf size=23 \[ \left (x^2+\log \left (\frac {3 e^5 (-x+\log (x))}{2 x}\right )\right )^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.25, antiderivative size = 21, normalized size of antiderivative = 0.91, number of steps
used = 4, number of rules used = 4, integrand size = 78, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.051, Rules used = {2641, 6820, 12,
6818} \begin {gather*} \left (x^2+\log \left (-\frac {3}{2} \left (1-\frac {\log (x)}{x}\right )\right )+5\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2641
Rule 6818
Rule 6820
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {2 x^2-4 x^5+\left (-2 x^2+4 x^4\right ) \log (x)+\left (2-4 x^3+\left (-2+4 x^2\right ) \log (x)\right ) \log \left (\frac {-3 e^5 x+3 e^5 \log (x)}{2 x}\right )}{x (-x+\log (x))} \, dx\\ &=\int \frac {2 \left (1-2 x^3-\log (x)+2 x^2 \log (x)\right ) \left (-5-x^2-\log \left (\frac {3}{2} \left (-1+\frac {\log (x)}{x}\right )\right )\right )}{x (x-\log (x))} \, dx\\ &=2 \int \frac {\left (1-2 x^3-\log (x)+2 x^2 \log (x)\right ) \left (-5-x^2-\log \left (\frac {3}{2} \left (-1+\frac {\log (x)}{x}\right )\right )\right )}{x (x-\log (x))} \, dx\\ &=\left (5+x^2+\log \left (-\frac {3}{2} \left (1-\frac {\log (x)}{x}\right )\right )\right )^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 20, normalized size = 0.87 \begin {gather*} \left (5+x^2+\log \left (\frac {3}{2} \left (-1+\frac {\log (x)}{x}\right )\right )\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 2.34, size = 1538, normalized size = 66.87
method | result | size |
risch | \(\text {Expression too large to display}\) | \(1538\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 69 vs.
\(2 (20) = 40\).
time = 0.54, size = 69, normalized size = 3.00 \begin {gather*} x^{4} + 2 \, x^{2} {\left (\log \left (3\right ) - \log \left (2\right ) + 5\right )} - 2 \, {\left (x^{2} + \log \left (3\right ) - \log \left (2\right ) + 5\right )} \log \left (x\right ) + \log \left (x\right )^{2} + 2 \, {\left (x^{2} + \log \left (3\right ) - \log \left (2\right ) - \log \left (x\right ) + 5\right )} \log \left (-x + \log \left (x\right )\right ) + \log \left (-x + \log \left (x\right )\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 45 vs.
\(2 (20) = 40\).
time = 0.31, size = 45, normalized size = 1.96 \begin {gather*} x^{4} + 2 \, x^{2} \log \left (-\frac {3 \, {\left (x e^{5} - e^{5} \log \left (x\right )\right )}}{2 \, x}\right ) + \log \left (-\frac {3 \, {\left (x e^{5} - e^{5} \log \left (x\right )\right )}}{2 \, x}\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 53 vs.
\(2 (19) = 38\).
time = 0.15, size = 53, normalized size = 2.30 \begin {gather*} x^{4} + 2 x^{2} \log {\left (\frac {- \frac {3 x e^{5}}{2} + \frac {3 e^{5} \log {\left (x \right )}}{2}}{x} \right )} + \log {\left (\frac {- \frac {3 x e^{5}}{2} + \frac {3 e^{5} \log {\left (x \right )}}{2}}{x} \right )}^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 75 vs.
\(2 (20) = 40\).
time = 0.42, size = 75, normalized size = 3.26 \begin {gather*} x^{4} - 2 \, x^{2} {\left (\log \left (2\right ) - 5\right )} - 2 \, x^{2} \log \left (x\right ) + 2 \, {\left (\log \left (2\right ) - 5\right )} \log \left (x\right ) + \log \left (x\right )^{2} - 2 \, {\left (\log \left (2\right ) - 5\right )} \log \left (-x + \log \left (x\right )\right ) + 2 \, {\left (x^{2} - \log \left (x\right )\right )} \log \left (-3 \, x + 3 \, \log \left (x\right )\right ) + \log \left (-3 \, x + 3 \, \log \left (x\right )\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.50, size = 24, normalized size = 1.04 \begin {gather*} {\left (\ln \left (-\frac {3\,x\,{\mathrm {e}}^5-3\,{\mathrm {e}}^5\,\ln \left (x\right )}{2\,x}\right )+x^2\right )}^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________