3.1.10 \(\int \frac {5 x^2+3 \sqrt [3]{e^x+x}+e^x (3 x+2 x^2)}{x \sqrt [3]{e^x+x}} \, dx\) [10]

Optimal. Leaf size=17 \[ 3 x \left (e^x+x\right )^{2/3}+3 \log (x) \]

[Out]

3*x*(exp(x)+x)^(2/3)+3*ln(x)

________________________________________________________________________________________

Rubi [A]
time = 0.39, 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]

Int[(5*x^2 + 3*(E^x + x)^(1/3) + E^x*(3*x + 2*x^2))/(x*(E^x + x)^(1/3)),x]

[Out]

3*x*(E^x + x)^(2/3) + 3*Log[x]

Rule 2293

Int[(F_)^((e_.)*((c_.) + (d_.)*(x_)))*((b_.)*(F_)^((e_.)*((c_.) + (d_.)*(x_))) + (a_.)*(x_)^(n_.))^(p_.), x_Sy
mbol] :> Simp[(a*x^n + b*F^(e*(c + d*x)))^(p + 1)/(b*d*e*(p + 1)*Log[F]), x] - Dist[a*(n/(b*d*e*Log[F])), Int[
x^(n - 1)*(a*x^n + b*F^(e*(c + d*x)))^p, x], x] /; FreeQ[{F, a, b, c, d, e, n, p}, x] && NeQ[p, -1]

Rule 2294

Int[(F_)^((e_.)*((c_.) + (d_.)*(x_)))*(x_)^(m_.)*((b_.)*(F_)^((e_.)*((c_.) + (d_.)*(x_))) + (a_.)*(x_)^(n_.))^
(p_.), x_Symbol] :> Simp[x^m*((a*x^n + b*F^(e*(c + d*x)))^(p + 1)/(b*d*e*(p + 1)*Log[F])), x] + (-Dist[m/(b*d*
e*(p + 1)*Log[F]), Int[x^(m - 1)*(a*x^n + b*F^(e*(c + d*x)))^(p + 1), x], x] - Dist[a*(n/(b*d*e*Log[F])), Int[
x^(m + n - 1)*(a*x^n + b*F^(e*(c + d*x)))^p, x], x]) /; FreeQ[{F, a, b, c, d, e, m, n, p}, x] && NeQ[p, -1]

Rule 2305

Int[(x_)^(m_.)*(E^(x_) + (x_)^(m_.))^(n_), x_Symbol] :> Simp[-(E^x + x^m)^(n + 1)/(n + 1), x] + (Dist[m, Int[x
^(m - 1)*(E^x + x^m)^n, x], x] + Int[(E^x + x^m)^(n + 1), x]) /; RationalQ[m, n] && GtQ[m, 0] && LtQ[n, 0] &&
NeQ[n, -1]

Rule 6874

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

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.55, 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]

Integrate[(5*x^2 + 3*(E^x + x)^(1/3) + E^x*(3*x + 2*x^2))/(x*(E^x + x)^(1/3)),x]

[Out]

3*x*(E^x + x)^(2/3) + 3*Log[x]

________________________________________________________________________________________

Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {cought exception: maximum recursion depth exceeded} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[(3*(x + E^x)^(1/3) + (2*x^2 + 3*x)*E^x + 5*x^2)/(x*(x + E^x)^(1/3)),x]')

[Out]

cought exception: maximum recursion depth exceeded

________________________________________________________________________________________

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]

int((5*x^2+3*(exp(x)+x)^(1/3)+exp(x)*(2*x^2+3*x))/x/(exp(x)+x)^(1/3),x)

[Out]

int((5*x^2+3*(exp(x)+x)^(1/3)+exp(x)*(2*x^2+3*x))/x/(exp(x)+x)^(1/3),x)

________________________________________________________________________________________

Maxima [A]
time = 0.28, 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]

integrate((5*x^2+3*(exp(x)+x)^(1/3)+exp(x)*(2*x^2+3*x))/x/(exp(x)+x)^(1/3),x, algorithm="maxima")

[Out]

3*(x^2 + x*e^x)/(x + e^x)^(1/3) + 3*log(x)

________________________________________________________________________________________

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]

integrate((5*x^2+3*(exp(x)+x)^(1/3)+exp(x)*(2*x^2+3*x))/x/(exp(x)+x)^(1/3),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

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]

integrate((5*x**2+3*(exp(x)+x)**(1/3)+exp(x)*(2*x**2+3*x))/x/(exp(x)+x)**(1/3),x)

[Out]

Integral((2*x**2*exp(x) + 5*x**2 + 3*x*exp(x) + 3*(x + exp(x))**(1/3))/(x*(x + exp(x))**(1/3)), x)

________________________________________________________________________________________

Giac [F] N/A
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]

integrate((5*x^2+3*(exp(x)+x)^(1/3)+exp(x)*(2*x^2+3*x))/x/(exp(x)+x)^(1/3),x)

[Out]

Could not integrate

________________________________________________________________________________________

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]

int((3*(x + exp(x))^(1/3) + exp(x)*(3*x + 2*x^2) + 5*x^2)/(x*(x + exp(x))^(1/3)),x)

[Out]

3*log(x) + 3*x*(x + exp(x))^(2/3)

________________________________________________________________________________________