Optimal. Leaf size=21 \[ \frac {x}{4}-\frac {45 x^2}{4}+\log (-2+x)+\log (2 x) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {1593, 1620} \begin {gather*} -\frac {45 x^2}{4}+\frac {x}{4}+\log (2-x)+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 1620
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-8+6 x+181 x^2-90 x^3}{x (-8+4 x)} \, dx\\ &=\int \left (\frac {1}{4}+\frac {1}{-2+x}+\frac {1}{x}-\frac {45 x}{2}\right ) \, dx\\ &=\frac {x}{4}-\frac {45 x^2}{4}+\log (2-x)+\log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 1.00 \begin {gather*} \frac {x}{4}-\frac {45 x^2}{4}+\log (2-x)+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 17, normalized size = 0.81 \begin {gather*} -\frac {45}{4} \, x^{2} + \frac {1}{4} \, x + \log \left (x^{2} - 2 \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 17, normalized size = 0.81 \begin {gather*} -\frac {45}{4} \, x^{2} + \frac {1}{4} \, x + \log \left ({\left | x - 2 \right |}\right ) + \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.41, size = 16, normalized size = 0.76
method | result | size |
default | \(-\frac {45 x^{2}}{4}+\frac {x}{4}+\ln \relax (x )+\ln \left (x -2\right )\) | \(16\) |
norman | \(-\frac {45 x^{2}}{4}+\frac {x}{4}+\ln \relax (x )+\ln \left (x -2\right )\) | \(16\) |
risch | \(\frac {x}{4}-\frac {45 x^{2}}{4}+\ln \left (x^{2}-2 x \right )\) | \(18\) |
meijerg | \(\ln \left (1-\frac {x}{2}\right )+\ln \relax (x )-\ln \relax (2)+i \pi -\frac {15 x \left (\frac {3 x}{2}+6\right )}{2}+\frac {181 x}{4}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.49, size = 15, normalized size = 0.71 \begin {gather*} -\frac {45}{4} \, x^{2} + \frac {1}{4} \, x + \log \left (x - 2\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.08, size = 15, normalized size = 0.71 \begin {gather*} \frac {x}{4}+\ln \left (x\,\left (x-2\right )\right )-\frac {45\,x^2}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 17, normalized size = 0.81 \begin {gather*} - \frac {45 x^{2}}{4} + \frac {x}{4} + \log {\left (x^{2} - 2 x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________