Optimal. Leaf size=20 \[ -2 \log \left (x+x \left (1+\frac {5-x}{5+x}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 17, normalized size of antiderivative = 0.85, number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {1594, 1628} \begin {gather*} -2 \log (x)+2 \log (x+5)-2 \log (x+15) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 1628
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-150-20 x-2 x^2}{x \left (75+20 x+x^2\right )} \, dx\\ &=\int \left (-\frac {2}{x}+\frac {2}{5+x}-\frac {2}{15+x}\right ) \, dx\\ &=-2 \log (x)+2 \log (5+x)-2 \log (15+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 15, normalized size = 0.75 \begin {gather*} -2 (\log (x)-\log (5+x)+\log (15+x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.79, size = 17, normalized size = 0.85 \begin {gather*} -2 \, \log \left (x^{2} + 15 \, x\right ) + 2 \, \log \left (x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 20, normalized size = 1.00 \begin {gather*} -2 \, \log \left ({\left | x + 15 \right |}\right ) + 2 \, \log \left ({\left | x + 5 \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.03, size = 18, normalized size = 0.90
method | result | size |
default | \(-2 \ln \relax (x )-2 \ln \left (x +15\right )+2 \ln \left (5+x \right )\) | \(18\) |
norman | \(-2 \ln \relax (x )-2 \ln \left (x +15\right )+2 \ln \left (5+x \right )\) | \(18\) |
risch | \(2 \ln \left (5+x \right )-2 \ln \left (x^{2}+15 x \right )\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 17, normalized size = 0.85 \begin {gather*} -2 \, \log \left (x + 15\right ) + 2 \, \log \left (x + 5\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 15, normalized size = 0.75 \begin {gather*} 2\,\ln \left (x+5\right )-2\,\ln \left (x\,\left (x+15\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 15, normalized size = 0.75 \begin {gather*} 2 \log {\left (x + 5 \right )} - 2 \log {\left (x^{2} + 15 x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________