3.796 \(\int e^{\sin (x)} \sec ^2(x) (x \cos ^3(x)-\sin (x)) \, dx\)

Optimal. Leaf size=13 \[ e^{\sin (x)} (x \cos (x)-1) \sec (x) \]

[Out]

exp(sin(x))*(-1+x*cos(x))*sec(x)

________________________________________________________________________________________

Rubi [F]  time = 0.64, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int e^{\sin (x)} \sec ^2(x) \left (x \cos ^3(x)-\sin (x)\right ) \, dx \]

Verification is Not applicable to the result.

[In]

Int[E^Sin[x]*Sec[x]^2*(x*Cos[x]^3 - Sin[x]),x]

[Out]

Defer[Int][E^Sin[x]*x*Cos[x], x] - Defer[Int][E^Sin[x]*Sec[x]*Tan[x], x]

Rubi steps

\begin {align*} \int e^{\sin (x)} \sec ^2(x) \left (x \cos ^3(x)-\sin (x)\right ) \, dx &=\int \left (e^{\sin (x)} x \cos (x)-e^{\sin (x)} \sec (x) \tan (x)\right ) \, dx\\ &=\int e^{\sin (x)} x \cos (x) \, dx-\int e^{\sin (x)} \sec (x) \tan (x) \, dx\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.29, size = 13, normalized size = 1.00 \[ e^{\sin (x)} (x \cos (x)-1) \sec (x) \]

Antiderivative was successfully verified.

[In]

Integrate[E^Sin[x]*Sec[x]^2*(x*Cos[x]^3 - Sin[x]),x]

[Out]

E^Sin[x]*(-1 + x*Cos[x])*Sec[x]

________________________________________________________________________________________

fricas [A]  time = 0.68, size = 14, normalized size = 1.08 \[ \frac {{\left (x \cos \relax (x) - 1\right )} e^{\sin \relax (x)}}{\cos \relax (x)} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(sin(x))*sec(x)^2*(x*cos(x)^3-sin(x)),x, algorithm="fricas")

[Out]

(x*cos(x) - 1)*e^sin(x)/cos(x)

________________________________________________________________________________________

giac [B]  time = 0.20, size = 794, normalized size = 61.08 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(sin(x))*sec(x)^2*(x*cos(x)^3-sin(x)),x, algorithm="giac")

[Out]

(x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)^2*tan(1/2*x)^8 + e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2
*x)^2*tan(1/2*x)^8 - 16*x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)^2*tan(1/2*x)^6 + 12*x*e^(2*tan(1/2*x)
/(tan(1/2*x)^2 + 1))*tan(3/2*x)*tan(1/2*x)^7 - x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(1/2*x)^8 - 14*e^(2*ta
n(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)^2*tan(1/2*x)^6 + 12*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)*tan
(1/2*x)^7 - e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(1/2*x)^8 + 30*x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/
2*x)^2*tan(1/2*x)^4 - 52*x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)*tan(1/2*x)^5 + 16*x*e^(2*tan(1/2*x)/
(tan(1/2*x)^2 + 1))*tan(1/2*x)^6 - 28*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)*tan(1/2*x)^5 + 14*e^(2*ta
n(1/2*x)/(tan(1/2*x)^2 + 1))*tan(1/2*x)^6 - 16*x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)^2*tan(1/2*x)^2
 + 52*x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)*tan(1/2*x)^3 - 30*x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))
*tan(1/2*x)^4 + 14*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)^2*tan(1/2*x)^2 - 28*e^(2*tan(1/2*x)/(tan(1/2
*x)^2 + 1))*tan(3/2*x)*tan(1/2*x)^3 + x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)^2 - 12*x*e^(2*tan(1/2*x
)/(tan(1/2*x)^2 + 1))*tan(3/2*x)*tan(1/2*x) + 16*x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(1/2*x)^2 - e^(2*tan
(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)^2 + 12*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(3/2*x)*tan(1/2*x) - 14*e
^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1))*tan(1/2*x)^2 - x*e^(2*tan(1/2*x)/(tan(1/2*x)^2 + 1)) + e^(2*tan(1/2*x)/(tan
(1/2*x)^2 + 1)))/(tan(3/2*x)^2*tan(1/2*x)^8 + 2*tan(3/2*x)^2*tan(1/2*x)^6 + tan(1/2*x)^8 + 2*tan(1/2*x)^6 - 2*
tan(3/2*x)^2*tan(1/2*x)^2 - tan(3/2*x)^2 - 2*tan(1/2*x)^2 - 1)

________________________________________________________________________________________

maple [C]  time = 0.39, size = 30, normalized size = 2.31 \[ \frac {\left (x \,{\mathrm e}^{2 i x}+x -2 \,{\mathrm e}^{i x}\right ) {\mathrm e}^{\sin \relax (x )}}{{\mathrm e}^{2 i x}+1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(sin(x))*sec(x)^2*(x*cos(x)^3-sin(x)),x)

[Out]

(x*exp(2*I*x)+x-2*exp(I*x))/(exp(2*I*x)+1)*exp(sin(x))

________________________________________________________________________________________

maxima [B]  time = 0.77, size = 88, normalized size = 6.77 \[ \frac {x \cos \left (2 \, x\right )^{2} e^{\sin \relax (x)} + x e^{\sin \relax (x)} \sin \left (2 \, x\right )^{2} - 2 \, e^{\sin \relax (x)} \sin \left (2 \, x\right ) \sin \relax (x) + 2 \, {\left (x e^{\sin \relax (x)} - \cos \relax (x) e^{\sin \relax (x)}\right )} \cos \left (2 \, x\right ) + x e^{\sin \relax (x)} - 2 \, \cos \relax (x) e^{\sin \relax (x)}}{\cos \left (2 \, x\right )^{2} + \sin \left (2 \, x\right )^{2} + 2 \, \cos \left (2 \, x\right ) + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(sin(x))*sec(x)^2*(x*cos(x)^3-sin(x)),x, algorithm="maxima")

[Out]

(x*cos(2*x)^2*e^sin(x) + x*e^sin(x)*sin(2*x)^2 - 2*e^sin(x)*sin(2*x)*sin(x) + 2*(x*e^sin(x) - cos(x)*e^sin(x))
*cos(2*x) + x*e^sin(x) - 2*cos(x)*e^sin(x))/(cos(2*x)^2 + sin(2*x)^2 + 2*cos(2*x) + 1)

________________________________________________________________________________________

mupad [B]  time = 3.12, size = 14, normalized size = 1.08 \[ \frac {{\mathrm {e}}^{\sin \relax (x)}\,\left (x\,\cos \relax (x)-1\right )}{\cos \relax (x)} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(exp(sin(x))*(sin(x) - x*cos(x)^3))/cos(x)^2,x)

[Out]

(exp(sin(x))*(x*cos(x) - 1))/cos(x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(sin(x))*sec(x)**2*(x*cos(x)**3-sin(x)),x)

[Out]

Timed out

________________________________________________________________________________________