Optimal. Leaf size=49 \[ -\frac{\text{FresnelC}(b x)}{2 \pi b^2}+\frac{x \cos \left (\frac{1}{2} \pi b^2 x^2\right )}{2 \pi b}+\frac{1}{2} x^2 S(b x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0240392, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {6426, 3385, 3352} \[ -\frac{\text{FresnelC}(b x)}{2 \pi b^2}+\frac{x \cos \left (\frac{1}{2} \pi b^2 x^2\right )}{2 \pi b}+\frac{1}{2} x^2 S(b x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6426
Rule 3385
Rule 3352
Rubi steps
\begin{align*} \int x S(b x) \, dx &=\frac{1}{2} x^2 S(b x)-\frac{1}{2} b \int x^2 \sin \left (\frac{1}{2} b^2 \pi x^2\right ) \, dx\\ &=\frac{x \cos \left (\frac{1}{2} b^2 \pi x^2\right )}{2 b \pi }+\frac{1}{2} x^2 S(b x)-\frac{\int \cos \left (\frac{1}{2} b^2 \pi x^2\right ) \, dx}{2 b \pi }\\ &=\frac{x \cos \left (\frac{1}{2} b^2 \pi x^2\right )}{2 b \pi }-\frac{C(b x)}{2 b^2 \pi }+\frac{1}{2} x^2 S(b x)\\ \end{align*}
Mathematica [A] time = 0.0110994, size = 49, normalized size = 1. \[ -\frac{\text{FresnelC}(b x)}{2 \pi b^2}+\frac{x \cos \left (\frac{1}{2} \pi b^2 x^2\right )}{2 \pi b}+\frac{1}{2} x^2 S(b x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.049, size = 44, normalized size = 0.9 \begin{align*}{\frac{1}{{b}^{2}} \left ({\frac{{b}^{2}{x}^{2}{\it FresnelS} \left ( bx \right ) }{2}}+{\frac{bx}{2\,\pi }\cos \left ({\frac{{b}^{2}\pi \,{x}^{2}}{2}} \right ) }-{\frac{{\it FresnelC} \left ( bx \right ) }{2\,\pi }} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x{\rm fresnels}\left (b x\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x{\rm fresnels}\left (b x\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.524181, size = 53, normalized size = 1.08 \begin{align*} \frac{\pi b^{3} x^{5} \Gamma \left (\frac{3}{4}\right ) \Gamma \left (\frac{5}{4}\right ){{}_{2}F_{3}\left (\begin{matrix} \frac{3}{4}, \frac{5}{4} \\ \frac{3}{2}, \frac{7}{4}, \frac{9}{4} \end{matrix}\middle |{- \frac{\pi ^{2} b^{4} x^{4}}{16}} \right )}}{32 \Gamma \left (\frac{7}{4}\right ) \Gamma \left (\frac{9}{4}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x{\rm fresnels}\left (b x\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]