Optimal. Leaf size=24 \[ \frac {5}{x^2}+x-\log \left (126-e^{4+(2+x)^2}+x\right ) \]
________________________________________________________________________________________
Rubi [F] time = 0.55, 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 {1260+10 x-125 x^3-x^4+e^{8+4 x+x^2} \left (-10-3 x^3-2 x^4\right )}{-126 x^3+e^{8+4 x+x^2} x^3-x^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {503+256 x+2 x^2}{-126+e^{8+4 x+x^2}-x}+\frac {-10-3 x^3-2 x^4}{x^3}\right ) \, dx\\ &=-\int \frac {503+256 x+2 x^2}{-126+e^{8+4 x+x^2}-x} \, dx+\int \frac {-10-3 x^3-2 x^4}{x^3} \, dx\\ &=\int \left (-3-\frac {10}{x^3}-2 x\right ) \, dx-\int \left (\frac {503}{-126+e^{8+4 x+x^2}-x}-\frac {256 x}{126-e^{8+4 x+x^2}+x}-\frac {2 x^2}{126-e^{8+4 x+x^2}+x}\right ) \, dx\\ &=\frac {5}{x^2}-3 x-x^2+2 \int \frac {x^2}{126-e^{8+4 x+x^2}+x} \, dx+256 \int \frac {x}{126-e^{8+4 x+x^2}+x} \, dx-503 \int \frac {1}{-126+e^{8+4 x+x^2}-x} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.25, size = 25, normalized size = 1.04 \begin {gather*} \frac {5}{x^2}+x-\log \left (126-e^{8+4 x+x^2}+x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.96, size = 29, normalized size = 1.21 \begin {gather*} \frac {x^{3} - x^{2} \log \left (-x + e^{\left (x^{2} + 4 \, x + 8\right )} - 126\right ) + 5}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 29, normalized size = 1.21 \begin {gather*} \frac {x^{3} - x^{2} \log \left (x - e^{\left (x^{2} + 4 \, x + 8\right )} + 126\right ) + 5}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 26, normalized size = 1.08
method | result | size |
risch | \(x +\frac {5}{x^{2}}+8-\ln \left ({\mathrm e}^{x^{2}+4 x +8}-x -126\right )\) | \(26\) |
norman | \(\frac {x^{3}+5}{x^{2}}-\ln \left (x -{\mathrm e}^{x^{2}+4 x +8}+126\right )\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 38, normalized size = 1.58 \begin {gather*} -\frac {3 \, x^{3} - 5}{x^{2}} - \log \left (-{\left (x - e^{\left (x^{2} + 4 \, x + 8\right )} + 126\right )} e^{\left (-4 \, x - 8\right )}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.31, size = 28, normalized size = 1.17 \begin {gather*} \frac {x^3+5}{x^2}-\ln \left (x-{\mathrm {e}}^{4\,x}\,{\mathrm {e}}^{x^2}\,{\mathrm {e}}^8+126\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 20, normalized size = 0.83 \begin {gather*} x - \log {\left (- x + e^{x^{2} + 4 x + 8} - 126 \right )} + \frac {5}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________