Optimal. Leaf size=22 \[ \log (x)+\log \left (-1+x+\frac {5}{\left (1+(3+x-\log (4))^2\right )^2}\right ) \]
________________________________________________________________________________________
Rubi [B] time = 1.17, antiderivative size = 129, normalized size of antiderivative = 5.86, number of steps used = 4, number of rules used = 3, integrand size = 363, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.008, Rules used = {2074, 628, 1587} \begin {gather*} -2 \log \left (x^2+2 x (3-\log (4))+10+\log ^2(4)-6 \log (4)\right )+\log \left (x^5+x^4 (11-8 \log (2))+4 x^3 (11-\log (4) (8-\log (8)))+2 x^2 \left (32+\log ^2(4) (15-\log (16))-38 \log (4)\right )-2 x \left (10+\log (4) \left (4+(4-\log (2)) \log ^2(4)-10 \log (4)\right )\right )-95+2 \log (4) \left (60+(6-\log (2)) \log ^2(4)-28 \log (4)\right )\right )+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 1587
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1}{x}+\frac {4 (-3-x+\log (4))}{10+x^2+2 x (3-\log (4))-6 \log (4)+\log ^2(4)}+\frac {5 x^4+4 x^3 (11-4 \log (4))-\left (2+2 \log (4)-\log ^2(4)\right ) \left (10-6 \log (4)+\log ^2(4)\right )+4 x (2-\log (4)) \left (16-11 \log (4)+2 \log ^2(4)\right )+6 x^2 \left (22-16 \log (4)+3 \log ^2(4)\right )}{x^5+11 x^4 \left (1-\frac {8 \log (2)}{11}\right )-95 \left (1+\frac {2}{95} \log (4) \left (-60+28 \log (4)+(-6+\log (2)) \log ^2(4)\right )\right )-20 x \left (1+\frac {2}{5} \log (4) \left (1-\frac {1}{4} \log (4) (10+(-4+\log (2)) \log (4))\right )\right )+44 x^3 \left (1+\frac {1}{11} \log (4) (-8+\log (8))\right )+64 x^2 \left (1-\frac {1}{32} \log (4) (38+\log (4) (-15+\log (16)))\right )}\right ) \, dx\\ &=\log (x)+4 \int \frac {-3-x+\log (4)}{10+x^2+2 x (3-\log (4))-6 \log (4)+\log ^2(4)} \, dx+\int \frac {5 x^4+4 x^3 (11-4 \log (4))-\left (2+2 \log (4)-\log ^2(4)\right ) \left (10-6 \log (4)+\log ^2(4)\right )+4 x (2-\log (4)) \left (16-11 \log (4)+2 \log ^2(4)\right )+6 x^2 \left (22-16 \log (4)+3 \log ^2(4)\right )}{x^5+11 x^4 \left (1-\frac {8 \log (2)}{11}\right )-95 \left (1+\frac {2}{95} \log (4) \left (-60+28 \log (4)+(-6+\log (2)) \log ^2(4)\right )\right )-20 x \left (1+\frac {2}{5} \log (4) \left (1-\frac {1}{4} \log (4) (10+(-4+\log (2)) \log (4))\right )\right )+44 x^3 \left (1+\frac {1}{11} \log (4) (-8+\log (8))\right )+64 x^2 \left (1-\frac {1}{32} \log (4) (38+\log (4) (-15+\log (16)))\right )} \, dx\\ &=\log (x)-2 \log \left (10+x^2+2 x (3-\log (4))-6 \log (4)+\log ^2(4)\right )+\log \left (-95+x^5+x^4 (11-8 \log (2))+2 \log (4) \left (60-28 \log (4)+(6-\log (2)) \log ^2(4)\right )-2 x (10+\log (4) (4-\log (4) (10-(4-\log (2)) \log (4))))+4 x^3 (11-\log (4) (8-\log (8)))+2 x^2 (32-\log (4) (38-\log (4) (15-\log (16))))\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.22, size = 147, normalized size = 6.68 \begin {gather*} \log (x)-2 \log \left (10+6 x+x^2-6 \log (4)-2 x \log (4)+\log ^2(4)\right )+\log \left (95+20 x-64 x^2-44 x^3-11 x^4-x^5-120 \log (4)+8 x \log (4)+76 x^2 \log (4)+32 x^3 \log (4)+4 x^4 \log (4)+56 \log ^2(4)-20 x \log ^2(4)-30 x^2 \log ^2(4)-6 x^3 \log ^2(4)-12 \log ^3(4)+8 x \log ^3(4)+4 x^2 \log ^3(4)+\log ^4(4)-x \log ^4(4)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.67, size = 135, normalized size = 6.14 \begin {gather*} \log \left (x^{6} + 11 \, x^{5} + 16 \, {\left (x^{2} - x\right )} \log \relax (2)^{4} + 44 \, x^{4} - 32 \, {\left (x^{3} + 2 \, x^{2} - 3 \, x\right )} \log \relax (2)^{3} + 64 \, x^{3} + 8 \, {\left (3 \, x^{4} + 15 \, x^{3} + 10 \, x^{2} - 28 \, x\right )} \log \relax (2)^{2} - 20 \, x^{2} - 8 \, {\left (x^{5} + 8 \, x^{4} + 19 \, x^{3} + 2 \, x^{2} - 30 \, x\right )} \log \relax (2) - 95 \, x\right ) - 2 \, \log \left (x^{2} - 4 \, {\left (x + 3\right )} \log \relax (2) + 4 \, \log \relax (2)^{2} + 6 \, x + 10\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.56, size = 151, normalized size = 6.86 \begin {gather*} -2 \, \log \left (x^{2} - 4 \, x \log \relax (2) + 4 \, \log \relax (2)^{2} + 6 \, x - 12 \, \log \relax (2) + 10\right ) + \log \left ({\left | x^{5} - 8 \, x^{4} \log \relax (2) + 24 \, x^{3} \log \relax (2)^{2} - 32 \, x^{2} \log \relax (2)^{3} + 16 \, x \log \relax (2)^{4} + 11 \, x^{4} - 64 \, x^{3} \log \relax (2) + 120 \, x^{2} \log \relax (2)^{2} - 64 \, x \log \relax (2)^{3} - 16 \, \log \relax (2)^{4} + 44 \, x^{3} - 152 \, x^{2} \log \relax (2) + 80 \, x \log \relax (2)^{2} + 96 \, \log \relax (2)^{3} + 64 \, x^{2} - 16 \, x \log \relax (2) - 224 \, \log \relax (2)^{2} - 20 \, x + 240 \, \log \relax (2) - 95 \right |}\right ) + \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.39, size = 137, normalized size = 6.23
method | result | size |
risch | \(-2 \ln \left (-x^{2}+\left (4 \ln \relax (2)-6\right ) x -4 \ln \relax (2)^{2}+12 \ln \relax (2)-10\right )+\ln \left (x^{6}+\left (-8 \ln \relax (2)+11\right ) x^{5}+\left (24 \ln \relax (2)^{2}-64 \ln \relax (2)+44\right ) x^{4}+\left (-32 \ln \relax (2)^{3}+120 \ln \relax (2)^{2}-152 \ln \relax (2)+64\right ) x^{3}+\left (16 \ln \relax (2)^{4}-64 \ln \relax (2)^{3}+80 \ln \relax (2)^{2}-16 \ln \relax (2)-20\right ) x^{2}+\left (-16 \ln \relax (2)^{4}+96 \ln \relax (2)^{3}-224 \ln \relax (2)^{2}+240 \ln \relax (2)-95\right ) x \right )\) | \(137\) |
default | \(\ln \relax (x )+\ln \left (16 x \ln \relax (2)^{4}-32 x^{2} \ln \relax (2)^{3}+24 x^{3} \ln \relax (2)^{2}-8 x^{4} \ln \relax (2)+x^{5}-16 \ln \relax (2)^{4}-64 x \ln \relax (2)^{3}+120 x^{2} \ln \relax (2)^{2}-64 x^{3} \ln \relax (2)+11 x^{4}+96 \ln \relax (2)^{3}+80 x \ln \relax (2)^{2}-152 x^{2} \ln \relax (2)+44 x^{3}-224 \ln \relax (2)^{2}-16 x \ln \relax (2)+64 x^{2}+240 \ln \relax (2)-20 x -95\right )-2 \ln \left (4 \ln \relax (2)^{2}-4 x \ln \relax (2)+x^{2}-12 \ln \relax (2)+6 x +10\right )\) | \(150\) |
norman | \(\ln \relax (x )+\ln \left (16 x \ln \relax (2)^{4}-32 x^{2} \ln \relax (2)^{3}+24 x^{3} \ln \relax (2)^{2}-8 x^{4} \ln \relax (2)+x^{5}-16 \ln \relax (2)^{4}-64 x \ln \relax (2)^{3}+120 x^{2} \ln \relax (2)^{2}-64 x^{3} \ln \relax (2)+11 x^{4}+96 \ln \relax (2)^{3}+80 x \ln \relax (2)^{2}-152 x^{2} \ln \relax (2)+44 x^{3}-224 \ln \relax (2)^{2}-16 x \ln \relax (2)+64 x^{2}+240 \ln \relax (2)-20 x -95\right )-2 \ln \left (4 \ln \relax (2)^{2}-4 x \ln \relax (2)+x^{2}-12 \ln \relax (2)+6 x +10\right )\) | \(150\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.92, size = 136, normalized size = 6.18 \begin {gather*} \log \left (x^{5} - x^{4} {\left (8 \, \log \relax (2) - 11\right )} + 4 \, {\left (6 \, \log \relax (2)^{2} - 16 \, \log \relax (2) + 11\right )} x^{3} - 16 \, \log \relax (2)^{4} - 8 \, {\left (4 \, \log \relax (2)^{3} - 15 \, \log \relax (2)^{2} + 19 \, \log \relax (2) - 8\right )} x^{2} + 96 \, \log \relax (2)^{3} + 4 \, {\left (4 \, \log \relax (2)^{4} - 16 \, \log \relax (2)^{3} + 20 \, \log \relax (2)^{2} - 4 \, \log \relax (2) - 5\right )} x - 224 \, \log \relax (2)^{2} + 240 \, \log \relax (2) - 95\right ) - 2 \, \log \left (x^{2} - 2 \, x {\left (2 \, \log \relax (2) - 3\right )} + 4 \, \log \relax (2)^{2} - 12 \, \log \relax (2) + 10\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.11, size = 151, normalized size = 6.86 \begin {gather*} \ln \left (x\,\left (20\,x-240\,\ln \relax (2)-120\,x^2\,{\ln \relax (2)}^2+32\,x^2\,{\ln \relax (2)}^3-24\,x^3\,{\ln \relax (2)}^2+16\,x\,\ln \relax (2)-80\,x\,{\ln \relax (2)}^2+152\,x^2\,\ln \relax (2)+64\,x\,{\ln \relax (2)}^3+64\,x^3\,\ln \relax (2)-16\,x\,{\ln \relax (2)}^4+8\,x^4\,\ln \relax (2)+224\,{\ln \relax (2)}^2-96\,{\ln \relax (2)}^3+16\,{\ln \relax (2)}^4-64\,x^2-44\,x^3-11\,x^4-x^5+95\right )\right )-2\,\ln \left (6\,x-12\,\ln \relax (2)-4\,x\,\ln \relax (2)+4\,{\ln \relax (2)}^2+x^2+10\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 16.56, size = 143, normalized size = 6.50 \begin {gather*} - 2 \log {\left (x^{2} + x \left (6 - 4 \log {\relax (2 )}\right ) - 12 \log {\relax (2 )} + 4 \log {\relax (2 )}^{2} + 10 \right )} + \log {\left (x^{6} + x^{5} \left (11 - 8 \log {\relax (2 )}\right ) + x^{4} \left (- 64 \log {\relax (2 )} + 24 \log {\relax (2 )}^{2} + 44\right ) + x^{3} \left (- 152 \log {\relax (2 )} - 32 \log {\relax (2 )}^{3} + 120 \log {\relax (2 )}^{2} + 64\right ) + x^{2} \left (- 64 \log {\relax (2 )}^{3} - 20 - 16 \log {\relax (2 )} + 16 \log {\relax (2 )}^{4} + 80 \log {\relax (2 )}^{2}\right ) + x \left (- 224 \log {\relax (2 )}^{2} - 95 - 16 \log {\relax (2 )}^{4} + 96 \log {\relax (2 )}^{3} + 240 \log {\relax (2 )}\right ) \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________