Optimal. Leaf size=25 \[ -2+\frac {2}{x}+\frac {e^5}{x}+x-\log (3)-\log \left (x^3\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 15, normalized size of antiderivative = 0.60, number of steps
used = 2, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {14}
\begin {gather*} x+\frac {2+e^5}{x}-3 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (1+\frac {-2-e^5}{x^2}-\frac {3}{x}\right ) \, dx\\ &=\frac {2+e^5}{x}+x-3 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 18, normalized size = 0.72 \begin {gather*} -\frac {-2-e^5}{x}+x-3 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.23, size = 18, normalized size = 0.72
method | result | size |
norman | \(\frac {x^{2}+{\mathrm e}^{5}+2}{x}-3 \ln \left (x \right )\) | \(17\) |
default | \(x -\frac {-{\mathrm e}^{5}-2}{x}-3 \ln \left (x \right )\) | \(18\) |
risch | \(x +\frac {{\mathrm e}^{5}}{x}+\frac {2}{x}-3 \ln \left (x \right )\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 14, normalized size = 0.56 \begin {gather*} x + \frac {e^{5} + 2}{x} - 3 \, \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 16, normalized size = 0.64 \begin {gather*} \frac {x^{2} - 3 \, x \log \left (x\right ) + e^{5} + 2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 12, normalized size = 0.48 \begin {gather*} x - 3 \log {\left (x \right )} + \frac {2 + e^{5}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 15, normalized size = 0.60 \begin {gather*} x + \frac {e^{5} + 2}{x} - 3 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 14, normalized size = 0.56 \begin {gather*} x-3\,\ln \left (x\right )+\frac {{\mathrm {e}}^5+2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________