Optimal. Leaf size=12 \[ 2 x \sqrt {e^x+x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {6874, 2305,
2294} \begin {gather*} 2 x \sqrt {x+e^x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2294
Rule 2305
Rule 6874
Rubi steps
\begin {align*} \int \left (\frac {\left (1+e^x\right ) x}{\sqrt {e^x+x}}+2 \sqrt {e^x+x}\right ) \, dx &=2 \int \sqrt {e^x+x} \, dx+\int \frac {\left (1+e^x\right ) x}{\sqrt {e^x+x}} \, dx\\ &=2 \int \sqrt {e^x+x} \, dx+\int \left (\frac {x}{\sqrt {e^x+x}}+\frac {e^x x}{\sqrt {e^x+x}}\right ) \, dx\\ &=2 \int \sqrt {e^x+x} \, dx+\int \frac {x}{\sqrt {e^x+x}} \, dx+\int \frac {e^x x}{\sqrt {e^x+x}} \, dx\\ &=-2 \sqrt {e^x+x}+2 x \sqrt {e^x+x}+\int \frac {1}{\sqrt {e^x+x}} \, dx-\int \frac {x}{\sqrt {e^x+x}} \, dx+\int \sqrt {e^x+x} \, dx\\ &=2 x \sqrt {e^x+x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 12, normalized size = 1.00 \begin {gather*} 2 x \sqrt {e^x+x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 10, normalized size = 0.83
method | result | size |
risch | \(2 x \sqrt {{\mathrm e}^{x}+x}\) | \(10\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 16, normalized size = 1.33 \begin {gather*} \frac {2 \, {\left (x^{2} + x e^{x}\right )}}{\sqrt {x + e^{x}}} \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 {x e^{x} + 3 x + 2 e^{x}}{\sqrt {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 = 3.63, size = 9, normalized size = 0.75 \begin {gather*} 2\,x\,\sqrt {x+{\mathrm {e}}^x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________