Integrand size = 64, antiderivative size = 28 \[ \int \frac {-5 x+\left (10 x+4 x^2\right ) \log \left (\frac {x}{5+2 x}\right )+\left (25-4 x^2\right ) \log ^2\left (\frac {x}{5+2 x}\right )}{(5+2 x) \log ^2\left (\frac {x}{5+2 x}\right )} \, dx=-4-(2-x)^2+x+\frac {x^2}{\log \left (\frac {x}{5+2 x}\right )} \]
Time = 2.14 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.89 \[ \int \frac {-5 x+\left (10 x+4 x^2\right ) \log \left (\frac {x}{5+2 x}\right )+\left (25-4 x^2\right ) \log ^2\left (\frac {x}{5+2 x}\right )}{(5+2 x) \log ^2\left (\frac {x}{5+2 x}\right )} \, dx=5 x-x^2+\frac {x^2}{\log \left (\frac {x}{5+2 x}\right )} \]
Integrate[(-5*x + (10*x + 4*x^2)*Log[x/(5 + 2*x)] + (25 - 4*x^2)*Log[x/(5 + 2*x)]^2)/((5 + 2*x)*Log[x/(5 + 2*x)]^2),x]
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (25-4 x^2\right ) \log ^2\left (\frac {x}{2 x+5}\right )+\left (4 x^2+10 x\right ) \log \left (\frac {x}{2 x+5}\right )-5 x}{(2 x+5) \log ^2\left (\frac {x}{2 x+5}\right )} \, dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (-2 x-\frac {5 x}{(2 x+5) \log ^2\left (\frac {x}{2 x+5}\right )}+\frac {2 x}{\log \left (\frac {x}{2 x+5}\right )}+5\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -25 \text {Subst}\left (\int \frac {x}{(1-2 x)^2 \log ^2(x)}dx,x,\frac {x}{2 x+5}\right )+2 \int \frac {x}{\log \left (\frac {x}{2 x+5}\right )}dx-x^2+5 x\) |
Int[(-5*x + (10*x + 4*x^2)*Log[x/(5 + 2*x)] + (25 - 4*x^2)*Log[x/(5 + 2*x) ]^2)/((5 + 2*x)*Log[x/(5 + 2*x)]^2),x]
3.20.50.3.1 Defintions of rubi rules used
Time = 3.30 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.93
method | result | size |
risch | \(-x^{2}+5 x +\frac {x^{2}}{\ln \left (\frac {x}{5+2 x}\right )}\) | \(26\) |
norman | \(\frac {x^{2}+5 \ln \left (\frac {x}{5+2 x}\right ) x -\ln \left (\frac {x}{5+2 x}\right ) x^{2}}{\ln \left (\frac {x}{5+2 x}\right )}\) | \(46\) |
parallelrisch | \(-\frac {4 \ln \left (\frac {x}{5+2 x}\right ) x^{2}-4 x^{2}-20 \ln \left (\frac {x}{5+2 x}\right ) x +75 \ln \left (\frac {x}{5+2 x}\right )}{4 \ln \left (\frac {x}{5+2 x}\right )}\) | \(61\) |
derivativedivides | \(25+10 x -\frac {\left (5+2 x \right )^{2}}{4}+\frac {25}{4 \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )}-\frac {5 \left (5+2 x \right )}{4 \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )^{2}}+\frac {\left (4 \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right ) \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )-\ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )+\frac {5}{5+2 x}\right ) \left (5+2 x \right )^{2}}{4 \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )^{2}}\) | \(124\) |
default | \(25+10 x -\frac {\left (5+2 x \right )^{2}}{4}+\frac {25}{4 \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )}-\frac {5 \left (5+2 x \right )}{4 \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )^{2}}+\frac {\left (4 \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right ) \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )-\ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )+\frac {5}{5+2 x}\right ) \left (5+2 x \right )^{2}}{4 \ln \left (\frac {1}{2}-\frac {5}{2 \left (5+2 x \right )}\right )^{2}}\) | \(124\) |
parts | \(-x^{2}+5 x +\frac {\frac {25 x \ln \left (\frac {x}{5+2 x}\right )}{5+2 x}-\frac {25 \ln \left (\frac {x}{5+2 x}\right )}{4}-\frac {25 x}{2 \left (5+2 x \right )}+\frac {25}{4}}{\left (\frac {2 x}{5+2 x}-1\right )^{2} \ln \left (\frac {x}{5+2 x}\right )^{2}}+\frac {25}{4 \ln \left (\frac {x}{5+2 x}\right )}+\frac {25}{4 \ln \left (\frac {x}{5+2 x}\right )^{2} \left (\frac {2 x}{5+2 x}-1\right )}\) | \(124\) |
int(((-4*x^2+25)*ln(x/(5+2*x))^2+(4*x^2+10*x)*ln(x/(5+2*x))-5*x)/(5+2*x)/l n(x/(5+2*x))^2,x,method=_RETURNVERBOSE)
Time = 0.25 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.29 \[ \int \frac {-5 x+\left (10 x+4 x^2\right ) \log \left (\frac {x}{5+2 x}\right )+\left (25-4 x^2\right ) \log ^2\left (\frac {x}{5+2 x}\right )}{(5+2 x) \log ^2\left (\frac {x}{5+2 x}\right )} \, dx=\frac {x^{2} - {\left (x^{2} - 5 \, x\right )} \log \left (\frac {x}{2 \, x + 5}\right )}{\log \left (\frac {x}{2 \, x + 5}\right )} \]
integrate(((-4*x^2+25)*log(x/(5+2*x))^2+(4*x^2+10*x)*log(x/(5+2*x))-5*x)/( 5+2*x)/log(x/(5+2*x))^2,x, algorithm=\
Time = 0.05 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.61 \[ \int \frac {-5 x+\left (10 x+4 x^2\right ) \log \left (\frac {x}{5+2 x}\right )+\left (25-4 x^2\right ) \log ^2\left (\frac {x}{5+2 x}\right )}{(5+2 x) \log ^2\left (\frac {x}{5+2 x}\right )} \, dx=- x^{2} + \frac {x^{2}}{\log {\left (\frac {x}{2 x + 5} \right )}} + 5 x \]
integrate(((-4*x**2+25)*ln(x/(5+2*x))**2+(4*x**2+10*x)*ln(x/(5+2*x))-5*x)/ (5+2*x)/ln(x/(5+2*x))**2,x)
Time = 0.23 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.57 \[ \int \frac {-5 x+\left (10 x+4 x^2\right ) \log \left (\frac {x}{5+2 x}\right )+\left (25-4 x^2\right ) \log ^2\left (\frac {x}{5+2 x}\right )}{(5+2 x) \log ^2\left (\frac {x}{5+2 x}\right )} \, dx=-\frac {x^{2} + {\left (x^{2} - 5 \, x\right )} \log \left (2 \, x + 5\right ) - {\left (x^{2} - 5 \, x\right )} \log \left (x\right )}{\log \left (2 \, x + 5\right ) - \log \left (x\right )} \]
integrate(((-4*x^2+25)*log(x/(5+2*x))^2+(4*x^2+10*x)*log(x/(5+2*x))-5*x)/( 5+2*x)/log(x/(5+2*x))^2,x, algorithm=\
Leaf count of result is larger than twice the leaf count of optimal. 110 vs. \(2 (26) = 52\).
Time = 0.27 (sec) , antiderivative size = 110, normalized size of antiderivative = 3.93 \[ \int \frac {-5 x+\left (10 x+4 x^2\right ) \log \left (\frac {x}{5+2 x}\right )+\left (25-4 x^2\right ) \log ^2\left (\frac {x}{5+2 x}\right )}{(5+2 x) \log ^2\left (\frac {x}{5+2 x}\right )} \, dx=\frac {25 \, {\left (\frac {8 \, x}{2 \, x + 5} - 3\right )}}{4 \, {\left (\frac {4 \, x}{2 \, x + 5} - \frac {4 \, x^{2}}{{\left (2 \, x + 5\right )}^{2}} - 1\right )}} - \frac {25 \, x^{2}}{{\left (2 \, x + 5\right )}^{2} {\left (\frac {4 \, x \log \left (\frac {x}{2 \, x + 5}\right )}{2 \, x + 5} - \frac {4 \, x^{2} \log \left (\frac {x}{2 \, x + 5}\right )}{{\left (2 \, x + 5\right )}^{2}} - \log \left (\frac {x}{2 \, x + 5}\right )\right )}} \]
integrate(((-4*x^2+25)*log(x/(5+2*x))^2+(4*x^2+10*x)*log(x/(5+2*x))-5*x)/( 5+2*x)/log(x/(5+2*x))^2,x, algorithm=\
25/4*(8*x/(2*x + 5) - 3)/(4*x/(2*x + 5) - 4*x^2/(2*x + 5)^2 - 1) - 25*x^2/ ((2*x + 5)^2*(4*x*log(x/(2*x + 5))/(2*x + 5) - 4*x^2*log(x/(2*x + 5))/(2*x + 5)^2 - log(x/(2*x + 5))))
Time = 9.04 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.89 \[ \int \frac {-5 x+\left (10 x+4 x^2\right ) \log \left (\frac {x}{5+2 x}\right )+\left (25-4 x^2\right ) \log ^2\left (\frac {x}{5+2 x}\right )}{(5+2 x) \log ^2\left (\frac {x}{5+2 x}\right )} \, dx=5\,x+\frac {x^2}{\ln \left (\frac {x}{2\,x+5}\right )}-x^2 \]