3.9.8 \(\int \frac {10+22 x+4 x^2+5 x^5+x^6+(10+4 x+15 x^4+3 x^5) \log (x)+(15 x^3+3 x^4) \log ^2(x)+(5 x^2+x^3) \log ^3(x)+(10+2 x+(10+2 x+15 x^4+3 x^5) \log (x)+(30 x^3+6 x^4) \log ^2(x)+(15 x^2+3 x^3) \log ^3(x)) \log (5+x)+((15 x^3+3 x^4) \log ^2(x)+(15 x^2+3 x^3) \log ^3(x)) \log ^2(5+x)+(5 x^2+x^3) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+(15 x^5+3 x^6) \log (x)+(15 x^4+3 x^5) \log ^2(x)+(5 x^3+x^4) \log ^3(x)+((15 x^5+3 x^6) \log (x)+(30 x^4+6 x^5) \log ^2(x)+(15 x^3+3 x^4) \log ^3(x)) \log (5+x)+((15 x^4+3 x^5) \log ^2(x)+(15 x^3+3 x^4) \log ^3(x)) \log ^2(5+x)+(5 x^3+x^4) \log ^3(x) \log ^3(5+x)} \, dx\) [808]

3.9.8.1 Optimal result
3.9.8.2 Mathematica [A] (verified)
3.9.8.3 Rubi [F]
3.9.8.4 Maple [A] (verified)
3.9.8.5 Fricas [B] (verification not implemented)
3.9.8.6 Sympy [B] (verification not implemented)
3.9.8.7 Maxima [B] (verification not implemented)
3.9.8.8 Giac [B] (verification not implemented)
3.9.8.9 Mupad [B] (verification not implemented)

3.9.8.1 Optimal result

Integrand size = 354, antiderivative size = 22 \begin {dmath*} \int \frac {10+22 x+4 x^2+5 x^5+x^6+\left (10+4 x+15 x^4+3 x^5\right ) \log (x)+\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (5 x^2+x^3\right ) \log ^3(x)+\left (10+2 x+\left (10+2 x+15 x^4+3 x^5\right ) \log (x)+\left (30 x^3+6 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^2+x^3\right ) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+\left (15 x^5+3 x^6\right ) \log (x)+\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (5 x^3+x^4\right ) \log ^3(x)+\left (\left (15 x^5+3 x^6\right ) \log (x)+\left (30 x^4+6 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^3+x^4\right ) \log ^3(x) \log ^3(5+x)} \, dx=\log (x)-\frac {1}{\left (x^2+\log (x) (x+x \log (5+x))\right )^2} \end {dmath*}

output
ln(x)-1/(ln(x)*(x*ln(5+x)+x)+x^2)^2
 
3.9.8.2 Mathematica [A] (verified)

Time = 0.14 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.95 \begin {dmath*} \int \frac {10+22 x+4 x^2+5 x^5+x^6+\left (10+4 x+15 x^4+3 x^5\right ) \log (x)+\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (5 x^2+x^3\right ) \log ^3(x)+\left (10+2 x+\left (10+2 x+15 x^4+3 x^5\right ) \log (x)+\left (30 x^3+6 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^2+x^3\right ) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+\left (15 x^5+3 x^6\right ) \log (x)+\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (5 x^3+x^4\right ) \log ^3(x)+\left (\left (15 x^5+3 x^6\right ) \log (x)+\left (30 x^4+6 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^3+x^4\right ) \log ^3(x) \log ^3(5+x)} \, dx=\log (x)-\frac {1}{x^2 (x+\log (x)+\log (x) \log (5+x))^2} \end {dmath*}

input
Integrate[(10 + 22*x + 4*x^2 + 5*x^5 + x^6 + (10 + 4*x + 15*x^4 + 3*x^5)*L 
og[x] + (15*x^3 + 3*x^4)*Log[x]^2 + (5*x^2 + x^3)*Log[x]^3 + (10 + 2*x + ( 
10 + 2*x + 15*x^4 + 3*x^5)*Log[x] + (30*x^3 + 6*x^4)*Log[x]^2 + (15*x^2 + 
3*x^3)*Log[x]^3)*Log[5 + x] + ((15*x^3 + 3*x^4)*Log[x]^2 + (15*x^2 + 3*x^3 
)*Log[x]^3)*Log[5 + x]^2 + (5*x^2 + x^3)*Log[x]^3*Log[5 + x]^3)/(5*x^6 + x 
^7 + (15*x^5 + 3*x^6)*Log[x] + (15*x^4 + 3*x^5)*Log[x]^2 + (5*x^3 + x^4)*L 
og[x]^3 + ((15*x^5 + 3*x^6)*Log[x] + (30*x^4 + 6*x^5)*Log[x]^2 + (15*x^3 + 
 3*x^4)*Log[x]^3)*Log[5 + x] + ((15*x^4 + 3*x^5)*Log[x]^2 + (15*x^3 + 3*x^ 
4)*Log[x]^3)*Log[5 + x]^2 + (5*x^3 + x^4)*Log[x]^3*Log[5 + x]^3),x]
 
output
Log[x] - 1/(x^2*(x + Log[x] + Log[x]*Log[5 + x])^2)
 
3.9.8.3 Rubi [F]

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 {x^6+5 x^5+4 x^2+\left (3 x^5+15 x^4+4 x+10\right ) \log (x)+\left (3 x^4+15 x^3\right ) \log ^2(x)+\left (x^3+5 x^2\right ) \log ^3(x)+\left (x^3+5 x^2\right ) \log ^3(x) \log ^3(x+5)+\left (\left (3 x^4+15 x^3\right ) \log ^2(x)+\left (3 x^3+15 x^2\right ) \log ^3(x)\right ) \log ^2(x+5)+\left (\left (3 x^5+15 x^4+2 x+10\right ) \log (x)+\left (6 x^4+30 x^3\right ) \log ^2(x)+\left (3 x^3+15 x^2\right ) \log ^3(x)+2 x+10\right ) \log (x+5)+22 x+10}{x^7+5 x^6+\left (3 x^6+15 x^5\right ) \log (x)+\left (3 x^5+15 x^4\right ) \log ^2(x)+\left (x^4+5 x^3\right ) \log ^3(x)+\left (x^4+5 x^3\right ) \log ^3(x) \log ^3(x+5)+\left (\left (3 x^5+15 x^4\right ) \log ^2(x)+\left (3 x^4+15 x^3\right ) \log ^3(x)\right ) \log ^2(x+5)+\left (\left (3 x^6+15 x^5\right ) \log (x)+\left (6 x^5+30 x^4\right ) \log ^2(x)+\left (3 x^4+15 x^3\right ) \log ^3(x)\right ) \log (x+5)} \, dx\)

\(\Big \downarrow \) 7239

\(\displaystyle \int \frac {(x+5) \left (x^5+4 x+2 \log (x+5)+2\right )+3 (x+5) x^3 \log ^2(x) (\log (x+5)+1)^2+(x+5) x^2 \log ^3(x) (\log (x+5)+1)^3+\log (x) \left (3 x^5+15 x^4+\left (3 x^5+15 x^4+2 x+10\right ) \log (x+5)+4 x+10\right )}{x^3 (x+5) (x+\log (x) (\log (x+5)+1))^3}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle \int \left (\frac {2 (\log (x)+1)}{x^3 \log (x) (x+\log (x)+\log (x) \log (x+5))^2}+\frac {2 \left (-x+\log ^2(x)+x \log (x)+5 \log (x)-5\right )}{x^2 (x+5) \log (x) (x+\log (x)+\log (x) \log (x+5))^3}+\frac {1}{x}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle 2 \int \frac {1}{x^3 (x+\log (x)+\log (x) \log (x+5))^2}dx+2 \int \frac {1}{x^3 \log (x) (x+\log (x)+\log (x) \log (x+5))^2}dx+2 \int \frac {1}{x^2 (x+\log (x)+\log (x) \log (x+5))^3}dx-2 \int \frac {1}{x^2 \log (x) (x+\log (x)+\log (x) \log (x+5))^3}dx+\frac {2}{5} \int \frac {\log (x)}{x^2 (x+\log (x)+\log (x) \log (x+5))^3}dx-\frac {2}{25} \int \frac {\log (x)}{x (x+\log (x)+\log (x) \log (x+5))^3}dx+\frac {2}{25} \int \frac {\log (x)}{(x+5) (x+\log (x)+\log (x) \log (x+5))^3}dx+\log (x)\)

input
Int[(10 + 22*x + 4*x^2 + 5*x^5 + x^6 + (10 + 4*x + 15*x^4 + 3*x^5)*Log[x] 
+ (15*x^3 + 3*x^4)*Log[x]^2 + (5*x^2 + x^3)*Log[x]^3 + (10 + 2*x + (10 + 2 
*x + 15*x^4 + 3*x^5)*Log[x] + (30*x^3 + 6*x^4)*Log[x]^2 + (15*x^2 + 3*x^3) 
*Log[x]^3)*Log[5 + x] + ((15*x^3 + 3*x^4)*Log[x]^2 + (15*x^2 + 3*x^3)*Log[ 
x]^3)*Log[5 + x]^2 + (5*x^2 + x^3)*Log[x]^3*Log[5 + x]^3)/(5*x^6 + x^7 + ( 
15*x^5 + 3*x^6)*Log[x] + (15*x^4 + 3*x^5)*Log[x]^2 + (5*x^3 + x^4)*Log[x]^ 
3 + ((15*x^5 + 3*x^6)*Log[x] + (30*x^4 + 6*x^5)*Log[x]^2 + (15*x^3 + 3*x^4 
)*Log[x]^3)*Log[5 + x] + ((15*x^4 + 3*x^5)*Log[x]^2 + (15*x^3 + 3*x^4)*Log 
[x]^3)*Log[5 + x]^2 + (5*x^3 + x^4)*Log[x]^3*Log[5 + x]^3),x]
 
output
$Aborted
 

3.9.8.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 7239
Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; Simpl 
erIntegrandQ[v, u, x]]
 

rule 7293
Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v] 
]
 
3.9.8.4 Maple [A] (verified)

Time = 6.25 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00

method result size
default \(\ln \left (x \right )-\frac {1}{x^{2} \left (\ln \left (x \right ) \ln \left (5+x \right )+\ln \left (x \right )+x \right )^{2}}\) \(22\)
risch \(\ln \left (x \right )-\frac {1}{x^{2} \left (\ln \left (x \right ) \ln \left (5+x \right )+\ln \left (x \right )+x \right )^{2}}\) \(22\)
parallelrisch \(\frac {-20+20 x^{4} \ln \left (x \right )+20 x^{2} \ln \left (x \right )^{3}+40 x^{3} \ln \left (x \right )^{2}+40 \ln \left (x \right )^{3} \ln \left (5+x \right ) x^{2}+40 \ln \left (x \right )^{2} x^{3} \ln \left (5+x \right )+20 x^{2} \ln \left (x \right )^{3} \ln \left (5+x \right )^{2}}{20 x^{2} \left (\ln \left (x \right )^{2} \ln \left (5+x \right )^{2}+2 \ln \left (x \right ) \ln \left (5+x \right ) x +2 \ln \left (x \right )^{2} \ln \left (5+x \right )+x^{2}+2 x \ln \left (x \right )+\ln \left (x \right )^{2}\right )}\) \(119\)

input
int(((x^3+5*x^2)*ln(x)^3*ln(5+x)^3+((3*x^3+15*x^2)*ln(x)^3+(3*x^4+15*x^3)* 
ln(x)^2)*ln(5+x)^2+((3*x^3+15*x^2)*ln(x)^3+(6*x^4+30*x^3)*ln(x)^2+(3*x^5+1 
5*x^4+2*x+10)*ln(x)+2*x+10)*ln(5+x)+(x^3+5*x^2)*ln(x)^3+(3*x^4+15*x^3)*ln( 
x)^2+(3*x^5+15*x^4+4*x+10)*ln(x)+x^6+5*x^5+4*x^2+22*x+10)/((x^4+5*x^3)*ln( 
x)^3*ln(5+x)^3+((3*x^4+15*x^3)*ln(x)^3+(3*x^5+15*x^4)*ln(x)^2)*ln(5+x)^2+( 
(3*x^4+15*x^3)*ln(x)^3+(6*x^5+30*x^4)*ln(x)^2+(3*x^6+15*x^5)*ln(x))*ln(5+x 
)+(x^4+5*x^3)*ln(x)^3+(3*x^5+15*x^4)*ln(x)^2+(3*x^6+15*x^5)*ln(x)+x^7+5*x^ 
6),x,method=_RETURNVERBOSE)
 
output
ln(x)-1/x^2/(ln(x)*ln(5+x)+ln(x)+x)^2
 
3.9.8.5 Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 119 vs. \(2 (22) = 44\).

Time = 0.26 (sec) , antiderivative size = 119, normalized size of antiderivative = 5.41 \begin {dmath*} \int \frac {10+22 x+4 x^2+5 x^5+x^6+\left (10+4 x+15 x^4+3 x^5\right ) \log (x)+\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (5 x^2+x^3\right ) \log ^3(x)+\left (10+2 x+\left (10+2 x+15 x^4+3 x^5\right ) \log (x)+\left (30 x^3+6 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^2+x^3\right ) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+\left (15 x^5+3 x^6\right ) \log (x)+\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (5 x^3+x^4\right ) \log ^3(x)+\left (\left (15 x^5+3 x^6\right ) \log (x)+\left (30 x^4+6 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^3+x^4\right ) \log ^3(x) \log ^3(5+x)} \, dx=\frac {x^{2} \log \left (x + 5\right )^{2} \log \left (x\right )^{3} + x^{4} \log \left (x\right ) + 2 \, x^{3} \log \left (x\right )^{2} + x^{2} \log \left (x\right )^{3} + 2 \, {\left (x^{3} \log \left (x\right )^{2} + x^{2} \log \left (x\right )^{3}\right )} \log \left (x + 5\right ) - 1}{x^{2} \log \left (x + 5\right )^{2} \log \left (x\right )^{2} + x^{4} + 2 \, x^{3} \log \left (x\right ) + x^{2} \log \left (x\right )^{2} + 2 \, {\left (x^{3} \log \left (x\right ) + x^{2} \log \left (x\right )^{2}\right )} \log \left (x + 5\right )} \end {dmath*}

input
integrate(((x^3+5*x^2)*log(x)^3*log(5+x)^3+((3*x^3+15*x^2)*log(x)^3+(3*x^4 
+15*x^3)*log(x)^2)*log(5+x)^2+((3*x^3+15*x^2)*log(x)^3+(6*x^4+30*x^3)*log( 
x)^2+(3*x^5+15*x^4+2*x+10)*log(x)+2*x+10)*log(5+x)+(x^3+5*x^2)*log(x)^3+(3 
*x^4+15*x^3)*log(x)^2+(3*x^5+15*x^4+4*x+10)*log(x)+x^6+5*x^5+4*x^2+22*x+10 
)/((x^4+5*x^3)*log(x)^3*log(5+x)^3+((3*x^4+15*x^3)*log(x)^3+(3*x^5+15*x^4) 
*log(x)^2)*log(5+x)^2+((3*x^4+15*x^3)*log(x)^3+(6*x^5+30*x^4)*log(x)^2+(3* 
x^6+15*x^5)*log(x))*log(5+x)+(x^4+5*x^3)*log(x)^3+(3*x^5+15*x^4)*log(x)^2+ 
(3*x^6+15*x^5)*log(x)+x^7+5*x^6),x, algorithm=\
 
output
(x^2*log(x + 5)^2*log(x)^3 + x^4*log(x) + 2*x^3*log(x)^2 + x^2*log(x)^3 + 
2*(x^3*log(x)^2 + x^2*log(x)^3)*log(x + 5) - 1)/(x^2*log(x + 5)^2*log(x)^2 
 + x^4 + 2*x^3*log(x) + x^2*log(x)^2 + 2*(x^3*log(x) + x^2*log(x)^2)*log(x 
 + 5))
 
3.9.8.6 Sympy [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 63 vs. \(2 (20) = 40\).

Time = 0.23 (sec) , antiderivative size = 63, normalized size of antiderivative = 2.86 \begin {dmath*} \int \frac {10+22 x+4 x^2+5 x^5+x^6+\left (10+4 x+15 x^4+3 x^5\right ) \log (x)+\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (5 x^2+x^3\right ) \log ^3(x)+\left (10+2 x+\left (10+2 x+15 x^4+3 x^5\right ) \log (x)+\left (30 x^3+6 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^2+x^3\right ) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+\left (15 x^5+3 x^6\right ) \log (x)+\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (5 x^3+x^4\right ) \log ^3(x)+\left (\left (15 x^5+3 x^6\right ) \log (x)+\left (30 x^4+6 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^3+x^4\right ) \log ^3(x) \log ^3(5+x)} \, dx=\log {\left (x \right )} - \frac {1}{x^{4} + 2 x^{3} \log {\left (x \right )} + x^{2} \log {\left (x \right )}^{2} \log {\left (x + 5 \right )}^{2} + x^{2} \log {\left (x \right )}^{2} + \left (2 x^{3} \log {\left (x \right )} + 2 x^{2} \log {\left (x \right )}^{2}\right ) \log {\left (x + 5 \right )}} \end {dmath*}

input
integrate(((x**3+5*x**2)*ln(x)**3*ln(5+x)**3+((3*x**3+15*x**2)*ln(x)**3+(3 
*x**4+15*x**3)*ln(x)**2)*ln(5+x)**2+((3*x**3+15*x**2)*ln(x)**3+(6*x**4+30* 
x**3)*ln(x)**2+(3*x**5+15*x**4+2*x+10)*ln(x)+2*x+10)*ln(5+x)+(x**3+5*x**2) 
*ln(x)**3+(3*x**4+15*x**3)*ln(x)**2+(3*x**5+15*x**4+4*x+10)*ln(x)+x**6+5*x 
**5+4*x**2+22*x+10)/((x**4+5*x**3)*ln(x)**3*ln(5+x)**3+((3*x**4+15*x**3)*l 
n(x)**3+(3*x**5+15*x**4)*ln(x)**2)*ln(5+x)**2+((3*x**4+15*x**3)*ln(x)**3+( 
6*x**5+30*x**4)*ln(x)**2+(3*x**6+15*x**5)*ln(x))*ln(5+x)+(x**4+5*x**3)*ln( 
x)**3+(3*x**5+15*x**4)*ln(x)**2+(3*x**6+15*x**5)*ln(x)+x**7+5*x**6),x)
 
output
log(x) - 1/(x**4 + 2*x**3*log(x) + x**2*log(x)**2*log(x + 5)**2 + x**2*log 
(x)**2 + (2*x**3*log(x) + 2*x**2*log(x)**2)*log(x + 5))
 
3.9.8.7 Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 61 vs. \(2 (22) = 44\).

Time = 0.29 (sec) , antiderivative size = 61, normalized size of antiderivative = 2.77 \begin {dmath*} \int \frac {10+22 x+4 x^2+5 x^5+x^6+\left (10+4 x+15 x^4+3 x^5\right ) \log (x)+\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (5 x^2+x^3\right ) \log ^3(x)+\left (10+2 x+\left (10+2 x+15 x^4+3 x^5\right ) \log (x)+\left (30 x^3+6 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^2+x^3\right ) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+\left (15 x^5+3 x^6\right ) \log (x)+\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (5 x^3+x^4\right ) \log ^3(x)+\left (\left (15 x^5+3 x^6\right ) \log (x)+\left (30 x^4+6 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^3+x^4\right ) \log ^3(x) \log ^3(5+x)} \, dx=-\frac {1}{x^{2} \log \left (x + 5\right )^{2} \log \left (x\right )^{2} + x^{4} + 2 \, x^{3} \log \left (x\right ) + x^{2} \log \left (x\right )^{2} + 2 \, {\left (x^{3} \log \left (x\right ) + x^{2} \log \left (x\right )^{2}\right )} \log \left (x + 5\right )} + \log \left (x\right ) \end {dmath*}

input
integrate(((x^3+5*x^2)*log(x)^3*log(5+x)^3+((3*x^3+15*x^2)*log(x)^3+(3*x^4 
+15*x^3)*log(x)^2)*log(5+x)^2+((3*x^3+15*x^2)*log(x)^3+(6*x^4+30*x^3)*log( 
x)^2+(3*x^5+15*x^4+2*x+10)*log(x)+2*x+10)*log(5+x)+(x^3+5*x^2)*log(x)^3+(3 
*x^4+15*x^3)*log(x)^2+(3*x^5+15*x^4+4*x+10)*log(x)+x^6+5*x^5+4*x^2+22*x+10 
)/((x^4+5*x^3)*log(x)^3*log(5+x)^3+((3*x^4+15*x^3)*log(x)^3+(3*x^5+15*x^4) 
*log(x)^2)*log(5+x)^2+((3*x^4+15*x^3)*log(x)^3+(6*x^5+30*x^4)*log(x)^2+(3* 
x^6+15*x^5)*log(x))*log(5+x)+(x^4+5*x^3)*log(x)^3+(3*x^5+15*x^4)*log(x)^2+ 
(3*x^6+15*x^5)*log(x)+x^7+5*x^6),x, algorithm=\
 
output
-1/(x^2*log(x + 5)^2*log(x)^2 + x^4 + 2*x^3*log(x) + x^2*log(x)^2 + 2*(x^3 
*log(x) + x^2*log(x)^2)*log(x + 5)) + log(x)
 
3.9.8.8 Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 281 vs. \(2 (22) = 44\).

Time = 0.52 (sec) , antiderivative size = 281, normalized size of antiderivative = 12.77 \begin {dmath*} \int \frac {10+22 x+4 x^2+5 x^5+x^6+\left (10+4 x+15 x^4+3 x^5\right ) \log (x)+\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (5 x^2+x^3\right ) \log ^3(x)+\left (10+2 x+\left (10+2 x+15 x^4+3 x^5\right ) \log (x)+\left (30 x^3+6 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^2+x^3\right ) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+\left (15 x^5+3 x^6\right ) \log (x)+\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (5 x^3+x^4\right ) \log ^3(x)+\left (\left (15 x^5+3 x^6\right ) \log (x)+\left (30 x^4+6 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^3+x^4\right ) \log ^3(x) \log ^3(5+x)} \, dx=-\frac {x \log \left (x\right ) + \log \left (x\right )^{2} - x + 5 \, \log \left (x\right ) - 5}{x^{3} \log \left (x + 5\right )^{2} \log \left (x\right )^{3} + x^{2} \log \left (x + 5\right )^{2} \log \left (x\right )^{4} + 2 \, x^{4} \log \left (x + 5\right ) \log \left (x\right )^{2} - x^{3} \log \left (x + 5\right )^{2} \log \left (x\right )^{2} + 4 \, x^{3} \log \left (x + 5\right ) \log \left (x\right )^{3} + 5 \, x^{2} \log \left (x + 5\right )^{2} \log \left (x\right )^{3} + 2 \, x^{2} \log \left (x + 5\right ) \log \left (x\right )^{4} + x^{5} \log \left (x\right ) - 2 \, x^{4} \log \left (x + 5\right ) \log \left (x\right ) + 3 \, x^{4} \log \left (x\right )^{2} + 8 \, x^{3} \log \left (x + 5\right ) \log \left (x\right )^{2} - 5 \, x^{2} \log \left (x + 5\right )^{2} \log \left (x\right )^{2} + 3 \, x^{3} \log \left (x\right )^{3} + 10 \, x^{2} \log \left (x + 5\right ) \log \left (x\right )^{3} + x^{2} \log \left (x\right )^{4} - x^{5} + 3 \, x^{4} \log \left (x\right ) - 10 \, x^{3} \log \left (x + 5\right ) \log \left (x\right ) + 9 \, x^{3} \log \left (x\right )^{2} - 10 \, x^{2} \log \left (x + 5\right ) \log \left (x\right )^{2} + 5 \, x^{2} \log \left (x\right )^{3} - 5 \, x^{4} - 10 \, x^{3} \log \left (x\right ) - 5 \, x^{2} \log \left (x\right )^{2}} + \log \left (x\right ) \end {dmath*}

input
integrate(((x^3+5*x^2)*log(x)^3*log(5+x)^3+((3*x^3+15*x^2)*log(x)^3+(3*x^4 
+15*x^3)*log(x)^2)*log(5+x)^2+((3*x^3+15*x^2)*log(x)^3+(6*x^4+30*x^3)*log( 
x)^2+(3*x^5+15*x^4+2*x+10)*log(x)+2*x+10)*log(5+x)+(x^3+5*x^2)*log(x)^3+(3 
*x^4+15*x^3)*log(x)^2+(3*x^5+15*x^4+4*x+10)*log(x)+x^6+5*x^5+4*x^2+22*x+10 
)/((x^4+5*x^3)*log(x)^3*log(5+x)^3+((3*x^4+15*x^3)*log(x)^3+(3*x^5+15*x^4) 
*log(x)^2)*log(5+x)^2+((3*x^4+15*x^3)*log(x)^3+(6*x^5+30*x^4)*log(x)^2+(3* 
x^6+15*x^5)*log(x))*log(5+x)+(x^4+5*x^3)*log(x)^3+(3*x^5+15*x^4)*log(x)^2+ 
(3*x^6+15*x^5)*log(x)+x^7+5*x^6),x, algorithm=\
 
output
-(x*log(x) + log(x)^2 - x + 5*log(x) - 5)/(x^3*log(x + 5)^2*log(x)^3 + x^2 
*log(x + 5)^2*log(x)^4 + 2*x^4*log(x + 5)*log(x)^2 - x^3*log(x + 5)^2*log( 
x)^2 + 4*x^3*log(x + 5)*log(x)^3 + 5*x^2*log(x + 5)^2*log(x)^3 + 2*x^2*log 
(x + 5)*log(x)^4 + x^5*log(x) - 2*x^4*log(x + 5)*log(x) + 3*x^4*log(x)^2 + 
 8*x^3*log(x + 5)*log(x)^2 - 5*x^2*log(x + 5)^2*log(x)^2 + 3*x^3*log(x)^3 
+ 10*x^2*log(x + 5)*log(x)^3 + x^2*log(x)^4 - x^5 + 3*x^4*log(x) - 10*x^3* 
log(x + 5)*log(x) + 9*x^3*log(x)^2 - 10*x^2*log(x + 5)*log(x)^2 + 5*x^2*lo 
g(x)^3 - 5*x^4 - 10*x^3*log(x) - 5*x^2*log(x)^2) + log(x)
 
3.9.8.9 Mupad [B] (verification not implemented)

Time = 15.76 (sec) , antiderivative size = 82, normalized size of antiderivative = 3.73 \begin {dmath*} \int \frac {10+22 x+4 x^2+5 x^5+x^6+\left (10+4 x+15 x^4+3 x^5\right ) \log (x)+\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (5 x^2+x^3\right ) \log ^3(x)+\left (10+2 x+\left (10+2 x+15 x^4+3 x^5\right ) \log (x)+\left (30 x^3+6 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^3+3 x^4\right ) \log ^2(x)+\left (15 x^2+3 x^3\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^2+x^3\right ) \log ^3(x) \log ^3(5+x)}{5 x^6+x^7+\left (15 x^5+3 x^6\right ) \log (x)+\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (5 x^3+x^4\right ) \log ^3(x)+\left (\left (15 x^5+3 x^6\right ) \log (x)+\left (30 x^4+6 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log (5+x)+\left (\left (15 x^4+3 x^5\right ) \log ^2(x)+\left (15 x^3+3 x^4\right ) \log ^3(x)\right ) \log ^2(5+x)+\left (5 x^3+x^4\right ) \log ^3(x) \log ^3(5+x)} \, dx=\frac {x^4\,\ln \left (x\right )+2\,x^3\,\ln \left (x+5\right )\,{\ln \left (x\right )}^2+2\,x^3\,{\ln \left (x\right )}^2+x^2\,{\ln \left (x+5\right )}^2\,{\ln \left (x\right )}^3+2\,x^2\,\ln \left (x+5\right )\,{\ln \left (x\right )}^3+x^2\,{\ln \left (x\right )}^3-1}{x^2\,{\left (x+\ln \left (x\right )+\ln \left (x+5\right )\,\ln \left (x\right )\right )}^2} \end {dmath*}

input
int((22*x + log(x)^3*(5*x^2 + x^3) + log(x + 5)^2*(log(x)^3*(15*x^2 + 3*x^ 
3) + log(x)^2*(15*x^3 + 3*x^4)) + log(x)^2*(15*x^3 + 3*x^4) + log(x + 5)*( 
2*x + log(x)^3*(15*x^2 + 3*x^3) + log(x)^2*(30*x^3 + 6*x^4) + log(x)*(2*x 
+ 15*x^4 + 3*x^5 + 10) + 10) + 4*x^2 + 5*x^5 + x^6 + log(x)*(4*x + 15*x^4 
+ 3*x^5 + 10) + log(x + 5)^3*log(x)^3*(5*x^2 + x^3) + 10)/(log(x)*(15*x^5 
+ 3*x^6) + log(x)^3*(5*x^3 + x^4) + log(x + 5)^2*(log(x)^3*(15*x^3 + 3*x^4 
) + log(x)^2*(15*x^4 + 3*x^5)) + log(x)^2*(15*x^4 + 3*x^5) + 5*x^6 + x^7 + 
 log(x + 5)*(log(x)*(15*x^5 + 3*x^6) + log(x)^3*(15*x^3 + 3*x^4) + log(x)^ 
2*(30*x^4 + 6*x^5)) + log(x + 5)^3*log(x)^3*(5*x^3 + x^4)),x)
 
output
(x^4*log(x) + x^2*log(x)^3 + 2*x^3*log(x)^2 + x^2*log(x + 5)^2*log(x)^3 + 
2*x^2*log(x + 5)*log(x)^3 + 2*x^3*log(x + 5)*log(x)^2 - 1)/(x^2*(x + log(x 
) + log(x + 5)*log(x))^2)