Optimal. Leaf size=25 \[ -\log \left (\frac {x^2}{x-\frac {1}{4} (1-x) x}\right )+\log (\log (3)) \]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 9, normalized size of antiderivative = 0.36, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {12, 615} \begin {gather*} \log (x+3)-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 615
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-\left (3 \int \frac {1}{3 x+x^2} \, dx\right )\\ &=-\log (x)+\log (3+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 17, normalized size = 0.68 \begin {gather*} -3 \left (\frac {\log (x)}{3}-\frac {1}{3} \log (3+x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 9, normalized size = 0.36 \begin {gather*} \log \left (x + 3\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 11, normalized size = 0.44 \begin {gather*} \log \left ({\left | x + 3 \right |}\right ) - \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.44, size = 10, normalized size = 0.40
method | result | size |
default | \(-\ln \relax (x )+\ln \left (3+x \right )\) | \(10\) |
norman | \(-\ln \relax (x )+\ln \left (3+x \right )\) | \(10\) |
risch | \(-\ln \relax (x )+\ln \left (3+x \right )\) | \(10\) |
meijerg | \(-\ln \relax (x )+\ln \relax (3)+\ln \left (1+\frac {x}{3}\right )\) | \(14\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.49, size = 9, normalized size = 0.36 \begin {gather*} \log \left (x + 3\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.79, size = 8, normalized size = 0.32 \begin {gather*} 2\,\mathrm {atanh}\left (\frac {2\,x}{3}+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 7, normalized size = 0.28 \begin {gather*} - \log {\relax (x )} + \log {\left (x + 3 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________