3.1.54 \(\int x \cos (x^2) \sin (x^2) \, dx\) [54]

Optimal. Leaf size=10 \[ \frac {1}{4} \sin ^2\left (x^2\right ) \]

[Out]

1/4*sin(x^2)^2

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {3522} \begin {gather*} \frac {1}{4} \sin ^2\left (x^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x*Cos[x^2]*Sin[x^2],x]

[Out]

Sin[x^2]^2/4

Rule 3522

Int[Cos[(a_.) + (b_.)*(x_)^(n_.)]*(x_)^(m_.)*Sin[(a_.) + (b_.)*(x_)^(n_.)]^(p_.), x_Symbol] :> Simp[Sin[a + b*
x^n]^(p + 1)/(b*n*(p + 1)), x] /; FreeQ[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rubi steps

\begin {align*} \int x \cos \left (x^2\right ) \sin \left (x^2\right ) \, dx &=\frac {1}{4} \sin ^2\left (x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 10, normalized size = 1.00 \begin {gather*} -\frac {1}{4} \cos ^2\left (x^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x*Cos[x^2]*Sin[x^2],x]

[Out]

-1/4*Cos[x^2]^2

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 9, normalized size = 0.90

method result size
derivativedivides \(-\frac {\left (\cos ^{2}\left (x^{2}\right )\right )}{4}\) \(9\)
default \(-\frac {\left (\cos ^{2}\left (x^{2}\right )\right )}{4}\) \(9\)
risch \(-\frac {\cos \left (2 x^{2}\right )}{8}\) \(9\)
meijerg \(\frac {\sqrt {\pi }\, \left (\frac {1}{\sqrt {\pi }}-\frac {\cos \left (2 x^{2}\right )}{\sqrt {\pi }}\right )}{8}\) \(21\)
norman \(\frac {-\frac {\left (\tan ^{4}\left (\frac {x^{2}}{2}\right )\right )}{2}-\frac {1}{2}}{\left (1+\tan ^{2}\left (\frac {x^{2}}{2}\right )\right )^{2}}\) \(26\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*cos(x^2)*sin(x^2),x,method=_RETURNVERBOSE)

[Out]

-1/4*cos(x^2)^2

________________________________________________________________________________________

Maxima [A]
time = 0.95, size = 8, normalized size = 0.80 \begin {gather*} -\frac {1}{4} \, \cos \left (x^{2}\right )^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*cos(x^2)*sin(x^2),x, algorithm="maxima")

[Out]

-1/4*cos(x^2)^2

________________________________________________________________________________________

Fricas [A]
time = 0.93, size = 8, normalized size = 0.80 \begin {gather*} -\frac {1}{4} \, \cos \left (x^{2}\right )^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*cos(x^2)*sin(x^2),x, algorithm="fricas")

[Out]

-1/4*cos(x^2)^2

________________________________________________________________________________________

Sympy [A]
time = 0.08, size = 8, normalized size = 0.80 \begin {gather*} - \frac {\cos ^{2}{\left (x^{2} \right )}}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*cos(x**2)*sin(x**2),x)

[Out]

-cos(x**2)**2/4

________________________________________________________________________________________

Giac [A]
time = 0.44, size = 8, normalized size = 0.80 \begin {gather*} -\frac {1}{4} \, \cos \left (x^{2}\right )^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*cos(x^2)*sin(x^2),x, algorithm="giac")

[Out]

-1/4*cos(x^2)^2

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 8, normalized size = 0.80 \begin {gather*} \frac {{\sin \left (x^2\right )}^2}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*cos(x^2)*sin(x^2),x)

[Out]

sin(x^2)^2/4

________________________________________________________________________________________