Optimal. Leaf size=19 \[ \log \left (14+\frac {3}{x+\frac {5+x+x^2}{x}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 23, normalized size of antiderivative = 1.21, number of steps used = 4, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2074, 628} \begin {gather*} \log \left (28 x^2+17 x+70\right )-\log \left (2 x^2+x+5\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-1-4 x}{5+x+2 x^2}+\frac {17+56 x}{70+17 x+28 x^2}\right ) \, dx\\ &=\int \frac {-1-4 x}{5+x+2 x^2} \, dx+\int \frac {17+56 x}{70+17 x+28 x^2} \, dx\\ &=-\log \left (5+x+2 x^2\right )+\log \left (70+17 x+28 x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 23, normalized size = 1.21 \begin {gather*} -\log \left (5+x+2 x^2\right )+\log \left (70+17 x+28 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.09, size = 23, normalized size = 1.21 \begin {gather*} \log \left (28 \, x^{2} + 17 \, x + 70\right ) - \log \left (2 \, x^{2} + x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.33, size = 23, normalized size = 1.21 \begin {gather*} \log \left (28 \, x^{2} + 17 \, x + 70\right ) - \log \left (2 \, x^{2} + x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 24, normalized size = 1.26
method | result | size |
default | \(\ln \left (28 x^{2}+17 x +70\right )-\ln \left (2 x^{2}+x +5\right )\) | \(24\) |
norman | \(\ln \left (28 x^{2}+17 x +70\right )-\ln \left (2 x^{2}+x +5\right )\) | \(24\) |
risch | \(\ln \left (28 x^{2}+17 x +70\right )-\ln \left (2 x^{2}+x +5\right )\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 23, normalized size = 1.21 \begin {gather*} \log \left (28 \, x^{2} + 17 \, x + 70\right ) - \log \left (2 \, x^{2} + x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.21, size = 26, normalized size = 1.37 \begin {gather*} 2\,\mathrm {atanh}\left (\frac {62\,x^2+577\,x+155}{10130\,x^2+5611\,x+25325}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 24, normalized size = 1.26 \begin {gather*} - \log {\left (x^{2} + \frac {x}{2} + \frac {5}{2} \right )} + \log {\left (x^{2} + \frac {17 x}{28} + \frac {5}{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________