Optimal. Leaf size=24 \[ 2+\frac {\left (1+\log \left (2+e^5\right )\right )^2}{\left (-1+\frac {e^3}{x^2}\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 25, normalized size of antiderivative = 1.04, number of steps
used = 3, number of rules used = 3, integrand size = 56, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {12, 6820, 270}
\begin {gather*} \frac {x^4 \left (1+\log \left (2+e^5\right )\right )^2}{\left (e^3-x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 270
Rule 6820
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\left (4 e^3 \left (1+\log \left (2+e^5\right )\right )^2\right ) \int \frac {1}{\left (\frac {e^9}{x^5}-\frac {3 e^6}{x^3}+\frac {3 e^3}{x}-x\right ) x^2} \, dx\\ &=\left (4 e^3 \left (1+\log \left (2+e^5\right )\right )^2\right ) \int \frac {x^3}{\left (e^3-x^2\right )^3} \, dx\\ &=\frac {x^4 \left (1+\log \left (2+e^5\right )\right )^2}{\left (e^3-x^2\right )^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 35, normalized size = 1.46 \begin {gather*} -\frac {e^3 \left (e^3-2 x^2\right ) \left (1+\log \left (2+e^5\right )\right )^2}{\left (e^3-x^2\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 = 1.15, size = 140, normalized size = 5.83
method | result | size |
risch | \(\frac {\left (4 \ln \left ({\mathrm e}^{5}+2\right )^{2}+8 \ln \left ({\mathrm e}^{5}+2\right )+4\right ) {\mathrm e}^{3} \left (-\frac {{\mathrm e}^{3}}{4}+\frac {x^{2}}{2}\right )}{{\mathrm e}^{6}-2 x^{2} {\mathrm e}^{3}+x^{4}}\) | \(47\) |
norman | \(\frac {-{\mathrm e}^{6} \left (\ln \left ({\mathrm e}^{5}+2\right )^{2}+2 \ln \left ({\mathrm e}^{5}+2\right )+1\right ) x +\left (2 \,{\mathrm e}^{3} \ln \left ({\mathrm e}^{5}+2\right )^{2}+4 \,{\mathrm e}^{3} \ln \left ({\mathrm e}^{5}+2\right )+2 \,{\mathrm e}^{3}\right ) x^{3}}{x \left (-x^{2}+{\mathrm e}^{3}\right )^{2}}\) | \(68\) |
default | \(\frac {\left (4 \ln \left ({\mathrm e}^{5}+2\right )^{2}+8 \ln \left ({\mathrm e}^{5}+2\right )+4\right ) {\mathrm e}^{3-\ln \left (x^{2}\right )+2 \ln \left (x \right )} \left (\munderset {\textit {\_R} =\RootOf \left (-3 \,{\mathrm e}^{3-\ln \left (x^{2}\right )+2 \ln \left (x \right )} \textit {\_Z}^{2}+\textit {\_Z}^{3}+3 \,{\mathrm e}^{6-2 \ln \left (x^{2}\right )+4 \ln \left (x \right )} \textit {\_Z} -{\mathrm e}^{9-3 \ln \left (x^{2}\right )+6 \ln \left (x \right )}\right )}{\sum }\frac {\textit {\_R} \ln \left (x^{2}-\textit {\_R} \right )}{-\textit {\_R}^{2}+2 \,{\mathrm e}^{3-\ln \left (x^{2}\right )+2 \ln \left (x \right )} \textit {\_R} -{\mathrm e}^{6-2 \ln \left (x^{2}\right )+4 \ln \left (x \right )}}\right )}{6}\) | \(140\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 44, normalized size = 1.83 \begin {gather*} \frac {{\left (2 \, x^{2} - e^{3}\right )} {\left (\log \left (e^{5} + 2\right )^{2} + 2 \, \log \left (e^{5} + 2\right ) + 1\right )} e^{3}}{x^{4} - 2 \, x^{2} e^{3} + e^{6}} \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. 67 vs.
\(2 (25) = 50\).
time = 0.40, size = 67, normalized size = 2.79 \begin {gather*} \frac {2 \, x^{2} e^{3} + {\left (2 \, x^{2} e^{3} - e^{6}\right )} \log \left (e^{5} + 2\right )^{2} + 2 \, {\left (2 \, x^{2} e^{3} - e^{6}\right )} \log \left (e^{5} + 2\right ) - e^{6}}{x^{4} - 2 \, x^{2} e^{3} + e^{6}} \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. 58 vs.
\(2 (20) = 40\).
time = 0.13, size = 58, normalized size = 2.42 \begin {gather*} \frac {\left (- 2 x^{2} + e^{3}\right ) \left (- 4 e^{3} \log {\left (2 + e^{5} \right )}^{2} - 8 e^{3} \log {\left (2 + e^{5} \right )} - 4 e^{3}\right )}{4 x^{4} - 8 x^{2} e^{3} + 4 e^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 39, normalized size = 1.62 \begin {gather*} \frac {{\left (2 \, x^{2} - e^{3}\right )} {\left (\log \left (e^{5} + 2\right )^{2} + 2 \, \log \left (e^{5} + 2\right ) + 1\right )} e^{3}}{{\left (x^{2} - e^{3}\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.21, size = 35, normalized size = 1.46 \begin {gather*} \frac {x^4\,\left (2\,\ln \left ({\mathrm {e}}^5+2\right )+{\ln \left ({\mathrm {e}}^5+2\right )}^2+1\right )}{x^4-2\,{\mathrm {e}}^3\,x^2+{\mathrm {e}}^6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________