3.663 \(\int e^{n \cos (a c+b c x)} \tan (c (a+b x)) \, dx\)

Optimal. Leaf size=19 \[ -\frac {\text {Ei}(n \cos (c (a+b x)))}{b c} \]

[Out]

-Ei(n*cos(c*(b*x+a)))/b/c

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4339, 2178} \[ -\frac {\text {Ei}(n \cos (c (a+b x)))}{b c} \]

Antiderivative was successfully verified.

[In]

Int[E^(n*Cos[a*c + b*c*x])*Tan[c*(a + b*x)],x]

[Out]

-(ExpIntegralEi[n*Cos[c*(a + b*x)]]/(b*c))

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 4339

Int[(u_)*(F_)[(c_.)*((a_.) + (b_.)*(x_))], x_Symbol] :> With[{d = FreeFactors[Cos[c*(a + b*x)], x]}, -Dist[(b*
c)^(-1), Subst[Int[SubstFor[1/x, Cos[c*(a + b*x)]/d, u, x], x], x, Cos[c*(a + b*x)]/d], x] /; FunctionOfQ[Cos[
c*(a + b*x)]/d, u, x, True]] /; FreeQ[{a, b, c}, x] && (EqQ[F, Tan] || EqQ[F, tan])

Rubi steps

\begin {align*} \int e^{n \cos (a c+b c x)} \tan (c (a+b x)) \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {e^{n x}}{x} \, dx,x,\cos (c (a+b x))\right )}{b c}\\ &=-\frac {\text {Ei}(n \cos (c (a+b x)))}{b c}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.06, size = 19, normalized size = 1.00 \[ -\frac {\text {Ei}(n \cos (c (a+b x)))}{b c} \]

Antiderivative was successfully verified.

[In]

Integrate[E^(n*Cos[a*c + b*c*x])*Tan[c*(a + b*x)],x]

[Out]

-(ExpIntegralEi[n*Cos[c*(a + b*x)]]/(b*c))

________________________________________________________________________________________

fricas [A]  time = 0.89, size = 20, normalized size = 1.05 \[ -\frac {{\rm Ei}\left (n \cos \left (b c x + a c\right )\right )}{b c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cos(b*c*x+a*c))*tan(c*(b*x+a)),x, algorithm="fricas")

[Out]

-Ei(n*cos(b*c*x + a*c))/(b*c)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{\left (n \cos \left (b c x + a c\right )\right )} \tan \left ({\left (b x + a\right )} c\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cos(b*c*x+a*c))*tan(c*(b*x+a)),x, algorithm="giac")

[Out]

integrate(e^(n*cos(b*c*x + a*c))*tan((b*x + a)*c), x)

________________________________________________________________________________________

maple [A]  time = 0.07, size = 22, normalized size = 1.16 \[ \frac {\Ei \left (1, -n \cos \left (b c x +a c \right )\right )}{c b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(n*cos(b*c*x+a*c))*tan(c*(b*x+a)),x)

[Out]

1/c/b*Ei(1,-n*cos(b*c*x+a*c))

________________________________________________________________________________________

maxima [A]  time = 0.38, size = 20, normalized size = 1.05 \[ -\frac {{\rm Ei}\left (n \cos \left (b c x + a c\right )\right )}{b c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cos(b*c*x+a*c))*tan(c*(b*x+a)),x, algorithm="maxima")

[Out]

-Ei(n*cos(b*c*x + a*c))/(b*c)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.05 \[ \int \mathrm {tan}\left (c\,\left (a+b\,x\right )\right )\,{\mathrm {e}}^{n\,\cos \left (a\,c+b\,c\,x\right )} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(tan(c*(a + b*x))*exp(n*cos(a*c + b*c*x)),x)

[Out]

int(tan(c*(a + b*x))*exp(n*cos(a*c + b*c*x)), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{n \cos {\left (a c + b c x \right )}} \tan {\left (a c + b c x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*cos(b*c*x+a*c))*tan(c*(b*x+a)),x)

[Out]

Integral(exp(n*cos(a*c + b*c*x))*tan(a*c + b*c*x), x)

________________________________________________________________________________________