3.187 \(\int x \cos (\frac {1}{2} b^2 \pi x^2) C(b x) \, dx\)

Optimal. Leaf size=48 \[ \frac {C(b x) \sin \left (\frac {1}{2} \pi b^2 x^2\right )}{\pi b^2}-\frac {S\left (\sqrt {2} b x\right )}{2 \sqrt {2} \pi b^2} \]

[Out]

FresnelC(b*x)*sin(1/2*b^2*Pi*x^2)/b^2/Pi-1/4*FresnelS(b*x*2^(1/2))/b^2/Pi*2^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6453, 3351} \[ \frac {\text {FresnelC}(b x) \sin \left (\frac {1}{2} \pi b^2 x^2\right )}{\pi b^2}-\frac {S\left (\sqrt {2} b x\right )}{2 \sqrt {2} \pi b^2} \]

Antiderivative was successfully verified.

[In]

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

[Out]

-FresnelS[Sqrt[2]*b*x]/(2*Sqrt[2]*b^2*Pi) + (FresnelC[b*x]*Sin[(b^2*Pi*x^2)/2])/(b^2*Pi)

Rule 3351

Int[Sin[(d_.)*((e_.) + (f_.)*(x_))^2], x_Symbol] :> Simp[(Sqrt[Pi/2]*FresnelS[Sqrt[2/Pi]*Rt[d, 2]*(e + f*x)])/
(f*Rt[d, 2]), x] /; FreeQ[{d, e, f}, x]

Rule 6453

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

Rubi steps

\begin {align*} \int x \cos \left (\frac {1}{2} b^2 \pi x^2\right ) C(b x) \, dx &=\frac {C(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^2 \pi }-\frac {\int \sin \left (b^2 \pi x^2\right ) \, dx}{2 b \pi }\\ &=-\frac {S\left (\sqrt {2} b x\right )}{2 \sqrt {2} b^2 \pi }+\frac {C(b x) \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{b^2 \pi }\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 44, normalized size = 0.92 \[ -\frac {\sqrt {2} S\left (\sqrt {2} b x\right )-4 C(b x) \sin \left (\frac {1}{2} \pi b^2 x^2\right )}{4 \pi b^2} \]

Antiderivative was successfully verified.

[In]

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

[Out]

-1/4*(Sqrt[2]*FresnelS[Sqrt[2]*b*x] - 4*FresnelC[b*x]*Sin[(b^2*Pi*x^2)/2])/(b^2*Pi)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.02, size = 45, normalized size = 0.94 \[ \frac {\frac {\FresnelC \left (b x \right ) \sin \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{\pi b}-\frac {\mathrm {S}\left (b x \sqrt {2}\right ) \sqrt {2}}{4 b \pi }}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(FresnelC(b*x)*sin(1/2*b^2*Pi*x^2)/Pi/b-1/4*FresnelS(b*x*2^(1/2))/b/Pi*2^(1/2))/b

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________