Optimal. Leaf size=18 \[ \log \left (30 \left (\frac {2}{5 (4-x)}+7 x\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 20, normalized size of antiderivative = 1.11, 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, 628} \begin {gather*} \log \left (-35 x^2+140 x+2\right )-\log (4-x) \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}+\frac {70 (-2+x)}{-2-140 x+35 x^2}\right ) \, dx\\ &=-\log (4-x)+70 \int \frac {-2+x}{-2-140 x+35 x^2} \, dx\\ &=-\log (4-x)+\log \left (2+140 x-35 x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 20, normalized size = 1.11 \begin {gather*} -\log (4-x)+\log \left (2+140 x-35 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.82, size = 18, normalized size = 1.00 \begin {gather*} \log \left (35 \, x^{2} - 140 \, x - 2\right ) - \log \left (x - 4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 20, normalized size = 1.11 \begin {gather*} \log \left ({\left | 35 \, x^{2} - 140 \, x - 2 \right |}\right ) - \log \left ({\left | x - 4 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 19, normalized size = 1.06
method | result | size |
default | \(\ln \left (35 x^{2}-140 x -2\right )-\ln \left (x -4\right )\) | \(19\) |
norman | \(\ln \left (35 x^{2}-140 x -2\right )-\ln \left (x -4\right )\) | \(19\) |
risch | \(\ln \left (35 x^{2}-140 x -2\right )-\ln \left (x -4\right )\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.67, size = 18, normalized size = 1.00 \begin {gather*} \log \left (35 \, x^{2} - 140 \, x - 2\right ) - \log \left (x - 4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.09, size = 16, normalized size = 0.89 \begin {gather*} \ln \left (x^2-4\,x-\frac {2}{35}\right )-\ln \left (x-4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 15, normalized size = 0.83 \begin {gather*} - \log {\left (x - 4 \right )} + \log {\left (35 x^{2} - 140 x - 2 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________