Optimal. Leaf size=25 \[ \left (5-(2-x) \left (-2 (-3+x)+\frac {x}{25}\right )\right ) \log (-1+x) \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 26, normalized size of antiderivative = 1.04, number of steps used = 7, number of rules used = 4, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {6742, 698, 2395, 43} \begin {gather*} \frac {6801 \log (1-x)}{1225}-\frac {(124-49 x)^2 \log (x-1)}{1225} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 698
Rule 2395
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-175+248 x-49 x^2}{25 (-1+x)}-\frac {2}{25} (-124+49 x) \log (-1+x)\right ) \, dx\\ &=\frac {1}{25} \int \frac {-175+248 x-49 x^2}{-1+x} \, dx-\frac {2}{25} \int (-124+49 x) \log (-1+x) \, dx\\ &=-\frac {(124-49 x)^2 \log (-1+x)}{1225}+\frac {\int \frac {(-124+49 x)^2}{-1+x} \, dx}{1225}+\frac {1}{25} \int \left (199+\frac {24}{-1+x}-49 x\right ) \, dx\\ &=\frac {199 x}{25}-\frac {49 x^2}{50}+\frac {24}{25} \log (1-x)-\frac {(124-49 x)^2 \log (-1+x)}{1225}+\frac {\int \left (-9751+\frac {5625}{-1+x}+2401 x\right ) \, dx}{1225}\\ &=\frac {6801 \log (1-x)}{1225}-\frac {(124-49 x)^2 \log (-1+x)}{1225}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 35, normalized size = 1.40 \begin {gather*} \frac {1}{25} \left (73 \log (1-x)-248 \log (-1+x)+248 x \log (-1+x)-49 x^2 \log (-1+x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.84, size = 16, normalized size = 0.64 \begin {gather*} -\frac {1}{25} \, {\left (49 \, x^{2} - 248 \, x + 175\right )} \log \left (x - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 22, normalized size = 0.88 \begin {gather*} -\frac {1}{25} \, {\left (49 \, x^{2} - 248 \, x\right )} \log \left (x - 1\right ) - 7 \, \log \left (x - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.38, size = 22, normalized size = 0.88
method | result | size |
risch | \(\left (-\frac {49}{25} x^{2}+\frac {248}{25} x \right ) \ln \left (x -1\right )-7 \ln \left (x -1\right )\) | \(22\) |
norman | \(-7 \ln \left (x -1\right )+\frac {248 \ln \left (x -1\right ) x}{25}-\frac {49 \ln \left (x -1\right ) x^{2}}{25}\) | \(24\) |
derivativedivides | \(-\frac {49 \ln \left (x -1\right ) \left (x -1\right )^{2}}{25}+6 \left (x -1\right ) \ln \left (x -1\right )+\frac {24 \ln \left (x -1\right )}{25}\) | \(28\) |
default | \(-\frac {49 \ln \left (x -1\right ) \left (x -1\right )^{2}}{25}+6 \left (x -1\right ) \ln \left (x -1\right )+\frac {24 \ln \left (x -1\right )}{25}\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.59, size = 46, normalized size = 1.84 \begin {gather*} -\frac {49}{25} \, {\left (x^{2} + 2 \, x + 2 \, \log \left (x - 1\right )\right )} \log \left (x - 1\right ) + \frac {346}{25} \, {\left (x + \log \left (x - 1\right )\right )} \log \left (x - 1\right ) - \frac {248}{25} \, \log \left (x - 1\right )^{2} - 7 \, \log \left (x - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.51, size = 16, normalized size = 0.64 \begin {gather*} -\frac {\ln \left (x-1\right )\,\left (49\,x^2-248\,x+175\right )}{25} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 22, normalized size = 0.88 \begin {gather*} \left (- \frac {49 x^{2}}{25} + \frac {248 x}{25}\right ) \log {\left (x - 1 \right )} - 7 \log {\left (x - 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________