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

Optimal. Leaf size=140 \[ \frac {\sqrt {x^2+x} \sqrt {x \left (\sqrt {x^2+x}+x\right )} \left (-3072 x^3-640 x^2+840 x-1575\right )}{10752 x}+\sqrt {x \left (\sqrt {x^2+x}+x\right )} \left (\frac {75 \sqrt {\sqrt {x^2+x}-x} \tanh ^{-1}\left (\sqrt {2} \sqrt {\sqrt {x^2+x}-x}\right )}{512 \sqrt {2} x}+\frac {3072 x^3+3968 x^2-120 x+525}{10752}\right ) \]

________________________________________________________________________________________

Rubi [F]  time = 1.73, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {x^2 \sqrt {x+x^2}}{\sqrt {x^2+x \sqrt {x+x^2}}} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(x^2*Sqrt[x + x^2])/Sqrt[x^2 + x*Sqrt[x + x^2]],x]

[Out]

(2*Sqrt[x + x^2]*Defer[Subst][Defer[Int][(x^6*Sqrt[1 + x^2])/Sqrt[x^4 + x^2*Sqrt[x^2 + x^4]], x], x, Sqrt[x]])
/(Sqrt[x]*Sqrt[1 + x])

Rubi steps

\begin {align*} \int \frac {x^2 \sqrt {x+x^2}}{\sqrt {x^2+x \sqrt {x+x^2}}} \, dx &=\frac {\sqrt {x+x^2} \int \frac {x^{5/2} \sqrt {1+x}}{\sqrt {x^2+x \sqrt {x+x^2}}} \, dx}{\sqrt {x} \sqrt {1+x}}\\ &=\frac {\left (2 \sqrt {x+x^2}\right ) \operatorname {Subst}\left (\int \frac {x^6 \sqrt {1+x^2}}{\sqrt {x^4+x^2 \sqrt {x^2+x^4}}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {1+x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.50, size = 139, normalized size = 0.99 \begin {gather*} \frac {\left (x+\sqrt {x (x+1)}\right )^3 \sqrt {x \left (x+\sqrt {x (x+1)}\right )} \left (x+\sqrt {x (x+1)}+1\right ) \left (28 x \left (32 x^2+\left (32 \sqrt {x (x+1)}+46\right ) x+30 \sqrt {x (x+1)}+11\right )-25 \, _2F_1\left (-\frac {7}{2},2;-\frac {5}{2};1+\frac {1}{2 \left (x+\sqrt {x (x+1)}\right )}\right )\right )}{672 \sqrt {x (x+1)} \left (2 x+2 \sqrt {x (x+1)}+1\right )^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^2*Sqrt[x + x^2])/Sqrt[x^2 + x*Sqrt[x + x^2]],x]

[Out]

((x + Sqrt[x*(1 + x)])^3*Sqrt[x*(x + Sqrt[x*(1 + x)])]*(1 + x + Sqrt[x*(1 + x)])*(28*x*(11 + 32*x^2 + 30*Sqrt[
x*(1 + x)] + x*(46 + 32*Sqrt[x*(1 + x)])) - 25*Hypergeometric2F1[-7/2, 2, -5/2, 1 + 1/(2*(x + Sqrt[x*(1 + x)])
)]))/(672*Sqrt[x*(1 + x)]*(1 + 2*x + 2*Sqrt[x*(1 + x)])^4)

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 4.80, size = 140, normalized size = 1.00 \begin {gather*} \frac {\sqrt {x+x^2} \left (-1575+840 x-640 x^2-3072 x^3\right ) \sqrt {x \left (x+\sqrt {x+x^2}\right )}}{10752 x}+\sqrt {x \left (x+\sqrt {x+x^2}\right )} \left (\frac {525-120 x+3968 x^2+3072 x^3}{10752}+\frac {75 \sqrt {-x+\sqrt {x+x^2}} \tanh ^{-1}\left (\sqrt {2} \sqrt {-x+\sqrt {x+x^2}}\right )}{512 \sqrt {2} x}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(x^2*Sqrt[x + x^2])/Sqrt[x^2 + x*Sqrt[x + x^2]],x]

[Out]

(Sqrt[x + x^2]*(-1575 + 840*x - 640*x^2 - 3072*x^3)*Sqrt[x*(x + Sqrt[x + x^2])])/(10752*x) + Sqrt[x*(x + Sqrt[
x + x^2])]*((525 - 120*x + 3968*x^2 + 3072*x^3)/10752 + (75*Sqrt[-x + Sqrt[x + x^2]]*ArcTanh[Sqrt[2]*Sqrt[-x +
 Sqrt[x + x^2]]])/(512*Sqrt[2]*x))

________________________________________________________________________________________

fricas [A]  time = 0.59, size = 128, normalized size = 0.91 \begin {gather*} \frac {1575 \, \sqrt {2} x \log \left (\frac {4 \, x^{2} + 2 \, \sqrt {x^{2} + \sqrt {x^{2} + x} x} {\left (\sqrt {2} x + \sqrt {2} \sqrt {x^{2} + x}\right )} + 4 \, \sqrt {x^{2} + x} x + x}{x}\right ) + 4 \, {\left (3072 \, x^{4} + 3968 \, x^{3} - 120 \, x^{2} - {\left (3072 \, x^{3} + 640 \, x^{2} - 840 \, x + 1575\right )} \sqrt {x^{2} + x} + 525 \, x\right )} \sqrt {x^{2} + \sqrt {x^{2} + x} x}}{43008 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/43008*(1575*sqrt(2)*x*log((4*x^2 + 2*sqrt(x^2 + sqrt(x^2 + x)*x)*(sqrt(2)*x + sqrt(2)*sqrt(x^2 + x)) + 4*sqr
t(x^2 + x)*x + x)/x) + 4*(3072*x^4 + 3968*x^3 - 120*x^2 - (3072*x^3 + 640*x^2 - 840*x + 1575)*sqrt(x^2 + x) +
525*x)*sqrt(x^2 + sqrt(x^2 + x)*x))/x

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x^{2} + x} x^{2}}{\sqrt {x^{2} + \sqrt {x^{2} + x} x}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(sqrt(x^2 + x)*x^2/sqrt(x^2 + sqrt(x^2 + x)*x), x)

________________________________________________________________________________________

maple [F]  time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{2} \sqrt {x^{2}+x}}{\sqrt {x^{2}+x \sqrt {x^{2}+x}}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x^{2} + x} x^{2}}{\sqrt {x^{2} + \sqrt {x^{2} + x} x}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(sqrt(x^2 + x)*x^2/sqrt(x^2 + sqrt(x^2 + x)*x), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2\,\sqrt {x^2+x}}{\sqrt {x^2+x\,\sqrt {x^2+x}}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2} \sqrt {x \left (x + 1\right )}}{\sqrt {x \left (x + \sqrt {x^{2} + x}\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Integral(x**2*sqrt(x*(x + 1))/sqrt(x*(x + sqrt(x**2 + x))), x)

________________________________________________________________________________________