3.668 \(\int e^{4 x^3} x^2 \cos (7 x^3) \, dx\)

Optimal. Leaf size=35 \[ \frac {7}{195} e^{4 x^3} \sin \left (7 x^3\right )+\frac {4}{195} e^{4 x^3} \cos \left (7 x^3\right ) \]

[Out]

4/195*exp(4*x^3)*cos(7*x^3)+7/195*exp(4*x^3)*sin(7*x^3)

________________________________________________________________________________________

Rubi [A]  time = 0.18, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {6715, 4433} \[ \frac {7}{195} e^{4 x^3} \sin \left (7 x^3\right )+\frac {4}{195} e^{4 x^3} \cos \left (7 x^3\right ) \]

Antiderivative was successfully verified.

[In]

Int[E^(4*x^3)*x^2*Cos[7*x^3],x]

[Out]

(4*E^(4*x^3)*Cos[7*x^3])/195 + (7*E^(4*x^3)*Sin[7*x^3])/195

Rule 4433

Int[Cos[(d_.) + (e_.)*(x_)]*(F_)^((c_.)*((a_.) + (b_.)*(x_))), x_Symbol] :> Simp[(b*c*Log[F]*F^(c*(a + b*x))*C
os[d + e*x])/(e^2 + b^2*c^2*Log[F]^2), x] + Simp[(e*F^(c*(a + b*x))*Sin[d + e*x])/(e^2 + b^2*c^2*Log[F]^2), x]
 /; FreeQ[{F, a, b, c, d, e}, x] && NeQ[e^2 + b^2*c^2*Log[F]^2, 0]

Rule 6715

Int[(u_)*(x_)^(m_.), x_Symbol] :> Dist[1/(m + 1), Subst[Int[SubstFor[x^(m + 1), u, x], x], x, x^(m + 1)], x] /
; FreeQ[m, x] && NeQ[m, -1] && FunctionOfQ[x^(m + 1), u, x]

Rubi steps

\begin {align*} \int e^{4 x^3} x^2 \cos \left (7 x^3\right ) \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int e^{4 x} \cos (7 x) \, dx,x,x^3\right )\\ &=\frac {4}{195} e^{4 x^3} \cos \left (7 x^3\right )+\frac {7}{195} e^{4 x^3} \sin \left (7 x^3\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.06, size = 28, normalized size = 0.80 \[ \frac {1}{195} e^{4 x^3} \left (7 \sin \left (7 x^3\right )+4 \cos \left (7 x^3\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[E^(4*x^3)*x^2*Cos[7*x^3],x]

[Out]

(E^(4*x^3)*(4*Cos[7*x^3] + 7*Sin[7*x^3]))/195

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 29, normalized size = 0.83 \[ \frac {4}{195} \, \cos \left (7 \, x^{3}\right ) e^{\left (4 \, x^{3}\right )} + \frac {7}{195} \, e^{\left (4 \, x^{3}\right )} \sin \left (7 \, x^{3}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(4*x^3)*x^2*cos(7*x^3),x, algorithm="fricas")

[Out]

4/195*cos(7*x^3)*e^(4*x^3) + 7/195*e^(4*x^3)*sin(7*x^3)

________________________________________________________________________________________

giac [A]  time = 0.22, size = 25, normalized size = 0.71 \[ \frac {1}{195} \, {\left (4 \, \cos \left (7 \, x^{3}\right ) + 7 \, \sin \left (7 \, x^{3}\right )\right )} e^{\left (4 \, x^{3}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(4*x^3)*x^2*cos(7*x^3),x, algorithm="giac")

[Out]

1/195*(4*cos(7*x^3) + 7*sin(7*x^3))*e^(4*x^3)

________________________________________________________________________________________

maple [A]  time = 0.16, size = 53, normalized size = 1.51 \[ \frac {-\frac {4 \,{\mathrm e}^{4 x^{3}} \left (\tan ^{2}\left (\frac {7 x^{3}}{2}\right )\right )}{195}+\frac {14 \,{\mathrm e}^{4 x^{3}} \tan \left (\frac {7 x^{3}}{2}\right )}{195}+\frac {4 \,{\mathrm e}^{4 x^{3}}}{195}}{\tan ^{2}\left (\frac {7 x^{3}}{2}\right )+1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(4*x^3)*x^2*cos(7*x^3),x)

[Out]

(14/195*exp(4*x^3)*tan(7/2*x^3)-4/195*exp(4*x^3)*tan(7/2*x^3)^2+4/195*exp(4*x^3))/(1+tan(7/2*x^3)^2)

________________________________________________________________________________________

maxima [A]  time = 0.86, size = 29, normalized size = 0.83 \[ \frac {4}{195} \, \cos \left (7 \, x^{3}\right ) e^{\left (4 \, x^{3}\right )} + \frac {7}{195} \, e^{\left (4 \, x^{3}\right )} \sin \left (7 \, x^{3}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(4*x^3)*x^2*cos(7*x^3),x, algorithm="maxima")

[Out]

4/195*cos(7*x^3)*e^(4*x^3) + 7/195*e^(4*x^3)*sin(7*x^3)

________________________________________________________________________________________

mupad [B]  time = 3.59, size = 25, normalized size = 0.71 \[ \frac {{\mathrm {e}}^{4\,x^3}\,\left (4\,\cos \left (7\,x^3\right )+7\,\sin \left (7\,x^3\right )\right )}{195} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*exp(4*x^3)*cos(7*x^3),x)

[Out]

(exp(4*x^3)*(4*cos(7*x^3) + 7*sin(7*x^3)))/195

________________________________________________________________________________________

sympy [A]  time = 1.82, size = 32, normalized size = 0.91 \[ \frac {7 e^{4 x^{3}} \sin {\left (7 x^{3} \right )}}{195} + \frac {4 e^{4 x^{3}} \cos {\left (7 x^{3} \right )}}{195} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(4*x**3)*x**2*cos(7*x**3),x)

[Out]

7*exp(4*x**3)*sin(7*x**3)/195 + 4*exp(4*x**3)*cos(7*x**3)/195

________________________________________________________________________________________