Optimal. Leaf size=13 \[ \log (7 x (-x+x (5+x))) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 9, normalized size of antiderivative = 0.69, number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {631} \begin {gather*} 2 \log (x)+\log (x+4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 631
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {2}{x}+\frac {1}{4+x}\right ) \, dx\\ &=2 \log (x)+\log (4+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 9, normalized size = 0.69 \begin {gather*} 2 \log (x)+\log (4+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.52, size = 9, normalized size = 0.69 \begin {gather*} \log \left (x + 4\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 11, normalized size = 0.85 \begin {gather*} \log \left ({\left | x + 4 \right |}\right ) + 2 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.25, size = 10, normalized size = 0.77
method | result | size |
default | \(\ln \left (4+x \right )+2 \ln \relax (x )\) | \(10\) |
norman | \(\ln \left (4+x \right )+2 \ln \relax (x )\) | \(10\) |
risch | \(\ln \left (4+x \right )+2 \ln \relax (x )\) | \(10\) |
meijerg | \(\ln \left (1+\frac {x}{4}\right )+2 \ln \relax (x )-4 \ln \relax (2)\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 9, normalized size = 0.69 \begin {gather*} \log \left (x + 4\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.51, size = 9, normalized size = 0.69 \begin {gather*} \ln \left (x+4\right )+2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 8, normalized size = 0.62 \begin {gather*} 2 \log {\relax (x )} + \log {\left (x + 4 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________