Integrand size = 45, antiderivative size = 13 \[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=\log (x)-\frac {2}{\sqrt {x+\log (x)}} \]
[Out]
\[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=\int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x (x+\log (x))^2} \, dx \\ & = \int \left (\frac {1}{x}+\frac {1}{(x+\log (x))^{3/2}}-\frac {1}{\log (x) (x+\log (x))^{3/2}}-\frac {1}{\log ^2(x) \sqrt {x+\log (x)}}+\frac {\sqrt {x+\log (x)}}{x \log ^2(x)}\right ) \, dx \\ & = \log (x)+\int \frac {1}{(x+\log (x))^{3/2}} \, dx-\int \frac {1}{\log (x) (x+\log (x))^{3/2}} \, dx-\int \frac {1}{\log ^2(x) \sqrt {x+\log (x)}} \, dx+\int \frac {\sqrt {x+\log (x)}}{x \log ^2(x)} \, dx \\ \end{align*}
Time = 0.18 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00 \[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=\log (x)-\frac {2}{\sqrt {x+\log (x)}} \]
[In]
[Out]
\[\int \frac {x^{2}+2 x \ln \left (x \right )+\ln \left (x \right )^{2}+\left (1+x \right ) \sqrt {x +\ln \left (x \right )}}{x^{3}+2 x^{2} \ln \left (x \right )+x \ln \left (x \right )^{2}}d x\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 24 vs. \(2 (11) = 22\).
Time = 0.24 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.85 \[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=\frac {x \log \left (x\right ) + \log \left (x\right )^{2} - 2 \, \sqrt {x + \log \left (x\right )}}{x + \log \left (x\right )} \]
[In]
[Out]
\[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=\int \frac {x^{2} + x \sqrt {x + \log {\left (x \right )}} + 2 x \log {\left (x \right )} + \sqrt {x + \log {\left (x \right )}} + \log {\left (x \right )}^{2}}{x \left (x + \log {\left (x \right )}\right )^{2}}\, dx \]
[In]
[Out]
\[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=\int { \frac {x^{2} + 2 \, x \log \left (x\right ) + \log \left (x\right )^{2} + \sqrt {x + \log \left (x\right )} {\left (x + 1\right )}}{x^{3} + 2 \, x^{2} \log \left (x\right ) + x \log \left (x\right )^{2}} \,d x } \]
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 11, normalized size of antiderivative = 0.85 \[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=-\frac {2}{\sqrt {x + \log \left (x\right )}} + \log \left (x\right ) \]
[In]
[Out]
Time = 0.23 (sec) , antiderivative size = 11, normalized size of antiderivative = 0.85 \[ \int \frac {x^2+2 x \log (x)+\log ^2(x)+(1+x) \sqrt {x+\log (x)}}{x^3+2 x^2 \log (x)+x \log ^2(x)} \, dx=\ln \left (x\right )-\frac {2}{\sqrt {x+\ln \left (x\right )}} \]
[In]
[Out]