Optimal. Leaf size=20 \[ -\frac {x}{5 (5+x)}+\log \left (\frac {2 x^2}{e}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 10, normalized size of antiderivative = 0.50, number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {1594, 27, 893} \begin {gather*} \frac {1}{x+5}+2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 893
Rule 1594
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {50+19 x+2 x^2}{x \left (25+10 x+x^2\right )} \, dx\\ &=\int \frac {50+19 x+2 x^2}{x (5+x)^2} \, dx\\ &=\int \left (\frac {2}{x}-\frac {1}{(5+x)^2}\right ) \, dx\\ &=\frac {1}{5+x}+2 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 10, normalized size = 0.50 \begin {gather*} \frac {1}{5+x}+2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.19, size = 15, normalized size = 0.75 \begin {gather*} \frac {2 \, {\left (x + 5\right )} \log \relax (x) + 1}{x + 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 11, normalized size = 0.55 \begin {gather*} \frac {1}{x + 5} + 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 = 11, normalized size = 0.55
method | result | size |
default | \(\frac {1}{5+x}+2 \ln \relax (x )\) | \(11\) |
norman | \(\frac {1}{5+x}+2 \ln \relax (x )\) | \(11\) |
risch | \(\frac {1}{5+x}+2 \ln \relax (x )\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 10, normalized size = 0.50 \begin {gather*} \frac {1}{x + 5} + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.45, size = 10, normalized size = 0.50 \begin {gather*} 2\,\ln \relax (x)+\frac {1}{x+5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 8, normalized size = 0.40 \begin {gather*} 2 \log {\relax (x )} + \frac {1}{x + 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________