3.964 \(\int \frac {1}{\sqrt {3+\sqrt {-1+2 x}}} \, dx\)

Optimal. Leaf size=37 \[ \frac {2}{3} \left (\sqrt {2 x-1}+3\right )^{3/2}-6 \sqrt {\sqrt {2 x-1}+3} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {247, 190, 43} \[ \frac {2}{3} \left (\sqrt {2 x-1}+3\right )^{3/2}-6 \sqrt {\sqrt {2 x-1}+3} \]

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[3 + Sqrt[-1 + 2*x]],x]

[Out]

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

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 190

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(1/n - 1)*(a + b*x)^p, x], x, x^n], x] /
; FreeQ[{a, b, p}, x] && FractionQ[n] && IntegerQ[1/n]

Rule 247

Int[((a_.) + (b_.)*(v_)^(n_))^(p_), x_Symbol] :> Dist[1/Coefficient[v, x, 1], Subst[Int[(a + b*x^n)^p, x], x,
v], x] /; FreeQ[{a, b, n, p}, x] && LinearQ[v, x] && NeQ[v, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 30, normalized size = 0.81 \[ \frac {2}{3} \left (\sqrt {2 x-1}-6\right ) \sqrt {\sqrt {2 x-1}+3} \]

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[3 + Sqrt[-1 + 2*x]],x]

[Out]

(2*(-6 + Sqrt[-1 + 2*x])*Sqrt[3 + Sqrt[-1 + 2*x]])/3

________________________________________________________________________________________

fricas [A]  time = 0.78, size = 22, normalized size = 0.59 \[ \frac {2}{3} \, \sqrt {\sqrt {2 \, x - 1} + 3} {\left (\sqrt {2 \, x - 1} - 6\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/3*sqrt(sqrt(2*x - 1) + 3)*(sqrt(2*x - 1) - 6)

________________________________________________________________________________________

giac [A]  time = 0.34, size = 27, normalized size = 0.73 \[ \frac {2}{3} \, {\left (\sqrt {2 \, x - 1} + 3\right )}^{\frac {3}{2}} - 6 \, \sqrt {\sqrt {2 \, x - 1} + 3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.00, size = 28, normalized size = 0.76 \[ \frac {2 \left (3+\sqrt {2 x -1}\right )^{\frac {3}{2}}}{3}-6 \sqrt {3+\sqrt {2 x -1}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.43, size = 27, normalized size = 0.73 \[ \frac {2}{3} \, {\left (\sqrt {2 \, x - 1} + 3\right )}^{\frac {3}{2}} - 6 \, \sqrt {\sqrt {2 \, x - 1} + 3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 3.58, size = 24, normalized size = 0.65 \[ \frac {\sqrt {3}\,\left (2\,x-1\right )\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},2;\ 3;\ -\frac {\sqrt {2\,x-1}}{3}\right )}{6} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(3^(1/2)*(2*x - 1)*hypergeom([1/2, 2], 3, -(2*x - 1)^(1/2)/3))/6

________________________________________________________________________________________

sympy [B]  time = 1.16, size = 265, normalized size = 7.16 \[ - \frac {6 \sqrt {6} \left (x - \frac {1}{2}\right )^{\frac {5}{2}} \sqrt {\sqrt {2} \sqrt {x - \frac {1}{2}} + 3}}{3 \sqrt {6} \left (x - \frac {1}{2}\right )^{\frac {5}{2}} + 9 \sqrt {3} \left (x - \frac {1}{2}\right )^{2}} + \frac {36 \sqrt {2} \left (x - \frac {1}{2}\right )^{\frac {5}{2}}}{3 \sqrt {6} \left (x - \frac {1}{2}\right )^{\frac {5}{2}} + 9 \sqrt {3} \left (x - \frac {1}{2}\right )^{2}} + \frac {4 \sqrt {3} \left (x - \frac {1}{2}\right )^{3} \sqrt {\sqrt {2} \sqrt {x - \frac {1}{2}} + 3}}{3 \sqrt {6} \left (x - \frac {1}{2}\right )^{\frac {5}{2}} + 9 \sqrt {3} \left (x - \frac {1}{2}\right )^{2}} - \frac {36 \sqrt {3} \left (x - \frac {1}{2}\right )^{2} \sqrt {\sqrt {2} \sqrt {x - \frac {1}{2}} + 3}}{3 \sqrt {6} \left (x - \frac {1}{2}\right )^{\frac {5}{2}} + 9 \sqrt {3} \left (x - \frac {1}{2}\right )^{2}} + \frac {108 \left (x - \frac {1}{2}\right )^{2}}{3 \sqrt {6} \left (x - \frac {1}{2}\right )^{\frac {5}{2}} + 9 \sqrt {3} \left (x - \frac {1}{2}\right )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-6*sqrt(6)*(x - 1/2)**(5/2)*sqrt(sqrt(2)*sqrt(x - 1/2) + 3)/(3*sqrt(6)*(x - 1/2)**(5/2) + 9*sqrt(3)*(x - 1/2)*
*2) + 36*sqrt(2)*(x - 1/2)**(5/2)/(3*sqrt(6)*(x - 1/2)**(5/2) + 9*sqrt(3)*(x - 1/2)**2) + 4*sqrt(3)*(x - 1/2)*
*3*sqrt(sqrt(2)*sqrt(x - 1/2) + 3)/(3*sqrt(6)*(x - 1/2)**(5/2) + 9*sqrt(3)*(x - 1/2)**2) - 36*sqrt(3)*(x - 1/2
)**2*sqrt(sqrt(2)*sqrt(x - 1/2) + 3)/(3*sqrt(6)*(x - 1/2)**(5/2) + 9*sqrt(3)*(x - 1/2)**2) + 108*(x - 1/2)**2/
(3*sqrt(6)*(x - 1/2)**(5/2) + 9*sqrt(3)*(x - 1/2)**2)

________________________________________________________________________________________