Optimal. Leaf size=30 \[ x+\frac {7}{2} \log (1-x)-25 \log (2-x)+\frac {61}{2} \log (3-x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.034, Rules used = {1626}
\begin {gather*} x+\frac {7}{2} \log (1-x)-25 \log (2-x)+\frac {61}{2} \log (3-x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1626
Rubi steps
\begin {align*} \int \frac {1+2 x+3 x^2+x^3}{(-3+x) (-2+x) (-1+x)} \, dx &=\int \left (1+\frac {61}{2 (-3+x)}-\frac {25}{-2+x}+\frac {7}{2 (-1+x)}\right ) \, dx\\ &=x+\frac {7}{2} \log (1-x)-25 \log (2-x)+\frac {61}{2} \log (3-x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 24, normalized size = 0.80 \begin {gather*} x+\frac {61}{2} \log (-3+x)-25 \log (-2+x)+\frac {7}{2} \log (-1+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 21, normalized size = 0.70
method | result | size |
default | \(x +\frac {61 \ln \left (x -3\right )}{2}-25 \ln \left (x -2\right )+\frac {7 \ln \left (-1+x \right )}{2}\) | \(21\) |
norman | \(x +\frac {61 \ln \left (x -3\right )}{2}-25 \ln \left (x -2\right )+\frac {7 \ln \left (-1+x \right )}{2}\) | \(21\) |
risch | \(x +\frac {61 \ln \left (x -3\right )}{2}-25 \ln \left (x -2\right )+\frac {7 \ln \left (-1+x \right )}{2}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 20, normalized size = 0.67 \begin {gather*} x + \frac {7}{2} \, \log \left (x - 1\right ) - 25 \, \log \left (x - 2\right ) + \frac {61}{2} \, \log \left (x - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.43, size = 20, normalized size = 0.67 \begin {gather*} x + \frac {7}{2} \, \log \left (x - 1\right ) - 25 \, \log \left (x - 2\right ) + \frac {61}{2} \, \log \left (x - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 24, normalized size = 0.80 \begin {gather*} x + \frac {61 \log {\left (x - 3 \right )}}{2} - 25 \log {\left (x - 2 \right )} + \frac {7 \log {\left (x - 1 \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.07, size = 23, normalized size = 0.77 \begin {gather*} x + \frac {7}{2} \, \log \left ({\left | x - 1 \right |}\right ) - 25 \, \log \left ({\left | x - 2 \right |}\right ) + \frac {61}{2} \, \log \left ({\left | x - 3 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.13, size = 20, normalized size = 0.67 \begin {gather*} x+\frac {7\,\ln \left (x-1\right )}{2}-25\,\ln \left (x-2\right )+\frac {61\,\ln \left (x-3\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________