Optimal. Leaf size=25 \[ 2 \left (1+x^2+\frac {5 \log \left (\frac {-5+x}{(-1+x)^2 x^2}\right )}{e^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 35, normalized size of antiderivative = 1.40, number of steps used = 4, number of rules used = 3, integrand size = 48, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {12, 1594, 1628} \begin {gather*} 2 x^2-\frac {20 \log (1-x)}{e^2}+\frac {10 \log (5-x)}{e^2}-\frac {20 \log (x)}{e^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1594
Rule 1628
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \frac {-100+210 x-30 x^2+e^2 \left (20 x^2-24 x^3+4 x^4\right )}{5 x-6 x^2+x^3} \, dx}{e^2}\\ &=\frac {\int \frac {-100+210 x-30 x^2+e^2 \left (20 x^2-24 x^3+4 x^4\right )}{x \left (5-6 x+x^2\right )} \, dx}{e^2}\\ &=\frac {\int \left (\frac {10}{-5+x}-\frac {20}{-1+x}-\frac {20}{x}+4 e^2 x\right ) \, dx}{e^2}\\ &=2 x^2-\frac {20 \log (1-x)}{e^2}+\frac {10 \log (5-x)}{e^2}-\frac {20 \log (x)}{e^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 33, normalized size = 1.32 \begin {gather*} \frac {2 e^2 x^2-20 \log (1-x)+10 \log (5-x)-20 \log (x)}{e^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.48, size = 27, normalized size = 1.08 \begin {gather*} 2 \, {\left (x^{2} e^{2} - 10 \, \log \left (x^{2} - x\right ) + 5 \, \log \left (x - 5\right )\right )} e^{\left (-2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 30, normalized size = 1.20 \begin {gather*} 2 \, {\left (x^{2} e^{2} - 10 \, \log \left ({\left | x - 1 \right |}\right ) + 5 \, \log \left ({\left | x - 5 \right |}\right ) - 10 \, \log \left ({\left | x \right |}\right )\right )} e^{\left (-2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 27, normalized size = 1.08
method | result | size |
risch | \(2 x^{2}+10 \,{\mathrm e}^{-2} \ln \left (x -5\right )-20 \,{\mathrm e}^{-2} \ln \left (x^{2}-x \right )\) | \(27\) |
default | \({\mathrm e}^{-2} \left (2 x^{2} {\mathrm e}^{2}+10 \ln \left (x -5\right )-20 \ln \relax (x )-20 \ln \left (x -1\right )\right )\) | \(30\) |
norman | \(2 x^{2}-20 \ln \relax (x ) {\mathrm e}^{-2}+10 \,{\mathrm e}^{-2} \ln \left (x -5\right )-20 \,{\mathrm e}^{-2} \ln \left (x -1\right )\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 27, normalized size = 1.08 \begin {gather*} 2 \, {\left (x^{2} e^{2} - 10 \, \log \left (x - 1\right ) + 5 \, \log \left (x - 5\right ) - 10 \, \log \relax (x)\right )} e^{\left (-2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 24, normalized size = 0.96 \begin {gather*} 10\,\ln \left (x-5\right )\,{\mathrm {e}}^{-2}+2\,x^2-20\,\ln \left (x\,\left (x-1\right )\right )\,{\mathrm {e}}^{-2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.27, size = 26, normalized size = 1.04 \begin {gather*} 2 x^{2} + \frac {10 \log {\left (x - 5 \right )}}{e^{2}} - \frac {20 \log {\left (x^{2} - x \right )}}{e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________