Integrand size = 23, antiderivative size = 63 \[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\frac {\operatorname {Hypergeometric2F1}\left (1,\frac {1}{2} (4+n p),\frac {1}{2} (6+n p),-\tan ^2(e+f x)\right ) \tan ^4(e+f x) \left (b (c \tan (e+f x))^n\right )^p}{f (4+n p)} \] Output:
hypergeom([1, 1/2*n*p+2],[1/2*n*p+3],-tan(f*x+e)^2)*tan(f*x+e)^4*(b*(c*tan (f*x+e))^n)^p/f/(n*p+4)
Time = 0.08 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.97 \[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\frac {\operatorname {Hypergeometric2F1}\left (1,2+\frac {n p}{2},3+\frac {n p}{2},-\tan ^2(e+f x)\right ) \tan ^4(e+f x) \left (b (c \tan (e+f x))^n\right )^p}{f (4+n p)} \] Input:
Integrate[Tan[e + f*x]^3*(b*(c*Tan[e + f*x])^n)^p,x]
Output:
(Hypergeometric2F1[1, 2 + (n*p)/2, 3 + (n*p)/2, -Tan[e + f*x]^2]*Tan[e + f *x]^4*(b*(c*Tan[e + f*x])^n)^p)/(f*(4 + n*p))
Time = 0.37 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3042, 4142, 2030, 3042, 3957, 278}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \tan (e+f x)^3 \left (b (c \tan (e+f x))^n\right )^pdx\) |
\(\Big \downarrow \) 4142 |
\(\displaystyle (c \tan (e+f x))^{-n p} \left (b (c \tan (e+f x))^n\right )^p \int \tan ^3(e+f x) (c \tan (e+f x))^{n p}dx\) |
\(\Big \downarrow \) 2030 |
\(\displaystyle \frac {(c \tan (e+f x))^{-n p} \left (b (c \tan (e+f x))^n\right )^p \int (c \tan (e+f x))^{n p+3}dx}{c^3}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(c \tan (e+f x))^{-n p} \left (b (c \tan (e+f x))^n\right )^p \int (c \tan (e+f x))^{n p+3}dx}{c^3}\) |
\(\Big \downarrow \) 3957 |
\(\displaystyle \frac {(c \tan (e+f x))^{-n p} \left (b (c \tan (e+f x))^n\right )^p \int \frac {(c \tan (e+f x))^{n p+3}}{\tan ^2(e+f x) c^2+c^2}d(c \tan (e+f x))}{c^2 f}\) |
\(\Big \downarrow \) 278 |
\(\displaystyle \frac {\tan ^4(e+f x) \operatorname {Hypergeometric2F1}\left (1,\frac {1}{2} (n p+4),\frac {1}{2} (n p+6),-\tan ^2(e+f x)\right ) \left (b (c \tan (e+f x))^n\right )^p}{f (n p+4)}\) |
Input:
Int[Tan[e + f*x]^3*(b*(c*Tan[e + f*x])^n)^p,x]
Output:
(Hypergeometric2F1[1, (4 + n*p)/2, (6 + n*p)/2, -Tan[e + f*x]^2]*Tan[e + f *x]^4*(b*(c*Tan[e + f*x])^n)^p)/(f*(4 + n*p))
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[a^p*(( c*x)^(m + 1)/(c*(m + 1)))*Hypergeometric2F1[-p, (m + 1)/2, (m + 1)/2 + 1, ( -b)*(x^2/a)], x] /; FreeQ[{a, b, c, m, p}, x] && !IGtQ[p, 0] && (ILtQ[p, 0 ] || GtQ[a, 0])
Int[(Fx_.)*(v_)^(m_.)*((b_)*(v_))^(n_), x_Symbol] :> Simp[1/b^m Int[(b*v) ^(m + n)*Fx, x], x] /; FreeQ[{b, n}, x] && IntegerQ[m]
Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[b/d Subst[Int [x^n/(b^2 + x^2), x], x, b*Tan[c + d*x]], x] /; FreeQ[{b, c, d, n}, x] && !IntegerQ[n]
Int[(u_.)*((b_.)*((c_.)*tan[(e_.) + (f_.)*(x_)])^(n_))^(p_), x_Symbol] :> S imp[b^IntPart[p]*((b*(c*Tan[e + f*x])^n)^FracPart[p]/(c*Tan[e + f*x])^(n*Fr acPart[p])) Int[ActivateTrig[u]*(c*Tan[e + f*x])^(n*p), x], x] /; FreeQ[{ b, c, e, f, n, p}, x] && !IntegerQ[p] && !IntegerQ[n] && (EqQ[u, 1] || Ma tchQ[u, ((d_.)*(trig_)[e + f*x])^(m_.) /; FreeQ[{d, m}, x] && MemberQ[{sin, cos, tan, cot, sec, csc}, trig]])
\[\int \tan \left (f x +e \right )^{3} \left (b \left (c \tan \left (f x +e \right )\right )^{n}\right )^{p}d x\]
Input:
int(tan(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p,x)
Output:
int(tan(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p,x)
\[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\int { \left (\left (c \tan \left (f x + e\right )\right )^{n} b\right )^{p} \tan \left (f x + e\right )^{3} \,d x } \] Input:
integrate(tan(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p,x, algorithm="fricas")
Output:
integral(((c*tan(f*x + e))^n*b)^p*tan(f*x + e)^3, x)
\[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\int \left (b \left (c \tan {\left (e + f x \right )}\right )^{n}\right )^{p} \tan ^{3}{\left (e + f x \right )}\, dx \] Input:
integrate(tan(f*x+e)**3*(b*(c*tan(f*x+e))**n)**p,x)
Output:
Integral((b*(c*tan(e + f*x))**n)**p*tan(e + f*x)**3, x)
\[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\int { \left (\left (c \tan \left (f x + e\right )\right )^{n} b\right )^{p} \tan \left (f x + e\right )^{3} \,d x } \] Input:
integrate(tan(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p,x, algorithm="maxima")
Output:
integrate(((c*tan(f*x + e))^n*b)^p*tan(f*x + e)^3, x)
\[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\int { \left (\left (c \tan \left (f x + e\right )\right )^{n} b\right )^{p} \tan \left (f x + e\right )^{3} \,d x } \] Input:
integrate(tan(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p,x, algorithm="giac")
Output:
integrate(((c*tan(f*x + e))^n*b)^p*tan(f*x + e)^3, x)
Timed out. \[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\int {\mathrm {tan}\left (e+f\,x\right )}^3\,{\left (b\,{\left (c\,\mathrm {tan}\left (e+f\,x\right )\right )}^n\right )}^p \,d x \] Input:
int(tan(e + f*x)^3*(b*(c*tan(e + f*x))^n)^p,x)
Output:
int(tan(e + f*x)^3*(b*(c*tan(e + f*x))^n)^p, x)
\[ \int \tan ^3(e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx=\frac {c^{n p} b^{p} \left (\tan \left (f x +e \right )^{n p} \tan \left (f x +e \right )^{2} n p -\tan \left (f x +e \right )^{n p} n p -2 \tan \left (f x +e \right )^{n p}+\left (\int \frac {\tan \left (f x +e \right )^{n p}}{\tan \left (f x +e \right )}d x \right ) f \,n^{2} p^{2}+2 \left (\int \frac {\tan \left (f x +e \right )^{n p}}{\tan \left (f x +e \right )}d x \right ) f n p \right )}{f n p \left (n p +2\right )} \] Input:
int(tan(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p,x)
Output:
(c**(n*p)*b**p*(tan(e + f*x)**(n*p)*tan(e + f*x)**2*n*p - tan(e + f*x)**(n *p)*n*p - 2*tan(e + f*x)**(n*p) + int(tan(e + f*x)**(n*p)/tan(e + f*x),x)* f*n**2*p**2 + 2*int(tan(e + f*x)**(n*p)/tan(e + f*x),x)*f*n*p))/(f*n*p*(n* p + 2))