3.11 \(\int \frac{\sin (x)}{\sqrt{\cos ^3(x)}} \, dx\)

Optimal. Leaf size=12 \[ \frac{2 \cos (x)}{\sqrt{\cos ^3(x)}} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.027797, antiderivative size = 12, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {3207, 2565, 30} \[ \frac{2 \cos (x)}{\sqrt{\cos ^3(x)}} \]

Antiderivative was successfully verified.

[In]

Int[Sin[x]/Sqrt[Cos[x]^3],x]

[Out]

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

Rule 3207

Int[(u_.)*((b_.)*sin[(e_.) + (f_.)*(x_)]^(n_))^(p_), x_Symbol] :> With[{ff = FreeFactors[Sin[e + f*x], x]}, Di
st[((b*ff^n)^IntPart[p]*(b*Sin[e + f*x]^n)^FracPart[p])/(Sin[e + f*x]/ff)^(n*FracPart[p]), Int[ActivateTrig[u]
*(Sin[e + f*x]/ff)^(n*p), x], x]] /; FreeQ[{b, e, f, n, p}, x] &&  !IntegerQ[p] && IntegerQ[n] && (EqQ[u, 1] |
| MatchQ[u, ((d_.)*(trig_)[e + f*x])^(m_.) /; FreeQ[{d, m}, x] && MemberQ[{sin, cos, tan, cot, sec, csc}, trig
]])

Rule 2565

Int[(cos[(e_.) + (f_.)*(x_)]*(a_.))^(m_.)*sin[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(a*f)^(-1), Subst[
Int[x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Cos[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2]
 &&  !(IntegerQ[(m - 1)/2] && GtQ[m, 0] && LeQ[m, n])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

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

Mathematica [A]  time = 0.0129631, size = 12, normalized size = 1. \[ \frac{2 \cos (x)}{\sqrt{\cos ^3(x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[x]/Sqrt[Cos[x]^3],x]

[Out]

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

________________________________________________________________________________________

Maple [A]  time = 0.046, size = 11, normalized size = 0.9 \begin{align*} 2\,{\frac{\cos \left ( x \right ) }{\sqrt{ \left ( \cos \left ( x \right ) \right ) ^{3}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(x)/(cos(x)^3)^(1/2),x)

[Out]

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

________________________________________________________________________________________

Maxima [A]  time = 0.930996, size = 14, normalized size = 1.17 \begin{align*} \frac{2 \, \cos \left (x\right )}{\sqrt{\cos \left (x\right )^{3}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)/(cos(x)^3)^(1/2),x, algorithm="maxima")

[Out]

2*cos(x)/sqrt(cos(x)^3)

________________________________________________________________________________________

Fricas [A]  time = 0.456553, size = 36, normalized size = 3. \begin{align*} \frac{2 \, \sqrt{\cos \left (x\right )^{3}}}{\cos \left (x\right )^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)/(cos(x)^3)^(1/2),x, algorithm="fricas")

[Out]

2*sqrt(cos(x)^3)/cos(x)^2

________________________________________________________________________________________

Sympy [A]  time = 0.615896, size = 12, normalized size = 1. \begin{align*} \frac{2 \cos{\left (x \right )}}{\sqrt{\cos ^{3}{\left (x \right )}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)/(cos(x)**3)**(1/2),x)

[Out]

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

________________________________________________________________________________________

Giac [A]  time = 1.09372, size = 8, normalized size = 0.67 \begin{align*} \frac{2}{\sqrt{\cos \left (x\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(x)/(cos(x)^3)^(1/2),x, algorithm="giac")

[Out]

2/sqrt(cos(x))