Integrand size = 37, antiderivative size = 266 \[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\frac {4 a^3 (568 A+759 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{693 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^3 (568 A+759 C) \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{693 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^3 (232 A+297 C) \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{693 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (32 A+33 C) \sqrt {a+a \cos (c+d x)} \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{231 d}+\frac {10 a A (a+a \cos (c+d x))^{3/2} \sec ^{\frac {9}{2}}(c+d x) \sin (c+d x)}{99 d}+\frac {2 A (a+a \cos (c+d x))^{5/2} \sec ^{\frac {11}{2}}(c+d x) \sin (c+d x)}{11 d} \] Output:
4/693*a^3*(568*A+759*C)*sec(d*x+c)^(1/2)*sin(d*x+c)/d/(a+a*cos(d*x+c))^(1/ 2)+2/693*a^3*(568*A+759*C)*sec(d*x+c)^(3/2)*sin(d*x+c)/d/(a+a*cos(d*x+c))^ (1/2)+2/693*a^3*(232*A+297*C)*sec(d*x+c)^(5/2)*sin(d*x+c)/d/(a+a*cos(d*x+c ))^(1/2)+2/231*a^2*(32*A+33*C)*(a+a*cos(d*x+c))^(1/2)*sec(d*x+c)^(7/2)*sin (d*x+c)/d+10/99*a*A*(a+a*cos(d*x+c))^(3/2)*sec(d*x+c)^(9/2)*sin(d*x+c)/d+2 /11*A*(a+a*cos(d*x+c))^(5/2)*sec(d*x+c)^(11/2)*sin(d*x+c)/d
Time = 1.10 (sec) , antiderivative size = 149, normalized size of antiderivative = 0.56 \[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\frac {a^2 \sqrt {a (1+\cos (c+d x))} (3628 A+2673 C+2 (5014 A+4983 C) \cos (c+d x)+52 (71 A+66 C) \cos (2 (c+d x))+3692 A \cos (3 (c+d x))+4587 C \cos (3 (c+d x))+568 A \cos (4 (c+d x))+759 C \cos (4 (c+d x))+568 A \cos (5 (c+d x))+759 C \cos (5 (c+d x))) \sec ^{\frac {11}{2}}(c+d x) \tan \left (\frac {1}{2} (c+d x)\right )}{2772 d} \] Input:
Integrate[(a + a*Cos[c + d*x])^(5/2)*(A + C*Cos[c + d*x]^2)*Sec[c + d*x]^( 13/2),x]
Output:
(a^2*Sqrt[a*(1 + Cos[c + d*x])]*(3628*A + 2673*C + 2*(5014*A + 4983*C)*Cos [c + d*x] + 52*(71*A + 66*C)*Cos[2*(c + d*x)] + 3692*A*Cos[3*(c + d*x)] + 4587*C*Cos[3*(c + d*x)] + 568*A*Cos[4*(c + d*x)] + 759*C*Cos[4*(c + d*x)] + 568*A*Cos[5*(c + d*x)] + 759*C*Cos[5*(c + d*x)])*Sec[c + d*x]^(11/2)*Tan [(c + d*x)/2])/(2772*d)
Time = 1.85 (sec) , antiderivative size = 300, normalized size of antiderivative = 1.13, number of steps used = 17, number of rules used = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.459, Rules used = {3042, 4709, 3042, 3523, 27, 3042, 3454, 27, 3042, 3454, 27, 3042, 3459, 3042, 3251, 3042, 3250}
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 \sec ^{\frac {13}{2}}(c+d x) (a \cos (c+d x)+a)^{5/2} \left (A+C \cos ^2(c+d x)\right ) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \sec (c+d x)^{13/2} (a \cos (c+d x)+a)^{5/2} \left (A+C \cos (c+d x)^2\right )dx\) |
\(\Big \downarrow \) 4709 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {(\cos (c+d x) a+a)^{5/2} \left (C \cos ^2(c+d x)+A\right )}{\cos ^{\frac {13}{2}}(c+d x)}dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \int \frac {\left (\sin \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{5/2} \left (C \sin \left (c+d x+\frac {\pi }{2}\right )^2+A\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{13/2}}dx\) |
\(\Big \downarrow \) 3523 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {2 \int \frac {(\cos (c+d x) a+a)^{5/2} (5 a A+a (4 A+11 C) \cos (c+d x))}{2 \cos ^{\frac {11}{2}}(c+d x)}dx}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\int \frac {(\cos (c+d x) a+a)^{5/2} (5 a A+a (4 A+11 C) \cos (c+d x))}{\cos ^{\frac {11}{2}}(c+d x)}dx}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\int \frac {\left (\sin \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{5/2} \left (5 a A+a (4 A+11 C) \sin \left (c+d x+\frac {\pi }{2}\right )\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{11/2}}dx}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3454 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {2}{9} \int \frac {(\cos (c+d x) a+a)^{3/2} \left (3 (32 A+33 C) a^2+(56 A+99 C) \cos (c+d x) a^2\right )}{2 \cos ^{\frac {9}{2}}(c+d x)}dx+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \int \frac {(\cos (c+d x) a+a)^{3/2} \left (3 (32 A+33 C) a^2+(56 A+99 C) \cos (c+d x) a^2\right )}{\cos ^{\frac {9}{2}}(c+d x)}dx+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \int \frac {\left (\sin \left (c+d x+\frac {\pi }{2}\right ) a+a\right )^{3/2} \left (3 (32 A+33 C) a^2+(56 A+99 C) \sin \left (c+d x+\frac {\pi }{2}\right ) a^2\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{9/2}}dx+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3454 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {2}{7} \int \frac {\sqrt {\cos (c+d x) a+a} \left (5 (232 A+297 C) a^3+(776 A+1089 C) \cos (c+d x) a^3\right )}{2 \cos ^{\frac {7}{2}}(c+d x)}dx+\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\right )+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {1}{7} \int \frac {\sqrt {\cos (c+d x) a+a} \left (5 (232 A+297 C) a^3+(776 A+1089 C) \cos (c+d x) a^3\right )}{\cos ^{\frac {7}{2}}(c+d x)}dx+\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\right )+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {1}{7} \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a} \left (5 (232 A+297 C) a^3+(776 A+1089 C) \sin \left (c+d x+\frac {\pi }{2}\right ) a^3\right )}{\sin \left (c+d x+\frac {\pi }{2}\right )^{7/2}}dx+\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\right )+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3459 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {1}{7} \left (3 a^3 (568 A+759 C) \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {5}{2}}(c+d x)}dx+\frac {2 a^4 (232 A+297 C) \sin (c+d x)}{d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\right )+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {1}{7} \left (3 a^3 (568 A+759 C) \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{5/2}}dx+\frac {2 a^4 (232 A+297 C) \sin (c+d x)}{d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\right )+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3251 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {1}{7} \left (3 a^3 (568 A+759 C) \left (\frac {2}{3} \int \frac {\sqrt {\cos (c+d x) a+a}}{\cos ^{\frac {3}{2}}(c+d x)}dx+\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^4 (232 A+297 C) \sin (c+d x)}{d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\right )+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {1}{9} \left (\frac {1}{7} \left (3 a^3 (568 A+759 C) \left (\frac {2}{3} \int \frac {\sqrt {\sin \left (c+d x+\frac {\pi }{2}\right ) a+a}}{\sin \left (c+d x+\frac {\pi }{2}\right )^{3/2}}dx+\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {2 a^4 (232 A+297 C) \sin (c+d x)}{d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}\right )+\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}\right )+\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
\(\Big \downarrow \) 3250 |
\(\displaystyle \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \left (\frac {\frac {10 a^2 A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{9 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {1}{9} \left (\frac {6 a^3 (32 A+33 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{7 d \cos ^{\frac {7}{2}}(c+d x)}+\frac {1}{7} \left (\frac {2 a^4 (232 A+297 C) \sin (c+d x)}{d \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+3 a^3 (568 A+759 C) \left (\frac {2 a \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x) \sqrt {a \cos (c+d x)+a}}+\frac {4 a \sin (c+d x)}{3 d \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )\right )\right )}{11 a}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{11 d \cos ^{\frac {11}{2}}(c+d x)}\right )\) |
Input:
Int[(a + a*Cos[c + d*x])^(5/2)*(A + C*Cos[c + d*x]^2)*Sec[c + d*x]^(13/2), x]
Output:
Sqrt[Cos[c + d*x]]*Sqrt[Sec[c + d*x]]*((2*A*(a + a*Cos[c + d*x])^(5/2)*Sin [c + d*x])/(11*d*Cos[c + d*x]^(11/2)) + ((10*a^2*A*(a + a*Cos[c + d*x])^(3 /2)*Sin[c + d*x])/(9*d*Cos[c + d*x]^(9/2)) + ((6*a^3*(32*A + 33*C)*Sqrt[a + a*Cos[c + d*x]]*Sin[c + d*x])/(7*d*Cos[c + d*x]^(7/2)) + ((2*a^4*(232*A + 297*C)*Sin[c + d*x])/(d*Cos[c + d*x]^(5/2)*Sqrt[a + a*Cos[c + d*x]]) + 3 *a^3*(568*A + 759*C)*((2*a*Sin[c + d*x])/(3*d*Cos[c + d*x]^(3/2)*Sqrt[a + a*Cos[c + d*x]]) + (4*a*Sin[c + d*x])/(3*d*Sqrt[Cos[c + d*x]]*Sqrt[a + a*C os[c + d*x]])))/7)/9)/(11*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[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/((c_.) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(3/2), x_Symbol] :> Simp[-2*b^2*(Cos[e + f*x]/(f*(b*c + a*d)*Sq rt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])), x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(n_), x_Symbol] :> Simp[(b*c - a*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(f*(n + 1)*(c^2 - d^2)*Sqrt[a + b*Sin[e + f*x]])), x] + Sim p[(2*n + 3)*((b*c - a*d)/(2*b*(n + 1)*(c^2 - d^2))) Int[Sqrt[a + b*Sin[e + f*x]]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x ] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1] && NeQ[2*n + 3, 0] && IntegerQ[2*n]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Sim p[(-b^2)*(B*c - A*d)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m - 1)*((c + d*Sin[ e + f*x])^(n + 1)/(d*f*(n + 1)*(b*c + a*d))), x] - Simp[b/(d*(n + 1)*(b*c + a*d)) Int[(a + b*Sin[e + f*x])^(m - 1)*(c + d*Sin[e + f*x])^(n + 1)*Simp [a*A*d*(m - n - 2) - B*(a*c*(m - 1) + b*d*(n + 1)) - (A*b*d*(m + n + 1) - B *(b*c*m - a*d*(n + 1)))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f , A, B}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[m, 1/2] && LtQ[n, -1] && IntegerQ[2*m] && (IntegerQ[2*n] || EqQ[c, 0 ])
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((A_.) + (B_.)*sin[(e_.) + ( f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp [(-b^2)*(B*c - A*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1) *(b*c + a*d)*Sqrt[a + b*Sin[e + f*x]])), x] + Simp[(A*b*d*(2*n + 3) - B*(b* c - 2*a*d*(n + 1)))/(2*d*(n + 1)*(b*c + a*d)) Int[Sqrt[a + b*Sin[e + f*x] ]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x ] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((A_.) + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(-(c^2*C + A*d^2))*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1)*(c^2 - d^2))), x] + Simp[1/(b*d*(n + 1)*(c^2 - d^2)) Int[(a + b*Sin[e + f*x])^m*(c + d*Sin[e + f*x])^(n + 1)*Simp[A*d*(a *d*m + b*c*(n + 1)) + c*C*(a*c*m + b*d*(n + 1)) - b*(A*d^2*(m + n + 2) + C* (c^2*(m + 1) + d^2*(n + 1)))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f, A, C, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && !LtQ[m, -2^(-1)] && (LtQ[n, -1] || EqQ[m + n + 2, 0])
Int[(u_)*((c_.)*sec[(a_.) + (b_.)*(x_)])^(m_.), x_Symbol] :> Simp[(c*Sec[a + b*x])^m*(c*Cos[a + b*x])^m Int[ActivateTrig[u]/(c*Cos[a + b*x])^m, x], x] /; FreeQ[{a, b, c, m}, x] && !IntegerQ[m] && KnownSineIntegrandQ[u, x]
Time = 0.62 (sec) , antiderivative size = 144, normalized size of antiderivative = 0.54
\[\frac {2 a^{2} \sin \left (d x +c \right ) \left (\left (1136 \cos \left (d x +c \right )^{5}+568 \cos \left (d x +c \right )^{4}+426 \cos \left (d x +c \right )^{3}+355 \cos \left (d x +c \right )^{2}+224 \cos \left (d x +c \right )+63\right ) A +\cos \left (d x +c \right )^{2} \left (1518 \cos \left (d x +c \right )^{3}+759 \cos \left (d x +c \right )^{2}+396 \cos \left (d x +c \right )+99\right ) C \right ) \sqrt {\left (1+\cos \left (d x +c \right )\right ) a}\, \cos \left (d x +c \right ) \sec \left (d x +c \right )^{\frac {13}{2}}}{693 d \left (1+\cos \left (d x +c \right )\right )}\]
Input:
int((a+a*cos(d*x+c))^(5/2)*(A+C*cos(d*x+c)^2)*sec(d*x+c)^(13/2),x)
Output:
2/693/d*a^2*sin(d*x+c)*((1136*cos(d*x+c)^5+568*cos(d*x+c)^4+426*cos(d*x+c) ^3+355*cos(d*x+c)^2+224*cos(d*x+c)+63)*A+cos(d*x+c)^2*(1518*cos(d*x+c)^3+7 59*cos(d*x+c)^2+396*cos(d*x+c)+99)*C)*((1+cos(d*x+c))*a)^(1/2)*cos(d*x+c)* sec(d*x+c)^(13/2)/(1+cos(d*x+c))
Time = 0.09 (sec) , antiderivative size = 148, normalized size of antiderivative = 0.56 \[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\frac {2 \, {\left (2 \, {\left (568 \, A + 759 \, C\right )} a^{2} \cos \left (d x + c\right )^{5} + {\left (568 \, A + 759 \, C\right )} a^{2} \cos \left (d x + c\right )^{4} + 6 \, {\left (71 \, A + 66 \, C\right )} a^{2} \cos \left (d x + c\right )^{3} + {\left (355 \, A + 99 \, C\right )} a^{2} \cos \left (d x + c\right )^{2} + 224 \, A a^{2} \cos \left (d x + c\right ) + 63 \, A a^{2}\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{693 \, {\left (d \cos \left (d x + c\right )^{6} + d \cos \left (d x + c\right )^{5}\right )} \sqrt {\cos \left (d x + c\right )}} \] Input:
integrate((a+a*cos(d*x+c))^(5/2)*(A+C*cos(d*x+c)^2)*sec(d*x+c)^(13/2),x, a lgorithm="fricas")
Output:
2/693*(2*(568*A + 759*C)*a^2*cos(d*x + c)^5 + (568*A + 759*C)*a^2*cos(d*x + c)^4 + 6*(71*A + 66*C)*a^2*cos(d*x + c)^3 + (355*A + 99*C)*a^2*cos(d*x + c)^2 + 224*A*a^2*cos(d*x + c) + 63*A*a^2)*sqrt(a*cos(d*x + c) + a)*sin(d* x + c)/((d*cos(d*x + c)^6 + d*cos(d*x + c)^5)*sqrt(cos(d*x + c)))
Timed out. \[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\text {Timed out} \] Input:
integrate((a+a*cos(d*x+c))**(5/2)*(A+C*cos(d*x+c)**2)*sec(d*x+c)**(13/2),x )
Output:
Timed out
Leaf count of result is larger than twice the leaf count of optimal. 671 vs. \(2 (230) = 460\).
Time = 0.24 (sec) , antiderivative size = 671, normalized size of antiderivative = 2.52 \[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\text {Too large to display} \] Input:
integrate((a+a*cos(d*x+c))^(5/2)*(A+C*cos(d*x+c)^2)*sec(d*x+c)^(13/2),x, a lgorithm="maxima")
Output:
8/693*((693*sqrt(2)*a^(5/2)*sin(d*x + c)/(cos(d*x + c) + 1) - 2310*sqrt(2) *a^(5/2)*sin(d*x + c)^3/(cos(d*x + c) + 1)^3 + 4620*sqrt(2)*a^(5/2)*sin(d* x + c)^5/(cos(d*x + c) + 1)^5 - 5478*sqrt(2)*a^(5/2)*sin(d*x + c)^7/(cos(d *x + c) + 1)^7 + 3575*sqrt(2)*a^(5/2)*sin(d*x + c)^9/(cos(d*x + c) + 1)^9 - 1300*sqrt(2)*a^(5/2)*sin(d*x + c)^11/(cos(d*x + c) + 1)^11 + 200*sqrt(2) *a^(5/2)*sin(d*x + c)^13/(cos(d*x + c) + 1)^13)*A*(sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 1)^4/((sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(13/2)*(-sin(d* x + c)/(cos(d*x + c) + 1) + 1)^(13/2)*(4*sin(d*x + c)^2/(cos(d*x + c) + 1) ^2 + 6*sin(d*x + c)^4/(cos(d*x + c) + 1)^4 + 4*sin(d*x + c)^6/(cos(d*x + c ) + 1)^6 + sin(d*x + c)^8/(cos(d*x + c) + 1)^8 + 1)) + 33*(21*sqrt(2)*a^(5 /2)*sin(d*x + c)/(cos(d*x + c) + 1) - 98*sqrt(2)*a^(5/2)*sin(d*x + c)^3/(c os(d*x + c) + 1)^3 + 196*sqrt(2)*a^(5/2)*sin(d*x + c)^5/(cos(d*x + c) + 1) ^5 - 218*sqrt(2)*a^(5/2)*sin(d*x + c)^7/(cos(d*x + c) + 1)^7 + 143*sqrt(2) *a^(5/2)*sin(d*x + c)^9/(cos(d*x + c) + 1)^9 - 52*sqrt(2)*a^(5/2)*sin(d*x + c)^11/(cos(d*x + c) + 1)^11 + 8*sqrt(2)*a^(5/2)*sin(d*x + c)^13/(cos(d*x + c) + 1)^13)*C*(sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 1)^4/((sin(d*x + c )/(cos(d*x + c) + 1) + 1)^(13/2)*(-sin(d*x + c)/(cos(d*x + c) + 1) + 1)^(1 3/2)*(4*sin(d*x + c)^2/(cos(d*x + c) + 1)^2 + 6*sin(d*x + c)^4/(cos(d*x + c) + 1)^4 + 4*sin(d*x + c)^6/(cos(d*x + c) + 1)^6 + sin(d*x + c)^8/(cos(d* x + c) + 1)^8 + 1)))/d
Timed out. \[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\text {Timed out} \] Input:
integrate((a+a*cos(d*x+c))^(5/2)*(A+C*cos(d*x+c)^2)*sec(d*x+c)^(13/2),x, a lgorithm="giac")
Output:
Timed out
Time = 3.40 (sec) , antiderivative size = 751, normalized size of antiderivative = 2.82 \[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\text {Too large to display} \] Input:
int((A + C*cos(c + d*x)^2)*(1/cos(c + d*x))^(13/2)*(a + a*cos(c + d*x))^(5 /2),x)
Output:
((1/(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*((a^2*(a + a*(e xp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*(568*A + 759*C)*4i)/( 693*d) - (C*a^2*exp(c*3i + d*x*3i)*(a + a*(exp(- c*1i - d*x*1i)/2 + exp(c* 1i + d*x*1i)/2))^(1/2)*20i)/(3*d) + (C*a^2*exp(c*8i + d*x*8i)*(a + a*(exp( - c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*20i)/(3*d) - (a^2*exp(c* 5i + d*x*5i)*(a + a*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2) *(3*A + 5*C)*16i)/(3*d) + (a^2*exp(c*6i + d*x*6i)*(a + a*(exp(- c*1i - d*x *1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*(3*A + 5*C)*16i)/(3*d) + (a^2*exp(c* 4i + d*x*4i)*(a + a*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2) *(32*A + 33*C)*8i)/(7*d) - (a^2*exp(c*7i + d*x*7i)*(a + a*(exp(- c*1i - d* x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*(32*A + 33*C)*8i)/(7*d) + (a^2*exp( c*2i + d*x*2i)*(a + a*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/ 2)*(71*A + 87*C)*16i)/(63*d) - (a^2*exp(c*9i + d*x*9i)*(a + a*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i)/2))^(1/2)*(71*A + 87*C)*16i)/(63*d) - (a^ 2*exp(c*11i + d*x*11i)*(a + a*(exp(- c*1i - d*x*1i)/2 + exp(c*1i + d*x*1i) /2))^(1/2)*(568*A + 759*C)*4i)/(693*d)))/(exp(c*1i + d*x*1i) + 5*exp(c*2i + d*x*2i) + 5*exp(c*3i + d*x*3i) + 10*exp(c*4i + d*x*4i) + 10*exp(c*5i + d *x*5i) + 10*exp(c*6i + d*x*6i) + 10*exp(c*7i + d*x*7i) + 5*exp(c*8i + d*x* 8i) + 5*exp(c*9i + d*x*9i) + exp(c*10i + d*x*10i) + exp(c*11i + d*x*11i) + 1)
\[ \int (a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right ) \sec ^{\frac {13}{2}}(c+d x) \, dx=\sqrt {a}\, a^{2} \left (2 \left (\int \sqrt {\sec \left (d x +c \right )}\, \sqrt {\cos \left (d x +c \right )+1}\, \cos \left (d x +c \right ) \sec \left (d x +c \right )^{6}d x \right ) a +\left (\int \sqrt {\sec \left (d x +c \right )}\, \sqrt {\cos \left (d x +c \right )+1}\, \cos \left (d x +c \right )^{4} \sec \left (d x +c \right )^{6}d x \right ) c +2 \left (\int \sqrt {\sec \left (d x +c \right )}\, \sqrt {\cos \left (d x +c \right )+1}\, \cos \left (d x +c \right )^{3} \sec \left (d x +c \right )^{6}d x \right ) c +\left (\int \sqrt {\sec \left (d x +c \right )}\, \sqrt {\cos \left (d x +c \right )+1}\, \cos \left (d x +c \right )^{2} \sec \left (d x +c \right )^{6}d x \right ) a +\left (\int \sqrt {\sec \left (d x +c \right )}\, \sqrt {\cos \left (d x +c \right )+1}\, \cos \left (d x +c \right )^{2} \sec \left (d x +c \right )^{6}d x \right ) c +\left (\int \sqrt {\sec \left (d x +c \right )}\, \sqrt {\cos \left (d x +c \right )+1}\, \sec \left (d x +c \right )^{6}d x \right ) a \right ) \] Input:
int((a+a*cos(d*x+c))^(5/2)*(A+C*cos(d*x+c)^2)*sec(d*x+c)^(13/2),x)
Output:
sqrt(a)*a**2*(2*int(sqrt(sec(c + d*x))*sqrt(cos(c + d*x) + 1)*cos(c + d*x) *sec(c + d*x)**6,x)*a + int(sqrt(sec(c + d*x))*sqrt(cos(c + d*x) + 1)*cos( c + d*x)**4*sec(c + d*x)**6,x)*c + 2*int(sqrt(sec(c + d*x))*sqrt(cos(c + d *x) + 1)*cos(c + d*x)**3*sec(c + d*x)**6,x)*c + int(sqrt(sec(c + d*x))*sqr t(cos(c + d*x) + 1)*cos(c + d*x)**2*sec(c + d*x)**6,x)*a + int(sqrt(sec(c + d*x))*sqrt(cos(c + d*x) + 1)*cos(c + d*x)**2*sec(c + d*x)**6,x)*c + int( sqrt(sec(c + d*x))*sqrt(cos(c + d*x) + 1)*sec(c + d*x)**6,x)*a)