Optimal. Leaf size=14 \[ \log \left (\frac {16}{(-18+x+\log (-2-x))^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 16, normalized size of antiderivative = 1.14, number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {6741, 6684} \begin {gather*} -2 \log (-x-\log (-x-2)+18) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6684
Rule 6741
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {6+2 x}{(2+x) (18-x-\log (-2-x))} \, dx\\ &=-2 \log (18-x-\log (-2-x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 12, normalized size = 0.86 \begin {gather*} -2 \log (-18+x+\log (-2-x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 12, normalized size = 0.86 \begin {gather*} -2 \, \log \left (x + \log \left (-x - 2\right ) - 18\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 12, normalized size = 0.86 \begin {gather*} -2 \, \log \left (x + \log \left (-x - 2\right ) - 18\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 13, normalized size = 0.93
method | result | size |
norman | \(-2 \ln \left (\ln \left (-x -2\right )+x -18\right )\) | \(13\) |
risch | \(-2 \ln \left (\ln \left (-x -2\right )+x -18\right )\) | \(13\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.55, size = 12, normalized size = 0.86 \begin {gather*} -2 \, \log \left (x + \log \left (-x - 2\right ) - 18\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.24, size = 12, normalized size = 0.86 \begin {gather*} -2\,\ln \left (x+\ln \left (-x-2\right )-18\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 14, normalized size = 1.00 \begin {gather*} - 2 \log {\left (x + \log {\left (- x - 2 \right )} - 18 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________