Optimal. Leaf size=21 \[ 4 \left (-5-\frac {x}{4+2 x}-10 x \log (2)+\log (5)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 13, normalized size of antiderivative = 0.62, number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {27, 1850} \begin {gather*} \frac {4}{x+2}-40 x \log (2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 1850
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-4+\left (-160-160 x-40 x^2\right ) \log (2)}{(2+x)^2} \, dx\\ &=\int \left (-\frac {4}{(2+x)^2}-40 \log (2)\right ) \, dx\\ &=\frac {4}{2+x}-40 x \log (2)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 17, normalized size = 0.81 \begin {gather*} -4 \left (-\frac {1}{2+x}+10 (2+x) \log (2)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 20, normalized size = 0.95 \begin {gather*} -\frac {4 \, {\left (10 \, {\left (x^{2} + 2 \, x\right )} \log \relax (2) - 1\right )}}{x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 13, normalized size = 0.62 \begin {gather*} -40 \, x \log \relax (2) + \frac {4}{x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.50, size = 14, normalized size = 0.67
method | result | size |
default | \(-40 x \ln \relax (2)+\frac {4}{2+x}\) | \(14\) |
risch | \(-40 x \ln \relax (2)+\frac {4}{2+x}\) | \(14\) |
norman | \(\frac {-40 x^{2} \ln \relax (2)+4+160 \ln \relax (2)}{2+x}\) | \(20\) |
gosper | \(-\frac {4 \left (10 x^{2} \ln \relax (2)-1-40 \ln \relax (2)\right )}{2+x}\) | \(21\) |
meijerg | \(-\frac {x}{1+\frac {x}{2}}-80 \ln \relax (2) \left (\frac {x \left (\frac {3 x}{2}+6\right )}{6+3 x}-2 \ln \left (1+\frac {x}{2}\right )\right )-160 \ln \relax (2) \left (-\frac {x}{2 \left (1+\frac {x}{2}\right )}+\ln \left (1+\frac {x}{2}\right )\right )-\frac {40 \ln \relax (2) x}{1+\frac {x}{2}}\) | \(73\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.38, size = 13, normalized size = 0.62 \begin {gather*} -40 \, x \log \relax (2) + \frac {4}{x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.46, size = 13, normalized size = 0.62 \begin {gather*} \frac {4}{x+2}-40\,x\,\ln \relax (2) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 10, normalized size = 0.48 \begin {gather*} - 40 x \log {\relax (2 )} + \frac {4}{x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________