3.354 \(\int \sec ^2(x) \tan ^2(x) \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2607, 30} \[ \frac {\tan ^3(x)}{3} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Tan[x]^3/3

Rule 30

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

Rule 2607

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 8, normalized size = 1.00 \[ \frac {\tan ^3(x)}{3} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Tan[x]^3/3

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sec ^2(x) \tan ^2(x) \, dx \]

Verification is Not applicable to the result.

[In]

IntegrateAlgebraic[Sec[x]^2*Tan[x]^2,x]

[Out]

Could not integrate

________________________________________________________________________________________

fricas [B]  time = 0.89, size = 14, normalized size = 1.75 \[ -\frac {{\left (\cos \relax (x)^{2} - 1\right )} \sin \relax (x)}{3 \, \cos \relax (x)^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/3*(cos(x)^2 - 1)*sin(x)/cos(x)^3

________________________________________________________________________________________

giac [A]  time = 0.62, size = 6, normalized size = 0.75 \[ \frac {1}{3} \, \tan \relax (x)^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*tan(x)^3

________________________________________________________________________________________

maple [A]  time = 0.06, size = 11, normalized size = 1.38




method result size



default \(\frac {\sin ^{3}\relax (x )}{3 \cos \relax (x )^{3}}\) \(11\)
risch \(-\frac {2 i \left (3 \,{\mathrm e}^{4 i x}+1\right )}{3 \left (1+{\mathrm e}^{2 i x}\right )^{3}}\) \(22\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(x)^2*tan(x)^2,x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.49, size = 6, normalized size = 0.75 \[ \frac {1}{3} \, \tan \relax (x)^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*tan(x)^3

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 6, normalized size = 0.75 \[ \frac {{\mathrm {tan}\relax (x)}^3}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(tan(x)^2/cos(x)^2,x)

[Out]

tan(x)^3/3

________________________________________________________________________________________

sympy [B]  time = 0.07, size = 17, normalized size = 2.12 \[ - \frac {\sin {\relax (x )}}{3 \cos {\relax (x )}} + \frac {\sin {\relax (x )}}{3 \cos ^{3}{\relax (x )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-sin(x)/(3*cos(x)) + sin(x)/(3*cos(x)**3)

________________________________________________________________________________________