\(\int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} (32+24 x+4 x^2) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx\) [8039]

   Optimal result
   Rubi [F]
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 60, antiderivative size = 21 \[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\frac {e^{2+2 x} \log ^2(4+x)}{5+2 x} \]

[Out]

exp(1+x)^2*ln(4+x)^2/(5+2*x)

Rubi [F]

\[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx \]

[In]

Int[(E^(2 + 2*x)*(10 + 4*x)*Log[4 + x] + E^(2 + 2*x)*(32 + 24*x + 4*x^2)*Log[4 + x]^2)/(100 + 105*x + 36*x^2 +
 4*x^3),x]

[Out]

(-2*ExpIntegralEi[2*(4 + x)]*Log[4 + x])/(3*E^6) + (2*ExpIntegralEi[5 + 2*x]*Log[4 + x])/(3*E^3) - (2*Defer[In
t][ExpIntegralEi[5 + 2*x]/(4 + x), x])/(3*E^3) - (2*Defer[Int][ExpIntegralEi[8 + 2*x]/(-4 - x), x])/(3*E^6) -
2*Defer[Int][(E^(2 + 2*x)*Log[4 + x]^2)/(5 + 2*x)^2, x] + 2*Defer[Int][(E^(2 + 2*x)*Log[4 + x]^2)/(5 + 2*x), x
]

Rubi steps \begin{align*} \text {integral}& = \int \frac {2 e^{2+2 x} \log (4+x) \left (5+2 x+2 \left (8+6 x+x^2\right ) \log (4+x)\right )}{(4+x) (5+2 x)^2} \, dx \\ & = 2 \int \frac {e^{2+2 x} \log (4+x) \left (5+2 x+2 \left (8+6 x+x^2\right ) \log (4+x)\right )}{(4+x) (5+2 x)^2} \, dx \\ & = 2 \int \left (\frac {e^{2+2 x} \log (4+x)}{(4+x) (5+2 x)}+\frac {2 e^{2+2 x} (2+x) \log ^2(4+x)}{(5+2 x)^2}\right ) \, dx \\ & = 2 \int \frac {e^{2+2 x} \log (4+x)}{(4+x) (5+2 x)} \, dx+4 \int \frac {e^{2+2 x} (2+x) \log ^2(4+x)}{(5+2 x)^2} \, dx \\ & = -\frac {2 \operatorname {ExpIntegralEi}(2 (4+x)) \log (4+x)}{3 e^6}+\frac {2 \operatorname {ExpIntegralEi}(5+2 x) \log (4+x)}{3 e^3}-2 \int \frac {-\operatorname {ExpIntegralEi}(2 (4+x))+e^3 \operatorname {ExpIntegralEi}(5+2 x)}{3 e^6 (4+x)} \, dx+4 \int \left (-\frac {e^{2+2 x} \log ^2(4+x)}{2 (5+2 x)^2}+\frac {e^{2+2 x} \log ^2(4+x)}{2 (5+2 x)}\right ) \, dx \\ & = -\frac {2 \operatorname {ExpIntegralEi}(2 (4+x)) \log (4+x)}{3 e^6}+\frac {2 \operatorname {ExpIntegralEi}(5+2 x) \log (4+x)}{3 e^3}-2 \int \frac {e^{2+2 x} \log ^2(4+x)}{(5+2 x)^2} \, dx+2 \int \frac {e^{2+2 x} \log ^2(4+x)}{5+2 x} \, dx-\frac {2 \int \frac {-\operatorname {ExpIntegralEi}(2 (4+x))+e^3 \operatorname {ExpIntegralEi}(5+2 x)}{4+x} \, dx}{3 e^6} \\ & = -\frac {2 \operatorname {ExpIntegralEi}(2 (4+x)) \log (4+x)}{3 e^6}+\frac {2 \operatorname {ExpIntegralEi}(5+2 x) \log (4+x)}{3 e^3}-2 \int \frac {e^{2+2 x} \log ^2(4+x)}{(5+2 x)^2} \, dx+2 \int \frac {e^{2+2 x} \log ^2(4+x)}{5+2 x} \, dx-\frac {2 \int \left (\frac {e^3 \operatorname {ExpIntegralEi}(5+2 x)}{4+x}+\frac {\operatorname {ExpIntegralEi}(8+2 x)}{-4-x}\right ) \, dx}{3 e^6} \\ & = -\frac {2 \operatorname {ExpIntegralEi}(2 (4+x)) \log (4+x)}{3 e^6}+\frac {2 \operatorname {ExpIntegralEi}(5+2 x) \log (4+x)}{3 e^3}-2 \int \frac {e^{2+2 x} \log ^2(4+x)}{(5+2 x)^2} \, dx+2 \int \frac {e^{2+2 x} \log ^2(4+x)}{5+2 x} \, dx-\frac {2 \int \frac {\operatorname {ExpIntegralEi}(8+2 x)}{-4-x} \, dx}{3 e^6}-\frac {2 \int \frac {\operatorname {ExpIntegralEi}(5+2 x)}{4+x} \, dx}{3 e^3} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.35 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.05 \[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\frac {2 e^{2+2 x} \log ^2(4+x)}{10+4 x} \]

[In]

Integrate[(E^(2 + 2*x)*(10 + 4*x)*Log[4 + x] + E^(2 + 2*x)*(32 + 24*x + 4*x^2)*Log[4 + x]^2)/(100 + 105*x + 36
*x^2 + 4*x^3),x]

[Out]

(2*E^(2 + 2*x)*Log[4 + x]^2)/(10 + 4*x)

Maple [A] (verified)

Time = 0.12 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.00

method result size
risch \(\frac {{\mathrm e}^{2+2 x} \ln \left (4+x \right )^{2}}{5+2 x}\) \(21\)
parallelrisch \(\frac {{\mathrm e}^{2+2 x} \ln \left (4+x \right )^{2}}{5+2 x}\) \(21\)

[In]

int(((4*x^2+24*x+32)*exp(1+x)^2*ln(4+x)^2+(4*x+10)*exp(1+x)^2*ln(4+x))/(4*x^3+36*x^2+105*x+100),x,method=_RETU
RNVERBOSE)

[Out]

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

Fricas [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.95 \[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\frac {e^{\left (2 \, x + 2\right )} \log \left (x + 4\right )^{2}}{2 \, x + 5} \]

[In]

integrate(((4*x^2+24*x+32)*exp(1+x)^2*log(4+x)^2+(4*x+10)*exp(1+x)^2*log(4+x))/(4*x^3+36*x^2+105*x+100),x, alg
orithm="fricas")

[Out]

e^(2*x + 2)*log(x + 4)^2/(2*x + 5)

Sympy [A] (verification not implemented)

Time = 0.09 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.81 \[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\frac {e^{2 x + 2} \log {\left (x + 4 \right )}^{2}}{2 x + 5} \]

[In]

integrate(((4*x**2+24*x+32)*exp(1+x)**2*ln(4+x)**2+(4*x+10)*exp(1+x)**2*ln(4+x))/(4*x**3+36*x**2+105*x+100),x)

[Out]

exp(2*x + 2)*log(x + 4)**2/(2*x + 5)

Maxima [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.95 \[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\frac {e^{\left (2 \, x + 2\right )} \log \left (x + 4\right )^{2}}{2 \, x + 5} \]

[In]

integrate(((4*x^2+24*x+32)*exp(1+x)^2*log(4+x)^2+(4*x+10)*exp(1+x)^2*log(4+x))/(4*x^3+36*x^2+105*x+100),x, alg
orithm="maxima")

[Out]

e^(2*x + 2)*log(x + 4)^2/(2*x + 5)

Giac [A] (verification not implemented)

none

Time = 0.30 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.29 \[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\frac {e^{\left (2 \, x + 8\right )} \log \left (x + 4\right )^{2}}{2 \, {\left (x + 4\right )} e^{6} - 3 \, e^{6}} \]

[In]

integrate(((4*x^2+24*x+32)*exp(1+x)^2*log(4+x)^2+(4*x+10)*exp(1+x)^2*log(4+x))/(4*x^3+36*x^2+105*x+100),x, alg
orithm="giac")

[Out]

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

Mupad [F(-1)]

Timed out. \[ \int \frac {e^{2+2 x} (10+4 x) \log (4+x)+e^{2+2 x} \left (32+24 x+4 x^2\right ) \log ^2(4+x)}{100+105 x+36 x^2+4 x^3} \, dx=\int \frac {{\mathrm {e}}^{2\,x+2}\,\left (4\,x^2+24\,x+32\right )\,{\ln \left (x+4\right )}^2+{\mathrm {e}}^{2\,x+2}\,\left (4\,x+10\right )\,\ln \left (x+4\right )}{4\,x^3+36\,x^2+105\,x+100} \,d x \]

[In]

int((log(x + 4)^2*exp(2*x + 2)*(24*x + 4*x^2 + 32) + log(x + 4)*exp(2*x + 2)*(4*x + 10))/(105*x + 36*x^2 + 4*x
^3 + 100),x)

[Out]

int((log(x + 4)^2*exp(2*x + 2)*(24*x + 4*x^2 + 32) + log(x + 4)*exp(2*x + 2)*(4*x + 10))/(105*x + 36*x^2 + 4*x
^3 + 100), x)