3.1.10 \(\int \frac {S(b x)}{x^2} \, dx\) [10]

Optimal. Leaf size=27 \[ -\frac {S(b x)}{x}+\frac {1}{2} b \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right ) \]

[Out]

-FresnelS(b*x)/x+1/2*b*Si(1/2*b^2*Pi*x^2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6561, 3456} \begin {gather*} \frac {1}{2} b \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right )-\frac {S(b x)}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[FresnelS[b*x]/x^2,x]

[Out]

-(FresnelS[b*x]/x) + (b*SinIntegral[(b^2*Pi*x^2)/2])/2

Rule 3456

Int[Sin[(d_.)*(x_)^(n_)]/(x_), x_Symbol] :> Simp[SinIntegral[d*x^n]/n, x] /; FreeQ[{d, n}, x]

Rule 6561

Int[FresnelS[(b_.)*(x_)]*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*(FresnelS[b*x]/(d*(m + 1))), x] -
 Dist[b/(d*(m + 1)), Int[(d*x)^(m + 1)*Sin[(Pi/2)*b^2*x^2], x], x] /; FreeQ[{b, d, m}, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {S(b x)}{x^2} \, dx &=-\frac {S(b x)}{x}+b \int \frac {\sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x} \, dx\\ &=-\frac {S(b x)}{x}+\frac {1}{2} b \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 27, normalized size = 1.00 \begin {gather*} -\frac {S(b x)}{x}+\frac {1}{2} b \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[FresnelS[b*x]/x^2,x]

[Out]

-(FresnelS[b*x]/x) + (b*SinIntegral[(b^2*Pi*x^2)/2])/2

________________________________________________________________________________________

Maple [A]
time = 0.32, size = 28, normalized size = 1.04

method result size
derivativedivides \(b \left (-\frac {\mathrm {S}\left (b x \right )}{b x}+\frac {\sinIntegral \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{2}\right )\) \(28\)
default \(b \left (-\frac {\mathrm {S}\left (b x \right )}{b x}+\frac {\sinIntegral \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{2}\right )\) \(28\)
meijerg \(\frac {\pi \,b^{3} x^{2} \hypergeom \left (\left [\frac {1}{2}, \frac {3}{4}\right ], \left [\frac {3}{2}, \frac {3}{2}, \frac {7}{4}\right ], -\frac {x^{4} \pi ^{2} b^{4}}{16}\right )}{12}\) \(29\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(FresnelS(b*x)/x^2,x,method=_RETURNVERBOSE)

[Out]

b*(-FresnelS(b*x)/b/x+1/2*Si(1/2*b^2*Pi*x^2))

________________________________________________________________________________________

Maxima [C] Result contains complex when optimal does not.
time = 0.31, size = 38, normalized size = 1.41 \begin {gather*} -\frac {1}{4} \, b {\left (i \, {\rm Ei}\left (\frac {1}{2} i \, \pi b^{2} x^{2}\right ) - i \, {\rm Ei}\left (-\frac {1}{2} i \, \pi b^{2} x^{2}\right )\right )} - \frac {\operatorname {S}\left (b x\right )}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnel_sin(b*x)/x^2,x, algorithm="maxima")

[Out]

-1/4*b*(I*Ei(1/2*I*pi*b^2*x^2) - I*Ei(-1/2*I*pi*b^2*x^2)) - fresnel_sin(b*x)/x

________________________________________________________________________________________

Fricas [A]
time = 0.35, size = 25, normalized size = 0.93 \begin {gather*} \frac {b x \operatorname {Si}\left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) - 2 \, \operatorname {S}\left (b x\right )}{2 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnel_sin(b*x)/x^2,x, algorithm="fricas")

[Out]

1/2*(b*x*sin_integral(1/2*pi*b^2*x^2) - 2*fresnel_sin(b*x))/x

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 42 vs. \(2 (20) = 40\).
time = 0.31, size = 42, normalized size = 1.56 \begin {gather*} \frac {\pi b^{3} x^{2} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{3}\left (\begin {matrix} \frac {1}{2}, \frac {3}{4} \\ \frac {3}{2}, \frac {3}{2}, \frac {7}{4} \end {matrix}\middle | {- \frac {\pi ^{2} b^{4} x^{4}}{16}} \right )}}{16 \Gamma \left (\frac {7}{4}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnels(b*x)/x**2,x)

[Out]

pi*b**3*x**2*gamma(3/4)*hyper((1/2, 3/4), (3/2, 3/2, 7/4), -pi**2*b**4*x**4/16)/(16*gamma(7/4))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnel_sin(b*x)/x^2,x, algorithm="giac")

[Out]

integrate(fresnel_sin(b*x)/x^2, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {\mathrm {FresnelS}\left (b\,x\right )}{x^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(FresnelS(b*x)/x^2,x)

[Out]

int(FresnelS(b*x)/x^2, x)

________________________________________________________________________________________