\(\int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+(-45+26 x-244 x^2+96 x^3) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+(-50+30 x-244 x^2+96 x^3) \log (x)+\log ^2(x)} \, dx\) [1716]

   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 [B] (verification not implemented)

Optimal result

Integrand size = 107, antiderivative size = 24 \[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=x+\frac {x}{-5+x-24 x^2+\frac {\log (x)}{5-2 x}} \]

[Out]

x+x/(x-24*x^2-5+ln(x)/(5-2*x))

Rubi [F]

\[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=\int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx \]

[In]

Int[(495 - 648*x + 6905*x^2 - 6540*x^3 + 16420*x^4 - 11712*x^5 + 2304*x^6 + (-45 + 26*x - 244*x^2 + 96*x^3)*Lo
g[x] + Log[x]^2)/(625 - 750*x + 6325*x^2 - 6060*x^3 + 16324*x^4 - 11712*x^5 + 2304*x^6 + (-50 + 30*x - 244*x^2
 + 96*x^3)*Log[x] + Log[x]^2),x]

[Out]

x - 5*Defer[Int][(-25 + 15*x - 122*x^2 + 48*x^3 + Log[x])^(-2), x] - 73*Defer[Int][x/(-25 + 15*x - 122*x^2 + 4
8*x^3 + Log[x])^2, x] + 1250*Defer[Int][x^2/(-25 + 15*x - 122*x^2 + 48*x^3 + Log[x])^2, x] - 1208*Defer[Int][x
^3/(-25 + 15*x - 122*x^2 + 48*x^3 + Log[x])^2, x] + 288*Defer[Int][x^4/(-25 + 15*x - 122*x^2 + 48*x^3 + Log[x]
)^2, x] + 5*Defer[Int][(-25 + 15*x - 122*x^2 + 48*x^3 + Log[x])^(-1), x] - 4*Defer[Int][x/(-25 + 15*x - 122*x^
2 + 48*x^3 + Log[x]), x]

Rubi steps \begin{align*} \text {integral}& = \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{\left (25-15 x+122 x^2-48 x^3-\log (x)\right )^2} \, dx \\ & = \int \left (1+\frac {-5-73 x+1250 x^2-1208 x^3+288 x^4}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2}+\frac {5-4 x}{-25+15 x-122 x^2+48 x^3+\log (x)}\right ) \, dx \\ & = x+\int \frac {-5-73 x+1250 x^2-1208 x^3+288 x^4}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2} \, dx+\int \frac {5-4 x}{-25+15 x-122 x^2+48 x^3+\log (x)} \, dx \\ & = x+\int \left (-\frac {5}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2}-\frac {73 x}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2}+\frac {1250 x^2}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2}-\frac {1208 x^3}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2}+\frac {288 x^4}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2}\right ) \, dx+\int \left (\frac {5}{-25+15 x-122 x^2+48 x^3+\log (x)}-\frac {4 x}{-25+15 x-122 x^2+48 x^3+\log (x)}\right ) \, dx \\ & = x-4 \int \frac {x}{-25+15 x-122 x^2+48 x^3+\log (x)} \, dx-5 \int \frac {1}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2} \, dx+5 \int \frac {1}{-25+15 x-122 x^2+48 x^3+\log (x)} \, dx-73 \int \frac {x}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2} \, dx+288 \int \frac {x^4}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2} \, dx-1208 \int \frac {x^3}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2} \, dx+1250 \int \frac {x^2}{\left (-25+15 x-122 x^2+48 x^3+\log (x)\right )^2} \, dx \\ \end{align*}

Mathematica [A] (verified)

Time = 0.22 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.21 \[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=x-\frac {x (-5+2 x)}{-25+15 x-122 x^2+48 x^3+\log (x)} \]

[In]

Integrate[(495 - 648*x + 6905*x^2 - 6540*x^3 + 16420*x^4 - 11712*x^5 + 2304*x^6 + (-45 + 26*x - 244*x^2 + 96*x
^3)*Log[x] + Log[x]^2)/(625 - 750*x + 6325*x^2 - 6060*x^3 + 16324*x^4 - 11712*x^5 + 2304*x^6 + (-50 + 30*x - 2
44*x^2 + 96*x^3)*Log[x] + Log[x]^2),x]

[Out]

x - (x*(-5 + 2*x))/(-25 + 15*x - 122*x^2 + 48*x^3 + Log[x])

Maple [A] (verified)

Time = 0.37 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.25

method result size
risch \(x -\frac {x \left (-5+2 x \right )}{48 x^{3}-122 x^{2}+\ln \left (x \right )+15 x -25}\) \(30\)
default \(\frac {-122 x^{3}-20 x +13 x^{2}+x \ln \left (x \right )+48 x^{4}}{48 x^{3}-122 x^{2}+\ln \left (x \right )+15 x -25}\) \(44\)
norman \(\frac {x \ln \left (x \right )-\frac {3565 x^{2}}{12}+\frac {61 \ln \left (x \right )}{24}+\frac {145 x}{8}+48 x^{4}-\frac {1525}{24}}{48 x^{3}-122 x^{2}+\ln \left (x \right )+15 x -25}\) \(44\)
parallelrisch \(\frac {-122 x^{3}-20 x +13 x^{2}+x \ln \left (x \right )+48 x^{4}}{48 x^{3}-122 x^{2}+\ln \left (x \right )+15 x -25}\) \(44\)

[In]

int((ln(x)^2+(96*x^3-244*x^2+26*x-45)*ln(x)+2304*x^6-11712*x^5+16420*x^4-6540*x^3+6905*x^2-648*x+495)/(ln(x)^2
+(96*x^3-244*x^2+30*x-50)*ln(x)+2304*x^6-11712*x^5+16324*x^4-6060*x^3+6325*x^2-750*x+625),x,method=_RETURNVERB
OSE)

[Out]

x-x*(-5+2*x)/(48*x^3-122*x^2+ln(x)+15*x-25)

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.79 \[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=\frac {48 \, x^{4} - 122 \, x^{3} + 13 \, x^{2} + x \log \left (x\right ) - 20 \, x}{48 \, x^{3} - 122 \, x^{2} + 15 \, x + \log \left (x\right ) - 25} \]

[In]

integrate((log(x)^2+(96*x^3-244*x^2+26*x-45)*log(x)+2304*x^6-11712*x^5+16420*x^4-6540*x^3+6905*x^2-648*x+495)/
(log(x)^2+(96*x^3-244*x^2+30*x-50)*log(x)+2304*x^6-11712*x^5+16324*x^4-6060*x^3+6325*x^2-750*x+625),x, algorit
hm="fricas")

[Out]

(48*x^4 - 122*x^3 + 13*x^2 + x*log(x) - 20*x)/(48*x^3 - 122*x^2 + 15*x + log(x) - 25)

Sympy [A] (verification not implemented)

Time = 0.07 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.12 \[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=x + \frac {- 2 x^{2} + 5 x}{48 x^{3} - 122 x^{2} + 15 x + \log {\left (x \right )} - 25} \]

[In]

integrate((ln(x)**2+(96*x**3-244*x**2+26*x-45)*ln(x)+2304*x**6-11712*x**5+16420*x**4-6540*x**3+6905*x**2-648*x
+495)/(ln(x)**2+(96*x**3-244*x**2+30*x-50)*ln(x)+2304*x**6-11712*x**5+16324*x**4-6060*x**3+6325*x**2-750*x+625
),x)

[Out]

x + (-2*x**2 + 5*x)/(48*x**3 - 122*x**2 + 15*x + log(x) - 25)

Maxima [A] (verification not implemented)

none

Time = 0.22 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.79 \[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=\frac {48 \, x^{4} - 122 \, x^{3} + 13 \, x^{2} + x \log \left (x\right ) - 20 \, x}{48 \, x^{3} - 122 \, x^{2} + 15 \, x + \log \left (x\right ) - 25} \]

[In]

integrate((log(x)^2+(96*x^3-244*x^2+26*x-45)*log(x)+2304*x^6-11712*x^5+16420*x^4-6540*x^3+6905*x^2-648*x+495)/
(log(x)^2+(96*x^3-244*x^2+30*x-50)*log(x)+2304*x^6-11712*x^5+16324*x^4-6060*x^3+6325*x^2-750*x+625),x, algorit
hm="maxima")

[Out]

(48*x^4 - 122*x^3 + 13*x^2 + x*log(x) - 20*x)/(48*x^3 - 122*x^2 + 15*x + log(x) - 25)

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.33 \[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=x - \frac {2 \, x^{2} - 5 \, x}{48 \, x^{3} - 122 \, x^{2} + 15 \, x + \log \left (x\right ) - 25} \]

[In]

integrate((log(x)^2+(96*x^3-244*x^2+26*x-45)*log(x)+2304*x^6-11712*x^5+16420*x^4-6540*x^3+6905*x^2-648*x+495)/
(log(x)^2+(96*x^3-244*x^2+30*x-50)*log(x)+2304*x^6-11712*x^5+16324*x^4-6060*x^3+6325*x^2-750*x+625),x, algorit
hm="giac")

[Out]

x - (2*x^2 - 5*x)/(48*x^3 - 122*x^2 + 15*x + log(x) - 25)

Mupad [B] (verification not implemented)

Time = 9.46 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.29 \[ \int \frac {495-648 x+6905 x^2-6540 x^3+16420 x^4-11712 x^5+2304 x^6+\left (-45+26 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)}{625-750 x+6325 x^2-6060 x^3+16324 x^4-11712 x^5+2304 x^6+\left (-50+30 x-244 x^2+96 x^3\right ) \log (x)+\log ^2(x)} \, dx=x+\frac {5\,x-2\,x^2}{15\,x+\ln \left (x\right )-122\,x^2+48\,x^3-25} \]

[In]

int((log(x)^2 - 648*x + 6905*x^2 - 6540*x^3 + 16420*x^4 - 11712*x^5 + 2304*x^6 + log(x)*(26*x - 244*x^2 + 96*x
^3 - 45) + 495)/(log(x)^2 - 750*x + 6325*x^2 - 6060*x^3 + 16324*x^4 - 11712*x^5 + 2304*x^6 + log(x)*(30*x - 24
4*x^2 + 96*x^3 - 50) + 625),x)

[Out]

x + (5*x - 2*x^2)/(15*x + log(x) - 122*x^2 + 48*x^3 - 25)