3.551 \(\int e^{m x} \sec ^3(x) \, dx\)

Optimal. Leaf size=51 \[ \frac {8 e^{(m+3 i) x} \, _2F_1\left (3,\frac {1}{2} (3-i m);\frac {1}{2} (5-i m);-e^{2 i x}\right )}{m+3 i} \]

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 77, normalized size of antiderivative = 1.51, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4448, 4451} \[ (-m+i) \left (-e^{(m+i) x}\right ) \text {Hypergeometric2F1}\left (1,\frac {1}{2} (1-i m),\frac {1}{2} (3-i m),-e^{2 i x}\right )-\frac {1}{2} m e^{m x} \sec (x)+\frac {1}{2} e^{m x} \tan (x) \sec (x) \]

Antiderivative was successfully verified.

[In]

Int[E^(m*x)*Sec[x]^3,x]

[Out]

-(E^((I + m)*x)*(I - m)*Hypergeometric2F1[1, (1 - I*m)/2, (3 - I*m)/2, -E^((2*I)*x)]) - (E^(m*x)*m*Sec[x])/2 +
 (E^(m*x)*Sec[x]*Tan[x])/2

Rule 4448

Int[(F_)^((c_.)*((a_.) + (b_.)*(x_)))*Sec[(d_.) + (e_.)*(x_)]^(n_), x_Symbol] :> -Simp[(b*c*Log[F]*F^(c*(a + b
*x))*Sec[d + e*x]^(n - 2))/(e^2*(n - 1)*(n - 2)), x] + (Dist[(e^2*(n - 2)^2 + b^2*c^2*Log[F]^2)/(e^2*(n - 1)*(
n - 2)), Int[F^(c*(a + b*x))*Sec[d + e*x]^(n - 2), x], x] + Simp[(F^(c*(a + b*x))*Sec[d + e*x]^(n - 1)*Sin[d +
 e*x])/(e*(n - 1)), x]) /; FreeQ[{F, a, b, c, d, e}, x] && NeQ[b^2*c^2*Log[F]^2 + e^2*(n - 2)^2, 0] && GtQ[n,
1] && NeQ[n, 2]

Rule 4451

Int[(F_)^((c_.)*((a_.) + (b_.)*(x_)))*Sec[(d_.) + (e_.)*(x_)]^(n_.), x_Symbol] :> Simp[(2^n*E^(I*n*(d + e*x))*
F^(c*(a + b*x))*Hypergeometric2F1[n, n/2 - (I*b*c*Log[F])/(2*e), 1 + n/2 - (I*b*c*Log[F])/(2*e), -E^(2*I*(d +
e*x))])/(I*e*n + b*c*Log[F]), x] /; FreeQ[{F, a, b, c, d, e}, x] && IntegerQ[n]

Rubi steps

\begin {align*} \int e^{m x} \sec ^3(x) \, dx &=-\frac {1}{2} e^{m x} m \sec (x)+\frac {1}{2} e^{m x} \sec (x) \tan (x)+\frac {1}{2} \left (1+m^2\right ) \int e^{m x} \sec (x) \, dx\\ &=-e^{(i+m) x} (i-m) \, _2F_1\left (1,\frac {1}{2} (1-i m);\frac {1}{2} (3-i m);-e^{2 i x}\right )-\frac {1}{2} e^{m x} m \sec (x)+\frac {1}{2} e^{m x} \sec (x) \tan (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 66, normalized size = 1.29 \[ \frac {1}{2} e^{m x} \left (\sec (x) (\tan (x)-m)+2 (m-i) e^{i x} \, _2F_1\left (1,\frac {1}{2}-\frac {i m}{2};\frac {3}{2}-\frac {i m}{2};-e^{2 i x}\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[E^(m*x)*Sec[x]^3,x]

[Out]

(E^(m*x)*(2*E^(I*x)*(-I + m)*Hypergeometric2F1[1, 1/2 - (I/2)*m, 3/2 - (I/2)*m, -E^((2*I)*x)] + Sec[x]*(-m + T
an[x])))/2

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{m x} \sec ^3(x) \, dx \]

Verification is Not applicable to the result.

[In]

IntegrateAlgebraic[E^(m*x)*Sec[x]^3,x]

[Out]

Could not integrate

________________________________________________________________________________________

fricas [F]  time = 1.26, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {e^{\left (m x\right )}}{\cos \relax (x)^{3}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(m*x)/cos(x)^3,x, algorithm="fricas")

[Out]

integral(e^(m*x)/cos(x)^3, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {e^{\left (m x\right )}}{\cos \relax (x)^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(m*x)/cos(x)^3,x, algorithm="giac")

[Out]

integrate(e^(m*x)/cos(x)^3, x)

________________________________________________________________________________________

maple [F]  time = 0.09, size = 0, normalized size = 0.00 \[\int \frac {{\mathrm e}^{m x}}{\cos \relax (x )^{3}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(m*x)/cos(x)^3,x)

[Out]

int(exp(m*x)/cos(x)^3,x)

________________________________________________________________________________________

maxima [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(m*x)/cos(x)^3,x, algorithm="maxima")

[Out]

Timed out

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\mathrm {e}}^{m\,x}}{{\cos \relax (x)}^3} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(m*x)/cos(x)^3,x)

[Out]

int(exp(m*x)/cos(x)^3, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {e^{m x}}{\cos ^{3}{\relax (x )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(m*x)/cos(x)**3,x)

[Out]

Integral(exp(m*x)/cos(x)**3, x)

________________________________________________________________________________________