3.172 \(\int C(b x) \sin (c+\frac {1}{2} b^2 \pi x^2) \, dx\)

Optimal. Leaf size=101 \[ \frac {1}{8} i b x^2 \cos (c) \, _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 \cos (c) \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )+\frac {\cos (c) C(b x) S(b x)}{2 b}+\frac {\sin (c) C(b x)^2}{2 b} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {6449, 6441, 30, 6447} \[ \frac {1}{8} i b x^2 \cos (c) \, _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 \cos (c) \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )+\frac {\cos (c) \text {FresnelC}(b x) S(b x)}{2 b}+\frac {\sin (c) \text {FresnelC}(b x)^2}{2 b} \]

Antiderivative was successfully verified.

[In]

Int[FresnelC[b*x]*Sin[c + (b^2*Pi*x^2)/2],x]

[Out]

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

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 6441

Int[Cos[(d_.)*(x_)^2]*FresnelC[(b_.)*(x_)]^(n_.), x_Symbol] :> Dist[(Pi*b)/(2*d), Subst[Int[x^n, x], x, Fresne
lC[b*x]], x] /; FreeQ[{b, d, n}, x] && EqQ[d^2, (Pi^2*b^4)/4]

Rule 6447

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

Rule 6449

Int[FresnelC[(b_.)*(x_)]*Sin[(c_) + (d_.)*(x_)^2], x_Symbol] :> Dist[Sin[c], Int[Cos[d*x^2]*FresnelC[b*x], x],
 x] + Dist[Cos[c], Int[Sin[d*x^2]*FresnelC[b*x], x], x] /; FreeQ[{b, c, d}, x] && EqQ[d^2, (Pi^2*b^4)/4]

Rubi steps

\begin {align*} \int C(b x) \sin \left (c+\frac {1}{2} b^2 \pi x^2\right ) \, dx &=\cos (c) \int C(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right ) \, dx+\sin (c) \int \cos \left (\frac {1}{2} b^2 \pi x^2\right ) C(b x) \, dx\\ &=\frac {\cos (c) C(b x) S(b x)}{2 b}+\frac {1}{8} i b x^2 \cos (c) \, _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 \cos (c) \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )+\frac {\sin (c) \operatorname {Subst}(\int x \, dx,x,C(b x))}{b}\\ &=\frac {\cos (c) C(b x) S(b x)}{2 b}+\frac {1}{8} i b x^2 \cos (c) \, _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 \cos (c) \, _2F_2\left (1,1;\frac {3}{2},2;\frac {1}{2} i b^2 \pi x^2\right )+\frac {C(b x)^2 \sin (c)}{2 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]  time = 0.04, size = 0, normalized size = 0.00 \[ \int C(b x) \sin \left (c+\frac {1}{2} b^2 \pi x^2\right ) \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[FresnelC[b*x]*Sin[c + (b^2*Pi*x^2)/2],x]

[Out]

Integrate[FresnelC[b*x]*Sin[c + (b^2*Pi*x^2)/2], x]

________________________________________________________________________________________

fricas [F]  time = 0.54, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\rm fresnelc}\left (b x\right ) \sin \left (\frac {1}{2} \, \pi b^{2} x^{2} + c\right ), x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnelc(b*x)*sin(c+1/2*b^2*pi*x^2),x, algorithm="fricas")

[Out]

integral(fresnelc(b*x)*sin(1/2*pi*b^2*x^2 + c), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\rm fresnelc}\left (b x\right ) \sin \left (\frac {1}{2} \, \pi b^{2} x^{2} + c\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnelc(b*x)*sin(c+1/2*b^2*pi*x^2),x, algorithm="giac")

[Out]

integrate(fresnelc(b*x)*sin(1/2*pi*b^2*x^2 + c), x)

________________________________________________________________________________________

maple [F]  time = 0.03, size = 0, normalized size = 0.00 \[ \int \FresnelC \left (b x \right ) \sin \left (c +\frac {b^{2} \pi \,x^{2}}{2}\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(FresnelC(b*x)*sin(c+1/2*b^2*Pi*x^2),x)

[Out]

int(FresnelC(b*x)*sin(c+1/2*b^2*Pi*x^2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\rm fresnelc}\left (b x\right ) \sin \left (\frac {1}{2} \, \pi b^{2} x^{2} + c\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnelc(b*x)*sin(c+1/2*b^2*pi*x^2),x, algorithm="maxima")

[Out]

integrate(fresnelc(b*x)*sin(1/2*pi*b^2*x^2 + c), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \sin \left (\frac {\Pi \,b^2\,x^2}{2}+c\right )\,\mathrm {FresnelC}\left (b\,x\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(c + (Pi*b^2*x^2)/2)*FresnelC(b*x),x)

[Out]

int(sin(c + (Pi*b^2*x^2)/2)*FresnelC(b*x), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sin {\left (\frac {\pi b^{2} x^{2}}{2} + c \right )} C\left (b x\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(fresnelc(b*x)*sin(c+1/2*b**2*pi*x**2),x)

[Out]

Integral(sin(pi*b**2*x**2/2 + c)*fresnelc(b*x), x)

________________________________________________________________________________________