Optimal. Leaf size=27 \[ \left (-3+\frac {5^{4 x}-x}{x}+\frac {x-4 \log (x)}{x}\right )^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 53, normalized size of antiderivative = 1.96, number of steps
used = 6, number of rules used = 4, integrand size = 66, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {14, 2228, 6844,
2326} \begin {gather*} \frac {5^{8 x}}{x^2}+\frac {16 \log ^2(x)}{x^2}-\frac {8\ 625^x \left (3 x^2 \log (5)+2 x \log (25) \log (x)\right )}{x^3 \log (625)}+\frac {24 \log (x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2228
Rule 2326
Rule 6844
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {2\ 5^{8 x} (-1+4 x \log (5))}{x^3}-\frac {8 (-1+\log (x)) (3 x+4 \log (x))}{x^3}-\frac {2\ 625^x \left (4-3 x+12 x^2 \log (5)-8 \log (x)+8 x \log (25) \log (x)\right )}{x^3}\right ) \, dx\\ &=2 \int \frac {5^{8 x} (-1+4 x \log (5))}{x^3} \, dx-2 \int \frac {625^x \left (4-3 x+12 x^2 \log (5)-8 \log (x)+8 x \log (25) \log (x)\right )}{x^3} \, dx-8 \int \frac {(-1+\log (x)) (3 x+4 \log (x))}{x^3} \, dx\\ &=\frac {5^{8 x}}{x^2}-\frac {8\ 625^x \left (3 x^2 \log (5)+2 x \log (25) \log (x)\right )}{x^3 \log (625)}+8 \text {Subst}\left (\int (3+4 x) \, dx,x,\frac {\log (x)}{x}\right )\\ &=\frac {5^{8 x}}{x^2}+\frac {24 \log (x)}{x}+\frac {16 \log ^2(x)}{x^2}-\frac {8\ 625^x \left (3 x^2 \log (5)+2 x \log (25) \log (x)\right )}{x^3 \log (625)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 4 vs. order 3 in
optimal.
time = 1.14, size = 231, normalized size = 8.56 \begin {gather*} 2 \left (\frac {625^{2 x}}{2 x^2}-\frac {3\ 625^x}{x}+7 \log ^2(625)-6 \gamma \log ^2(625)-\log (625) \log (152587890625)+\gamma \log (625) \log (152587890625)+3 \log ^2(625) \log \left (\frac {1}{x}\right )-\log (625) \log (390625) \log \left (\frac {1}{x}\right )-\frac {4\ 625^x \log (x)}{x^2}+\frac {12 \log (x)}{x}+3 \log ^2(625) \log (x)-4 \gamma \log ^2(625) \log (x)+\log (625) \log (390625) \log (x)-\log (625) \log (152587890625) \log (x)+\gamma \log (625) \log (152587890625) \log (x)+\text {ExpIntegralEi}(x \log (625)) \log (625) \log (152587890625) \log (x)+\text {Gamma}(0,-x \log (625)) \log (625) \log (152587890625) \log (x)+2 \log ^2(625) \log \left (\frac {1}{x}\right ) \log (x)+\log (625) \log (152587890625) \log (-x) \log (x)+\frac {8 \log ^2(x)}{x^2}-\log (625) \log (390625) \log ^2(x)-6 \log ^2(625) \log (\log (625))+\log ^2(390625) \log (\log (625))-4 \log ^2(625) \log (x) \log (\log (625))+\log (625) \log (152587890625) \log (x) \log (\log (625))\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.07, size = 54, normalized size = 2.00
method | result | size |
risch | \(\frac {16 \ln \left (x \right )^{2}}{x^{2}}+\frac {8 \left (3 x -625^{x}\right ) \ln \left (x \right )}{x^{2}}-\frac {625^{x} \left (6 x -625^{x}\right )}{x^{2}}\) | \(44\) |
default | \(\frac {-6 \,{\mathrm e}^{4 x \ln \left (5\right )} x -8 \ln \left (x \right ) {\mathrm e}^{4 x \ln \left (5\right )}}{x^{2}}+\frac {16 \ln \left (x \right )^{2}}{x^{2}}+\frac {24 \ln \left (x \right )}{x}+\frac {{\mathrm e}^{8 x \ln \left (5\right )}}{x^{2}}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 40, normalized size = 1.48 \begin {gather*} -\frac {6 \cdot 5^{4 \, x} x + 8 \, {\left (5^{4 \, x} - 3 \, x\right )} \log \left (x\right ) - 16 \, \log \left (x\right )^{2} - 5^{8 \, x}}{x^{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. 54 vs.
\(2 (22) = 44\).
time = 0.16, size = 54, normalized size = 2.00 \begin {gather*} \frac {24 \log {\left (x \right )}}{x} + \frac {16 \log {\left (x \right )}^{2}}{x^{2}} + \frac {x^{2} e^{8 x \log {\left (5 \right )}} + \left (- 6 x^{3} - 8 x^{2} \log {\left (x \right )}\right ) e^{4 x \log {\left (5 \right )}}}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 7.12, size = 31, normalized size = 1.15 \begin {gather*} \frac {\left (4\,\ln \left (x\right )-5^{4\,x}\right )\,\left (6\,x+4\,\ln \left (x\right )-5^{4\,x}\right )}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________