3.77.26 \(\int \frac {1260+10 x-125 x^3-x^4+e^{8+4 x+x^2} (-10-3 x^3-2 x^4)}{-126 x^3+e^{8+4 x+x^2} x^3-x^4} \, dx\)

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]

Int[(1260 + 10*x - 125*x^3 - x^4 + E^(8 + 4*x + x^2)*(-10 - 3*x^3 - 2*x^4))/(-126*x^3 + E^(8 + 4*x + x^2)*x^3
- x^4),x]

[Out]

5/x^2 - 3*x - x^2 - 503*Defer[Int][(-126 + E^(8 + 4*x + x^2) - x)^(-1), x] + 256*Defer[Int][x/(126 - E^(8 + 4*
x + x^2) + x), x] + 2*Defer[Int][x^2/(126 - E^(8 + 4*x + x^2) + x), x]

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]

Integrate[(1260 + 10*x - 125*x^3 - x^4 + E^(8 + 4*x + x^2)*(-10 - 3*x^3 - 2*x^4))/(-126*x^3 + E^(8 + 4*x + x^2
)*x^3 - x^4),x]

[Out]

5/x^2 + x - Log[126 - E^(8 + 4*x + x^2) + x]

________________________________________________________________________________________

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]

integrate(((-2*x^4-3*x^3-10)*exp(x^2+4*x+8)-x^4-125*x^3+10*x+1260)/(x^3*exp(x^2+4*x+8)-x^4-126*x^3),x, algorit
hm="fricas")

[Out]

(x^3 - x^2*log(-x + e^(x^2 + 4*x + 8) - 126) + 5)/x^2

________________________________________________________________________________________

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]

integrate(((-2*x^4-3*x^3-10)*exp(x^2+4*x+8)-x^4-125*x^3+10*x+1260)/(x^3*exp(x^2+4*x+8)-x^4-126*x^3),x, algorit
hm="giac")

[Out]

(x^3 - x^2*log(x - e^(x^2 + 4*x + 8) + 126) + 5)/x^2

________________________________________________________________________________________

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]

int(((-2*x^4-3*x^3-10)*exp(x^2+4*x+8)-x^4-125*x^3+10*x+1260)/(x^3*exp(x^2+4*x+8)-x^4-126*x^3),x,method=_RETURN
VERBOSE)

[Out]

x+5/x^2+8-ln(exp(x^2+4*x+8)-x-126)

________________________________________________________________________________________

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]

integrate(((-2*x^4-3*x^3-10)*exp(x^2+4*x+8)-x^4-125*x^3+10*x+1260)/(x^3*exp(x^2+4*x+8)-x^4-126*x^3),x, algorit
hm="maxima")

[Out]

-(3*x^3 - 5)/x^2 - log(-(x - e^(x^2 + 4*x + 8) + 126)*e^(-4*x - 8))

________________________________________________________________________________________

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]

int((exp(4*x + x^2 + 8)*(3*x^3 + 2*x^4 + 10) - 10*x + 125*x^3 + x^4 - 1260)/(126*x^3 - x^3*exp(4*x + x^2 + 8)
+ x^4),x)

[Out]

(x^3 + 5)/x^2 - log(x - exp(4*x)*exp(x^2)*exp(8) + 126)

________________________________________________________________________________________

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]

integrate(((-2*x**4-3*x**3-10)*exp(x**2+4*x+8)-x**4-125*x**3+10*x+1260)/(x**3*exp(x**2+4*x+8)-x**4-126*x**3),x
)

[Out]

x - log(-x + exp(x**2 + 4*x + 8) - 126) + 5/x**2

________________________________________________________________________________________