Integrand size = 20, antiderivative size = 248 \[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=-\frac {5 x^4}{8 b^3 \pi ^2}+\frac {11 \cos \left (b^2 \pi x^2\right )}{2 b^7 \pi ^4}-\frac {x^4 \cos \left (b^2 \pi x^2\right )}{4 b^3 \pi ^2}+\frac {15 x \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^6 \pi ^3}-\frac {x^5 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^2 \pi }-\frac {15 \operatorname {FresnelC}(b x) \operatorname {FresnelS}(b x)}{2 b^7 \pi ^3}+\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}-\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}+\frac {5 x^3 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^4 \pi ^2}+\frac {7 x^2 \sin \left (b^2 \pi x^2\right )}{4 b^5 \pi ^3} \]
[Out]
Time = 0.19 (sec) , antiderivative size = 248, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {6589, 6597, 3460, 3390, 30, 3377, 2718, 6581} \[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i b^2 \pi x^2\right )}{8 \pi ^3 b^5}-\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )}{8 \pi ^3 b^5}-\frac {15 \operatorname {FresnelC}(b x) \operatorname {FresnelS}(b x)}{2 \pi ^3 b^7}-\frac {5 x^4}{8 \pi ^2 b^3}-\frac {x^5 \operatorname {FresnelS}(b x) \cos \left (\frac {1}{2} \pi b^2 x^2\right )}{\pi b^2}+\frac {11 \cos \left (\pi b^2 x^2\right )}{2 \pi ^4 b^7}+\frac {15 x \operatorname {FresnelS}(b x) \cos \left (\frac {1}{2} \pi b^2 x^2\right )}{\pi ^3 b^6}+\frac {7 x^2 \sin \left (\pi b^2 x^2\right )}{4 \pi ^3 b^5}+\frac {5 x^3 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} \pi b^2 x^2\right )}{\pi ^2 b^4}-\frac {x^4 \cos \left (\pi b^2 x^2\right )}{4 \pi ^2 b^3} \]
[In]
[Out]
Rule 30
Rule 2718
Rule 3377
Rule 3390
Rule 3460
Rule 6581
Rule 6589
Rule 6597
Rubi steps \begin{align*} \text {integral}& = -\frac {x^5 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^2 \pi }+\frac {5 \int x^4 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx}{b^2 \pi }+\frac {\int x^5 \sin \left (b^2 \pi x^2\right ) \, dx}{2 b \pi } \\ & = -\frac {x^5 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^2 \pi }+\frac {5 x^3 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^4 \pi ^2}-\frac {15 \int x^2 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx}{b^4 \pi ^2}-\frac {5 \int x^3 \sin ^2\left (\frac {1}{2} b^2 \pi x^2\right ) \, dx}{b^3 \pi ^2}+\frac {\text {Subst}\left (\int x^2 \sin \left (b^2 \pi x\right ) \, dx,x,x^2\right )}{4 b \pi } \\ & = -\frac {x^4 \cos \left (b^2 \pi x^2\right )}{4 b^3 \pi ^2}+\frac {15 x \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^6 \pi ^3}-\frac {x^5 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^2 \pi }+\frac {5 x^3 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^4 \pi ^2}-\frac {15 \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx}{b^6 \pi ^3}-\frac {15 \int x \sin \left (b^2 \pi x^2\right ) \, dx}{2 b^5 \pi ^3}+\frac {\text {Subst}\left (\int x \cos \left (b^2 \pi x\right ) \, dx,x,x^2\right )}{2 b^3 \pi ^2}-\frac {5 \text {Subst}\left (\int x \sin ^2\left (\frac {1}{2} b^2 \pi x\right ) \, dx,x,x^2\right )}{2 b^3 \pi ^2} \\ & = -\frac {x^4 \cos \left (b^2 \pi x^2\right )}{4 b^3 \pi ^2}+\frac {15 x \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^6 \pi ^3}-\frac {x^5 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^2 \pi }-\frac {15 \operatorname {FresnelC}(b x) \operatorname {FresnelS}(b x)}{2 b^7 \pi ^3}+\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}-\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}+\frac {5 x^3 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^4 \pi ^2}+\frac {x^2 \sin \left (b^2 \pi x^2\right )}{2 b^5 \pi ^3}-\frac {\text {Subst}\left (\int \sin \left (b^2 \pi x\right ) \, dx,x,x^2\right )}{2 b^5 \pi ^3}-\frac {15 \text {Subst}\left (\int \sin \left (b^2 \pi x\right ) \, dx,x,x^2\right )}{4 b^5 \pi ^3}-\frac {5 \text {Subst}\left (\int x \, dx,x,x^2\right )}{4 b^3 \pi ^2}+\frac {5 \text {Subst}\left (\int x \cos \left (b^2 \pi x\right ) \, dx,x,x^2\right )}{4 b^3 \pi ^2} \\ & = -\frac {5 x^4}{8 b^3 \pi ^2}+\frac {17 \cos \left (b^2 \pi x^2\right )}{4 b^7 \pi ^4}-\frac {x^4 \cos \left (b^2 \pi x^2\right )}{4 b^3 \pi ^2}+\frac {15 x \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^6 \pi ^3}-\frac {x^5 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^2 \pi }-\frac {15 \operatorname {FresnelC}(b x) \operatorname {FresnelS}(b x)}{2 b^7 \pi ^3}+\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}-\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}+\frac {5 x^3 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^4 \pi ^2}+\frac {7 x^2 \sin \left (b^2 \pi x^2\right )}{4 b^5 \pi ^3}-\frac {5 \text {Subst}\left (\int \sin \left (b^2 \pi x\right ) \, dx,x,x^2\right )}{4 b^5 \pi ^3} \\ & = -\frac {5 x^4}{8 b^3 \pi ^2}+\frac {11 \cos \left (b^2 \pi x^2\right )}{2 b^7 \pi ^4}-\frac {x^4 \cos \left (b^2 \pi x^2\right )}{4 b^3 \pi ^2}+\frac {15 x \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^6 \pi ^3}-\frac {x^5 \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x)}{b^2 \pi }-\frac {15 \operatorname {FresnelC}(b x) \operatorname {FresnelS}(b x)}{2 b^7 \pi ^3}+\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}-\frac {15 i x^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )}{8 b^5 \pi ^3}+\frac {5 x^3 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^4 \pi ^2}+\frac {7 x^2 \sin \left (b^2 \pi x^2\right )}{4 b^5 \pi ^3} \\ \end{align*}
\[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=\int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx \]
[In]
[Out]
\[\int x^{6} \operatorname {FresnelS}\left (b x \right ) \sin \left (\frac {b^{2} \pi \,x^{2}}{2}\right )d x\]
[In]
[Out]
\[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=\int { x^{6} \operatorname {S}\left (b x\right ) \sin \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) \,d x } \]
[In]
[Out]
\[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=\int x^{6} \sin {\left (\frac {\pi b^{2} x^{2}}{2} \right )} S\left (b x\right )\, dx \]
[In]
[Out]
\[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=\int { x^{6} \operatorname {S}\left (b x\right ) \sin \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) \,d x } \]
[In]
[Out]
\[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=\int { x^{6} \operatorname {S}\left (b x\right ) \sin \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int x^6 \operatorname {FresnelS}(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx=\int x^6\,\mathrm {FresnelS}\left (b\,x\right )\,\sin \left (\frac {\Pi \,b^2\,x^2}{2}\right ) \,d x \]
[In]
[Out]