Optimal. Leaf size=22 \[ -12-e^{1+x}-\frac {1}{x}-x+5 x^5 \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 21, normalized size of antiderivative = 0.95, number of steps used = 5, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {14, 2194} \begin {gather*} 5 x^5-x-e^{x+1}-\frac {1}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-e^{1+x}+\frac {1-x^2+25 x^6}{x^2}\right ) \, dx\\ &=-\int e^{1+x} \, dx+\int \frac {1-x^2+25 x^6}{x^2} \, dx\\ &=-e^{1+x}+\int \left (-1+\frac {1}{x^2}+25 x^4\right ) \, dx\\ &=-e^{1+x}-\frac {1}{x}-x+5 x^5\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 0.95 \begin {gather*} -e^{1+x}-\frac {1}{x}-x+5 x^5 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 23, normalized size = 1.05 \begin {gather*} \frac {5 \, x^{6} - x^{2} - x e^{\left (x + 1\right )} - 1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 23, normalized size = 1.05 \begin {gather*} \frac {5 \, x^{6} - x^{2} - x e^{\left (x + 1\right )} - 1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.15, size = 21, normalized size = 0.95
method | result | size |
risch | \(5 x^{5}-x -\frac {1}{x}-{\mathrm e}^{x +1}\) | \(21\) |
norman | \(\frac {-1-x^{2}+5 x^{6}-x \,{\mathrm e}^{x +1}}{x}\) | \(24\) |
derivativedivides | \(-\frac {1}{x}+24 x +24-50 \left (x +1\right )^{2}+50 \left (x +1\right )^{3}-25 \left (x +1\right )^{4}+5 \left (x +1\right )^{5}-{\mathrm e}^{x +1}\) | \(45\) |
default | \(-\frac {1}{x}+24 x +24-50 \left (x +1\right )^{2}+50 \left (x +1\right )^{3}-25 \left (x +1\right )^{4}+5 \left (x +1\right )^{5}-{\mathrm e}^{x +1}\) | \(45\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 20, normalized size = 0.91 \begin {gather*} 5 \, x^{5} - x - \frac {1}{x} - e^{\left (x + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.12, size = 20, normalized size = 0.91 \begin {gather*} 5\,x^5-{\mathrm {e}}^{x+1}-\frac {1}{x}-x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 14, normalized size = 0.64 \begin {gather*} 5 x^{5} - x - e^{x + 1} - \frac {1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________