Optimal. Leaf size=24 \[ \frac {x}{4 (x+\log (x)-3 x \log (x) (-13+\log (x (2+x))))} \]
________________________________________________________________________________________
Rubi [A] time = 0.34, antiderivative size = 30, normalized size of antiderivative = 1.25, number of steps used = 4, number of rules used = 4, integrand size = 161, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.025, Rules used = {6688, 12, 6711, 32} \begin {gather*} -\frac {1}{4 \left (\frac {x}{\log (x) (39 x-3 x \log (x (x+2))+1)}+1\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 32
Rule 6688
Rule 6711
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {\left (2+7 x+6 x^2\right ) \log (x)+(2+x) (-1-39 x+3 x \log (x (2+x)))}{4 (2+x) (x+\log (x) (1+39 x-3 x \log (x (2+x))))^2} \, dx\\ &=\frac {1}{4} \int \frac {\left (2+7 x+6 x^2\right ) \log (x)+(2+x) (-1-39 x+3 x \log (x (2+x)))}{(2+x) (x+\log (x) (1+39 x-3 x \log (x (2+x))))^2} \, dx\\ &=\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{(1+x)^2} \, dx,x,\frac {x}{\log (x) (1+39 x-3 x \log (x (2+x)))}\right )\\ &=-\frac {1}{4 \left (1+\frac {x}{\log (x) (1+39 x-3 x \log (x (2+x)))}\right )}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 1.81, size = 26, normalized size = 1.08 \begin {gather*} \frac {x}{4 (x+\log (x) (1+39 x-3 x \log (x (2+x))))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 31, normalized size = 1.29 \begin {gather*} -\frac {x}{4 \, {\left (3 \, x \log \left (x^{2} + 2 \, x\right ) \log \relax (x) - {\left (39 \, x + 1\right )} \log \relax (x) - x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.89, size = 34, normalized size = 1.42 \begin {gather*} -\frac {x}{4 \, {\left (3 \, x \log \left (x + 2\right ) \log \relax (x) + 3 \, x \log \relax (x)^{2} - 39 \, x \log \relax (x) - x - \log \relax (x)\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.10, size = 127, normalized size = 5.29
method | result | size |
risch | \(-\frac {i x}{2 \left (3 \ln \relax (x ) \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i \left (2+x \right )\right ) \mathrm {csgn}\left (i x \left (2+x \right )\right )-3 \ln \relax (x ) \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x \left (2+x \right )\right )^{2}-3 \ln \relax (x ) \pi x \,\mathrm {csgn}\left (i \left (2+x \right )\right ) \mathrm {csgn}\left (i x \left (2+x \right )\right )^{2}+3 \ln \relax (x ) \pi x \mathrm {csgn}\left (i x \left (2+x \right )\right )^{3}+6 i x \ln \relax (x )^{2}+6 i x \ln \relax (x ) \ln \left (2+x \right )-78 i x \ln \relax (x )-2 i x -2 i \ln \relax (x )\right )}\) | \(127\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.57, size = 34, normalized size = 1.42 \begin {gather*} -\frac {x}{4 \, {\left (3 \, x \log \left (x + 2\right ) \log \relax (x) + 3 \, x \log \relax (x)^{2} - {\left (39 \, x + 1\right )} \log \relax (x) - x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.58, size = 121, normalized size = 5.04 \begin {gather*} \frac {\frac {x\,{\left (x^2+2\,x\right )}^3}{4}+\frac {x\,{\ln \relax (x)}^2\,{\left (x^2+2\,x\right )}^2\,\left (6\,x^2+7\,x+2\right )}{4}}{\left (x+2\right )\,\left (x+\ln \relax (x)+39\,x\,\ln \relax (x)-3\,x\,\ln \left (x^2+2\,x\right )\,\ln \relax (x)\right )\,\left (6\,x^5\,{\ln \relax (x)}^2+x^5+19\,x^4\,{\ln \relax (x)}^2+4\,x^4+16\,x^3\,{\ln \relax (x)}^2+4\,x^3+4\,x^2\,{\ln \relax (x)}^2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.44, size = 32, normalized size = 1.33 \begin {gather*} - \frac {x}{12 x \log {\relax (x )} \log {\left (x^{2} + 2 x \right )} - 156 x \log {\relax (x )} - 4 x - 4 \log {\relax (x )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________