Optimal. Leaf size=82 \[ \frac {1}{2} \sqrt {x} \left (x+\sqrt {x}\right )^{3/2}-\frac {5}{12} \left (x+\sqrt {x}\right )^{3/2}+\frac {5}{32} \left (2 \sqrt {x}+1\right ) \sqrt {x+\sqrt {x}}-\frac {5}{32} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt {x+\sqrt {x}}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.353, Rules used = {2018, 670, 640, 612, 620, 206} \[ \frac {1}{2} \sqrt {x} \left (x+\sqrt {x}\right )^{3/2}-\frac {5}{12} \left (x+\sqrt {x}\right )^{3/2}+\frac {5}{32} \left (2 \sqrt {x}+1\right ) \sqrt {x+\sqrt {x}}-\frac {5}{32} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt {x+\sqrt {x}}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 612
Rule 620
Rule 640
Rule 670
Rule 2018
Rubi steps
\begin {align*} \int \sqrt {x} \sqrt {\sqrt {x}+x} \, dx &=2 \operatorname {Subst}\left (\int x^2 \sqrt {x+x^2} \, dx,x,\sqrt {x}\right )\\ &=\frac {1}{2} \sqrt {x} \left (\sqrt {x}+x\right )^{3/2}-\frac {5}{4} \operatorname {Subst}\left (\int x \sqrt {x+x^2} \, dx,x,\sqrt {x}\right )\\ &=-\frac {5}{12} \left (\sqrt {x}+x\right )^{3/2}+\frac {1}{2} \sqrt {x} \left (\sqrt {x}+x\right )^{3/2}+\frac {5}{8} \operatorname {Subst}\left (\int \sqrt {x+x^2} \, dx,x,\sqrt {x}\right )\\ &=\frac {5}{32} \left (1+2 \sqrt {x}\right ) \sqrt {\sqrt {x}+x}-\frac {5}{12} \left (\sqrt {x}+x\right )^{3/2}+\frac {1}{2} \sqrt {x} \left (\sqrt {x}+x\right )^{3/2}-\frac {5}{64} \operatorname {Subst}\left (\int \frac {1}{\sqrt {x+x^2}} \, dx,x,\sqrt {x}\right )\\ &=\frac {5}{32} \left (1+2 \sqrt {x}\right ) \sqrt {\sqrt {x}+x}-\frac {5}{12} \left (\sqrt {x}+x\right )^{3/2}+\frac {1}{2} \sqrt {x} \left (\sqrt {x}+x\right )^{3/2}-\frac {5}{32} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {\sqrt {x}+x}}\right )\\ &=\frac {5}{32} \left (1+2 \sqrt {x}\right ) \sqrt {\sqrt {x}+x}-\frac {5}{12} \left (\sqrt {x}+x\right )^{3/2}+\frac {1}{2} \sqrt {x} \left (\sqrt {x}+x\right )^{3/2}-\frac {5}{32} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt {\sqrt {x}+x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 58, normalized size = 0.71 \[ \frac {1}{96} \sqrt {x+\sqrt {x}} \left (48 x^{3/2}+8 x-10 \sqrt {x}-\frac {15 \sinh ^{-1}\left (\sqrt [4]{x}\right )}{\sqrt {\sqrt {x}+1} \sqrt [4]{x}}+15\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 2.10, size = 54, normalized size = 0.66 \[ \frac {1}{96} \, {\left (2 \, {\left (24 \, x - 5\right )} \sqrt {x} + 8 \, x + 15\right )} \sqrt {x + \sqrt {x}} + \frac {5}{128} \, \log \left (4 \, \sqrt {x + \sqrt {x}} {\left (2 \, \sqrt {x} + 1\right )} - 8 \, x - 8 \, \sqrt {x} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.44, size = 50, normalized size = 0.61 \[ \frac {1}{96} \, {\left (2 \, {\left (4 \, \sqrt {x} {\left (6 \, \sqrt {x} + 1\right )} - 5\right )} \sqrt {x} + 15\right )} \sqrt {x + \sqrt {x}} + \frac {5}{64} \, \log \left (-2 \, \sqrt {x + \sqrt {x}} + 2 \, \sqrt {x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 54, normalized size = 0.66 \[ -\frac {5 \ln \left (\sqrt {x}+\frac {1}{2}+\sqrt {x +\sqrt {x}}\right )}{64}+\frac {\left (x +\sqrt {x}\right )^{\frac {3}{2}} \sqrt {x}}{2}-\frac {5 \left (x +\sqrt {x}\right )^{\frac {3}{2}}}{12}+\frac {5 \left (2 \sqrt {x}+1\right ) \sqrt {x +\sqrt {x}}}{32} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {x + \sqrt {x}} \sqrt {x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \sqrt {x}\,\sqrt {x+\sqrt {x}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {x} \sqrt {\sqrt {x} + x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________