Optimal. Leaf size=12 \[ -2+e^x-4 x-\log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 11, normalized size of antiderivative = 0.92, number of steps used = 5, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {14, 2194, 43} \begin {gather*} -4 x+e^x-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 43
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (e^x+\frac {-1-4 x}{x}\right ) \, dx\\ &=\int e^x \, dx+\int \frac {-1-4 x}{x} \, dx\\ &=e^x+\int \left (-4-\frac {1}{x}\right ) \, dx\\ &=e^x-4 x-\log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 11, normalized size = 0.92 \begin {gather*} e^x-4 x-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.77, size = 10, normalized size = 0.83 \begin {gather*} -4 \, x + e^{x} - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 10, normalized size = 0.83 \begin {gather*} -4 \, x + e^{x} - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 11, normalized size = 0.92
method | result | size |
default | \(-\ln \relax (x )-4 x +{\mathrm e}^{x}\) | \(11\) |
norman | \(-\ln \relax (x )-4 x +{\mathrm e}^{x}\) | \(11\) |
risch | \(-\ln \relax (x )-4 x +{\mathrm e}^{x}\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 10, normalized size = 0.83 \begin {gather*} -4 \, x + e^{x} - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.51, size = 10, normalized size = 0.83 \begin {gather*} {\mathrm {e}}^x-4\,x-\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 8, normalized size = 0.67 \begin {gather*} - 4 x + e^{x} - \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________