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]
________________________________________________________________________________________
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]
[Out]
Rule 3456
Rule 6561
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]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________