Optimal. Leaf size=14 \[ 1+e^{10-2 x}+x-2 \log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 13, normalized size of antiderivative = 0.93, number of steps used = 5, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {14, 2194, 43} \begin {gather*} x+e^{10-2 x}-2 \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 (-2 e^{10-2 x}+\frac {-2+x}{x}\right ) \, dx\\ &=-\left (2 \int e^{10-2 x} \, dx\right )+\int \frac {-2+x}{x} \, dx\\ &=e^{10-2 x}+\int \left (1-\frac {2}{x}\right ) \, dx\\ &=e^{10-2 x}+x-2 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 13, normalized size = 0.93 \begin {gather*} e^{10-2 x}+x-2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 12, normalized size = 0.86 \begin {gather*} x + e^{\left (-2 \, x + 10\right )} - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.27, size = 12, normalized size = 0.86 \begin {gather*} x + e^{\left (-2 \, x + 10\right )} - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 13, normalized size = 0.93
method | result | size |
risch | \(x +{\mathrm e}^{-2 x +10}-2 \ln \relax (x )\) | \(13\) |
norman | \(x +{\mathrm e}^{-2 x +10}-2 \ln \relax (x )\) | \(15\) |
derivativedivides | \(3 \ln \relax (x )-5+x -5 \ln \left (-x \right )+{\mathrm e}^{-2 x +10}\) | \(22\) |
default | \(3 \ln \relax (x )-5+x -5 \ln \left (-x \right )+{\mathrm e}^{-2 x +10}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.47, size = 12, normalized size = 0.86 \begin {gather*} x + e^{\left (-2 \, x + 10\right )} - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 12, normalized size = 0.86 \begin {gather*} x+{\mathrm {e}}^{10-2\,x}-2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 12, normalized size = 0.86 \begin {gather*} x + e^{10 - 2 x} - 2 \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________