Optimal. Leaf size=23 \[ \log \left (\frac {e^{-x} x^2}{1-(-20+2 x)^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 24, normalized size of antiderivative = 1.04, number of steps used = 3, number of rules used = 2, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {1594, 1628} \begin {gather*} -x-\log (19-2 x)-\log (21-2 x)+2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 1628
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {798-479 x+80 x^2-4 x^3}{x \left (399-80 x+4 x^2\right )} \, dx\\ &=\int \left (-1+\frac {2}{x}-\frac {2}{-21+2 x}-\frac {2}{-19+2 x}\right ) \, dx\\ &=-x-\log (19-2 x)-\log (21-2 x)+2 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 0.91 \begin {gather*} -x+2 \log (x)-\log \left (399-80 x+4 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.75, size = 21, normalized size = 0.91 \begin {gather*} -x - \log \left (4 \, x^{2} - 80 \, x + 399\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 27, normalized size = 1.17 \begin {gather*} -x - \log \left ({\left | 2 \, x - 19 \right |}\right ) - \log \left ({\left | 2 \, x - 21 \right |}\right ) + 2 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 22, normalized size = 0.96
method | result | size |
risch | \(-x +2 \ln \relax (x )-\ln \left (4 x^{2}-80 x +399\right )\) | \(22\) |
default | \(-x -\ln \left (2 x -21\right )+2 \ln \relax (x )-\ln \left (2 x -19\right )\) | \(25\) |
norman | \(-x -\ln \left (2 x -21\right )+2 \ln \relax (x )-\ln \left (2 x -19\right )\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 24, normalized size = 1.04 \begin {gather*} -x - \log \left (2 \, x - 19\right ) - \log \left (2 \, x - 21\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 19, normalized size = 0.83 \begin {gather*} 2\,\ln \relax (x)-\ln \left (x^2-20\,x+\frac {399}{4}\right )-x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 17, normalized size = 0.74 \begin {gather*} - x + 2 \log {\relax (x )} - \log {\left (4 x^{2} - 80 x + 399 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________