Optimal. Leaf size=17 \[ 3 x \left (e^x+x\right )^{2/3}+3 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.42, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 4, integrand size = 43, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.093, Rules used = {6874, 2293,
2305, 2294} \begin {gather*} 3 \left (x+e^x\right )^{2/3} x+3 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2293
Rule 2294
Rule 2305
Rule 6874
Rubi steps
\begin {align*} \int \frac {5 x^2+3 \sqrt [3]{e^x+x}+e^x \left (3 x+2 x^2\right )}{x \sqrt [3]{e^x+x}} \, dx &=\int \left (\frac {3}{x}+\frac {3 e^x}{\sqrt [3]{e^x+x}}+\frac {\left (5+2 e^x\right ) x}{\sqrt [3]{e^x+x}}\right ) \, dx\\ &=3 \log (x)+3 \int \frac {e^x}{\sqrt [3]{e^x+x}} \, dx+\int \frac {\left (5+2 e^x\right ) x}{\sqrt [3]{e^x+x}} \, dx\\ &=\frac {9}{2} \left (e^x+x\right )^{2/3}+3 \log (x)-3 \int \frac {1}{\sqrt [3]{e^x+x}} \, dx+\int \left (\frac {5 x}{\sqrt [3]{e^x+x}}+\frac {2 e^x x}{\sqrt [3]{e^x+x}}\right ) \, dx\\ &=\frac {9}{2} \left (e^x+x\right )^{2/3}+3 \log (x)+2 \int \frac {e^x x}{\sqrt [3]{e^x+x}} \, dx-3 \int \frac {1}{\sqrt [3]{e^x+x}} \, dx+5 \int \frac {x}{\sqrt [3]{e^x+x}} \, dx\\ &=-3 \left (e^x+x\right )^{2/3}+3 x \left (e^x+x\right )^{2/3}+3 \log (x)-2 \int \frac {x}{\sqrt [3]{e^x+x}} \, dx-3 \int \frac {1}{\sqrt [3]{e^x+x}} \, dx-3 \int \left (e^x+x\right )^{2/3} \, dx+5 \int \frac {1}{\sqrt [3]{e^x+x}} \, dx+5 \int \left (e^x+x\right )^{2/3} \, dx\\ &=3 x \left (e^x+x\right )^{2/3}+3 \log (x)-2 \int \frac {1}{\sqrt [3]{e^x+x}} \, dx-2 \int \left (e^x+x\right )^{2/3} \, dx-3 \int \frac {1}{\sqrt [3]{e^x+x}} \, dx-3 \int \left (e^x+x\right )^{2/3} \, dx+5 \int \frac {1}{\sqrt [3]{e^x+x}} \, dx+5 \int \left (e^x+x\right )^{2/3} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.59, size = 17, normalized size = 1.00 \begin {gather*} 3 x \left (e^x+x\right )^{2/3}+3 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \frac {5 x^{2}+3 \left ({\mathrm e}^{x}+x \right )^{\frac {1}{3}}+{\mathrm e}^{x} \left (2 x^{2}+3 x \right )}{x \left ({\mathrm e}^{x}+x \right )^{\frac {1}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.01, size = 21, normalized size = 1.24 \begin {gather*} \frac {3 \, {\left (x^{2} + x e^{x}\right )}}{{\left (x + e^{x}\right )}^{\frac {1}{3}}} + 3 \, \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {2 x^{2} e^{x} + 5 x^{2} + 3 x e^{x} + 3 \sqrt [3]{x + e^{x}}}{x \sqrt [3]{x + e^{x}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.27, size = 14, normalized size = 0.82 \begin {gather*} 3\,\ln \left (x\right )+3\,x\,{\left (x+{\mathrm {e}}^x\right )}^{2/3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________