3.66 \(\int \frac {\cos (x)}{x^{3/2}} \, dx\)

Optimal. Leaf size=35 \[ -2 \sqrt {2 \pi } S\left (\sqrt {\frac {2}{\pi }} \sqrt {x}\right )-\frac {2 \cos (x)}{\sqrt {x}} \]

[Out]

-2*FresnelS(2^(1/2)/Pi^(1/2)*x^(1/2))*2^(1/2)*Pi^(1/2)-2*cos(x)/x^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {3297, 3305, 3351} \[ -2 \sqrt {2 \pi } S\left (\sqrt {\frac {2}{\pi }} \sqrt {x}\right )-\frac {2 \cos (x)}{\sqrt {x}} \]

Antiderivative was successfully verified.

[In]

Int[Cos[x]/x^(3/2),x]

[Out]

(-2*Cos[x])/Sqrt[x] - 2*Sqrt[2*Pi]*FresnelS[Sqrt[2/Pi]*Sqrt[x]]

Rule 3297

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Simp[((c + d*x)^(m + 1)*Sin[e + f*x])/(d*(
m + 1)), x] - Dist[f/(d*(m + 1)), Int[(c + d*x)^(m + 1)*Cos[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && LtQ[
m, -1]

Rule 3305

Int[sin[(e_.) + (f_.)*(x_)]/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[Sin[(f*x^2)/d], x], x,
Sqrt[c + d*x]], x] /; FreeQ[{c, d, e, f}, x] && ComplexFreeQ[f] && EqQ[d*e - c*f, 0]

Rule 3351

Int[Sin[(d_.)*((e_.) + (f_.)*(x_))^2], x_Symbol] :> Simp[(Sqrt[Pi/2]*FresnelS[Sqrt[2/Pi]*Rt[d, 2]*(e + f*x)])/
(f*Rt[d, 2]), x] /; FreeQ[{d, e, f}, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [C]  time = 0.04, size = 63, normalized size = 1.80 \[ \frac {-e^{-i x} \left (1+e^{2 i x}\right )+\sqrt {-i x} \Gamma \left (\frac {1}{2},-i x\right )+\sqrt {i x} \Gamma \left (\frac {1}{2},i x\right )}{\sqrt {x}} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[x]/x^(3/2),x]

[Out]

(-((1 + E^((2*I)*x))/E^(I*x)) + Sqrt[(-I)*x]*Gamma[1/2, (-I)*x] + Sqrt[I*x]*Gamma[1/2, I*x])/Sqrt[x]

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 31, normalized size = 0.89 \[ -\frac {2 \, {\left (\sqrt {2} \sqrt {\pi } x \operatorname {S}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {\pi }}\right ) + \sqrt {x} \cos \relax (x)\right )}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-2*(sqrt(2)*sqrt(pi)*x*fresnel_sin(sqrt(2)*sqrt(x)/sqrt(pi)) + sqrt(x)*cos(x))/x

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \relax (x)}{x^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(cos(x)/x^(3/2), x)

________________________________________________________________________________________

maple [A]  time = 0.03, size = 28, normalized size = 0.80 \[ -2 \,\mathrm {S}\left (\frac {\sqrt {2}\, \sqrt {x}}{\sqrt {\pi }}\right ) \sqrt {2}\, \sqrt {\pi }-\frac {2 \cos \relax (x )}{\sqrt {x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-2*FresnelS(2^(1/2)/Pi^(1/2)*x^(1/2))*2^(1/2)*Pi^(1/2)-2*cos(x)/x^(1/2)

________________________________________________________________________________________

maxima [C]  time = 1.40, size = 21, normalized size = 0.60 \[ -\left (\frac {1}{4} i + \frac {1}{4}\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, i \, x\right ) + \left (\frac {1}{4} i - \frac {1}{4}\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, -i \, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(1/4*I + 1/4)*sqrt(2)*gamma(-1/2, I*x) + (1/4*I - 1/4)*sqrt(2)*gamma(-1/2, -I*x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {\cos \relax (x)}{x^{3/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 1.60, size = 61, normalized size = 1.74 \[ \frac {\sqrt {2} \sqrt {\pi } S\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {\pi }}\right ) \Gamma \left (- \frac {1}{4}\right )}{2 \Gamma \left (\frac {3}{4}\right )} + \frac {\cos {\relax (x )} \Gamma \left (- \frac {1}{4}\right )}{2 \sqrt {x} \Gamma \left (\frac {3}{4}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(2)*sqrt(pi)*fresnels(sqrt(2)*sqrt(x)/sqrt(pi))*gamma(-1/4)/(2*gamma(3/4)) + cos(x)*gamma(-1/4)/(2*sqrt(x)
*gamma(3/4))

________________________________________________________________________________________