\(\int \cos (\frac {1}{2} b^2 \pi x^2) \operatorname {FresnelS}(b x) \, dx\) [99]

Optimal result
Mathematica [F]
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 17, antiderivative size = 80 \[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\frac {\operatorname {FresnelC}(b x) \operatorname {FresnelS}(b x)}{2 b}-\frac {1}{8} i b x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i b^2 \pi x^2\right )+\frac {1}{8} i b x^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right ) \] Output:

1/2*FresnelC(b*x)*FresnelS(b*x)/b-1/8*I*b*x^2*hypergeom([1, 1],[3/2, 2],-1 
/2*I*b^2*Pi*x^2)+1/8*I*b*x^2*hypergeom([1, 1],[3/2, 2],1/2*I*b^2*Pi*x^2)
 

Mathematica [F]

\[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx \] Input:

Integrate[Cos[(b^2*Pi*x^2)/2]*FresnelS[b*x],x]
 

Output:

Integrate[Cos[(b^2*Pi*x^2)/2]*FresnelS[b*x], x]
 

Rubi [A] (verified)

Time = 0.20 (sec) , antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {7000}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \operatorname {FresnelS}(b x) \cos \left (\frac {1}{2} \pi b^2 x^2\right ) \, dx\)

\(\Big \downarrow \) 7000

\(\displaystyle -\frac {1}{8} i b x^2 \, _2F_2\left (1,1;\frac {3}{2},2;-\frac {1}{2} i b^2 \pi x^2\right )+\frac {1}{8} i b x^2 \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )+\frac {\operatorname {FresnelC}(b x) \operatorname {FresnelS}(b x)}{2 b}\)

Input:

Int[Cos[(b^2*Pi*x^2)/2]*FresnelS[b*x],x]
 

Output:

(FresnelC[b*x]*FresnelS[b*x])/(2*b) - (I/8)*b*x^2*HypergeometricPFQ[{1, 1} 
, {3/2, 2}, (-1/2*I)*b^2*Pi*x^2] + (I/8)*b*x^2*HypergeometricPFQ[{1, 1}, { 
3/2, 2}, (I/2)*b^2*Pi*x^2]
 

Defintions of rubi rules used

rule 7000
Int[Cos[(d_.)*(x_)^2]*FresnelS[(b_.)*(x_)], x_Symbol] :> Simp[FresnelC[b*x] 
*(FresnelS[b*x]/(2*b)), x] + (-Simp[(1/8)*I*b*x^2*HypergeometricPFQ[{1, 1}, 
 {3/2, 2}, (-2^(-1))*I*b^2*Pi*x^2], x] + Simp[(1/8)*I*b*x^2*HypergeometricP 
FQ[{1, 1}, {3/2, 2}, (1/2)*I*b^2*Pi*x^2], x]) /; FreeQ[{b, d}, x] && EqQ[d^ 
2, (Pi^2/4)*b^4]
 
Maple [F]

\[\int \cos \left (\frac {b^{2} \pi \,x^{2}}{2}\right ) \operatorname {FresnelS}\left (b x \right )d x\]

Input:

int(cos(1/2*b^2*Pi*x^2)*FresnelS(b*x),x)
 

Output:

int(cos(1/2*b^2*Pi*x^2)*FresnelS(b*x),x)
 

Fricas [F]

\[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\int { \cos \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) \operatorname {S}\left (b x\right ) \,d x } \] Input:

integrate(cos(1/2*b^2*pi*x^2)*fresnel_sin(b*x),x, algorithm="fricas")
 

Output:

integral(cos(1/2*pi*b^2*x^2)*fresnel_sin(b*x), x)
 

Sympy [F]

\[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\int \cos {\left (\frac {\pi b^{2} x^{2}}{2} \right )} S\left (b x\right )\, dx \] Input:

integrate(cos(1/2*b**2*pi*x**2)*fresnels(b*x),x)
 

Output:

Integral(cos(pi*b**2*x**2/2)*fresnels(b*x), x)
 

Maxima [F]

\[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\int { \cos \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) \operatorname {S}\left (b x\right ) \,d x } \] Input:

integrate(cos(1/2*b^2*pi*x^2)*fresnel_sin(b*x),x, algorithm="maxima")
 

Output:

integrate(cos(1/2*pi*b^2*x^2)*fresnel_sin(b*x), x)
 

Giac [F]

\[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\int { \cos \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) \operatorname {S}\left (b x\right ) \,d x } \] Input:

integrate(cos(1/2*b^2*pi*x^2)*fresnel_sin(b*x),x, algorithm="giac")
 

Output:

integrate(cos(1/2*pi*b^2*x^2)*fresnel_sin(b*x), x)
 

Mupad [F(-1)]

Timed out. \[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\int \mathrm {FresnelS}\left (b\,x\right )\,\cos \left (\frac {\Pi \,b^2\,x^2}{2}\right ) \,d x \] Input:

int(FresnelS(b*x)*cos((Pi*b^2*x^2)/2),x)
 

Output:

int(FresnelS(b*x)*cos((Pi*b^2*x^2)/2), x)
 

Reduce [F]

\[ \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) \operatorname {FresnelS}(b x) \, dx=\int \cos \left (\frac {b^{2} \pi \,x^{2}}{2}\right ) \mathrm {FresnelS}\left (b x \right )d x \] Input:

int(cos(1/2*b^2*Pi*x^2)*FresnelS(b*x),x)
 

Output:

int(cos(1/2*b^2*Pi*x^2)*FresnelS(b*x),x)