\(\int \frac {4 x^3-4 x^4+x^5+(8 x^2-8 x^3+2 x^4) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} (4 x-4 x^2+x^3+(8-8 x+2 x^2) \log (x))+e^{\frac {-9+\log (x)}{-2 x+x^2}} (20-15 x-12 x^2+9 x^3-2 x^4+(-2-14 x+16 x^2-4 x^3) \log (x))}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} (4 x-4 x^2+x^3)+e^{\frac {-9+\log (x)}{-2 x+x^2}} (-8 x^2+8 x^3-2 x^4)} \, dx\) [9731]

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

Optimal result

Integrand size = 211, antiderivative size = 29 \[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=x+\frac {x}{e^{\frac {-9+\log (x)}{(-2+x) x}}-x}+\log ^2(x) \]

[Out]

ln(x)^2+x+x/(exp((ln(x)-9)/(-2+x)/x)-x)

Rubi [F]

\[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=\int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx \]

[In]

Int[(4*x^3 - 4*x^4 + x^5 + (8*x^2 - 8*x^3 + 2*x^4)*Log[x] + E^((2*(-9 + Log[x]))/(-2*x + x^2))*(4*x - 4*x^2 +
x^3 + (8 - 8*x + 2*x^2)*Log[x]) + E^((-9 + Log[x])/(-2*x + x^2))*(20 - 15*x - 12*x^2 + 9*x^3 - 2*x^4 + (-2 - 1
4*x + 16*x^2 - 4*x^3)*Log[x]))/(4*x^3 - 4*x^4 + x^5 + E^((2*(-9 + Log[x]))/(-2*x + x^2))*(4*x - 4*x^2 + x^3) +
 E^((-9 + Log[x])/(-2*x + x^2))*(-8*x^2 + 8*x^3 - 2*x^4)),x]

[Out]

-1/12*(2 - x)^3 + (4 - x)^2/8 + x + (3*x^2)/8 - x^3/12 + Log[x]^2 - 18*Defer[Int][E^(18/((-2 + x)*x))/((-2 + x
)^2*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))^2), x] + 2*Log[x]*Defer[Int][E^(18/((-2 + x)*x))/((-2 + x)^2*
(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))^2), x] - 19*Defer[Int][E^(18/((-2 + x)*x))/((-2 + x)*(E^(9/((-2 +
 x)*x))*x - x^(-2*x + x^2)^(-1))^2), x] + 2*Log[x]*Defer[Int][E^(18/((-2 + x)*x))/((-2 + x)*(E^(9/((-2 + x)*x)
)*x - x^(-2*x + x^2)^(-1))^2), x] + Defer[Int][(E^(18/((-2 + x)*x))*x)/(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^
(-1))^2, x] + 9*Defer[Int][E^(9/((-2 + x)*x))/((-2 + x)^2*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))), x] -
Log[x]*Defer[Int][E^(9/((-2 + x)*x))/((-2 + x)^2*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))), x] + 5*Defer[I
nt][E^(9/((-2 + x)*x))/((-2 + x)*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))), x] - (Log[x]*Defer[Int][E^(9/(
(-2 + x)*x))/((-2 + x)*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))), x])/2 - 5*Defer[Int][E^(9/((-2 + x)*x))/
(x*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))), x] + (Log[x]*Defer[Int][E^(9/((-2 + x)*x))/(x*(E^(9/((-2 + x
)*x))*x - x^(-2*x + x^2)^(-1))), x])/2 + Defer[Int][E^(9/((-2 + x)*x))/(-(E^(9/((-2 + x)*x))*x) + x^(-2*x + x^
2)^(-1)), x] + Defer[Int][Defer[Int][E^(9/((-2 + x)*x))/((-2 + x)^2*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1
))), x]/x, x] + Defer[Int][Defer[Int][E^(9/((-2 + x)*x))/((-2 + x)*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1)
)), x]/x, x]/2 - Defer[Int][Defer[Int][E^(9/((-2 + x)*x))/(x*(E^(9/((-2 + x)*x))*x - x^(-2*x + x^2)^(-1))), x]
/x, x]/2 - 2*Defer[Int][Defer[Int][E^(18/((-2 + x)*x))/((-2 + x)^2*(-(E^(9/((-2 + x)*x))*x) + x^(-2*x + x^2)^(
-1))^2), x]/x, x] - 2*Defer[Int][Defer[Int][E^(18/((-2 + x)*x))/((-2 + x)*(-(E^(9/((-2 + x)*x))*x) + x^(-2*x +
 x^2)^(-1))^2), x]/x, x]

Rubi steps Aborted

Mathematica [F]

\[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=\int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx \]

[In]

Integrate[(4*x^3 - 4*x^4 + x^5 + (8*x^2 - 8*x^3 + 2*x^4)*Log[x] + E^((2*(-9 + Log[x]))/(-2*x + x^2))*(4*x - 4*
x^2 + x^3 + (8 - 8*x + 2*x^2)*Log[x]) + E^((-9 + Log[x])/(-2*x + x^2))*(20 - 15*x - 12*x^2 + 9*x^3 - 2*x^4 + (
-2 - 14*x + 16*x^2 - 4*x^3)*Log[x]))/(4*x^3 - 4*x^4 + x^5 + E^((2*(-9 + Log[x]))/(-2*x + x^2))*(4*x - 4*x^2 +
x^3) + E^((-9 + Log[x])/(-2*x + x^2))*(-8*x^2 + 8*x^3 - 2*x^4)),x]

[Out]

Integrate[(4*x^3 - 4*x^4 + x^5 + (8*x^2 - 8*x^3 + 2*x^4)*Log[x] + E^((2*(-9 + Log[x]))/(-2*x + x^2))*(4*x - 4*
x^2 + x^3 + (8 - 8*x + 2*x^2)*Log[x]) + E^((-9 + Log[x])/(-2*x + x^2))*(20 - 15*x - 12*x^2 + 9*x^3 - 2*x^4 + (
-2 - 14*x + 16*x^2 - 4*x^3)*Log[x]))/(4*x^3 - 4*x^4 + x^5 + E^((2*(-9 + Log[x]))/(-2*x + x^2))*(4*x - 4*x^2 +
x^3) + E^((-9 + Log[x])/(-2*x + x^2))*(-8*x^2 + 8*x^3 - 2*x^4)), x]

Maple [A] (verified)

Time = 1.35 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.03

method result size
risch \(\ln \left (x \right )^{2}+x -\frac {x}{x -{\mathrm e}^{\frac {\ln \left (x \right )-9}{\left (-2+x \right ) x}}}\) \(30\)
parallelrisch \(\frac {x \ln \left (x \right )^{2}-\ln \left (x \right )^{2} {\mathrm e}^{\frac {\ln \left (x \right )-9}{\left (-2+x \right ) x}}+x^{2}-{\mathrm e}^{\frac {\ln \left (x \right )-9}{\left (-2+x \right ) x}} x +7 x -8 \,{\mathrm e}^{\frac {\ln \left (x \right )-9}{\left (-2+x \right ) x}}}{x -{\mathrm e}^{\frac {\ln \left (x \right )-9}{\left (-2+x \right ) x}}}\) \(88\)

[In]

int((((2*x^2-8*x+8)*ln(x)+x^3-4*x^2+4*x)*exp((ln(x)-9)/(x^2-2*x))^2+((-4*x^3+16*x^2-14*x-2)*ln(x)-2*x^4+9*x^3-
12*x^2-15*x+20)*exp((ln(x)-9)/(x^2-2*x))+(2*x^4-8*x^3+8*x^2)*ln(x)+x^5-4*x^4+4*x^3)/((x^3-4*x^2+4*x)*exp((ln(x
)-9)/(x^2-2*x))^2+(-2*x^4+8*x^3-8*x^2)*exp((ln(x)-9)/(x^2-2*x))+x^5-4*x^4+4*x^3),x,method=_RETURNVERBOSE)

[Out]

ln(x)^2+x-x/(x-exp((ln(x)-9)/(-2+x)/x))

Fricas [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 58, normalized size of antiderivative = 2.00 \[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=\frac {x \log \left (x\right )^{2} + x^{2} - {\left (\log \left (x\right )^{2} + x\right )} e^{\left (\frac {\log \left (x\right ) - 9}{x^{2} - 2 \, x}\right )} - x}{x - e^{\left (\frac {\log \left (x\right ) - 9}{x^{2} - 2 \, x}\right )}} \]

[In]

integrate((((2*x^2-8*x+8)*log(x)+x^3-4*x^2+4*x)*exp((log(x)-9)/(x^2-2*x))^2+((-4*x^3+16*x^2-14*x-2)*log(x)-2*x
^4+9*x^3-12*x^2-15*x+20)*exp((log(x)-9)/(x^2-2*x))+(2*x^4-8*x^3+8*x^2)*log(x)+x^5-4*x^4+4*x^3)/((x^3-4*x^2+4*x
)*exp((log(x)-9)/(x^2-2*x))^2+(-2*x^4+8*x^3-8*x^2)*exp((log(x)-9)/(x^2-2*x))+x^5-4*x^4+4*x^3),x, algorithm="fr
icas")

[Out]

(x*log(x)^2 + x^2 - (log(x)^2 + x)*e^((log(x) - 9)/(x^2 - 2*x)) - x)/(x - e^((log(x) - 9)/(x^2 - 2*x)))

Sympy [A] (verification not implemented)

Time = 0.27 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.76 \[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=x + \frac {x}{- x + e^{\frac {\log {\left (x \right )} - 9}{x^{2} - 2 x}}} + \log {\left (x \right )}^{2} \]

[In]

integrate((((2*x**2-8*x+8)*ln(x)+x**3-4*x**2+4*x)*exp((ln(x)-9)/(x**2-2*x))**2+((-4*x**3+16*x**2-14*x-2)*ln(x)
-2*x**4+9*x**3-12*x**2-15*x+20)*exp((ln(x)-9)/(x**2-2*x))+(2*x**4-8*x**3+8*x**2)*ln(x)+x**5-4*x**4+4*x**3)/((x
**3-4*x**2+4*x)*exp((ln(x)-9)/(x**2-2*x))**2+(-2*x**4+8*x**3-8*x**2)*exp((ln(x)-9)/(x**2-2*x))+x**5-4*x**4+4*x
**3),x)

[Out]

x + x/(-x + exp((log(x) - 9)/(x**2 - 2*x))) + log(x)**2

Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 96 vs. \(2 (29) = 58\).

Time = 0.33 (sec) , antiderivative size = 96, normalized size of antiderivative = 3.31 \[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=-\frac {{\left (\log \left (x\right )^{2} + x\right )} e^{\left (\frac {\log \left (x\right )}{2 \, {\left (x - 2\right )}} + \frac {9}{2 \, x}\right )} - {\left (x \log \left (x\right )^{2} + x^{2} - x\right )} e^{\left (\frac {\log \left (x\right )}{2 \, x} + \frac {9}{2 \, {\left (x - 2\right )}}\right )}}{x e^{\left (\frac {\log \left (x\right )}{2 \, x} + \frac {9}{2 \, {\left (x - 2\right )}}\right )} - e^{\left (\frac {\log \left (x\right )}{2 \, {\left (x - 2\right )}} + \frac {9}{2 \, x}\right )}} \]

[In]

integrate((((2*x^2-8*x+8)*log(x)+x^3-4*x^2+4*x)*exp((log(x)-9)/(x^2-2*x))^2+((-4*x^3+16*x^2-14*x-2)*log(x)-2*x
^4+9*x^3-12*x^2-15*x+20)*exp((log(x)-9)/(x^2-2*x))+(2*x^4-8*x^3+8*x^2)*log(x)+x^5-4*x^4+4*x^3)/((x^3-4*x^2+4*x
)*exp((log(x)-9)/(x^2-2*x))^2+(-2*x^4+8*x^3-8*x^2)*exp((log(x)-9)/(x^2-2*x))+x^5-4*x^4+4*x^3),x, algorithm="ma
xima")

[Out]

-((log(x)^2 + x)*e^(1/2*log(x)/(x - 2) + 9/2/x) - (x*log(x)^2 + x^2 - x)*e^(1/2*log(x)/x + 9/2/(x - 2)))/(x*e^
(1/2*log(x)/x + 9/2/(x - 2)) - e^(1/2*log(x)/(x - 2) + 9/2/x))

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 74 vs. \(2 (29) = 58\).

Time = 0.67 (sec) , antiderivative size = 74, normalized size of antiderivative = 2.55 \[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=\frac {x \log \left (x\right )^{2} - e^{\left (\frac {\log \left (x\right ) - 9}{x^{2} - 2 \, x}\right )} \log \left (x\right )^{2} + x^{2} - x e^{\left (\frac {\log \left (x\right ) - 9}{x^{2} - 2 \, x}\right )} - x}{x - e^{\left (\frac {\log \left (x\right ) - 9}{x^{2} - 2 \, x}\right )}} \]

[In]

integrate((((2*x^2-8*x+8)*log(x)+x^3-4*x^2+4*x)*exp((log(x)-9)/(x^2-2*x))^2+((-4*x^3+16*x^2-14*x-2)*log(x)-2*x
^4+9*x^3-12*x^2-15*x+20)*exp((log(x)-9)/(x^2-2*x))+(2*x^4-8*x^3+8*x^2)*log(x)+x^5-4*x^4+4*x^3)/((x^3-4*x^2+4*x
)*exp((log(x)-9)/(x^2-2*x))^2+(-2*x^4+8*x^3-8*x^2)*exp((log(x)-9)/(x^2-2*x))+x^5-4*x^4+4*x^3),x, algorithm="gi
ac")

[Out]

(x*log(x)^2 - e^((log(x) - 9)/(x^2 - 2*x))*log(x)^2 + x^2 - x*e^((log(x) - 9)/(x^2 - 2*x)) - x)/(x - e^((log(x
) - 9)/(x^2 - 2*x)))

Mupad [B] (verification not implemented)

Time = 16.16 (sec) , antiderivative size = 123, normalized size of antiderivative = 4.24 \[ \int \frac {4 x^3-4 x^4+x^5+\left (8 x^2-8 x^3+2 x^4\right ) \log (x)+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3+\left (8-8 x+2 x^2\right ) \log (x)\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (20-15 x-12 x^2+9 x^3-2 x^4+\left (-2-14 x+16 x^2-4 x^3\right ) \log (x)\right )}{4 x^3-4 x^4+x^5+e^{\frac {2 (-9+\log (x))}{-2 x+x^2}} \left (4 x-4 x^2+x^3\right )+e^{\frac {-9+\log (x)}{-2 x+x^2}} \left (-8 x^2+8 x^3-2 x^4\right )} \, dx=\frac {{\mathrm {e}}^{\frac {9}{2\,x-x^2}}\,{\ln \left (x\right )}^2+x\,{\mathrm {e}}^{\frac {9}{2\,x-x^2}}+x\,x^{\frac {1}{2\,x-x^2}}-x^{\frac {1}{2\,x-x^2}}\,x^2-x\,x^{\frac {1}{2\,x-x^2}}\,{\ln \left (x\right )}^2}{{\mathrm {e}}^{\frac {9}{2\,x-x^2}}-x\,x^{\frac {1}{2\,x-x^2}}} \]

[In]

int((exp(-(2*(log(x) - 9))/(2*x - x^2))*(4*x + log(x)*(2*x^2 - 8*x + 8) - 4*x^2 + x^3) + log(x)*(8*x^2 - 8*x^3
 + 2*x^4) + 4*x^3 - 4*x^4 + x^5 - exp(-(log(x) - 9)/(2*x - x^2))*(15*x + 12*x^2 - 9*x^3 + 2*x^4 + log(x)*(14*x
 - 16*x^2 + 4*x^3 + 2) - 20))/(exp(-(2*(log(x) - 9))/(2*x - x^2))*(4*x - 4*x^2 + x^3) - exp(-(log(x) - 9)/(2*x
 - x^2))*(8*x^2 - 8*x^3 + 2*x^4) + 4*x^3 - 4*x^4 + x^5),x)

[Out]

(exp(9/(2*x - x^2))*log(x)^2 + x*exp(9/(2*x - x^2)) + x*x^(1/(2*x - x^2)) - x^(1/(2*x - x^2))*x^2 - x*x^(1/(2*
x - x^2))*log(x)^2)/(exp(9/(2*x - x^2)) - x*x^(1/(2*x - x^2)))