Optimal. Leaf size=25 \[ -\log (1-x)+2 \log (2-x)-\log (3-x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {12, 2083}
\begin {gather*} -\log (1-x)+2 \log (2-x)-\log (3-x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2083
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=2 \int \frac {1}{6-11 x+6 x^2-x^3} \, dx\\ &=2 \int \left (-\frac {1}{2 (-3+x)}+\frac {1}{-2+x}-\frac {1}{2 (-1+x)}\right ) \, dx\\ &=-\log (1-x)+2 \log (2-x)-\log (3-x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 24, normalized size = 0.96 \begin {gather*} -2 \left (-\log (2-x)+\frac {1}{2} \log \left (3-4 x+x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 20, normalized size = 0.80
method | result | size |
risch | \(2 \ln \left (x -2\right )-\ln \left (x^{2}-4 x +3\right )\) | \(19\) |
default | \(2 \ln \left (x -2\right )-\ln \left (-3+x \right )-\ln \left (x -1\right )\) | \(20\) |
norman | \(2 \ln \left (x -2\right )-\ln \left (-3+x \right )-\ln \left (x -1\right )\) | \(20\) |
parallelrisch | \(2 \ln \left (x -2\right )-\ln \left (-3+x \right )-\ln \left (x -1\right )\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.34, size = 19, normalized size = 0.76 \begin {gather*} -\log \left (x - 1\right ) + 2 \, \log \left (x - 2\right ) - \log \left (x - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.56, size = 18, normalized size = 0.72 \begin {gather*} -\log \left (x^{2} - 4 \, x + 3\right ) + 2 \, \log \left (x - 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 15, normalized size = 0.60 \begin {gather*} 2 \log {\left (x - 2 \right )} - \log {\left (x^{2} - 4 x + 3 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 22, normalized size = 0.88 \begin {gather*} -\log \left ({\left | x - 1 \right |}\right ) + 2 \, \log \left ({\left | x - 2 \right |}\right ) - \log \left ({\left | x - 3 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 18, normalized size = 0.72 \begin {gather*} 2\,\ln \left (x-2\right )-\ln \left (x^2-4\,x+3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Chatgpt [F] Failed to verify
time = 1.00, size = 21, normalized size = 0.84 \begin {gather*} \frac {\ln \left (x -1\right )}{8}-\frac {\ln \left (x -2\right )}{8}+\frac {\arctan \left (2 x -11\right )}{4} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________