Optimal. Leaf size=15 \[ -x+\log \left (9-2 \left (-4+x+x^2\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {1657, 628} \begin {gather*} \log \left (-2 x^2-2 x+17\right )-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 1657
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-1+\frac {2 (1+2 x)}{-17+2 x+2 x^2}\right ) \, dx\\ &=-x+2 \int \frac {1+2 x}{-17+2 x+2 x^2} \, dx\\ &=-x+\log \left (17-2 x-2 x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 15, normalized size = 1.00 \begin {gather*} -x+\log \left (17-2 x-2 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.52, size = 15, normalized size = 1.00 \begin {gather*} -x + \log \left (2 \, x^{2} + 2 \, x - 17\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 16, normalized size = 1.07 \begin {gather*} -x + \log \left ({\left | 2 \, x^{2} + 2 \, x - 17 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.55, size = 16, normalized size = 1.07
method | result | size |
default | \(-x +\ln \left (2 x^{2}+2 x -17\right )\) | \(16\) |
norman | \(-x +\ln \left (2 x^{2}+2 x -17\right )\) | \(16\) |
risch | \(-x +\ln \left (2 x^{2}+2 x -17\right )\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.47, size = 15, normalized size = 1.00 \begin {gather*} -x + \log \left (2 \, x^{2} + 2 \, x - 17\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 11, normalized size = 0.73 \begin {gather*} \ln \left (x^2+x-\frac {17}{2}\right )-x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 12, normalized size = 0.80 \begin {gather*} - x + \log {\left (2 x^{2} + 2 x - 17 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________