Integrand size = 16, antiderivative size = 495 \[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\frac {2 d^2 x}{3 b^2 \pi ^2}-\frac {d (b c-a d) \cos \left (\pi (a+b x)^2\right )}{2 b^3 \pi ^2}-\frac {d^2 (a+b x) \cos \left (\pi (a+b x)^2\right )}{6 b^3 \pi ^2}-\frac {4 d^2 \cos \left (\frac {1}{2} \pi (a+b x)^2\right ) \operatorname {FresnelC}(a+b x)}{3 b^3 \pi ^2}+\frac {(b c-a d)^2 (a+b x) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d (b c-a d) (a+b x)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}+\frac {5 d^2 \operatorname {FresnelC}\left (\sqrt {2} (a+b x)\right )}{6 \sqrt {2} b^3 \pi ^2}+\frac {d (b c-a d) \operatorname {FresnelC}(a+b x) \operatorname {FresnelS}(a+b x)}{b^3 \pi }+\frac {(b c-a d)^2 \operatorname {FresnelS}\left (\sqrt {2} (a+b x)\right )}{\sqrt {2} b^3 \pi }+\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {2 (b c-a d)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d (b c-a d) (a+b x) \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d^2 (a+b x)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 b^3 \pi } \]
[Out]
Time = 0.30 (sec) , antiderivative size = 495, normalized size of antiderivative = 1.00, number of steps used = 18, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.812, Rules used = {6568, 6556, 6588, 3432, 6566, 6590, 6582, 3460, 2718, 6596, 3439, 3433, 3466} \[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\frac {i d (a+b x)^2 (b c-a d) \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i \pi (a+b x)^2\right )}{4 \pi b^3}-\frac {i d (a+b x)^2 (b c-a d) \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i \pi (a+b x)^2\right )}{4 \pi b^3}+\frac {d (b c-a d) \operatorname {FresnelC}(a+b x) \operatorname {FresnelS}(a+b x)}{\pi b^3}+\frac {d (a+b x)^2 (b c-a d) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {(a+b x) (b c-a d)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}-\frac {2 d (a+b x) (b c-a d) \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{\pi b^3}-\frac {2 (b c-a d)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{\pi b^3}+\frac {(b c-a d)^2 \operatorname {FresnelS}\left (\sqrt {2} (a+b x)\right )}{\sqrt {2} \pi b^3}-\frac {d (b c-a d) \cos \left (\pi (a+b x)^2\right )}{2 \pi ^2 b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}+\frac {5 d^2 \operatorname {FresnelC}\left (\sqrt {2} (a+b x)\right )}{6 \sqrt {2} \pi ^2 b^3}-\frac {2 d^2 (a+b x)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 \pi b^3}-\frac {4 d^2 \operatorname {FresnelC}(a+b x) \cos \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 \pi ^2 b^3}-\frac {d^2 (a+b x) \cos \left (\pi (a+b x)^2\right )}{6 \pi ^2 b^3}+\frac {2 d^2 x}{3 \pi ^2 b^2} \]
[In]
[Out]
Rule 2718
Rule 3432
Rule 3433
Rule 3439
Rule 3460
Rule 3466
Rule 6556
Rule 6566
Rule 6568
Rule 6582
Rule 6588
Rule 6590
Rule 6596
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \left (b^2 c^2 \left (1+\frac {a d (-2 b c+a d)}{b^2 c^2}\right ) \operatorname {FresnelC}(x)^2+2 b c d \left (1-\frac {a d}{b c}\right ) x \operatorname {FresnelC}(x)^2+d^2 x^2 \operatorname {FresnelC}(x)^2\right ) \, dx,x,a+b x\right )}{b^3} \\ & = \frac {d^2 \text {Subst}\left (\int x^2 \operatorname {FresnelC}(x)^2 \, dx,x,a+b x\right )}{b^3}+\frac {(2 d (b c-a d)) \text {Subst}\left (\int x \operatorname {FresnelC}(x)^2 \, dx,x,a+b x\right )}{b^3}+\frac {(b c-a d)^2 \text {Subst}\left (\int \operatorname {FresnelC}(x)^2 \, dx,x,a+b x\right )}{b^3} \\ & = \frac {(b c-a d)^2 (a+b x) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d (b c-a d) (a+b x)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}-\frac {\left (2 d^2\right ) \text {Subst}\left (\int x^3 \cos \left (\frac {\pi x^2}{2}\right ) \operatorname {FresnelC}(x) \, dx,x,a+b x\right )}{3 b^3}-\frac {(2 d (b c-a d)) \text {Subst}\left (\int x^2 \cos \left (\frac {\pi x^2}{2}\right ) \operatorname {FresnelC}(x) \, dx,x,a+b x\right )}{b^3}-\frac {\left (2 (b c-a d)^2\right ) \text {Subst}\left (\int x \cos \left (\frac {\pi x^2}{2}\right ) \operatorname {FresnelC}(x) \, dx,x,a+b x\right )}{b^3} \\ & = \frac {(b c-a d)^2 (a+b x) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d (b c-a d) (a+b x)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}-\frac {2 (b c-a d)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d (b c-a d) (a+b x) \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d^2 (a+b x)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 b^3 \pi }+\frac {d^2 \text {Subst}\left (\int x^2 \sin \left (\pi x^2\right ) \, dx,x,a+b x\right )}{3 b^3 \pi }+\frac {\left (4 d^2\right ) \text {Subst}\left (\int x \operatorname {FresnelC}(x) \sin \left (\frac {\pi x^2}{2}\right ) \, dx,x,a+b x\right )}{3 b^3 \pi }+\frac {(d (b c-a d)) \text {Subst}\left (\int x \sin \left (\pi x^2\right ) \, dx,x,a+b x\right )}{b^3 \pi }+\frac {(2 d (b c-a d)) \text {Subst}\left (\int \operatorname {FresnelC}(x) \sin \left (\frac {\pi x^2}{2}\right ) \, dx,x,a+b x\right )}{b^3 \pi }+\frac {(b c-a d)^2 \text {Subst}\left (\int \sin \left (\pi x^2\right ) \, dx,x,a+b x\right )}{b^3 \pi } \\ & = -\frac {d^2 (a+b x) \cos \left (\pi (a+b x)^2\right )}{6 b^3 \pi ^2}-\frac {4 d^2 \cos \left (\frac {1}{2} \pi (a+b x)^2\right ) \operatorname {FresnelC}(a+b x)}{3 b^3 \pi ^2}+\frac {(b c-a d)^2 (a+b x) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d (b c-a d) (a+b x)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}+\frac {d (b c-a d) \operatorname {FresnelC}(a+b x) \operatorname {FresnelS}(a+b x)}{b^3 \pi }+\frac {(b c-a d)^2 \operatorname {FresnelS}\left (\sqrt {2} (a+b x)\right )}{\sqrt {2} b^3 \pi }+\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {2 (b c-a d)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d (b c-a d) (a+b x) \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d^2 (a+b x)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 b^3 \pi }+\frac {d^2 \text {Subst}\left (\int \cos \left (\pi x^2\right ) \, dx,x,a+b x\right )}{6 b^3 \pi ^2}+\frac {\left (4 d^2\right ) \text {Subst}\left (\int \cos ^2\left (\frac {\pi x^2}{2}\right ) \, dx,x,a+b x\right )}{3 b^3 \pi ^2}+\frac {(d (b c-a d)) \text {Subst}\left (\int \sin (\pi x) \, dx,x,(a+b x)^2\right )}{2 b^3 \pi } \\ & = -\frac {d (b c-a d) \cos \left (\pi (a+b x)^2\right )}{2 b^3 \pi ^2}-\frac {d^2 (a+b x) \cos \left (\pi (a+b x)^2\right )}{6 b^3 \pi ^2}-\frac {4 d^2 \cos \left (\frac {1}{2} \pi (a+b x)^2\right ) \operatorname {FresnelC}(a+b x)}{3 b^3 \pi ^2}+\frac {(b c-a d)^2 (a+b x) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d (b c-a d) (a+b x)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}+\frac {d^2 \operatorname {FresnelC}\left (\sqrt {2} (a+b x)\right )}{6 \sqrt {2} b^3 \pi ^2}+\frac {d (b c-a d) \operatorname {FresnelC}(a+b x) \operatorname {FresnelS}(a+b x)}{b^3 \pi }+\frac {(b c-a d)^2 \operatorname {FresnelS}\left (\sqrt {2} (a+b x)\right )}{\sqrt {2} b^3 \pi }+\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {2 (b c-a d)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d (b c-a d) (a+b x) \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d^2 (a+b x)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 b^3 \pi }+\frac {\left (4 d^2\right ) \text {Subst}\left (\int \left (\frac {1}{2}+\frac {1}{2} \cos \left (\pi x^2\right )\right ) \, dx,x,a+b x\right )}{3 b^3 \pi ^2} \\ & = \frac {2 d^2 x}{3 b^2 \pi ^2}-\frac {d (b c-a d) \cos \left (\pi (a+b x)^2\right )}{2 b^3 \pi ^2}-\frac {d^2 (a+b x) \cos \left (\pi (a+b x)^2\right )}{6 b^3 \pi ^2}-\frac {4 d^2 \cos \left (\frac {1}{2} \pi (a+b x)^2\right ) \operatorname {FresnelC}(a+b x)}{3 b^3 \pi ^2}+\frac {(b c-a d)^2 (a+b x) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d (b c-a d) (a+b x)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}+\frac {d^2 \operatorname {FresnelC}\left (\sqrt {2} (a+b x)\right )}{6 \sqrt {2} b^3 \pi ^2}+\frac {d (b c-a d) \operatorname {FresnelC}(a+b x) \operatorname {FresnelS}(a+b x)}{b^3 \pi }+\frac {(b c-a d)^2 \operatorname {FresnelS}\left (\sqrt {2} (a+b x)\right )}{\sqrt {2} b^3 \pi }+\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {2 (b c-a d)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d (b c-a d) (a+b x) \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d^2 (a+b x)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 b^3 \pi }+\frac {\left (2 d^2\right ) \text {Subst}\left (\int \cos \left (\pi x^2\right ) \, dx,x,a+b x\right )}{3 b^3 \pi ^2} \\ & = \frac {2 d^2 x}{3 b^2 \pi ^2}-\frac {d (b c-a d) \cos \left (\pi (a+b x)^2\right )}{2 b^3 \pi ^2}-\frac {d^2 (a+b x) \cos \left (\pi (a+b x)^2\right )}{6 b^3 \pi ^2}-\frac {4 d^2 \cos \left (\frac {1}{2} \pi (a+b x)^2\right ) \operatorname {FresnelC}(a+b x)}{3 b^3 \pi ^2}+\frac {(b c-a d)^2 (a+b x) \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d (b c-a d) (a+b x)^2 \operatorname {FresnelC}(a+b x)^2}{b^3}+\frac {d^2 (a+b x)^3 \operatorname {FresnelC}(a+b x)^2}{3 b^3}+\frac {d^2 \operatorname {FresnelC}\left (\sqrt {2} (a+b x)\right )}{6 \sqrt {2} b^3 \pi ^2}+\frac {\sqrt {2} d^2 \operatorname {FresnelC}\left (\sqrt {2} (a+b x)\right )}{3 b^3 \pi ^2}+\frac {d (b c-a d) \operatorname {FresnelC}(a+b x) \operatorname {FresnelS}(a+b x)}{b^3 \pi }+\frac {(b c-a d)^2 \operatorname {FresnelS}\left (\sqrt {2} (a+b x)\right )}{\sqrt {2} b^3 \pi }+\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {i d (b c-a d) (a+b x)^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i \pi (a+b x)^2\right )}{4 b^3 \pi }-\frac {2 (b c-a d)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d (b c-a d) (a+b x) \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^3 \pi }-\frac {2 d^2 (a+b x)^2 \operatorname {FresnelC}(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{3 b^3 \pi } \\ \end{align*}
\[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx \]
[In]
[Out]
\[\int \left (d x +c \right )^{2} \operatorname {FresnelC}\left (b x +a \right )^{2}d x\]
[In]
[Out]
\[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\int { {\left (d x + c\right )}^{2} \operatorname {C}\left (b x + a\right )^{2} \,d x } \]
[In]
[Out]
\[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\int \left (c + d x\right )^{2} C^{2}\left (a + b x\right )\, dx \]
[In]
[Out]
\[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\int { {\left (d x + c\right )}^{2} \operatorname {C}\left (b x + a\right )^{2} \,d x } \]
[In]
[Out]
\[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\int { {\left (d x + c\right )}^{2} \operatorname {C}\left (b x + a\right )^{2} \,d x } \]
[In]
[Out]
Timed out. \[ \int (c+d x)^2 \operatorname {FresnelC}(a+b x)^2 \, dx=\int {\mathrm {FresnelC}\left (a+b\,x\right )}^2\,{\left (c+d\,x\right )}^2 \,d x \]
[In]
[Out]