Integrand size = 45, antiderivative size = 284 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 a^2 (84 A+110 B+99 C) \sin (c+d x)}{693 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (336 A+374 B+429 C) \sin (c+d x)}{1155 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (336 A+374 B+429 C) \sin (c+d x)}{3465 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 (336 A+374 B+429 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{3465 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a (3 A+11 B) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{99 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {2 A (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{11 d \sec ^{\frac {9}{2}}(c+d x)} \] Output:
2/693*a^2*(84*A+110*B+99*C)*sin(d*x+c)/d/sec(d*x+c)^(5/2)/(a+a*sec(d*x+c)) ^(1/2)+2/1155*a^2*(336*A+374*B+429*C)*sin(d*x+c)/d/sec(d*x+c)^(3/2)/(a+a*s ec(d*x+c))^(1/2)+8/3465*a^2*(336*A+374*B+429*C)*sin(d*x+c)/d/sec(d*x+c)^(1 /2)/(a+a*sec(d*x+c))^(1/2)+16/3465*a^2*(336*A+374*B+429*C)*sec(d*x+c)^(1/2 )*sin(d*x+c)/d/(a+a*sec(d*x+c))^(1/2)+2/99*a*(3*A+11*B)*(a+a*sec(d*x+c))^( 1/2)*sin(d*x+c)/d/sec(d*x+c)^(7/2)+2/11*A*(a+a*sec(d*x+c))^(3/2)*sin(d*x+c )/d/sec(d*x+c)^(9/2)
Time = 7.44 (sec) , antiderivative size = 158, normalized size of antiderivative = 0.56 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {a (55482 A+59158 B+65208 C+(34734 A+44 (799 B+759 C)) \cos (c+d x)+8 (1743 A+1507 B+1287 C) \cos (2 (c+d x))+4935 A \cos (3 (c+d x))+3740 B \cos (3 (c+d x))+1980 C \cos (3 (c+d x))+1470 A \cos (4 (c+d x))+770 B \cos (4 (c+d x))+315 A \cos (5 (c+d x))) \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{27720 d \sqrt {\sec (c+d x)}} \] Input:
Integrate[((a + a*Sec[c + d*x])^(3/2)*(A + B*Sec[c + d*x] + C*Sec[c + d*x] ^2))/Sec[c + d*x]^(11/2),x]
Output:
(a*(55482*A + 59158*B + 65208*C + (34734*A + 44*(799*B + 759*C))*Cos[c + d *x] + 8*(1743*A + 1507*B + 1287*C)*Cos[2*(c + d*x)] + 4935*A*Cos[3*(c + d* x)] + 3740*B*Cos[3*(c + d*x)] + 1980*C*Cos[3*(c + d*x)] + 1470*A*Cos[4*(c + d*x)] + 770*B*Cos[4*(c + d*x)] + 315*A*Cos[5*(c + d*x)])*Sqrt[a*(1 + Sec [c + d*x])]*Tan[(c + d*x)/2])/(27720*d*Sqrt[Sec[c + d*x]])
Time = 1.64 (sec) , antiderivative size = 286, normalized size of antiderivative = 1.01, number of steps used = 14, number of rules used = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.311, Rules used = {3042, 4574, 27, 3042, 4505, 27, 3042, 4503, 3042, 4292, 3042, 4292, 3042, 4291}
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 {(a \sec (c+d x)+a)^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\left (a \csc \left (c+d x+\frac {\pi }{2}\right )+a\right )^{3/2} \left (A+B \csc \left (c+d x+\frac {\pi }{2}\right )+C \csc \left (c+d x+\frac {\pi }{2}\right )^2\right )}{\csc \left (c+d x+\frac {\pi }{2}\right )^{11/2}}dx\) |
\(\Big \downarrow \) 4574 |
\(\displaystyle \frac {2 \int \frac {(\sec (c+d x) a+a)^{3/2} (a (3 A+11 B)+a (6 A+11 C) \sec (c+d x))}{2 \sec ^{\frac {9}{2}}(c+d x)}dx}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {(\sec (c+d x) a+a)^{3/2} (a (3 A+11 B)+a (6 A+11 C) \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)}dx}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {\left (\csc \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{3/2} \left (a (3 A+11 B)+a (6 A+11 C) \csc \left (c+d x+\frac {\pi }{2}\right )\right )}{\csc \left (c+d x+\frac {\pi }{2}\right )^{9/2}}dx}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 4505 |
\(\displaystyle \frac {\frac {2}{9} \int \frac {\sqrt {\sec (c+d x) a+a} \left ((84 A+110 B+99 C) a^2+3 (24 A+22 B+33 C) \sec (c+d x) a^2\right )}{2 \sec ^{\frac {7}{2}}(c+d x)}dx+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\frac {1}{9} \int \frac {\sqrt {\sec (c+d x) a+a} \left ((84 A+110 B+99 C) a^2+3 (24 A+22 B+33 C) \sec (c+d x) a^2\right )}{\sec ^{\frac {7}{2}}(c+d x)}dx+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{9} \int \frac {\sqrt {\csc \left (c+d x+\frac {\pi }{2}\right ) a+a} \left ((84 A+110 B+99 C) a^2+3 (24 A+22 B+33 C) \csc \left (c+d x+\frac {\pi }{2}\right ) a^2\right )}{\csc \left (c+d x+\frac {\pi }{2}\right )^{7/2}}dx+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 4503 |
\(\displaystyle \frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \int \frac {\sqrt {\sec (c+d x) a+a}}{\sec ^{\frac {5}{2}}(c+d x)}dx+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \int \frac {\sqrt {\csc \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\csc \left (c+d x+\frac {\pi }{2}\right )^{5/2}}dx+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 4292 |
\(\displaystyle \frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \int \frac {\sqrt {\sec (c+d x) a+a}}{\sec ^{\frac {3}{2}}(c+d x)}dx+\frac {2 a \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \int \frac {\sqrt {\csc \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\csc \left (c+d x+\frac {\pi }{2}\right )^{3/2}}dx+\frac {2 a \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 4292 |
\(\displaystyle \frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \left (\frac {2}{3} \int \frac {\sqrt {\sec (c+d x) a+a}}{\sqrt {\sec (c+d x)}}dx+\frac {2 a \sin (c+d x)}{3 d \sqrt {\sec (c+d x)} \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {1}{9} \left (\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {4}{5} \left (\frac {2}{3} \int \frac {\sqrt {\csc \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sqrt {\csc \left (c+d x+\frac {\pi }{2}\right )}}dx+\frac {2 a \sin (c+d x)}{3 d \sqrt {\sec (c+d x)} \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
\(\Big \downarrow \) 4291 |
\(\displaystyle \frac {\frac {2 a^2 (3 A+11 B) \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {1}{9} \left (\frac {2 a^3 (84 A+110 B+99 C) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {3}{7} a^2 (336 A+374 B+429 C) \left (\frac {2 a \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {4}{5} \left (\frac {4 a \sin (c+d x) \sqrt {\sec (c+d x)}}{3 d \sqrt {a \sec (c+d x)+a}}+\frac {2 a \sin (c+d x)}{3 d \sqrt {\sec (c+d x)} \sqrt {a \sec (c+d x)+a}}\right )\right )\right )}{11 a}+\frac {2 A \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{11 d \sec ^{\frac {9}{2}}(c+d x)}\) |
Input:
Int[((a + a*Sec[c + d*x])^(3/2)*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2))/S ec[c + d*x]^(11/2),x]
Output:
(2*A*(a + a*Sec[c + d*x])^(3/2)*Sin[c + d*x])/(11*d*Sec[c + d*x]^(9/2)) + ((2*a^2*(3*A + 11*B)*Sqrt[a + a*Sec[c + d*x]]*Sin[c + d*x])/(9*d*Sec[c + d *x]^(7/2)) + ((2*a^3*(84*A + 110*B + 99*C)*Sin[c + d*x])/(7*d*Sec[c + d*x] ^(5/2)*Sqrt[a + a*Sec[c + d*x]]) + (3*a^2*(336*A + 374*B + 429*C)*((2*a*Si n[c + d*x])/(5*d*Sec[c + d*x]^(3/2)*Sqrt[a + a*Sec[c + d*x]]) + (4*((2*a*S in[c + d*x])/(3*d*Sqrt[Sec[c + d*x]]*Sqrt[a + a*Sec[c + d*x]]) + (4*a*Sqrt [Sec[c + d*x]]*Sin[c + d*x])/(3*d*Sqrt[a + a*Sec[c + d*x]])))/5))/7)/9)/(1 1*a)
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]/Sqrt[csc[(e_.) + (f_.)*(x_)] *(d_.)], x_Symbol] :> Simp[-2*a*(Cot[e + f*x]/(f*Sqrt[a + b*Csc[e + f*x]]*S qrt[d*Csc[e + f*x]])), x] /; FreeQ[{a, b, d, e, f}, x] && EqQ[a^2 - b^2, 0]
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Simp[a*Cot[e + f*x]*((d*Csc[e + f*x])^n/(f*n*Sqrt[a + b*Csc[e + f*x]])), x] + Simp[a*((2*n + 1)/(2*b*d*n)) Int[Sqrt[a + b*Csc [e + f*x]]*(d*Csc[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, d, e, f}, x] && EqQ[a^2 - b^2, 0] && LtQ[n, -2^(-1)] && IntegerQ[2*n]
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]*(csc[(e_.) + (f_.)*(x_)]*(B_.) + (A_)), x_Symbol] :> Simp[A*b^2*Co t[e + f*x]*((d*Csc[e + f*x])^n/(a*f*n*Sqrt[a + b*Csc[e + f*x]])), x] + Simp [(A*b*(2*n + 1) + 2*a*B*n)/(2*a*d*n) Int[Sqrt[a + b*Csc[e + f*x]]*(d*Csc[ e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, d, e, f, A, B}, x] && NeQ[A*b - a *B, 0] && EqQ[a^2 - b^2, 0] && NeQ[A*b*(2*n + 1) + 2*a*B*n, 0] && LtQ[n, 0]
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + ( a_))^(m_)*(csc[(e_.) + (f_.)*(x_)]*(B_.) + (A_)), x_Symbol] :> Simp[a*A*Cot [e + f*x]*(a + b*Csc[e + f*x])^(m - 1)*((d*Csc[e + f*x])^n/(f*n)), x] - Sim p[b/(a*d*n) Int[(a + b*Csc[e + f*x])^(m - 1)*(d*Csc[e + f*x])^(n + 1)*Sim p[a*A*(m - n - 1) - b*B*n - (a*B*n + A*b*(m + n))*Csc[e + f*x], x], x], x] /; FreeQ[{a, b, d, e, f, A, B}, x] && NeQ[A*b - a*B, 0] && EqQ[a^2 - b^2, 0 ] && GtQ[m, 1/2] && LtQ[n, -1]
Int[((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_. ))*(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a _))^(m_), x_Symbol] :> Simp[A*Cot[e + f*x]*(a + b*Csc[e + f*x])^m*((d*Csc[e + f*x])^n/(f*n)), x] - Simp[1/(b*d*n) Int[(a + b*Csc[e + f*x])^m*(d*Csc[ e + f*x])^(n + 1)*Simp[a*A*m - b*B*n - b*(A*(m + n + 1) + C*n)*Csc[e + f*x] , x], x], x] /; FreeQ[{a, b, d, e, f, A, B, C, m}, x] && EqQ[a^2 - b^2, 0] && !LtQ[m, -2^(-1)] && (LtQ[n, -2^(-1)] || EqQ[m + n + 1, 0])
Time = 7.05 (sec) , antiderivative size = 170, normalized size of antiderivative = 0.60
method | result | size |
default | \(\frac {2 a \left (\left (315 \cos \left (d x +c \right )^{5}+735 \cos \left (d x +c \right )^{4}+840 \cos \left (d x +c \right )^{3}+1008 \cos \left (d x +c \right )^{2}+1344 \cos \left (d x +c \right )+2688\right ) A +\left (385 \cos \left (d x +c \right )^{4}+935 \cos \left (d x +c \right )^{3}+1122 \cos \left (d x +c \right )^{2}+1496 \cos \left (d x +c \right )+2992\right ) B +\left (495 \cos \left (d x +c \right )^{3}+1287 \cos \left (d x +c \right )^{2}+1716 \cos \left (d x +c \right )+3432\right ) C \right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{3465 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(170\) |
parts | \(\frac {2 A a \left (15 \cos \left (d x +c \right )^{5}+35 \cos \left (d x +c \right )^{4}+40 \cos \left (d x +c \right )^{3}+48 \cos \left (d x +c \right )^{2}+64 \cos \left (d x +c \right )+128\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{165 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}+\frac {2 B a \left (35 \cos \left (d x +c \right )^{4}+85 \cos \left (d x +c \right )^{3}+102 \cos \left (d x +c \right )^{2}+136 \cos \left (d x +c \right )+272\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{315 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}+\frac {2 C a \left (15 \cos \left (d x +c \right )^{3}+39 \cos \left (d x +c \right )^{2}+52 \cos \left (d x +c \right )+104\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{105 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(251\) |
Input:
int((a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/sec(d*x+c)^(11/ 2),x,method=_RETURNVERBOSE)
Output:
2/3465/d*a*((315*cos(d*x+c)^5+735*cos(d*x+c)^4+840*cos(d*x+c)^3+1008*cos(d *x+c)^2+1344*cos(d*x+c)+2688)*A+(385*cos(d*x+c)^4+935*cos(d*x+c)^3+1122*co s(d*x+c)^2+1496*cos(d*x+c)+2992)*B+(495*cos(d*x+c)^3+1287*cos(d*x+c)^2+171 6*cos(d*x+c)+3432)*C)*(a*(1+sec(d*x+c)))^(1/2)/(cos(d*x+c)+1)/sec(d*x+c)^( 3/2)*tan(d*x+c)
Time = 0.10 (sec) , antiderivative size = 162, normalized size of antiderivative = 0.57 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {2 \, {\left (315 \, A a \cos \left (d x + c\right )^{6} + 35 \, {\left (21 \, A + 11 \, B\right )} a \cos \left (d x + c\right )^{5} + 5 \, {\left (168 \, A + 187 \, B + 99 \, C\right )} a \cos \left (d x + c\right )^{4} + 3 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )^{3} + 4 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )^{2} + 8 \, {\left (336 \, A + 374 \, B + 429 \, C\right )} a \cos \left (d x + c\right )\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{3465 \, {\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \] Input:
integrate((a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/sec(d*x+c )^(11/2),x, algorithm="fricas")
Output:
2/3465*(315*A*a*cos(d*x + c)^6 + 35*(21*A + 11*B)*a*cos(d*x + c)^5 + 5*(16 8*A + 187*B + 99*C)*a*cos(d*x + c)^4 + 3*(336*A + 374*B + 429*C)*a*cos(d*x + c)^3 + 4*(336*A + 374*B + 429*C)*a*cos(d*x + c)^2 + 8*(336*A + 374*B + 429*C)*a*cos(d*x + c))*sqrt((a*cos(d*x + c) + a)/cos(d*x + c))*sin(d*x + c )/((d*cos(d*x + c) + d)*sqrt(cos(d*x + c)))
Timed out. \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\text {Timed out} \] Input:
integrate((a+a*sec(d*x+c))**(3/2)*(A+B*sec(d*x+c)+C*sec(d*x+c)**2)/sec(d*x +c)**(11/2),x)
Output:
Timed out
Leaf count of result is larger than twice the leaf count of optimal. 1188 vs. \(2 (248) = 496\).
Time = 0.34 (sec) , antiderivative size = 1188, normalized size of antiderivative = 4.18 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\text {Too large to display} \] Input:
integrate((a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/sec(d*x+c )^(11/2),x, algorithm="maxima")
Output:
1/110880*(21*sqrt(2)*(3630*a*cos(10/11*arctan2(sin(11/2*d*x + 11/2*c), cos (11/2*d*x + 11/2*c)))*sin(11/2*d*x + 11/2*c) + 990*a*cos(8/11*arctan2(sin( 11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c)))*sin(11/2*d*x + 11/2*c) + 429* a*cos(6/11*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c)))*sin(11 /2*d*x + 11/2*c) + 165*a*cos(4/11*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2 *d*x + 11/2*c)))*sin(11/2*d*x + 11/2*c) + 55*a*cos(2/11*arctan2(sin(11/2*d *x + 11/2*c), cos(11/2*d*x + 11/2*c)))*sin(11/2*d*x + 11/2*c) - 3630*a*cos (11/2*d*x + 11/2*c)*sin(10/11*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))) - 990*a*cos(11/2*d*x + 11/2*c)*sin(8/11*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))) - 429*a*cos(11/2*d*x + 11/2*c)*sin(6/1 1*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))) - 165*a*cos(11/ 2*d*x + 11/2*c)*sin(4/11*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11 /2*c))) - 55*a*cos(11/2*d*x + 11/2*c)*sin(2/11*arctan2(sin(11/2*d*x + 11/2 *c), cos(11/2*d*x + 11/2*c))) + 30*a*sin(11/2*d*x + 11/2*c) + 55*a*sin(9/1 1*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))) + 165*a*sin(7/1 1*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))) + 429*a*sin(5/1 1*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))) + 990*a*sin(3/1 1*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))) + 3630*a*sin(1/ 11*arctan2(sin(11/2*d*x + 11/2*c), cos(11/2*d*x + 11/2*c))))*A*sqrt(a) + 2 2*sqrt(2)*(3780*a*cos(8/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d*x + 9...
Time = 2.33 (sec) , antiderivative size = 386, normalized size of antiderivative = 1.36 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {4 \, {\left (3465 \, \sqrt {2} A a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 3465 \, \sqrt {2} B a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 3465 \, \sqrt {2} C a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + {\left (6930 \, \sqrt {2} A a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 9240 \, \sqrt {2} B a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 11550 \, \sqrt {2} C a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + {\left (15246 \, \sqrt {2} A a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 14784 \, \sqrt {2} B a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 17094 \, \sqrt {2} C a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + {\left (11088 \, \sqrt {2} A a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 13662 \, \sqrt {2} B a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 14652 \, \sqrt {2} C a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + {\left (5313 \, \sqrt {2} A a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 5687 \, \sqrt {2} B a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 6897 \, \sqrt {2} C a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 2 \, {\left (483 \, \sqrt {2} A a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 517 \, \sqrt {2} B a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 627 \, \sqrt {2} C a^{7} \mathrm {sgn}\left (\cos \left (d x + c\right )\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{3465 \, {\left (a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a\right )}^{\frac {11}{2}} d} \] Input:
integrate((a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/sec(d*x+c )^(11/2),x, algorithm="giac")
Output:
4/3465*(3465*sqrt(2)*A*a^7*sgn(cos(d*x + c)) + 3465*sqrt(2)*B*a^7*sgn(cos( d*x + c)) + 3465*sqrt(2)*C*a^7*sgn(cos(d*x + c)) + (6930*sqrt(2)*A*a^7*sgn (cos(d*x + c)) + 9240*sqrt(2)*B*a^7*sgn(cos(d*x + c)) + 11550*sqrt(2)*C*a^ 7*sgn(cos(d*x + c)) + (15246*sqrt(2)*A*a^7*sgn(cos(d*x + c)) + 14784*sqrt( 2)*B*a^7*sgn(cos(d*x + c)) + 17094*sqrt(2)*C*a^7*sgn(cos(d*x + c)) + (1108 8*sqrt(2)*A*a^7*sgn(cos(d*x + c)) + 13662*sqrt(2)*B*a^7*sgn(cos(d*x + c)) + 14652*sqrt(2)*C*a^7*sgn(cos(d*x + c)) + (5313*sqrt(2)*A*a^7*sgn(cos(d*x + c)) + 5687*sqrt(2)*B*a^7*sgn(cos(d*x + c)) + 6897*sqrt(2)*C*a^7*sgn(cos( d*x + c)) + 2*(483*sqrt(2)*A*a^7*sgn(cos(d*x + c)) + 517*sqrt(2)*B*a^7*sgn (cos(d*x + c)) + 627*sqrt(2)*C*a^7*sgn(cos(d*x + c)))*tan(1/2*d*x + 1/2*c) ^2)*tan(1/2*d*x + 1/2*c)^2)*tan(1/2*d*x + 1/2*c)^2)*tan(1/2*d*x + 1/2*c)^2 )*tan(1/2*d*x + 1/2*c)^2)*tan(1/2*d*x + 1/2*c)/((a*tan(1/2*d*x + 1/2*c)^2 + a)^(11/2)*d)
Time = 20.42 (sec) , antiderivative size = 392, normalized size of antiderivative = 1.38 \[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\frac {\sqrt {a-\frac {a}{2\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-1}}\,\left (2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}-1\right )\,\left (\frac {a\,\sin \left (\frac {9\,c}{2}+\frac {9\,d\,x}{2}\right )\,\left (3\,A+2\,B\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )}{72\,d}+\frac {A\,a\,\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )}{88\,d}+\frac {a\,\sin \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (7\,A+6\,B+4\,C\right )}{56\,d}+\frac {a\,\sin \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (9\,A+10\,B+10\,C\right )}{12\,d}+\frac {a\,\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (11\,A+12\,B+14\,C\right )}{4\,d}+\frac {a\,\sin \left (\frac {5\,c}{2}+\frac {5\,d\,x}{2}\right )\,\left (-2\,{\sin \left (\frac {11\,c}{4}+\frac {11\,d\,x}{4}\right )}^2+\sin \left (\frac {11\,c}{2}+\frac {11\,d\,x}{2}\right )\,1{}\mathrm {i}+1\right )\,\left (13\,A+12\,B+12\,C\right )}{40\,d}\right )}{2\,\sqrt {-\frac {1}{2\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-1}}\,\left (2\,{\sin \left (\frac {c}{4}+\frac {d\,x}{4}\right )}^2-1\right )} \] Input:
int(((a + a/cos(c + d*x))^(3/2)*(A + B/cos(c + d*x) + C/cos(c + d*x)^2))/( 1/cos(c + d*x))^(11/2),x)
Output:
((a - a/(2*sin(c/2 + (d*x)/2)^2 - 1))^(1/2)*(sin((11*c)/2 + (11*d*x)/2)*1i + 2*sin((11*c)/4 + (11*d*x)/4)^2 - 1)*((a*sin((9*c)/2 + (9*d*x)/2)*(3*A + 2*B)*(sin((11*c)/2 + (11*d*x)/2)*1i - 2*sin((11*c)/4 + (11*d*x)/4)^2 + 1) )/(72*d) + (A*a*sin((11*c)/2 + (11*d*x)/2)*(sin((11*c)/2 + (11*d*x)/2)*1i - 2*sin((11*c)/4 + (11*d*x)/4)^2 + 1))/(88*d) + (a*sin((7*c)/2 + (7*d*x)/2 )*(sin((11*c)/2 + (11*d*x)/2)*1i - 2*sin((11*c)/4 + (11*d*x)/4)^2 + 1)*(7* A + 6*B + 4*C))/(56*d) + (a*sin((3*c)/2 + (3*d*x)/2)*(sin((11*c)/2 + (11*d *x)/2)*1i - 2*sin((11*c)/4 + (11*d*x)/4)^2 + 1)*(9*A + 10*B + 10*C))/(12*d ) + (a*sin(c/2 + (d*x)/2)*(sin((11*c)/2 + (11*d*x)/2)*1i - 2*sin((11*c)/4 + (11*d*x)/4)^2 + 1)*(11*A + 12*B + 14*C))/(4*d) + (a*sin((5*c)/2 + (5*d*x )/2)*(sin((11*c)/2 + (11*d*x)/2)*1i - 2*sin((11*c)/4 + (11*d*x)/4)^2 + 1)* (13*A + 12*B + 12*C))/(40*d)))/(2*(-1/(2*sin(c/2 + (d*x)/2)^2 - 1))^(1/2)* (2*sin(c/4 + (d*x)/4)^2 - 1))
\[ \int \frac {(a+a \sec (c+d x))^{3/2} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {11}{2}}(c+d x)} \, dx=\sqrt {a}\, a \left (\left (\int \frac {\sqrt {\sec \left (d x +c \right )}\, \sqrt {\sec \left (d x +c \right )+1}}{\sec \left (d x +c \right )^{6}}d x \right ) a +\left (\int \frac {\sqrt {\sec \left (d x +c \right )}\, \sqrt {\sec \left (d x +c \right )+1}}{\sec \left (d x +c \right )^{5}}d x \right ) a +\left (\int \frac {\sqrt {\sec \left (d x +c \right )}\, \sqrt {\sec \left (d x +c \right )+1}}{\sec \left (d x +c \right )^{5}}d x \right ) b +\left (\int \frac {\sqrt {\sec \left (d x +c \right )}\, \sqrt {\sec \left (d x +c \right )+1}}{\sec \left (d x +c \right )^{4}}d x \right ) b +\left (\int \frac {\sqrt {\sec \left (d x +c \right )}\, \sqrt {\sec \left (d x +c \right )+1}}{\sec \left (d x +c \right )^{4}}d x \right ) c +\left (\int \frac {\sqrt {\sec \left (d x +c \right )}\, \sqrt {\sec \left (d x +c \right )+1}}{\sec \left (d x +c \right )^{3}}d x \right ) c \right ) \] Input:
int((a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)+C*sec(d*x+c)^2)/sec(d*x+c)^(11/ 2),x)
Output:
sqrt(a)*a*(int((sqrt(sec(c + d*x))*sqrt(sec(c + d*x) + 1))/sec(c + d*x)**6 ,x)*a + int((sqrt(sec(c + d*x))*sqrt(sec(c + d*x) + 1))/sec(c + d*x)**5,x) *a + int((sqrt(sec(c + d*x))*sqrt(sec(c + d*x) + 1))/sec(c + d*x)**5,x)*b + int((sqrt(sec(c + d*x))*sqrt(sec(c + d*x) + 1))/sec(c + d*x)**4,x)*b + i nt((sqrt(sec(c + d*x))*sqrt(sec(c + d*x) + 1))/sec(c + d*x)**4,x)*c + int( (sqrt(sec(c + d*x))*sqrt(sec(c + d*x) + 1))/sec(c + d*x)**3,x)*c)