\(\int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} (e^x (16 x-16 x^2)+4 e^x x \log (-x^4)) \log (4-4 x+\log (-x^4))}{4 x-4 x^2+x \log (-x^4)} \, dx\) [3205]

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

Optimal result

Integrand size = 80, antiderivative size = 21 \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=4 e^{-4+e^x} \log \left (4-4 x+\log \left (-x^4\right )\right ) \]

[Out]

4*exp(exp(x)-4)*ln(ln(-x^4)-4*x+4)

Rubi [A] (verified)

Time = 0.14 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {6820, 12, 2326} \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=4 e^{e^x-4} \log \left (\log \left (-x^4\right )-4 x+4\right ) \]

[In]

Int[(E^(-4 + E^x)*(16 - 16*x) + E^(-4 + E^x)*(E^x*(16*x - 16*x^2) + 4*E^x*x*Log[-x^4])*Log[4 - 4*x + Log[-x^4]
])/(4*x - 4*x^2 + x*Log[-x^4]),x]

[Out]

4*E^(-4 + E^x)*Log[4 - 4*x + Log[-x^4]]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 2326

Int[(y_.)*(F_)^(u_)*((v_) + (w_)), x_Symbol] :> With[{z = v*(y/(Log[F]*D[u, x]))}, Simp[F^u*z, x] /; EqQ[D[z,
x], w*y]] /; FreeQ[F, x]

Rule 6820

Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; SimplerIntegrandQ[v, u, x]]

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

Mathematica [A] (verified)

Time = 0.06 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.00 \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=4 e^{-4+e^x} \log \left (4-4 x+\log \left (-x^4\right )\right ) \]

[In]

Integrate[(E^(-4 + E^x)*(16 - 16*x) + E^(-4 + E^x)*(E^x*(16*x - 16*x^2) + 4*E^x*x*Log[-x^4])*Log[4 - 4*x + Log
[-x^4]])/(4*x - 4*x^2 + x*Log[-x^4]),x]

[Out]

4*E^(-4 + E^x)*Log[4 - 4*x + Log[-x^4]]

Maple [A] (verified)

Time = 3.00 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.95

method result size
parallelrisch \(4 \,{\mathrm e}^{{\mathrm e}^{x}-4} \ln \left (\ln \left (-x^{4}\right )-4 x +4\right )\) \(20\)
risch \(4 \,{\mathrm e}^{{\mathrm e}^{x}-4} \ln \left (i \pi +4 \ln \left (x \right )-\frac {i \pi \,\operatorname {csgn}\left (i x^{2}\right ) {\left (-\operatorname {csgn}\left (i x^{2}\right )+\operatorname {csgn}\left (i x \right )\right )}^{2}}{2}-\frac {i \pi \,\operatorname {csgn}\left (i x^{3}\right ) \left (-\operatorname {csgn}\left (i x^{3}\right )+\operatorname {csgn}\left (i x^{2}\right )\right ) \left (-\operatorname {csgn}\left (i x^{3}\right )+\operatorname {csgn}\left (i x \right )\right )}{2}-\frac {i \pi \,\operatorname {csgn}\left (i x^{4}\right ) \left (-\operatorname {csgn}\left (i x^{4}\right )+\operatorname {csgn}\left (i x^{3}\right )\right ) \left (-\operatorname {csgn}\left (i x^{4}\right )+\operatorname {csgn}\left (i x \right )\right )}{2}+i \pi \operatorname {csgn}\left (i x^{4}\right )^{2} \left (\operatorname {csgn}\left (i x^{4}\right )-1\right )-4 x +4\right )\) \(158\)

[In]

int(((4*x*exp(x)*ln(-x^4)+(-16*x^2+16*x)*exp(x))*exp(exp(x)-4)*ln(ln(-x^4)-4*x+4)+(-16*x+16)*exp(exp(x)-4))/(x
*ln(-x^4)-4*x^2+4*x),x,method=_RETURNVERBOSE)

[Out]

4*exp(exp(x)-4)*ln(ln(-x^4)-4*x+4)

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.90 \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=4 \, e^{\left (e^{x} - 4\right )} \log \left (-4 \, x + \log \left (-x^{4}\right ) + 4\right ) \]

[In]

integrate(((4*x*exp(x)*log(-x^4)+(-16*x^2+16*x)*exp(x))*exp(exp(x)-4)*log(log(-x^4)-4*x+4)+(-16*x+16)*exp(exp(
x)-4))/(x*log(-x^4)-4*x^2+4*x),x, algorithm="fricas")

[Out]

4*e^(e^x - 4)*log(-4*x + log(-x^4) + 4)

Sympy [F(-1)]

Timed out. \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=\text {Timed out} \]

[In]

integrate(((4*x*exp(x)*ln(-x**4)+(-16*x**2+16*x)*exp(x))*exp(exp(x)-4)*ln(ln(-x**4)-4*x+4)+(-16*x+16)*exp(exp(
x)-4))/(x*ln(-x**4)-4*x**2+4*x),x)

[Out]

Timed out

Maxima [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.25 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.95 \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=4 \, e^{\left (e^{x} - 4\right )} \log \left (i \, \pi - 4 \, x + 4 \, \log \left (x\right ) + 4\right ) \]

[In]

integrate(((4*x*exp(x)*log(-x^4)+(-16*x^2+16*x)*exp(x))*exp(exp(x)-4)*log(log(-x^4)-4*x+4)+(-16*x+16)*exp(exp(
x)-4))/(x*log(-x^4)-4*x^2+4*x),x, algorithm="maxima")

[Out]

4*e^(e^x - 4)*log(I*pi - 4*x + 4*log(x) + 4)

Giac [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.90 \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=4 \, e^{\left (e^{x} - 4\right )} \log \left (-4 \, x + \log \left (-x^{4}\right ) + 4\right ) \]

[In]

integrate(((4*x*exp(x)*log(-x^4)+(-16*x^2+16*x)*exp(x))*exp(exp(x)-4)*log(log(-x^4)-4*x+4)+(-16*x+16)*exp(exp(
x)-4))/(x*log(-x^4)-4*x^2+4*x),x, algorithm="giac")

[Out]

4*e^(e^x - 4)*log(-4*x + log(-x^4) + 4)

Mupad [B] (verification not implemented)

Time = 9.64 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.90 \[ \int \frac {e^{-4+e^x} (16-16 x)+e^{-4+e^x} \left (e^x \left (16 x-16 x^2\right )+4 e^x x \log \left (-x^4\right )\right ) \log \left (4-4 x+\log \left (-x^4\right )\right )}{4 x-4 x^2+x \log \left (-x^4\right )} \, dx=4\,\ln \left (\ln \left (-x^4\right )-4\,x+4\right )\,{\mathrm {e}}^{{\mathrm {e}}^x-4} \]

[In]

int(-(exp(exp(x) - 4)*(16*x - 16) - log(log(-x^4) - 4*x + 4)*exp(exp(x) - 4)*(exp(x)*(16*x - 16*x^2) + 4*x*exp
(x)*log(-x^4)))/(4*x + x*log(-x^4) - 4*x^2),x)

[Out]

4*log(log(-x^4) - 4*x + 4)*exp(exp(x) - 4)