Optimal. Leaf size=27 \[ \frac {1}{4} \left (5+\log \left (16+\frac {e^x-x^4}{5 x}\right )\right )^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.33, antiderivative size = 28, normalized size of antiderivative = 1.04, number of steps used = 3, number of rules used = 3, integrand size = 69, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {6741, 12, 6686} \begin {gather*} \frac {1}{4} \left (\log \left (\frac {-x^4+80 x+e^x}{5 x}\right )+5\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 6686
Rule 6741
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {\left (e^x-e^x x+3 x^4\right ) \left (-5-\log \left (\frac {e^x+80 x-x^4}{5 x}\right )\right )}{2 x \left (e^x+80 x-x^4\right )} \, dx\\ &=\frac {1}{2} \int \frac {\left (e^x-e^x x+3 x^4\right ) \left (-5-\log \left (\frac {e^x+80 x-x^4}{5 x}\right )\right )}{x \left (e^x+80 x-x^4\right )} \, dx\\ &=\frac {1}{4} \left (5+\log \left (\frac {e^x+80 x-x^4}{5 x}\right )\right )^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 28, normalized size = 1.04 \begin {gather*} \frac {1}{4} \left (5+\log \left (\frac {e^x+80 x-x^4}{5 x}\right )\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.09, size = 41, normalized size = 1.52 \begin {gather*} \frac {1}{4} \, \log \left (-\frac {x^{4} - 80 \, x - e^{x}}{5 \, x}\right )^{2} + \frac {5}{2} \, \log \left (-\frac {x^{4} - 80 \, x - e^{x}}{5 \, x}\right ) \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*} \int \frac {15 \, x^{4} - 5 \, {\left (x - 1\right )} e^{x} + {\left (3 \, x^{4} - {\left (x - 1\right )} e^{x}\right )} \log \left (-\frac {x^{4} - 80 \, x - e^{x}}{5 \, x}\right )}{2 \, {\left (x^{5} - 80 \, x^{2} - x e^{x}\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.22, size = 496, normalized size = 18.37
method | result | size |
risch | \(-\frac {5 \ln \relax (x )}{2}+\frac {\ln \relax (x )^{2}}{4}-\frac {i \ln \left ({\mathrm e}^{x}-x^{4}+80 x \right ) \pi \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{2}}{2}+\frac {i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i \left ({\mathrm e}^{x}-x^{4}+80 x \right )\right ) \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{2}}{4}-\frac {i \ln \left ({\mathrm e}^{x}-x^{4}+80 x \right ) \pi \,\mathrm {csgn}\left (i \left ({\mathrm e}^{x}-x^{4}+80 x \right )\right ) \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right ) \mathrm {csgn}\left (\frac {i}{x}\right )}{4}+\frac {i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i \left ({\mathrm e}^{x}-x^{4}+80 x \right )\right ) \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right ) \mathrm {csgn}\left (\frac {i}{x}\right )}{4}-\frac {i \ln \left ({\mathrm e}^{x}-x^{4}+80 x \right ) \pi \,\mathrm {csgn}\left (i \left ({\mathrm e}^{x}-x^{4}+80 x \right )\right ) \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{2}}{4}+\frac {i \ln \relax (x ) \pi \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{3}}{4}+\frac {\ln \relax (5) \ln \relax (x )}{2}-\frac {i \ln \left ({\mathrm e}^{x}-x^{4}+80 x \right ) \pi \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{3}}{4}-\frac {i \ln \relax (x ) \pi \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{2} \mathrm {csgn}\left (\frac {i}{x}\right )}{4}+\frac {i \ln \left ({\mathrm e}^{x}-x^{4}+80 x \right ) \pi \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{2} \mathrm {csgn}\left (\frac {i}{x}\right )}{4}+\frac {i \ln \relax (x ) \pi \mathrm {csgn}\left (\frac {i \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{x}\right )^{2}}{2}-\frac {\ln \relax (x ) \ln \left (-{\mathrm e}^{x}+x^{4}-80 x \right )}{2}-\frac {\ln \left ({\mathrm e}^{x}-x^{4}+80 x \right ) \ln \relax (5)}{2}+\frac {5 \ln \left ({\mathrm e}^{x}-x^{4}+80 x \right )}{2}+\frac {\ln \left (-{\mathrm e}^{x}+x^{4}-80 x \right )^{2}}{4}-\frac {i \ln \relax (x ) \pi }{2}+\frac {i \ln \left ({\mathrm e}^{x}-x^{4}+80 x \right ) \pi }{2}\) | \(496\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.49, size = 51, normalized size = 1.89 \begin {gather*} -\frac {1}{2} \, {\left (\log \relax (5) + \log \relax (x) - 5\right )} \log \left (-x^{4} + 80 \, x + e^{x}\right ) + \frac {1}{4} \, \log \left (-x^{4} + 80 \, x + e^{x}\right )^{2} + \frac {1}{2} \, {\left (\log \relax (5) - 5\right )} \log \relax (x) + \frac {1}{4} \, \log \relax (x)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.39, size = 40, normalized size = 1.48 \begin {gather*} \frac {\ln \left (\frac {16\,x+\frac {{\mathrm {e}}^x}{5}-\frac {x^4}{5}}{x}\right )\,\left (\ln \left (\frac {16\,x+\frac {{\mathrm {e}}^x}{5}-\frac {x^4}{5}}{x}\right )+10\right )}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.54, size = 41, normalized size = 1.52 \begin {gather*} - \frac {5 \log {\relax (x )}}{2} + \frac {\log {\left (\frac {- \frac {x^{4}}{5} + 16 x + \frac {e^{x}}{5}}{x} \right )}^{2}}{4} + \frac {5 \log {\left (- x^{4} + 80 x + e^{x} \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________