Optimal. Leaf size=22 \[ \log \left (\frac {5-x^2}{\frac {3}{4}+\frac {1+x}{2}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 17, normalized size of antiderivative = 0.77, number of steps used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2074, 260} \begin {gather*} \log \left (5-x^2\right )-\log (2 x+5) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 260
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {2}{5+2 x}+\frac {2 x}{-5+x^2}\right ) \, dx\\ &=-\log (5+2 x)+2 \int \frac {x}{-5+x^2} \, dx\\ &=-\log (5+2 x)+\log \left (5-x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 25, normalized size = 1.14 \begin {gather*} 2 \left (-\frac {1}{2} \log (5+2 x)+\frac {1}{2} \log \left (5-x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.86, size = 15, normalized size = 0.68 \begin {gather*} \log \left (x^{2} - 5\right ) - \log \left (2 \, x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 17, normalized size = 0.77 \begin {gather*} \log \left ({\left | x^{2} - 5 \right |}\right ) - \log \left ({\left | 2 \, x + 5 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 16, normalized size = 0.73
method | result | size |
default | \(\ln \left (x^{2}-5\right )-\ln \left (5+2 x \right )\) | \(16\) |
norman | \(\ln \left (x^{2}-5\right )-\ln \left (5+2 x \right )\) | \(16\) |
risch | \(\ln \left (x^{2}-5\right )-\ln \left (5+2 x \right )\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.51, size = 15, normalized size = 0.68 \begin {gather*} \log \left (x^{2} - 5\right ) - \log \left (2 \, x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 13, normalized size = 0.59 \begin {gather*} \ln \left (x^2-5\right )-\ln \left (x+\frac {5}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 12, normalized size = 0.55 \begin {gather*} - \log {\left (2 x + 5 \right )} + \log {\left (x^{2} - 5 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________