Optimal. Leaf size=31 \[ 7+\frac {e^2 (1-x)}{x}+x+\frac {1}{4} x^2 \left (-\frac {2}{3}+x^2\right )^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 30, normalized size of antiderivative = 0.97, number of steps used = 3, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {12, 14} \begin {gather*} \frac {x^6}{4}-\frac {x^4}{3}+\frac {x^2}{9}+x+\frac {e^2}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{18} \int \frac {-18 e^2+18 x^2+4 x^3-24 x^5+27 x^7}{x^2} \, dx\\ &=\frac {1}{18} \int \left (18-\frac {18 e^2}{x^2}+4 x-24 x^3+27 x^5\right ) \, dx\\ &=\frac {e^2}{x}+x+\frac {x^2}{9}-\frac {x^4}{3}+\frac {x^6}{4}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 30, normalized size = 0.97 \begin {gather*} \frac {e^2}{x}+x+\frac {x^2}{9}-\frac {x^4}{3}+\frac {x^6}{4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.31, size = 30, normalized size = 0.97 \begin {gather*} \frac {9 \, x^{7} - 12 \, x^{5} + 4 \, x^{3} + 36 \, x^{2} + 36 \, e^{2}}{36 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 23, normalized size = 0.74 \begin {gather*} \frac {1}{4} \, x^{6} - \frac {1}{3} \, x^{4} + \frac {1}{9} \, x^{2} + x + \frac {e^{2}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 24, normalized size = 0.77
method | result | size |
default | \(\frac {x^{6}}{4}-\frac {x^{4}}{3}+\frac {x^{2}}{9}+x +\frac {{\mathrm e}^{2}}{x}\) | \(24\) |
risch | \(\frac {x^{6}}{4}-\frac {x^{4}}{3}+\frac {x^{2}}{9}+x +\frac {{\mathrm e}^{2}}{x}\) | \(24\) |
norman | \(\frac {x^{2}+\frac {x^{3}}{9}-\frac {x^{5}}{3}+\frac {x^{7}}{4}+{\mathrm e}^{2}}{x}\) | \(26\) |
gosper | \(\frac {9 x^{7}-12 x^{5}+4 x^{3}+36 x^{2}+36 \,{\mathrm e}^{2}}{36 x}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 23, normalized size = 0.74 \begin {gather*} \frac {1}{4} \, x^{6} - \frac {1}{3} \, x^{4} + \frac {1}{9} \, x^{2} + x + \frac {e^{2}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 23, normalized size = 0.74 \begin {gather*} x+\frac {{\mathrm {e}}^2}{x}+\frac {x^2}{9}-\frac {x^4}{3}+\frac {x^6}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 20, normalized size = 0.65 \begin {gather*} \frac {x^{6}}{4} - \frac {x^{4}}{3} + \frac {x^{2}}{9} + x + \frac {e^{2}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________