\(\int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log (x^2)-6 x \log ^2(x^2)}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} (24 x^4-2 e^{3+x} x^4)+(-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2) \log ^2(x^2)+\log ^4(x^2)} \, dx\) [6511]

   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 [F(-1)]
   Mupad [F(-1)]

Optimal result

Integrand size = 145, antiderivative size = 31 \[ \int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx=\frac {3}{12-e^{3+x}+e^{2+2 x}-\frac {\log ^2\left (x^2\right )}{x^2}} \]

[Out]

3/(12-ln(x^2)^2/x^2-exp(3+x)+exp(2+2*x))

Rubi [F]

\[ \int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx=\int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx \]

[In]

Int[(3*E^(3 + x)*x^4 - 6*E^(2 + 2*x)*x^4 + 12*x*Log[x^2] - 6*x*Log[x^2]^2)/(144*x^4 - 24*E^(3 + x)*x^4 + E^(6
+ 2*x)*x^4 + E^(4 + 4*x)*x^4 + E^(2 + 2*x)*(24*x^4 - 2*E^(3 + x)*x^4) + (-24*x^2 + 2*E^(3 + x)*x^2 - 2*E^(2 +
2*x)*x^2)*Log[x^2]^2 + Log[x^2]^4),x]

[Out]

72*Defer[Int][x^4/(12*x^2 - E^(3 + x)*x^2 + E^(2 + 2*x)*x^2 - Log[x^2]^2)^2, x] - 3*Defer[Int][(E^(3 + x)*x^4)
/(12*x^2 - E^(3 + x)*x^2 + E^(2 + 2*x)*x^2 - Log[x^2]^2)^2, x] + 12*Defer[Int][(x*Log[x^2])/(12*x^2 - E^(3 + x
)*x^2 + E^(2 + 2*x)*x^2 - Log[x^2]^2)^2, x] - 6*Defer[Int][(x*Log[x^2]^2)/(12*x^2 - E^(3 + x)*x^2 + E^(2 + 2*x
)*x^2 - Log[x^2]^2)^2, x] - 6*Defer[Int][(x^2*Log[x^2]^2)/(12*x^2 - E^(3 + x)*x^2 + E^(2 + 2*x)*x^2 - Log[x^2]
^2)^2, x] - 6*Defer[Int][x^2/(12*x^2 - E^(3 + x)*x^2 + E^(2 + 2*x)*x^2 - Log[x^2]^2), x]

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

Mathematica [A] (verified)

Time = 0.68 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.16 \[ \int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx=\frac {3 x^2}{\left (12-e^{3+x}+e^{2+2 x}\right ) x^2-\log ^2\left (x^2\right )} \]

[In]

Integrate[(3*E^(3 + x)*x^4 - 6*E^(2 + 2*x)*x^4 + 12*x*Log[x^2] - 6*x*Log[x^2]^2)/(144*x^4 - 24*E^(3 + x)*x^4 +
 E^(6 + 2*x)*x^4 + E^(4 + 4*x)*x^4 + E^(2 + 2*x)*(24*x^4 - 2*E^(3 + x)*x^4) + (-24*x^2 + 2*E^(3 + x)*x^2 - 2*E
^(2 + 2*x)*x^2)*Log[x^2]^2 + Log[x^2]^4),x]

[Out]

(3*x^2)/((12 - E^(3 + x) + E^(2 + 2*x))*x^2 - Log[x^2]^2)

Maple [A] (verified)

Time = 2.32 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.32

method result size
parallelrisch \(\frac {3 x^{2}}{x^{2} {\mathrm e}^{2+2 x}-x^{2} {\mathrm e}^{3+x}+12 x^{2}-\ln \left (x^{2}\right )^{2}}\) \(41\)
risch \(-\frac {12 x^{2}}{-\operatorname {csgn}\left (i x^{2}\right )^{2} \operatorname {csgn}\left (i x \right )^{4} \pi ^{2}+4 \operatorname {csgn}\left (i x^{2}\right )^{3} \operatorname {csgn}\left (i x \right )^{3} \pi ^{2}-6 \operatorname {csgn}\left (i x^{2}\right )^{4} \operatorname {csgn}\left (i x \right )^{2} \pi ^{2}+4 \operatorname {csgn}\left (i x^{2}\right )^{5} \operatorname {csgn}\left (i x \right ) \pi ^{2}-\operatorname {csgn}\left (i x^{2}\right )^{6} \pi ^{2}-8 i \ln \left (x \right ) \pi \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )+16 i \ln \left (x \right ) \pi \,\operatorname {csgn}\left (i x \right ) \operatorname {csgn}\left (i x^{2}\right )^{2}-8 i \ln \left (x \right ) \pi \operatorname {csgn}\left (i x^{2}\right )^{3}+4 x^{2} {\mathrm e}^{3+x}-4 x^{2} {\mathrm e}^{2+2 x}-48 x^{2}+16 \ln \left (x \right )^{2}}\) \(191\)

[In]

int((-6*x*ln(x^2)^2+12*x*ln(x^2)-6*x^4*exp(2+2*x)+3*x^4*exp(3+x))/(ln(x^2)^4+(-2*x^2*exp(2+2*x)+2*x^2*exp(3+x)
-24*x^2)*ln(x^2)^2+x^4*exp(2+2*x)^2+(-2*x^4*exp(3+x)+24*x^4)*exp(2+2*x)+x^4*exp(3+x)^2-24*x^4*exp(3+x)+144*x^4
),x,method=_RETURNVERBOSE)

[Out]

3*x^2/(x^2*exp(2+2*x)-x^2*exp(3+x)+12*x^2-ln(x^2)^2)

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.48 \[ \int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx=\frac {3 \, x^{2} e^{4}}{12 \, x^{2} e^{4} + x^{2} e^{\left (2 \, x + 6\right )} - x^{2} e^{\left (x + 7\right )} - e^{4} \log \left (x^{2}\right )^{2}} \]

[In]

integrate((-6*x*log(x^2)^2+12*x*log(x^2)-6*x^4*exp(2+2*x)+3*x^4*exp(3+x))/(log(x^2)^4+(-2*x^2*exp(2+2*x)+2*x^2
*exp(3+x)-24*x^2)*log(x^2)^2+x^4*exp(2+2*x)^2+(-2*x^4*exp(3+x)+24*x^4)*exp(2+2*x)+x^4*exp(3+x)^2-24*x^4*exp(3+
x)+144*x^4),x, algorithm="fricas")

[Out]

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

Sympy [A] (verification not implemented)

Time = 0.19 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.55 \[ \int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx=\frac {3 x^{2} e^{4}}{- x^{2} e^{4} e^{x + 3} + x^{2} e^{2 x + 6} + 12 x^{2} e^{4} - e^{4} \log {\left (x^{2} \right )}^{2}} \]

[In]

integrate((-6*x*ln(x**2)**2+12*x*ln(x**2)-6*x**4*exp(2+2*x)+3*x**4*exp(3+x))/(ln(x**2)**4+(-2*x**2*exp(2+2*x)+
2*x**2*exp(3+x)-24*x**2)*ln(x**2)**2+x**4*exp(2+2*x)**2+(-2*x**4*exp(3+x)+24*x**4)*exp(2+2*x)+x**4*exp(3+x)**2
-24*x**4*exp(3+x)+144*x**4),x)

[Out]

3*x**2*exp(4)/(-x**2*exp(4)*exp(x + 3) + x**2*exp(2*x + 6) + 12*x**2*exp(4) - exp(4)*log(x**2)**2)

Maxima [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.23 \[ \int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx=\frac {3 \, x^{2}}{x^{2} e^{\left (2 \, x + 2\right )} - x^{2} e^{\left (x + 3\right )} + 12 \, x^{2} - 4 \, \log \left (x\right )^{2}} \]

[In]

integrate((-6*x*log(x^2)^2+12*x*log(x^2)-6*x^4*exp(2+2*x)+3*x^4*exp(3+x))/(log(x^2)^4+(-2*x^2*exp(2+2*x)+2*x^2
*exp(3+x)-24*x^2)*log(x^2)^2+x^4*exp(2+2*x)^2+(-2*x^4*exp(3+x)+24*x^4)*exp(2+2*x)+x^4*exp(3+x)^2-24*x^4*exp(3+
x)+144*x^4),x, algorithm="maxima")

[Out]

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

Giac [F(-1)]

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

[In]

integrate((-6*x*log(x^2)^2+12*x*log(x^2)-6*x^4*exp(2+2*x)+3*x^4*exp(3+x))/(log(x^2)^4+(-2*x^2*exp(2+2*x)+2*x^2
*exp(3+x)-24*x^2)*log(x^2)^2+x^4*exp(2+2*x)^2+(-2*x^4*exp(3+x)+24*x^4)*exp(2+2*x)+x^4*exp(3+x)^2-24*x^4*exp(3+
x)+144*x^4),x, algorithm="giac")

[Out]

Timed out

Mupad [F(-1)]

Timed out. \[ \int \frac {3 e^{3+x} x^4-6 e^{2+2 x} x^4+12 x \log \left (x^2\right )-6 x \log ^2\left (x^2\right )}{144 x^4-24 e^{3+x} x^4+e^{6+2 x} x^4+e^{4+4 x} x^4+e^{2+2 x} \left (24 x^4-2 e^{3+x} x^4\right )+\left (-24 x^2+2 e^{3+x} x^2-2 e^{2+2 x} x^2\right ) \log ^2\left (x^2\right )+\log ^4\left (x^2\right )} \, dx=\int \frac {12\,x\,\ln \left (x^2\right )+3\,x^4\,{\mathrm {e}}^{x+3}-6\,x\,{\ln \left (x^2\right )}^2-6\,x^4\,{\mathrm {e}}^{2\,x+2}}{{\ln \left (x^2\right )}^4-24\,x^4\,{\mathrm {e}}^{x+3}-{\mathrm {e}}^{2\,x+2}\,\left (2\,x^4\,{\mathrm {e}}^{x+3}-24\,x^4\right )+x^4\,{\mathrm {e}}^{2\,x+6}+x^4\,{\mathrm {e}}^{4\,x+4}+144\,x^4-{\ln \left (x^2\right )}^2\,\left (2\,x^2\,{\mathrm {e}}^{2\,x+2}-2\,x^2\,{\mathrm {e}}^{x+3}+24\,x^2\right )} \,d x \]

[In]

int((12*x*log(x^2) + 3*x^4*exp(x + 3) - 6*x*log(x^2)^2 - 6*x^4*exp(2*x + 2))/(log(x^2)^4 - 24*x^4*exp(x + 3) -
 exp(2*x + 2)*(2*x^4*exp(x + 3) - 24*x^4) + x^4*exp(2*x + 6) + x^4*exp(4*x + 4) + 144*x^4 - log(x^2)^2*(2*x^2*
exp(2*x + 2) - 2*x^2*exp(x + 3) + 24*x^2)),x)

[Out]

int((12*x*log(x^2) + 3*x^4*exp(x + 3) - 6*x*log(x^2)^2 - 6*x^4*exp(2*x + 2))/(log(x^2)^4 - 24*x^4*exp(x + 3) -
 exp(2*x + 2)*(2*x^4*exp(x + 3) - 24*x^4) + x^4*exp(2*x + 6) + x^4*exp(4*x + 4) + 144*x^4 - log(x^2)^2*(2*x^2*
exp(2*x + 2) - 2*x^2*exp(x + 3) + 24*x^2)), x)