3.116 \(\int \sec ^3(x) \tan (x) \, dx\)

Optimal. Leaf size=8 \[ \frac{\sec ^3(x)}{3} \]

[Out]

Sec[x]^3/3

________________________________________________________________________________________

Rubi [A]  time = 0.0153974, antiderivative size = 8, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 7, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {2606, 30} \[ \frac{\sec ^3(x)}{3} \]

Antiderivative was successfully verified.

[In]

Int[Sec[x]^3*Tan[x],x]

[Out]

Sec[x]^3/3

Rule 2606

Int[((a_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((b_.)*tan[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Dist[a/f, Subst[
Int[(a*x)^(m - 1)*(-1 + x^2)^((n - 1)/2), x], x, Sec[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n -
1)/2] &&  !(IntegerQ[m/2] && LtQ[0, m, n + 1])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin{align*} \int \sec ^3(x) \tan (x) \, dx &=\operatorname{Subst}\left (\int x^2 \, dx,x,\sec (x)\right )\\ &=\frac{\sec ^3(x)}{3}\\ \end{align*}

Mathematica [A]  time = 0.0033501, size = 8, normalized size = 1. \[ \frac{\sec ^3(x)}{3} \]

Antiderivative was successfully verified.

[In]

Integrate[Sec[x]^3*Tan[x],x]

[Out]

Sec[x]^3/3

________________________________________________________________________________________

Maple [A]  time = 0., size = 7, normalized size = 0.9 \begin{align*}{\frac{ \left ( \sec \left ( x \right ) \right ) ^{3}}{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(x)^3*tan(x),x)

[Out]

1/3*sec(x)^3

________________________________________________________________________________________

Maxima [A]  time = 0.934566, size = 8, normalized size = 1. \begin{align*} \frac{1}{3 \, \cos \left (x\right )^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(x)^3*tan(x),x, algorithm="maxima")

[Out]

1/3/cos(x)^3

________________________________________________________________________________________

Fricas [A]  time = 1.99591, size = 19, normalized size = 2.38 \begin{align*} \frac{1}{3 \, \cos \left (x\right )^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(x)^3*tan(x),x, algorithm="fricas")

[Out]

1/3/cos(x)^3

________________________________________________________________________________________

Sympy [A]  time = 0.062272, size = 7, normalized size = 0.88 \begin{align*} \frac{1}{3 \cos ^{3}{\left (x \right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(x)**3*tan(x),x)

[Out]

1/(3*cos(x)**3)

________________________________________________________________________________________

Giac [A]  time = 1.04856, size = 8, normalized size = 1. \begin{align*} \frac{1}{3 \, \cos \left (x\right )^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(x)^3*tan(x),x, algorithm="giac")

[Out]

1/3/cos(x)^3