Optimal. Leaf size=19 \[ x (2+x-25 x (4+x) \log (-9+x)-\log (x)) \]
________________________________________________________________________________________
Rubi [A] time = 0.25, antiderivative size = 30, normalized size of antiderivative = 1.58, number of steps used = 10, number of rules used = 6, integrand size = 48, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6742, 1850, 43, 2414, 77, 2295} \begin {gather*} -25 x^3 \log (x-9)+x^2-100 x^2 \log (x-9)+2 x-x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 77
Rule 1850
Rule 2295
Rule 2414
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-9-17 x-98 x^2-25 x^3+1800 x \log (-9+x)+475 x^2 \log (-9+x)-75 x^3 \log (-9+x)}{-9+x}-\log (x)\right ) \, dx\\ &=\int \frac {-9-17 x-98 x^2-25 x^3+1800 x \log (-9+x)+475 x^2 \log (-9+x)-75 x^3 \log (-9+x)}{-9+x} \, dx-\int \log (x) \, dx\\ &=x-x \log (x)+\int \left (\frac {-9-17 x-98 x^2-25 x^3}{-9+x}-25 x (8+3 x) \log (-9+x)\right ) \, dx\\ &=x-x \log (x)-25 \int x (8+3 x) \log (-9+x) \, dx+\int \frac {-9-17 x-98 x^2-25 x^3}{-9+x} \, dx\\ &=x-100 x^2 \log (-9+x)-25 x^3 \log (-9+x)-x \log (x)+25 \int \frac {(-4-x) x^2}{9-x} \, dx+\int \left (-2924-\frac {26325}{-9+x}-323 x-25 x^2\right ) \, dx\\ &=-2923 x-\frac {323 x^2}{2}-\frac {25 x^3}{3}-26325 \log (9-x)-100 x^2 \log (-9+x)-25 x^3 \log (-9+x)-x \log (x)+25 \int \left (117+\frac {1053}{-9+x}+13 x+x^2\right ) \, dx\\ &=2 x+x^2-100 x^2 \log (-9+x)-25 x^3 \log (-9+x)-x \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 30, normalized size = 1.58 \begin {gather*} 2 x+x^2-100 x^2 \log (-9+x)-25 x^3 \log (-9+x)-x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 27, normalized size = 1.42 \begin {gather*} x^{2} - 25 \, {\left (x^{3} + 4 \, x^{2}\right )} \log \left (x - 9\right ) - x \log \relax (x) + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 27, normalized size = 1.42 \begin {gather*} x^{2} - 25 \, {\left (x^{3} + 4 \, x^{2}\right )} \log \left (x - 9\right ) - x \log \relax (x) + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.44, size = 29, normalized size = 1.53
method | result | size |
risch | \(\left (-25 x^{3}-100 x^{2}\right ) \ln \left (x -9\right )+x^{2}-x \ln \relax (x )+2 x\) | \(29\) |
default | \(x^{2}+2 x -26325 \ln \left (x -9\right )-25 \ln \left (x -9\right ) \left (x -9\right )^{3}-\frac {91125}{2}-775 \ln \left (x -9\right ) \left (x -9\right )^{2}-7875 \ln \left (x -9\right ) \left (x -9\right )-x \ln \relax (x )\) | \(51\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.48, size = 71, normalized size = 3.74 \begin {gather*} x^{2} - \frac {25}{2} \, {\left (2 \, x^{3} + 27 \, x^{2} + 486 \, x + 4374 \, \log \left (x - 9\right )\right )} \log \left (x - 9\right ) + \frac {475}{2} \, {\left (x^{2} + 18 \, x + 162 \, \log \left (x - 9\right )\right )} \log \left (x - 9\right ) + 1800 \, {\left (x + 9 \, \log \left (x - 9\right )\right )} \log \left (x - 9\right ) - x \log \relax (x) + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.88, size = 29, normalized size = 1.53 \begin {gather*} 2\,x-\ln \left (x-9\right )\,\left (25\,x^3+100\,x^2\right )-x\,\ln \relax (x)+x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.54, size = 37, normalized size = 1.95 \begin {gather*} x^{2} - x \log {\relax (x )} + 2 x + \left (- 25 x^{3} - 100 x^{2} + \frac {29025}{4}\right ) \log {\left (x - 9 \right )} - \frac {29025 \log {\left (x - 9 \right )}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________