Optimal. Leaf size=22 \[ \frac {3}{2}-\frac {47}{2} \left (2+e^x\right ) x (x-\log (5)+\log (x)) \]
________________________________________________________________________________________
Rubi [B] time = 0.09, antiderivative size = 75, normalized size of antiderivative = 3.41, number of steps used = 16, number of rules used = 5, integrand size = 49, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.102, Rules used = {12, 2196, 2194, 2176, 2554} \begin {gather*} -\frac {47}{2} e^x x^2-47 x^2+47 x-47 x \log (x)-47 x (1-\log (5))+\frac {47}{2} e^x \log (x)-\frac {47}{2} e^x (x+1) \log (x)-\frac {47}{2} e^x \log (5)+\frac {47}{2} e^x (x+1) \log (5) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2176
Rule 2194
Rule 2196
Rule 2554
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \left (-94-188 x+94 \log (5)+e^x \left (-47-94 x-47 x^2+(47+47 x) \log (5)\right )+\left (-94+e^x (-47-47 x)\right ) \log (x)\right ) \, dx\\ &=-47 x^2-47 x (1-\log (5))+\frac {1}{2} \int e^x \left (-47-94 x-47 x^2+(47+47 x) \log (5)\right ) \, dx+\frac {1}{2} \int \left (-94+e^x (-47-47 x)\right ) \log (x) \, dx\\ &=-47 x^2-47 x (1-\log (5))+\frac {47}{2} e^x \log (x)-47 x \log (x)-\frac {47}{2} e^x (1+x) \log (x)-\frac {1}{2} \int 47 \left (-2-e^x\right ) \, dx+\frac {1}{2} \int \left (-47 e^x-94 e^x x-47 e^x x^2+47 e^x (1+x) \log (5)\right ) \, dx\\ &=-47 x^2-47 x (1-\log (5))+\frac {47}{2} e^x \log (x)-47 x \log (x)-\frac {47}{2} e^x (1+x) \log (x)-\frac {47 \int e^x \, dx}{2}-\frac {47}{2} \int \left (-2-e^x\right ) \, dx-\frac {47}{2} \int e^x x^2 \, dx-47 \int e^x x \, dx+\frac {1}{2} (47 \log (5)) \int e^x (1+x) \, dx\\ &=-\frac {47 e^x}{2}+47 x-47 e^x x-47 x^2-\frac {47 e^x x^2}{2}-47 x (1-\log (5))+\frac {47}{2} e^x (1+x) \log (5)+\frac {47}{2} e^x \log (x)-47 x \log (x)-\frac {47}{2} e^x (1+x) \log (x)+\frac {47 \int e^x \, dx}{2}+47 \int e^x \, dx+47 \int e^x x \, dx-\frac {1}{2} (47 \log (5)) \int e^x \, dx\\ &=47 e^x+47 x-47 x^2-\frac {47 e^x x^2}{2}-47 x (1-\log (5))-\frac {47}{2} e^x \log (5)+\frac {47}{2} e^x (1+x) \log (5)+\frac {47}{2} e^x \log (x)-47 x \log (x)-\frac {47}{2} e^x (1+x) \log (x)-47 \int e^x \, dx\\ &=47 x-47 x^2-\frac {47 e^x x^2}{2}-47 x (1-\log (5))-\frac {47}{2} e^x \log (5)+\frac {47}{2} e^x (1+x) \log (5)+\frac {47}{2} e^x \log (x)-47 x \log (x)-\frac {47}{2} e^x (1+x) \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 18, normalized size = 0.82 \begin {gather*} -\frac {47}{2} \left (2+e^x\right ) x \left (x+\log \left (\frac {x}{5}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.54, size = 36, normalized size = 1.64 \begin {gather*} -47 \, x^{2} - \frac {47}{2} \, {\left (x^{2} - x \log \relax (5)\right )} e^{x} + 47 \, x \log \relax (5) - \frac {47}{2} \, {\left (x e^{x} + 2 \, x\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.12, size = 41, normalized size = 1.86 \begin {gather*} -47 \, x^{2} - \frac {47}{2} \, {\left (x^{2} - x \log \relax (5) + 1\right )} e^{x} + 47 \, x \log \relax (5) - \frac {47}{2} \, {\left (x e^{x} + 2 \, x\right )} \log \relax (x) + \frac {47}{2} \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 38, normalized size = 1.73
method | result | size |
default | \(-47 x^{2}-\frac {47 x \,{\mathrm e}^{x} \ln \relax (x )}{2}-47 x \ln \relax (x )-\frac {47 \,{\mathrm e}^{x} x^{2}}{2}+\frac {47 x \,{\mathrm e}^{x} \ln \relax (5)}{2}+47 x \ln \relax (5)\) | \(38\) |
norman | \(-47 x^{2}-\frac {47 x \,{\mathrm e}^{x} \ln \relax (x )}{2}-47 x \ln \relax (x )-\frac {47 \,{\mathrm e}^{x} x^{2}}{2}+\frac {47 x \,{\mathrm e}^{x} \ln \relax (5)}{2}+47 x \ln \relax (5)\) | \(38\) |
risch | \(-47 x^{2}-\frac {47 x \,{\mathrm e}^{x} \ln \relax (x )}{2}-47 x \ln \relax (x )-\frac {47 \,{\mathrm e}^{x} x^{2}}{2}+\frac {47 x \,{\mathrm e}^{x} \ln \relax (5)}{2}+47 x \ln \relax (5)\) | \(38\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.45, size = 41, normalized size = 1.86 \begin {gather*} -47 \, x^{2} - \frac {47}{2} \, {\left (x^{2} - x \log \relax (5) + 1\right )} e^{x} + 47 \, x \log \relax (5) - \frac {47}{2} \, {\left (x e^{x} + 2 \, x\right )} \log \relax (x) + \frac {47}{2} \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.33, size = 13, normalized size = 0.59 \begin {gather*} -\frac {47\,x\,\left (x+\ln \left (\frac {x}{5}\right )\right )\,\left ({\mathrm {e}}^x+2\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.38, size = 41, normalized size = 1.86 \begin {gather*} - 47 x^{2} - 47 x \log {\relax (x )} + 47 x \log {\relax (5 )} + \frac {\left (- 47 x^{2} - 47 x \log {\relax (x )} + 47 x \log {\relax (5 )}\right ) e^{x}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________