Optimal. Leaf size=16 \[ 4+x-\frac {45 \log \left (-\frac {1}{3 x}\right )}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 15, normalized size of antiderivative = 0.94, number of steps used = 5, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {14, 2304} \begin {gather*} x-\frac {45 \log \left (-\frac {1}{3 x}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2304
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {45+x^2}{x^2}+\frac {45 \log \left (-\frac {1}{3 x}\right )}{x^2}\right ) \, dx\\ &=45 \int \frac {\log \left (-\frac {1}{3 x}\right )}{x^2} \, dx+\int \frac {45+x^2}{x^2} \, dx\\ &=\frac {45}{x}-\frac {45 \log \left (-\frac {1}{3 x}\right )}{x}+\int \left (1+\frac {45}{x^2}\right ) \, dx\\ &=x-\frac {45 \log \left (-\frac {1}{3 x}\right )}{x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 15, normalized size = 0.94 \begin {gather*} x-\frac {45 \log \left (-\frac {1}{3 x}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.87, size = 16, normalized size = 1.00 \begin {gather*} \frac {x^{2} - 45 \, \log \left (-\frac {1}{3 \, x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 13, normalized size = 0.81 \begin {gather*} x - \frac {45 \, \log \left (-\frac {1}{3 \, x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 14, normalized size = 0.88
method | result | size |
derivativedivides | \(x -\frac {45 \ln \left (-\frac {1}{3 x}\right )}{x}\) | \(14\) |
default | \(x -\frac {45 \ln \left (-\frac {1}{3 x}\right )}{x}\) | \(14\) |
risch | \(x -\frac {45 \ln \left (-\frac {1}{3 x}\right )}{x}\) | \(14\) |
norman | \(\frac {x^{2}-45 \ln \left (-\frac {1}{3 x}\right )}{x}\) | \(17\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 13, normalized size = 0.81 \begin {gather*} x - \frac {45 \, \log \left (-\frac {1}{3 \, x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.25, size = 13, normalized size = 0.81 \begin {gather*} x-\frac {45\,\ln \left (-\frac {1}{3\,x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 12, normalized size = 0.75 \begin {gather*} x - \frac {45 \log {\left (- \frac {1}{3 x} \right )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________