3.1.32 \(\int x^{3 a} \sin (x^{2 a}) \, dx\) [32]

Optimal. Leaf size=115 \[ \frac {i x^{1+3 a} \left (-i x^{2 a}\right )^{-\frac {1+3 a}{2 a}} \Gamma \left (\frac {1}{2} \left (3+\frac {1}{a}\right ),-i x^{2 a}\right )}{4 a}-\frac {i x^{1+3 a} \left (i x^{2 a}\right )^{-\frac {1+3 a}{2 a}} \Gamma \left (\frac {1}{2} \left (3+\frac {1}{a}\right ),i x^{2 a}\right )}{4 a} \]

[Out]

1/4*I*x^(1+3*a)*GAMMA(3/2+1/2/a,-I*x^(2*a))/a/((-I*x^(2*a))^(1/2*(1+3*a)/a))-1/4*I*x^(1+3*a)*GAMMA(3/2+1/2/a,I
*x^(2*a))/a/((I*x^(2*a))^(1/2*(1+3*a)/a))

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3504, 2250} \begin {gather*} \frac {i x^{3 a+1} \left (-i x^{2 a}\right )^{-\frac {3 a+1}{2 a}} \Gamma \left (\frac {1}{2} \left (3+\frac {1}{a}\right ),-i x^{2 a}\right )}{4 a}-\frac {i x^{3 a+1} \left (i x^{2 a}\right )^{-\frac {3 a+1}{2 a}} \Gamma \left (\frac {1}{2} \left (3+\frac {1}{a}\right ),i x^{2 a}\right )}{4 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^(3*a)*Sin[x^(2*a)],x]

[Out]

((I/4)*x^(1 + 3*a)*Gamma[(3 + a^(-1))/2, (-I)*x^(2*a)])/(a*((-I)*x^(2*a))^((1 + 3*a)/(2*a))) - ((I/4)*x^(1 + 3
*a)*Gamma[(3 + a^(-1))/2, I*x^(2*a)])/(a*(I*x^(2*a))^((1 + 3*a)/(2*a)))

Rule 2250

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Simp[(-F^a)*((e +
f*x)^(m + 1)/(f*n*((-b)*(c + d*x)^n*Log[F])^((m + 1)/n)))*Gamma[(m + 1)/n, (-b)*(c + d*x)^n*Log[F]], x] /; Fre
eQ[{F, a, b, c, d, e, f, m, n}, x] && EqQ[d*e - c*f, 0]

Rule 3504

Int[((e_.)*(x_))^(m_.)*Sin[(c_.) + (d_.)*(x_)^(n_)], x_Symbol] :> Dist[I/2, Int[(e*x)^m*E^((-c)*I - d*I*x^n),
x], x] - Dist[I/2, Int[(e*x)^m*E^(c*I + d*I*x^n), x], x] /; FreeQ[{c, d, e, m, n}, x]

Rubi steps

\begin {align*} \int x^{3 a} \sin \left (x^{2 a}\right ) \, dx &=\frac {1}{2} i \int e^{-i x^{2 a}} x^{3 a} \, dx-\frac {1}{2} i \int e^{i x^{2 a}} x^{3 a} \, dx\\ &=\frac {i x^{1+3 a} \left (-i x^{2 a}\right )^{-\frac {1+3 a}{2 a}} \Gamma \left (\frac {1}{2} \left (3+\frac {1}{a}\right ),-i x^{2 a}\right )}{4 a}-\frac {i x^{1+3 a} \left (i x^{2 a}\right )^{-\frac {1+3 a}{2 a}} \Gamma \left (\frac {1}{2} \left (3+\frac {1}{a}\right ),i x^{2 a}\right )}{4 a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.20, size = 142, normalized size = 1.23 \begin {gather*} -\frac {x^{1+a} \left (x^{4 a}\right )^{-\frac {1+a}{2 a}} \left (4 a \left (x^{4 a}\right )^{\frac {1+a}{2 a}} \cos \left (x^{2 a}\right )+(1+a) \left (i x^{2 a}\right )^{\frac {1+a}{2 a}} \Gamma \left (\frac {1+a}{2 a},-i x^{2 a}\right )+(1+a) \left (-i x^{2 a}\right )^{\frac {1+a}{2 a}} \Gamma \left (\frac {1+a}{2 a},i x^{2 a}\right )\right )}{8 a^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^(3*a)*Sin[x^(2*a)],x]

[Out]

-1/8*(x^(1 + a)*(4*a*(x^(4*a))^((1 + a)/(2*a))*Cos[x^(2*a)] + (1 + a)*(I*x^(2*a))^((1 + a)/(2*a))*Gamma[(1 + a
)/(2*a), (-I)*x^(2*a)] + (1 + a)*((-I)*x^(2*a))^((1 + a)/(2*a))*Gamma[(1 + a)/(2*a), I*x^(2*a)]))/(a^2*(x^(4*a
))^((1 + a)/(2*a)))

________________________________________________________________________________________

Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 4 in optimal.
time = 3.64, size = 61, normalized size = 0.53 \begin {gather*} \frac {\text {Gamma}\left [\frac {5}{4}+\frac {1}{4 a}\right ] x^{1+5 a} \text {hyper}\left [\left \{\frac {1+5 a}{4 a}\right \},\left \{\frac {3}{2},\frac {1+9 a}{4 a}\right \},-\frac {x^{4 a}}{4}\right ]}{4 a \text {Gamma}\left [\frac {9}{4}+\frac {1}{4 a}\right ]} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[x^(3*a)*Sin[x^(2*a)],x]')

[Out]

Gamma[5 / 4 + 1 / (4 a)] x ^ (1 + 5 a) hyper[{(1 + 5 a) / (4 a)}, {3 / 2, (1 + 9 a) / (4 a)}, -x ^ (4 a) / 4]
/ (4 a Gamma[9 / 4 + 1 / (4 a)])

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 5 vs. order 4.
time = 0.08, size = 41, normalized size = 0.36

method result size
meijerg \(\frac {x^{5 a +1} \hypergeom \left (\left [\frac {5}{4}+\frac {1}{4 a}\right ], \left [\frac {3}{2}, \frac {9}{4}+\frac {1}{4 a}\right ], -\frac {x^{4 a}}{4}\right )}{5 a +1}\) \(41\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/(5*a+1)*x^(5*a+1)*hypergeom([5/4+1/4/a],[3/2,9/4+1/4/a],-1/4*x^(4*a))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/2*(x*x^a*cos(x^(2*a)) - (a + 1)*integrate(x^a*cos(x^(2*a)), x))/a

________________________________________________________________________________________

Fricas [F]
time = 0.33, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(x^(3*a)*sin(x^(2*a)), x)

________________________________________________________________________________________

Sympy [A]
time = 1.43, size = 54, normalized size = 0.47 \begin {gather*} \frac {x x^{5 a} \Gamma \left (\frac {5}{4} + \frac {1}{4 a}\right ) {{}_{1}F_{2}\left (\begin {matrix} \frac {5}{4} + \frac {1}{4 a} \\ \frac {3}{2}, \frac {9}{4} + \frac {1}{4 a} \end {matrix}\middle | {- \frac {x^{4 a}}{4}} \right )}}{4 a \Gamma \left (\frac {9}{4} + \frac {1}{4 a}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(3*a)*sin(x**(2*a)),x)

[Out]

x*x**(5*a)*gamma(5/4 + 1/(4*a))*hyper((5/4 + 1/(4*a),), (3/2, 9/4 + 1/(4*a)), -x**(4*a)/4)/(4*a*gamma(9/4 + 1/
(4*a)))

________________________________________________________________________________________

Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(3*a)*sin(x^(2*a)),x)

[Out]

Could not integrate

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^{3\,a}\,\sin \left (x^{2\,a}\right ) \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(3*a)*sin(x^(2*a)),x)

[Out]

int(x^(3*a)*sin(x^(2*a)), x)

________________________________________________________________________________________