Optimal. Leaf size=30 \[ x-\log (x)+3 \log \left (\frac {e^{-4+x} x}{\left (9+\frac {x}{2}\right ) (25+x)}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 20, normalized size of antiderivative = 0.67, number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {1594, 1628} \begin {gather*} 4 x+2 \log (x)-3 \log (x+18)-3 \log (x+25) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 1628
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {900+1757 x+168 x^2+4 x^3}{x \left (450+43 x+x^2\right )} \, dx\\ &=\int \left (4+\frac {2}{x}-\frac {3}{18+x}-\frac {3}{25+x}\right ) \, dx\\ &=4 x+2 \log (x)-3 \log (18+x)-3 \log (25+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 19, normalized size = 0.63 \begin {gather*} 4 x+2 \log (x)-3 \log \left (450+43 x+x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 19, normalized size = 0.63 \begin {gather*} 4 \, x - 3 \, \log \left (x^{2} + 43 \, x + 450\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 23, normalized size = 0.77 \begin {gather*} 4 \, x - 3 \, \log \left ({\left | x + 25 \right |}\right ) - 3 \, \log \left ({\left | x + 18 \right |}\right ) + 2 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 20, normalized size = 0.67
method | result | size |
risch | \(4 x +2 \ln \relax (x )-3 \ln \left (x^{2}+43 x +450\right )\) | \(20\) |
default | \(4 x +2 \ln \relax (x )-3 \ln \left (18+x \right )-3 \ln \left (x +25\right )\) | \(21\) |
norman | \(4 x +2 \ln \relax (x )-3 \ln \left (18+x \right )-3 \ln \left (x +25\right )\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 20, normalized size = 0.67 \begin {gather*} 4 \, x - 3 \, \log \left (x + 25\right ) - 3 \, \log \left (x + 18\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 19, normalized size = 0.63 \begin {gather*} 4\,x-3\,\ln \left (x^2+43\,x+450\right )+2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 19, normalized size = 0.63 \begin {gather*} 4 x + 2 \log {\relax (x )} - 3 \log {\left (x^{2} + 43 x + 450 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________