Optimal. Leaf size=23 \[ -4+x+\log (3)+2 \left (x+\log \left (4+x \left (-e^{5 x}+x\right )\right )\right ) \]
________________________________________________________________________________________
Rubi [F] time = 0.57, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {-12-4 x-3 x^2+e^{5 x} (2+13 x)}{-4+e^{5 x} x-x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {2+13 x}{x}-\frac {2 \left (4+20 x-x^2+5 x^3\right )}{x \left (4-e^{5 x} x+x^2\right )}\right ) \, dx\\ &=-\left (2 \int \frac {4+20 x-x^2+5 x^3}{x \left (4-e^{5 x} x+x^2\right )} \, dx\right )+\int \frac {2+13 x}{x} \, dx\\ &=-\left (2 \int \left (-\frac {20}{-4+e^{5 x} x-x^2}+\frac {4}{x \left (4-e^{5 x} x+x^2\right )}-\frac {x}{4-e^{5 x} x+x^2}+\frac {5 x^2}{4-e^{5 x} x+x^2}\right ) \, dx\right )+\int \left (13+\frac {2}{x}\right ) \, dx\\ &=13 x+2 \log (x)+2 \int \frac {x}{4-e^{5 x} x+x^2} \, dx-8 \int \frac {1}{x \left (4-e^{5 x} x+x^2\right )} \, dx-10 \int \frac {x^2}{4-e^{5 x} x+x^2} \, dx+40 \int \frac {1}{-4+e^{5 x} x-x^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 20, normalized size = 0.87 \begin {gather*} 3 x+2 \log \left (4-e^{5 x} x+x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.52, size = 28, normalized size = 1.22 \begin {gather*} 3 \, x + 2 \, \log \relax (x) + 2 \, \log \left (-\frac {x^{2} - x e^{\left (5 \, x\right )} + 4}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 20, normalized size = 0.87 \begin {gather*} 3 \, x + 2 \, \log \left (-x^{2} + x e^{\left (5 \, x\right )} - 4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 20, normalized size = 0.87
method | result | size |
norman | \(3 x +2 \ln \left (x^{2}-x \,{\mathrm e}^{5 x}+4\right )\) | \(20\) |
risch | \(3 x +2 \ln \relax (x )+2 \ln \left ({\mathrm e}^{5 x}-\frac {x^{2}+4}{x}\right )\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 28, normalized size = 1.22 \begin {gather*} 3 \, x + 2 \, \log \relax (x) + 2 \, \log \left (-\frac {x^{2} - x e^{\left (5 \, x\right )} + 4}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.59, size = 19, normalized size = 0.83 \begin {gather*} 3\,x+2\,\ln \left (x^2-x\,{\mathrm {e}}^{5\,x}+4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.20, size = 24, normalized size = 1.04 \begin {gather*} 3 x + 2 \log {\relax (x )} + 2 \log {\left (e^{5 x} + \frac {- x^{2} - 4}{x} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________