Optimal. Leaf size=18 \[ x^2-\log \left (\frac {x}{5+\frac {187 x}{25}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 14, normalized size of antiderivative = 0.78, number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {1593, 1620} \begin {gather*} x^2-\log (x)+\log (187 x+125) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 1620
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-125+250 x^2+374 x^3}{x (125+187 x)} \, dx\\ &=\int \left (-\frac {1}{x}+2 x+\frac {187}{125+187 x}\right ) \, dx\\ &=x^2-\log (x)+\log (125+187 x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 0.78 \begin {gather*} x^2-\log (x)+\log (125+187 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.39, size = 14, normalized size = 0.78 \begin {gather*} x^{2} + \log \left (187 \, x + 125\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 16, normalized size = 0.89 \begin {gather*} x^{2} + \log \left ({\left | 187 \, x + 125 \right |}\right ) - \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.18, size = 15, normalized size = 0.83
method | result | size |
default | \(x^{2}+\ln \left (187 x +125\right )-\ln \relax (x )\) | \(15\) |
norman | \(x^{2}+\ln \left (187 x +125\right )-\ln \relax (x )\) | \(15\) |
risch | \(x^{2}+\ln \left (187 x +125\right )-\ln \relax (x )\) | \(15\) |
meijerg | \(\ln \left (1+\frac {187 x}{125}\right )-\ln \relax (x )-\ln \left (11\right )-\ln \left (17\right )+3 \ln \relax (5)-\frac {125 x \left (-\frac {561 x}{125}+6\right )}{561}+\frac {250 x}{187}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 14, normalized size = 0.78 \begin {gather*} x^{2} + \log \left (187 \, x + 125\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.26, size = 12, normalized size = 0.67 \begin {gather*} 2\,\mathrm {atanh}\left (\frac {374\,x}{125}+1\right )+x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 12, normalized size = 0.67 \begin {gather*} x^{2} - \log {\relax (x )} + \log {\left (x + \frac {125}{187} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________