Integrand size = 39, antiderivative size = 147 \[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=-\frac {3 (4 A+C) \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},\cos ^2(c+d x)\right ) \sin (c+d x)}{8 d (b \sec (c+d x))^{2/3} \sqrt {\sin ^2(c+d x)}}+\frac {3 B \operatorname {Hypergeometric2F1}\left (-\frac {1}{6},\frac {1}{2},\frac {5}{6},\cos ^2(c+d x)\right ) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \sqrt [3]{b \sec (c+d x)} \tan (c+d x)}{4 b d} \] Output:
-3/8*(4*A+C)*hypergeom([1/3, 1/2],[4/3],cos(d*x+c)^2)*sin(d*x+c)/d/(b*sec( d*x+c))^(2/3)/(sin(d*x+c)^2)^(1/2)+3*B*hypergeom([-1/6, 1/2],[5/6],cos(d*x +c)^2)*(b*sec(d*x+c))^(1/3)*sin(d*x+c)/b/d/(sin(d*x+c)^2)^(1/2)+3/4*C*(b*s ec(d*x+c))^(1/3)*tan(d*x+c)/b/d
Time = 0.43 (sec) , antiderivative size = 117, normalized size of antiderivative = 0.80 \[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=\frac {3 \cot (c+d x) \sqrt [3]{b \sec (c+d x)} \left (C \tan ^2(c+d x)+(4 A+C) \operatorname {Hypergeometric2F1}\left (\frac {1}{6},\frac {1}{2},\frac {7}{6},\sec ^2(c+d x)\right ) \sqrt {-\tan ^2(c+d x)}+B \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {2}{3},\frac {5}{3},\sec ^2(c+d x)\right ) \sec (c+d x) \sqrt {-\tan ^2(c+d x)}\right )}{4 b d} \] Input:
Integrate[(Sec[c + d*x]*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/(b*Sec[c + d*x])^(2/3),x]
Output:
(3*Cot[c + d*x]*(b*Sec[c + d*x])^(1/3)*(C*Tan[c + d*x]^2 + (4*A + C)*Hyper geometric2F1[1/6, 1/2, 7/6, Sec[c + d*x]^2]*Sqrt[-Tan[c + d*x]^2] + B*Hype rgeometric2F1[1/2, 2/3, 5/3, Sec[c + d*x]^2]*Sec[c + d*x]*Sqrt[-Tan[c + d* x]^2]))/(4*b*d)
Time = 0.76 (sec) , antiderivative size = 146, normalized size of antiderivative = 0.99, number of steps used = 12, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {2030, 3042, 4535, 3042, 4259, 3042, 3122, 4534, 3042, 4259, 3042, 3122}
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 \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx\) |
\(\Big \downarrow \) 2030 |
\(\displaystyle \frac {\int \sqrt [3]{b \sec (c+d x)} \left (C \sec ^2(c+d x)+B \sec (c+d x)+A\right )dx}{b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \sqrt [3]{b \csc \left (c+d x+\frac {\pi }{2}\right )} \left (C \csc \left (c+d x+\frac {\pi }{2}\right )^2+B \csc \left (c+d x+\frac {\pi }{2}\right )+A\right )dx}{b}\) |
\(\Big \downarrow \) 4535 |
\(\displaystyle \frac {\int \sqrt [3]{b \sec (c+d x)} \left (C \sec ^2(c+d x)+A\right )dx+\frac {B \int (b \sec (c+d x))^{4/3}dx}{b}}{b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \sqrt [3]{b \csc \left (c+d x+\frac {\pi }{2}\right )} \left (C \csc \left (c+d x+\frac {\pi }{2}\right )^2+A\right )dx+\frac {B \int \left (b \csc \left (c+d x+\frac {\pi }{2}\right )\right )^{4/3}dx}{b}}{b}\) |
\(\Big \downarrow \) 4259 |
\(\displaystyle \frac {\int \sqrt [3]{b \csc \left (c+d x+\frac {\pi }{2}\right )} \left (C \csc \left (c+d x+\frac {\pi }{2}\right )^2+A\right )dx+\frac {B \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)} \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{4/3}}dx}{b}}{b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \sqrt [3]{b \csc \left (c+d x+\frac {\pi }{2}\right )} \left (C \csc \left (c+d x+\frac {\pi }{2}\right )^2+A\right )dx+\frac {B \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)} \int \frac {1}{\left (\frac {\sin \left (c+d x+\frac {\pi }{2}\right )}{b}\right )^{4/3}}dx}{b}}{b}\) |
\(\Big \downarrow \) 3122 |
\(\displaystyle \frac {\int \sqrt [3]{b \csc \left (c+d x+\frac {\pi }{2}\right )} \left (C \csc \left (c+d x+\frac {\pi }{2}\right )^2+A\right )dx+\frac {3 B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \operatorname {Hypergeometric2F1}\left (-\frac {1}{6},\frac {1}{2},\frac {5}{6},\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}}{b}\) |
\(\Big \downarrow \) 4534 |
\(\displaystyle \frac {\frac {1}{4} (4 A+C) \int \sqrt [3]{b \sec (c+d x)}dx+\frac {3 B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \operatorname {Hypergeometric2F1}\left (-\frac {1}{6},\frac {1}{2},\frac {5}{6},\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \tan (c+d x) \sqrt [3]{b \sec (c+d x)}}{4 d}}{b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{4} (4 A+C) \int \sqrt [3]{b \csc \left (c+d x+\frac {\pi }{2}\right )}dx+\frac {3 B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \operatorname {Hypergeometric2F1}\left (-\frac {1}{6},\frac {1}{2},\frac {5}{6},\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \tan (c+d x) \sqrt [3]{b \sec (c+d x)}}{4 d}}{b}\) |
\(\Big \downarrow \) 4259 |
\(\displaystyle \frac {\frac {1}{4} (4 A+C) \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)} \int \frac {1}{\sqrt [3]{\frac {\cos (c+d x)}{b}}}dx+\frac {3 B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \operatorname {Hypergeometric2F1}\left (-\frac {1}{6},\frac {1}{2},\frac {5}{6},\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \tan (c+d x) \sqrt [3]{b \sec (c+d x)}}{4 d}}{b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{4} (4 A+C) \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)} \int \frac {1}{\sqrt [3]{\frac {\sin \left (c+d x+\frac {\pi }{2}\right )}{b}}}dx+\frac {3 B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \operatorname {Hypergeometric2F1}\left (-\frac {1}{6},\frac {1}{2},\frac {5}{6},\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \tan (c+d x) \sqrt [3]{b \sec (c+d x)}}{4 d}}{b}\) |
\(\Big \downarrow \) 3122 |
\(\displaystyle \frac {-\frac {3 b (4 A+C) \sin (c+d x) \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},\cos ^2(c+d x)\right )}{8 d \sqrt {\sin ^2(c+d x)} (b \sec (c+d x))^{2/3}}+\frac {3 B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \operatorname {Hypergeometric2F1}\left (-\frac {1}{6},\frac {1}{2},\frac {5}{6},\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \tan (c+d x) \sqrt [3]{b \sec (c+d x)}}{4 d}}{b}\) |
Input:
Int[(Sec[c + d*x]*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/(b*Sec[c + d*x] )^(2/3),x]
Output:
((-3*b*(4*A + C)*Hypergeometric2F1[1/3, 1/2, 4/3, Cos[c + d*x]^2]*Sin[c + d*x])/(8*d*(b*Sec[c + d*x])^(2/3)*Sqrt[Sin[c + d*x]^2]) + (3*B*Hypergeomet ric2F1[-1/6, 1/2, 5/6, Cos[c + d*x]^2]*(b*Sec[c + d*x])^(1/3)*Sin[c + d*x] )/(d*Sqrt[Sin[c + d*x]^2]) + (3*C*(b*Sec[c + d*x])^(1/3)*Tan[c + d*x])/(4* d))/b
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_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[Cos[c + d*x]*(( b*Sin[c + d*x])^(n + 1)/(b*d*(n + 1)*Sqrt[Cos[c + d*x]^2]))*Hypergeometric2 F1[1/2, (n + 1)/2, (n + 3)/2, Sin[c + d*x]^2], x] /; FreeQ[{b, c, d, n}, x] && !IntegerQ[2*n]
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(b*Csc[c + d*x] )^(n - 1)*((Sin[c + d*x]/b)^(n - 1) Int[1/(Sin[c + d*x]/b)^n, x]), x] /; FreeQ[{b, c, d, n}, x] && !IntegerQ[n]
Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*(csc[(e_.) + (f_.)*(x_)]^2*(C_.) + (A_)), x_Symbol] :> Simp[(-C)*Cot[e + f*x]*((b*Csc[e + f*x])^m/(f*(m + 1) )), x] + Simp[(C*m + A*(m + 1))/(m + 1) Int[(b*Csc[e + f*x])^m, x], x] /; FreeQ[{b, e, f, A, C, m}, x] && NeQ[C*m + A*(m + 1), 0] && !LeQ[m, -1]
Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*((A_.) + csc[(e_.) + (f_.)*(x_)]* (B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.)), x_Symbol] :> Simp[B/b Int[(b*Cs c[e + f*x])^(m + 1), x], x] + Int[(b*Csc[e + f*x])^m*(A + C*Csc[e + f*x]^2) , x] /; FreeQ[{b, e, f, A, B, C, m}, x]
\[\int \frac {\sec \left (d x +c \right ) \left (A +B \sec \left (d x +c \right )+C \sec \left (d x +c \right )^{2}\right )}{\left (b \sec \left (d x +c \right )\right )^{\frac {2}{3}}}d x\]
Input:
int(sec(d*x+c)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(b*sec(d*x+c))^(2/3),x)
Output:
int(sec(d*x+c)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(b*sec(d*x+c))^(2/3),x)
\[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=\int { \frac {{\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )}{\left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}}} \,d x } \] Input:
integrate(sec(d*x+c)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(b*sec(d*x+c))^(2/3), x, algorithm="fricas")
Output:
integral((C*sec(d*x + c)^2 + B*sec(d*x + c) + A)*(b*sec(d*x + c))^(1/3)/b, x)
\[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=\int \frac {\left (A + B \sec {\left (c + d x \right )} + C \sec ^{2}{\left (c + d x \right )}\right ) \sec {\left (c + d x \right )}}{\left (b \sec {\left (c + d x \right )}\right )^{\frac {2}{3}}}\, dx \] Input:
integrate(sec(d*x+c)*(A+B*sec(d*x+c)+C*sec(d*x+c)**2)/(b*sec(d*x+c))**(2/3 ),x)
Output:
Integral((A + B*sec(c + d*x) + C*sec(c + d*x)**2)*sec(c + d*x)/(b*sec(c + d*x))**(2/3), x)
\[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=\int { \frac {{\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )}{\left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}}} \,d x } \] Input:
integrate(sec(d*x+c)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(b*sec(d*x+c))^(2/3), x, algorithm="maxima")
Output:
integrate((C*sec(d*x + c)^2 + B*sec(d*x + c) + A)*sec(d*x + c)/(b*sec(d*x + c))^(2/3), x)
\[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=\int { \frac {{\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )}{\left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}}} \,d x } \] Input:
integrate(sec(d*x+c)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(b*sec(d*x+c))^(2/3), x, algorithm="giac")
Output:
integrate((C*sec(d*x + c)^2 + B*sec(d*x + c) + A)*sec(d*x + c)/(b*sec(d*x + c))^(2/3), x)
Timed out. \[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=\int \frac {A+\frac {B}{\cos \left (c+d\,x\right )}+\frac {C}{{\cos \left (c+d\,x\right )}^2}}{\cos \left (c+d\,x\right )\,{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{2/3}} \,d x \] Input:
int((A + B/cos(c + d*x) + C/cos(c + d*x)^2)/(cos(c + d*x)*(b/cos(c + d*x)) ^(2/3)),x)
Output:
int((A + B/cos(c + d*x) + C/cos(c + d*x)^2)/(cos(c + d*x)*(b/cos(c + d*x)) ^(2/3)), x)
\[ \int \frac {\sec (c+d x) \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{(b \sec (c+d x))^{2/3}} \, dx=\frac {\left (\int \sec \left (d x +c \right )^{\frac {7}{3}}d x \right ) c +\left (\int \sec \left (d x +c \right )^{\frac {4}{3}}d x \right ) b +\left (\int \sec \left (d x +c \right )^{\frac {1}{3}}d x \right ) a}{b^{\frac {2}{3}}} \] Input:
int(sec(d*x+c)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(b*sec(d*x+c))^(2/3),x)
Output:
(int(sec(c + d*x)**3/sec(c + d*x)**(2/3),x)*c + int(sec(c + d*x)**2/sec(c + d*x)**(2/3),x)*b + int(sec(c + d*x)/sec(c + d*x)**(2/3),x)*a)/b**(2/3)