3.753 \(\int (-\frac {1}{\sqrt [3]{e^x+x}}+\frac {x}{\sqrt [3]{e^x+x}}-(e^x+x)^{2/3}) \, dx\)

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

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {2273} \[ -\frac {3}{2} \left (x+e^x\right )^{2/3} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(-3*(E^x + x)^(2/3))/2

Rule 2273

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]

Rubi steps

\begin {align*} \int \left (-\frac {1}{\sqrt [3]{e^x+x}}+\frac {x}{\sqrt [3]{e^x+x}}-\left (e^x+x\right )^{2/3}\right ) \, dx &=-\int \frac {1}{\sqrt [3]{e^x+x}} \, dx+\int \frac {x}{\sqrt [3]{e^x+x}} \, dx-\int \left (e^x+x\right )^{2/3} \, dx\\ &=-\frac {3}{2} \left (e^x+x\right )^{2/3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 13, normalized size = 1.00 \[ -\frac {3}{2} \left (x+e^x\right )^{2/3} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(-3*(E^x + x)^(2/3))/2

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int -{\left (x + e^{x}\right )}^{\frac {2}{3}} + \frac {x}{{\left (x + e^{x}\right )}^{\frac {1}{3}}} - \frac {1}{{\left (x + e^{x}\right )}^{\frac {1}{3}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1/(x+exp(x))^(1/3)+x/(x+exp(x))^(1/3)-(x+exp(x))^(2/3),x, algorithm="giac")

[Out]

integrate(-(x + e^x)^(2/3) + x/(x + e^x)^(1/3) - 1/(x + e^x)^(1/3), x)

________________________________________________________________________________________

maple [A]  time = 0.06, size = 9, normalized size = 0.69 \[ -\frac {3 \left (x +{\mathrm e}^{x}\right )^{\frac {2}{3}}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 1.20, size = 8, normalized size = 0.62 \[ -\frac {3}{2} \, {\left (x + e^{x}\right )}^{\frac {2}{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-3/2*(x + e^x)^(2/3)

________________________________________________________________________________________

mupad [B]  time = 3.38, size = 8, normalized size = 0.62 \[ -\frac {3\,{\left (x+{\mathrm {e}}^x\right )}^{2/3}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ - \int \frac {e^{x}}{\sqrt [3]{x + e^{x}}}\, dx - \int \frac {1}{\sqrt [3]{x + e^{x}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-Integral(exp(x)/(x + exp(x))**(1/3), x) - Integral((x + exp(x))**(-1/3), x)

________________________________________________________________________________________