Integrand size = 35, antiderivative size = 228 \[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\frac {16 a^2 (34 A+39 B) \sin (c+d x)}{315 d \sqrt {\cos (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {8 a^2 (34 A+39 B) \sqrt {\cos (c+d x)} \sin (c+d x)}{315 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (34 A+39 B) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{105 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a^2 (10 A+9 B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{63 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{9 d} \] Output:
16/315*a^2*(34*A+39*B)*sin(d*x+c)/d/cos(d*x+c)^(1/2)/(a+a*sec(d*x+c))^(1/2 )+8/315*a^2*(34*A+39*B)*cos(d*x+c)^(1/2)*sin(d*x+c)/d/(a+a*sec(d*x+c))^(1/ 2)+2/105*a^2*(34*A+39*B)*cos(d*x+c)^(3/2)*sin(d*x+c)/d/(a+a*sec(d*x+c))^(1 /2)+2/63*a^2*(10*A+9*B)*cos(d*x+c)^(5/2)*sin(d*x+c)/d/(a+a*sec(d*x+c))^(1/ 2)+2/9*a*A*cos(d*x+c)^(7/2)*(a+a*sec(d*x+c))^(1/2)*sin(d*x+c)/d
Time = 6.53 (sec) , antiderivative size = 113, normalized size of antiderivative = 0.50 \[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\frac {a \sqrt {\cos (c+d x)} (2689 A+2964 B+2 (799 A+759 B) \cos (c+d x)+(548 A+468 B) \cos (2 (c+d x))+170 A \cos (3 (c+d x))+90 B \cos (3 (c+d x))+35 A \cos (4 (c+d x))) \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{1260 d} \] Input:
Integrate[Cos[c + d*x]^(9/2)*(a + a*Sec[c + d*x])^(3/2)*(A + B*Sec[c + d*x ]),x]
Output:
(a*Sqrt[Cos[c + d*x]]*(2689*A + 2964*B + 2*(799*A + 759*B)*Cos[c + d*x] + (548*A + 468*B)*Cos[2*(c + d*x)] + 170*A*Cos[3*(c + d*x)] + 90*B*Cos[3*(c + d*x)] + 35*A*Cos[4*(c + d*x)])*Sqrt[a*(1 + Sec[c + d*x])]*Tan[(c + d*x)/ 2])/(1260*d)
Time = 1.32 (sec) , antiderivative size = 245, normalized size of antiderivative = 1.07, number of steps used = 13, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.371, Rules used = {3042, 3434, 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 \cos ^{\frac {9}{2}}(c+d x) (a \sec (c+d x)+a)^{3/2} (A+B \sec (c+d x)) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \sin \left (c+d x+\frac {\pi }{2}\right )^{9/2} \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 )\right )dx\) |
\(\Big \downarrow \) 3434 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {(\sec (c+d x) a+a)^{3/2} (A+B \sec (c+d x))}{\sec ^{\frac {9}{2}}(c+d x)}dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {\left (\csc \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{3/2} \left (A+B \csc \left (c+d x+\frac {\pi }{2}\right )\right )}{\csc \left (c+d x+\frac {\pi }{2}\right )^{9/2}}dx\) |
\(\Big \downarrow \) 4505 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {2}{9} \int \frac {\sqrt {\sec (c+d x) a+a} (a (10 A+9 B)+3 a (2 A+3 B) \sec (c+d x))}{2 \sec ^{\frac {7}{2}}(c+d x)}dx+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \int \frac {\sqrt {\sec (c+d x) a+a} (a (10 A+9 B)+3 a (2 A+3 B) \sec (c+d x))}{\sec ^{\frac {7}{2}}(c+d x)}dx+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \int \frac {\sqrt {\csc \left (c+d x+\frac {\pi }{2}\right ) a+a} \left (a (10 A+9 B)+3 a (2 A+3 B) \csc \left (c+d x+\frac {\pi }{2}\right )\right )}{\csc \left (c+d x+\frac {\pi }{2}\right )^{7/2}}dx+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 4503 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \left (\frac {3}{7} a (34 A+39 B) \int \frac {\sqrt {\sec (c+d x) a+a}}{\sec ^{\frac {5}{2}}(c+d x)}dx+\frac {2 a^2 (10 A+9 B) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \left (\frac {3}{7} a (34 A+39 B) \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^2 (10 A+9 B) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 4292 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \left (\frac {3}{7} a (34 A+39 B) \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^2 (10 A+9 B) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \left (\frac {3}{7} a (34 A+39 B) \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^2 (10 A+9 B) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 4292 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \left (\frac {3}{7} a (34 A+39 B) \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^2 (10 A+9 B) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \left (\frac {3}{7} a (34 A+39 B) \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^2 (10 A+9 B) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}\right )+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 4291 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {1}{9} \left (\frac {2 a^2 (10 A+9 B) \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {3}{7} a (34 A+39 B) \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 )+\frac {2 a A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{9 d \sec ^{\frac {7}{2}}(c+d x)}\right )\) |
Input:
Int[Cos[c + d*x]^(9/2)*(a + a*Sec[c + d*x])^(3/2)*(A + B*Sec[c + d*x]),x]
Output:
Sqrt[Cos[c + d*x]]*Sqrt[Sec[c + d*x]]*((2*a*A*Sqrt[a + a*Sec[c + d*x]]*Sin [c + d*x])/(9*d*Sec[c + d*x]^(7/2)) + ((2*a^2*(10*A + 9*B)*Sin[c + d*x])/( 7*d*Sec[c + d*x]^(5/2)*Sqrt[a + a*Sec[c + d*x]]) + (3*a*(34*A + 39*B)*((2* a*Sin[c + d*x])/(5*d*Sec[c + d*x]^(3/2)*Sqrt[a + a*Sec[c + d*x]]) + (4*((2 *a*Sin[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 )
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_.) + csc[(e_.) + (f_.)*(x_)]*(b_.))^(m_.)*(csc[(e_.) + (f_.)*(x_)]* (d_.) + (c_))^(n_.)*((g_.)*sin[(e_.) + (f_.)*(x_)])^(p_.), x_Symbol] :> Sim p[(g*Csc[e + f*x])^p*(g*Sin[e + f*x])^p Int[(a + b*Csc[e + f*x])^m*((c + d*Csc[e + f*x])^n/(g*Csc[e + f*x])^p), x], x] /; FreeQ[{a, b, c, d, e, f, g , m, n, p}, x] && NeQ[b*c - a*d, 0] && !IntegerQ[p] && !(IntegerQ[m] && I ntegerQ[n])
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]
Time = 1.64 (sec) , antiderivative size = 118, normalized size of antiderivative = 0.52
method | result | size |
default | \(\frac {2 \sin \left (d x +c \right ) \left (\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 ) A +\left (45 \cos \left (d x +c \right )^{3}+117 \cos \left (d x +c \right )^{2}+156 \cos \left (d x +c \right )+312\right ) B \right ) \sqrt {\cos \left (d x +c \right )}\, \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, a}{315 d \left (1+\cos \left (d x +c \right )\right )}\) | \(118\) |
Input:
int(cos(d*x+c)^(9/2)*(a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x,method=_RET URNVERBOSE)
Output:
2/315/d*sin(d*x+c)*((35*cos(d*x+c)^4+85*cos(d*x+c)^3+102*cos(d*x+c)^2+136* cos(d*x+c)+272)*A+(45*cos(d*x+c)^3+117*cos(d*x+c)^2+156*cos(d*x+c)+312)*B) *cos(d*x+c)^(1/2)*(a*(1+sec(d*x+c)))^(1/2)*a/(1+cos(d*x+c))
Time = 0.09 (sec) , antiderivative size = 124, normalized size of antiderivative = 0.54 \[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\frac {2 \, {\left (35 \, A a \cos \left (d x + c\right )^{4} + 5 \, {\left (17 \, A + 9 \, B\right )} a \cos \left (d x + c\right )^{3} + 3 \, {\left (34 \, A + 39 \, B\right )} a \cos \left (d x + c\right )^{2} + 4 \, {\left (34 \, A + 39 \, B\right )} a \cos \left (d x + c\right ) + 8 \, {\left (34 \, A + 39 \, B\right )} a\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{315 \, {\left (d \cos \left (d x + c\right ) + d\right )}} \] Input:
integrate(cos(d*x+c)^(9/2)*(a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x, algo rithm="fricas")
Output:
2/315*(35*A*a*cos(d*x + c)^4 + 5*(17*A + 9*B)*a*cos(d*x + c)^3 + 3*(34*A + 39*B)*a*cos(d*x + c)^2 + 4*(34*A + 39*B)*a*cos(d*x + c) + 8*(34*A + 39*B) *a)*sqrt((a*cos(d*x + c) + a)/cos(d*x + c))*sqrt(cos(d*x + c))*sin(d*x + c )/(d*cos(d*x + c) + d)
Timed out. \[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\text {Timed out} \] Input:
integrate(cos(d*x+c)**(9/2)*(a+a*sec(d*x+c))**(3/2)*(A+B*sec(d*x+c)),x)
Output:
Timed out
Leaf count of result is larger than twice the leaf count of optimal. 558 vs. \(2 (198) = 396\).
Time = 0.25 (sec) , antiderivative size = 558, normalized size of antiderivative = 2.45 \[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\text {Too large to display} \] Input:
integrate(cos(d*x+c)^(9/2)*(a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x, algo rithm="maxima")
Output:
1/5040*(sqrt(2)*(3780*a*cos(8/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c)))*sin(9/2*d*x + 9/2*c) + 1050*a*cos(2/3*arctan2(sin(9/2*d*x + 9/2 *c), cos(9/2*d*x + 9/2*c)))*sin(9/2*d*x + 9/2*c) + 378*a*cos(4/9*arctan2(s in(9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c)))*sin(9/2*d*x + 9/2*c) + 135*a*c os(2/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c)))*sin(9/2*d*x + 9/2*c) - 3780*a*cos(9/2*d*x + 9/2*c)*sin(8/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c))) - 1050*a*cos(9/2*d*x + 9/2*c)*sin(2/3*arctan2(sin( 9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c))) - 378*a*cos(9/2*d*x + 9/2*c)*sin( 4/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c))) - 135*a*cos(9/2*d *x + 9/2*c)*sin(2/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c))) + 70*a*sin(9/2*d*x + 9/2*c) + 135*a*sin(7/9*arctan2(sin(9/2*d*x + 9/2*c), c os(9/2*d*x + 9/2*c))) + 378*a*sin(5/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/ 2*d*x + 9/2*c))) + 1050*a*sin(1/3*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d* x + 9/2*c))) + 3780*a*sin(1/9*arctan2(sin(9/2*d*x + 9/2*c), cos(9/2*d*x + 9/2*c))))*A*sqrt(a) - 6*sqrt(2)*(175*a*cos(7/4*arctan2(sin(2*d*x + 2*c), c os(2*d*x + 2*c)))*sin(2*d*x + 2*c) - 5*(35*a*cos(2*d*x + 2*c) + 6*a)*sin(7 /4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 126*a*sin(5/4*arctan2(si n(2*d*x + 2*c), cos(2*d*x + 2*c))) - 175*a*sin(3/4*arctan2(sin(2*d*x + 2*c ), cos(2*d*x + 2*c))) - 1470*a*sin(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))))*B*sqrt(a))/d
Time = 0.32 (sec) , antiderivative size = 238, normalized size of antiderivative = 1.04 \[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\frac {4 \, {\left ({\left ({\left ({\left (2 \, \sqrt {2} {\left (47 \, A a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 57 \, B a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 9 \, \sqrt {2} {\left (47 \, A a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 57 \, B a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right )\right )}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 819 \, \sqrt {2} {\left (A a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + B a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right )\right )}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 105 \, \sqrt {2} {\left (5 \, A a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + 7 \, B a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right )\right )}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 315 \, \sqrt {2} {\left (A a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right ) + B a^{6} \mathrm {sgn}\left (\cos \left (d x + c\right )\right )\right )}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{315 \, {\left (a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a\right )}^{\frac {9}{2}} d} \] Input:
integrate(cos(d*x+c)^(9/2)*(a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x, algo rithm="giac")
Output:
4/315*((((2*sqrt(2)*(47*A*a^6*sgn(cos(d*x + c)) + 57*B*a^6*sgn(cos(d*x + c )))*tan(1/2*d*x + 1/2*c)^2 + 9*sqrt(2)*(47*A*a^6*sgn(cos(d*x + c)) + 57*B* a^6*sgn(cos(d*x + c))))*tan(1/2*d*x + 1/2*c)^2 + 819*sqrt(2)*(A*a^6*sgn(co s(d*x + c)) + B*a^6*sgn(cos(d*x + c))))*tan(1/2*d*x + 1/2*c)^2 + 105*sqrt( 2)*(5*A*a^6*sgn(cos(d*x + c)) + 7*B*a^6*sgn(cos(d*x + c))))*tan(1/2*d*x + 1/2*c)^2 + 315*sqrt(2)*(A*a^6*sgn(cos(d*x + c)) + B*a^6*sgn(cos(d*x + c))) )*tan(1/2*d*x + 1/2*c)/((a*tan(1/2*d*x + 1/2*c)^2 + a)^(9/2)*d)
Timed out. \[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\int {\cos \left (c+d\,x\right )}^{9/2}\,\left (A+\frac {B}{\cos \left (c+d\,x\right )}\right )\,{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{3/2} \,d x \] Input:
int(cos(c + d*x)^(9/2)*(A + B/cos(c + d*x))*(a + a/cos(c + d*x))^(3/2),x)
Output:
int(cos(c + d*x)^(9/2)*(A + B/cos(c + d*x))*(a + a/cos(c + d*x))^(3/2), x)
\[ \int \cos ^{\frac {9}{2}}(c+d x) (a+a \sec (c+d x))^{3/2} (A+B \sec (c+d x)) \, dx=\sqrt {a}\, a \left (\left (\int \sqrt {\sec \left (d x +c \right )+1}\, \sqrt {\cos \left (d x +c \right )}\, \cos \left (d x +c \right )^{4} \sec \left (d x +c \right )^{2}d x \right ) b +\left (\int \sqrt {\sec \left (d x +c \right )+1}\, \sqrt {\cos \left (d x +c \right )}\, \cos \left (d x +c \right )^{4} \sec \left (d x +c \right )d x \right ) a +\left (\int \sqrt {\sec \left (d x +c \right )+1}\, \sqrt {\cos \left (d x +c \right )}\, \cos \left (d x +c \right )^{4} \sec \left (d x +c \right )d x \right ) b +\left (\int \sqrt {\sec \left (d x +c \right )+1}\, \sqrt {\cos \left (d x +c \right )}\, \cos \left (d x +c \right )^{4}d x \right ) a \right ) \] Input:
int(cos(d*x+c)^(9/2)*(a+a*sec(d*x+c))^(3/2)*(A+B*sec(d*x+c)),x)
Output:
sqrt(a)*a*(int(sqrt(sec(c + d*x) + 1)*sqrt(cos(c + d*x))*cos(c + d*x)**4*s ec(c + d*x)**2,x)*b + int(sqrt(sec(c + d*x) + 1)*sqrt(cos(c + d*x))*cos(c + d*x)**4*sec(c + d*x),x)*a + int(sqrt(sec(c + d*x) + 1)*sqrt(cos(c + d*x) )*cos(c + d*x)**4*sec(c + d*x),x)*b + int(sqrt(sec(c + d*x) + 1)*sqrt(cos( c + d*x))*cos(c + d*x)**4,x)*a)