Optimal. Leaf size=9 \[ \frac {-6+e^x}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 13, normalized size of antiderivative = 1.44, number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {14, 2197} \begin {gather*} \frac {e^x}{x}-\frac {6}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2197
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {6}{x^2}+\frac {e^x (-1+x)}{x^2}\right ) \, dx\\ &=-\frac {6}{x}+\int \frac {e^x (-1+x)}{x^2} \, dx\\ &=-\frac {6}{x}+\frac {e^x}{x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 9, normalized size = 1.00 \begin {gather*} \frac {-6+e^x}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.60, size = 8, normalized size = 0.89 \begin {gather*} \frac {e^{x} - 6}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 8, normalized size = 0.89 \begin {gather*} \frac {e^{x} - 6}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 9, normalized size = 1.00
method | result | size |
norman | \(\frac {{\mathrm e}^{x}-6}{x}\) | \(9\) |
default | \(-\frac {6}{x}+\frac {{\mathrm e}^{x}}{x}\) | \(13\) |
risch | \(-\frac {6}{x}+\frac {{\mathrm e}^{x}}{x}\) | \(13\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.41, size = 15, normalized size = 1.67 \begin {gather*} -\frac {6}{x} + {\rm Ei}\relax (x) - \Gamma \left (-1, -x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.07, size = 8, normalized size = 0.89 \begin {gather*} \frac {{\mathrm {e}}^x-6}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 7, normalized size = 0.78 \begin {gather*} \frac {e^{x}}{x} - \frac {6}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________