Optimal. Leaf size=49 \[ -\frac {\cos \left (\frac {1}{2} b^2 \pi x^2\right ) S(b x)}{b^2 \pi }+\frac {S\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2 \pi } \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6587, 3432}
\begin {gather*} \frac {S\left (\sqrt {2} b x\right )}{2 \sqrt {2} \pi b^2}-\frac {S(b x) \cos \left (\frac {1}{2} \pi b^2 x^2\right )}{\pi b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3432
Rule 6587
Rubi steps
\begin {align*} \int x S(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx &=-\frac {\cos \left (\frac {1}{2} b^2 \pi x^2\right ) S(b x)}{b^2 \pi }+\frac {\int \sin \left (b^2 \pi x^2\right ) \, dx}{2 b \pi }\\ &=-\frac {\cos \left (\frac {1}{2} b^2 \pi x^2\right ) S(b x)}{b^2 \pi }+\frac {S\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2 \pi }\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 44, normalized size = 0.90 \begin {gather*} \frac {-4 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) S(b x)+\sqrt {2} S\left (\sqrt {2} b x\right )}{4 b^2 \pi } \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.43, size = 46, normalized size = 0.94
method | result | size |
default | \(\frac {-\frac {\cos \left (\frac {b^{2} \pi \,x^{2}}{2}\right ) \mathrm {S}\left (b x \right )}{\pi b}+\frac {\mathrm {S}\left (b x \sqrt {2}\right ) \sqrt {2}}{4 b \pi }}{b}\) | \(46\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 47, normalized size = 0.96 \begin {gather*} -\frac {4 \, b \cos \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) \operatorname {S}\left (b x\right ) - \sqrt {2} \sqrt {b^{2}} \operatorname {S}\left (\sqrt {2} \sqrt {b^{2}} x\right )}{4 \, \pi b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \sin {\left (\frac {\pi b^{2} x^{2}}{2} \right )} S\left (b x\right )\, dx \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.02 \begin {gather*} \int x\,\mathrm {FresnelS}\left (b\,x\right )\,\sin \left (\frac {\Pi \,b^2\,x^2}{2}\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________