Optimal. Leaf size=27 \[ \log \left (\frac {x \left (-2-\frac {16}{3 \left (5+\frac {4}{x}+3 x\right )}\right )}{12 e^5}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, integrand size = 47, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {2074, 628} \begin {gather*} -\log \left (3 x^2+5 x+4\right )+\log \left (9 x^2+23 x+12\right )+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 628
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1}{x}+\frac {-5-6 x}{4+5 x+3 x^2}+\frac {23+18 x}{12+23 x+9 x^2}\right ) \, dx\\ &=\log (x)+\int \frac {-5-6 x}{4+5 x+3 x^2} \, dx+\int \frac {23+18 x}{12+23 x+9 x^2} \, dx\\ &=\log (x)-\log \left (4+5 x+3 x^2\right )+\log \left (12+23 x+9 x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 27, normalized size = 1.00 \begin {gather*} \log (x)-\log \left (4+5 x+3 x^2\right )+\log \left (12+23 x+9 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.50, size = 29, normalized size = 1.07 \begin {gather*} \log \left (9 \, x^{3} + 23 \, x^{2} + 12 \, x\right ) - \log \left (3 \, x^{2} + 5 \, x + 4\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 29, normalized size = 1.07 \begin {gather*} -\log \left (3 \, x^{2} + 5 \, x + 4\right ) + \log \left ({\left | 9 \, x^{2} + 23 \, x + 12 \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.03, size = 28, normalized size = 1.04
method | result | size |
default | \(-\ln \left (3 x^{2}+5 x +4\right )+\ln \relax (x )+\ln \left (9 x^{2}+23 x +12\right )\) | \(28\) |
norman | \(-\ln \left (3 x^{2}+5 x +4\right )+\ln \relax (x )+\ln \left (9 x^{2}+23 x +12\right )\) | \(28\) |
risch | \(-\ln \left (3 x^{2}+5 x +4\right )+\ln \left (9 x^{3}+23 x^{2}+12 x \right )\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.82, size = 27, normalized size = 1.00 \begin {gather*} \log \left (9 \, x^{2} + 23 \, x + 12\right ) - \log \left (3 \, x^{2} + 5 \, x + 4\right ) + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.15, size = 25, normalized size = 0.93 \begin {gather*} \ln \left (x\,\left (9\,x^2+23\,x+12\right )\right )-\ln \left (x^2+\frac {5\,x}{3}+\frac {4}{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 26, normalized size = 0.96 \begin {gather*} - \log {\left (3 x^{2} + 5 x + 4 \right )} + \log {\left (9 x^{3} + 23 x^{2} + 12 x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________