3.174 \(\int (2 x+\sqrt{2} x^2) \, dx\)

Optimal. Leaf size=16 \[ \frac{\sqrt{2} x^3}{3}+x^2 \]

[Out]

x^2 + (Sqrt[2]*x^3)/3

________________________________________________________________________________________

Rubi [A]  time = 0.0024867, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 0, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \frac{\sqrt{2} x^3}{3}+x^2 \]

Antiderivative was successfully verified.

[In]

Int[2*x + Sqrt[2]*x^2,x]

[Out]

x^2 + (Sqrt[2]*x^3)/3

Rubi steps

\begin{align*} \int \left (2 x+\sqrt{2} x^2\right ) \, dx &=x^2+\frac{\sqrt{2} x^3}{3}\\ \end{align*}

Mathematica [A]  time = 0.0000348, size = 16, normalized size = 1. \[ \frac{\sqrt{2} x^3}{3}+x^2 \]

Antiderivative was successfully verified.

[In]

Integrate[2*x + Sqrt[2]*x^2,x]

[Out]

x^2 + (Sqrt[2]*x^3)/3

________________________________________________________________________________________

Maple [A]  time = 0.001, size = 13, normalized size = 0.8 \begin{align*}{x}^{2}+{\frac{{x}^{3}\sqrt{2}}{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(2*x+x^2*2^(1/2),x)

[Out]

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

________________________________________________________________________________________

Maxima [A]  time = 1.41658, size = 16, normalized size = 1. \begin{align*} \frac{1}{3} \, \sqrt{2} x^{3} + x^{2} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*sqrt(2)*x^3 + x^2

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [A]  time = 0.053283, size = 12, normalized size = 0.75 \begin{align*} \frac{\sqrt{2} x^{3}}{3} + x^{2} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*x+x**2*2**(1/2),x)

[Out]

sqrt(2)*x**3/3 + x**2

________________________________________________________________________________________

Giac [A]  time = 1.09769, size = 16, normalized size = 1. \begin{align*} \frac{1}{3} \, \sqrt{2} x^{3} + x^{2} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*x+x^2*2^(1/2),x, algorithm="giac")

[Out]

1/3*sqrt(2)*x^3 + x^2