Optimal. Leaf size=48 \[ \frac {1}{2} b \pi \text {FresnelC}(b x)^2-\frac {\text {FresnelC}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x}+\frac {1}{4} b \text {Si}\left (b^2 \pi x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6600, 6576, 30,
3456} \begin {gather*} -\frac {\text {FresnelC}(b x) \sin \left (\frac {1}{2} \pi b^2 x^2\right )}{x}+\frac {1}{4} b \text {Si}\left (b^2 \pi x^2\right )+\frac {1}{2} \pi b \text {FresnelC}(b x)^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 3456
Rule 6576
Rule 6600
Rubi steps
\begin {align*} \int \frac {C(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x^2} \, dx &=-\frac {C(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x}+\frac {1}{2} b \int \frac {\sin \left (b^2 \pi x^2\right )}{x} \, dx+\left (b^2 \pi \right ) \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) C(b x) \, dx\\ &=-\frac {C(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x}+\frac {1}{4} b \text {Si}\left (b^2 \pi x^2\right )+(b \pi ) \text {Subst}(\int x \, dx,x,C(b x))\\ &=\frac {1}{2} b \pi C(b x)^2-\frac {C(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x}+\frac {1}{4} b \text {Si}\left (b^2 \pi x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 48, normalized size = 1.00 \begin {gather*} \frac {1}{2} b \pi \text {FresnelC}(b x)^2-\frac {\text {FresnelC}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x}+\frac {1}{4} b \text {Si}\left (b^2 \pi x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\FresnelC \left (b x \right ) \sin \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{x^{2}}\, dx\]
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.40, size = 45, normalized size = 0.94 \begin {gather*} \frac {2 \, \pi b x \operatorname {C}\left (b x\right )^{2} + b x \operatorname {Si}\left (\pi b^{2} x^{2}\right ) - 4 \, \operatorname {C}\left (b x\right ) \sin \left (\frac {1}{2} \, \pi b^{2} x^{2}\right )}{4 \, x} \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 \frac {\sin {\left (\frac {\pi b^{2} x^{2}}{2} \right )} C\left (b x\right )}{x^{2}}\, 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 \frac {\mathrm {FresnelC}\left (b\,x\right )\,\sin \left (\frac {\Pi \,b^2\,x^2}{2}\right )}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________