3.25.89 \(\int \frac {e^{4+x} (2 x-x^2)+e^8 (48 x+4 x^2)}{e^{2 x}+e^{4+x} (48+8 x)+e^8 (576+192 x+16 x^2)} \, dx\)

Optimal. Leaf size=16 \[ \frac {x^2}{24+e^{-4+x}+4 x} \]

________________________________________________________________________________________

Rubi [F]  time = 0.92, 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 {e^{4+x} \left (2 x-x^2\right )+e^8 \left (48 x+4 x^2\right )}{e^{2 x}+e^{4+x} (48+8 x)+e^8 \left (576+192 x+16 x^2\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(E^(4 + x)*(2*x - x^2) + E^8*(48*x + 4*x^2))/(E^(2*x) + E^(4 + x)*(48 + 8*x) + E^8*(576 + 192*x + 16*x^2))
,x]

[Out]

20*E^8*Defer[Int][x^2/(24*E^4 + E^x + 4*E^4*x)^2, x] + 4*E^8*Defer[Int][x^3/(24*E^4 + E^x + 4*E^4*x)^2, x] + 2
*E^4*Defer[Int][x/(24*E^4 + E^x + 4*E^4*x), x] - E^4*Defer[Int][x^2/(24*E^4 + E^x + 4*E^4*x), x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-e^{4+x} (-2+x) x+4 e^8 x (12+x)}{\left (e^x+4 e^4 (6+x)\right )^2} \, dx\\ &=\int \left (\frac {4 e^8 x^2 (5+x)}{\left (24 e^4+e^x+4 e^4 x\right )^2}-\frac {e^4 (-2+x) x}{24 e^4+e^x+4 e^4 x}\right ) \, dx\\ &=-\left (e^4 \int \frac {(-2+x) x}{24 e^4+e^x+4 e^4 x} \, dx\right )+\left (4 e^8\right ) \int \frac {x^2 (5+x)}{\left (24 e^4+e^x+4 e^4 x\right )^2} \, dx\\ &=-\left (e^4 \int \left (-\frac {2 x}{24 e^4+e^x+4 e^4 x}+\frac {x^2}{24 e^4+e^x+4 e^4 x}\right ) \, dx\right )+\left (4 e^8\right ) \int \left (\frac {5 x^2}{\left (24 e^4+e^x+4 e^4 x\right )^2}+\frac {x^3}{\left (24 e^4+e^x+4 e^4 x\right )^2}\right ) \, dx\\ &=-\left (e^4 \int \frac {x^2}{24 e^4+e^x+4 e^4 x} \, dx\right )+\left (2 e^4\right ) \int \frac {x}{24 e^4+e^x+4 e^4 x} \, dx+\left (4 e^8\right ) \int \frac {x^3}{\left (24 e^4+e^x+4 e^4 x\right )^2} \, dx+\left (20 e^8\right ) \int \frac {x^2}{\left (24 e^4+e^x+4 e^4 x\right )^2} \, dx\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.22, size = 21, normalized size = 1.31 \begin {gather*} \frac {e^4 x^2}{e^x+4 e^4 (6+x)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(E^(4 + x)*(2*x - x^2) + E^8*(48*x + 4*x^2))/(E^(2*x) + E^(4 + x)*(48 + 8*x) + E^8*(576 + 192*x + 16
*x^2)),x]

[Out]

(E^4*x^2)/(E^x + 4*E^4*(6 + x))

________________________________________________________________________________________

fricas [A]  time = 0.87, size = 20, normalized size = 1.25 \begin {gather*} \frac {x^{2} e^{8}}{4 \, {\left (x + 6\right )} e^{8} + e^{\left (x + 4\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-x^2+2*x)*exp(4)*exp(x)+(4*x^2+48*x)*exp(4)^2)/(exp(x)^2+(8*x+48)*exp(4)*exp(x)+(16*x^2+192*x+576)
*exp(4)^2),x, algorithm="fricas")

[Out]

x^2*e^8/(4*(x + 6)*e^8 + e^(x + 4))

________________________________________________________________________________________

giac [A]  time = 0.37, size = 20, normalized size = 1.25 \begin {gather*} \frac {x^{2} e^{4}}{4 \, x e^{4} + 24 \, e^{4} + e^{x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-x^2+2*x)*exp(4)*exp(x)+(4*x^2+48*x)*exp(4)^2)/(exp(x)^2+(8*x+48)*exp(4)*exp(x)+(16*x^2+192*x+576)
*exp(4)^2),x, algorithm="giac")

[Out]

x^2*e^4/(4*x*e^4 + 24*e^4 + e^x)

________________________________________________________________________________________

maple [A]  time = 0.10, size = 21, normalized size = 1.31




method result size



norman \(\frac {x^{2} {\mathrm e}^{4}}{4 x \,{\mathrm e}^{4}+24 \,{\mathrm e}^{4}+{\mathrm e}^{x}}\) \(21\)
risch \(\frac {x^{2} {\mathrm e}^{4}}{4 x \,{\mathrm e}^{4}+24 \,{\mathrm e}^{4}+{\mathrm e}^{x}}\) \(21\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((-x^2+2*x)*exp(4)*exp(x)+(4*x^2+48*x)*exp(4)^2)/(exp(x)^2+(8*x+48)*exp(4)*exp(x)+(16*x^2+192*x+576)*exp(4
)^2),x,method=_RETURNVERBOSE)

[Out]

x^2*exp(4)/(4*x*exp(4)+24*exp(4)+exp(x))

________________________________________________________________________________________

maxima [A]  time = 0.47, size = 20, normalized size = 1.25 \begin {gather*} \frac {x^{2} e^{4}}{4 \, x e^{4} + 24 \, e^{4} + e^{x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-x^2+2*x)*exp(4)*exp(x)+(4*x^2+48*x)*exp(4)^2)/(exp(x)^2+(8*x+48)*exp(4)*exp(x)+(16*x^2+192*x+576)
*exp(4)^2),x, algorithm="maxima")

[Out]

x^2*e^4/(4*x*e^4 + 24*e^4 + e^x)

________________________________________________________________________________________

mupad [B]  time = 1.53, size = 20, normalized size = 1.25 \begin {gather*} \frac {x^2\,{\mathrm {e}}^4}{24\,{\mathrm {e}}^4+{\mathrm {e}}^x+4\,x\,{\mathrm {e}}^4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(8)*(48*x + 4*x^2) + exp(4)*exp(x)*(2*x - x^2))/(exp(2*x) + exp(8)*(192*x + 16*x^2 + 576) + exp(4)*exp
(x)*(8*x + 48)),x)

[Out]

(x^2*exp(4))/(24*exp(4) + exp(x) + 4*x*exp(4))

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 20, normalized size = 1.25 \begin {gather*} \frac {x^{2} e^{4}}{4 x e^{4} + e^{x} + 24 e^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-x**2+2*x)*exp(4)*exp(x)+(4*x**2+48*x)*exp(4)**2)/(exp(x)**2+(8*x+48)*exp(4)*exp(x)+(16*x**2+192*x
+576)*exp(4)**2),x)

[Out]

x**2*exp(4)/(4*x*exp(4) + exp(x) + 24*exp(4))

________________________________________________________________________________________