Optimal. Leaf size=28 \[ 2-e^{1+5 x}+\frac {5-x}{x}-2 x+(2+x)^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 21, normalized size of antiderivative = 0.75, number of steps used = 5, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {14, 2194} \begin {gather*} x^2+2 x-e^{5 x+1}+\frac {5}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-5 e^{1+5 x}+\frac {-5+2 x^2+2 x^3}{x^2}\right ) \, dx\\ &=-\left (5 \int e^{1+5 x} \, dx\right )+\int \frac {-5+2 x^2+2 x^3}{x^2} \, dx\\ &=-e^{1+5 x}+\int \left (2-\frac {5}{x^2}+2 x\right ) \, dx\\ &=-e^{1+5 x}+\frac {5}{x}+2 x+x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 0.75 \begin {gather*} -e^{1+5 x}+\frac {5}{x}+2 x+x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 23, normalized size = 0.82 \begin {gather*} \frac {x^{3} + 2 \, x^{2} - x e^{\left (5 \, x + 1\right )} + 5}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.30, size = 23, normalized size = 0.82 \begin {gather*} \frac {x^{3} + 2 \, x^{2} - x e^{\left (5 \, x + 1\right )} + 5}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 21, normalized size = 0.75
method | result | size |
default | \(x^{2}+2 x +\frac {5}{x}-{\mathrm e}^{5 x} {\mathrm e}\) | \(21\) |
risch | \(x^{2}+2 x +\frac {5}{x}-{\mathrm e}^{1+5 x}\) | \(21\) |
norman | \(\frac {5+x^{3}+2 x^{2}-x \,{\mathrm e} \,{\mathrm e}^{5 x}}{x}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 20, normalized size = 0.71 \begin {gather*} x^{2} + 2 \, x + \frac {5}{x} - e^{\left (5 \, x + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.25, size = 20, normalized size = 0.71 \begin {gather*} 2\,x-{\mathrm {e}}^{5\,x+1}+\frac {5}{x}+x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 17, normalized size = 0.61 \begin {gather*} x^{2} + 2 x - e e^{5 x} + \frac {5}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________