Integrand size = 35, antiderivative size = 80 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\frac {(A+C) \sqrt {\cos (c+d x)} \sin (c+d x)}{b d \sqrt {b \cos (c+d x)}}-\frac {C \sqrt {\cos (c+d x)} \sin ^3(c+d x)}{3 b d \sqrt {b \cos (c+d x)}} \] Output:
(A+C)*cos(d*x+c)^(1/2)*sin(d*x+c)/b/d/(b*cos(d*x+c))^(1/2)-1/3*C*cos(d*x+c )^(1/2)*sin(d*x+c)^3/b/d/(b*cos(d*x+c))^(1/2)
Time = 0.12 (sec) , antiderivative size = 52, normalized size of antiderivative = 0.65 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\frac {\cos ^{\frac {3}{2}}(c+d x) (6 A+5 C+C \cos (2 (c+d x))) \sin (c+d x)}{6 d (b \cos (c+d x))^{3/2}} \] Input:
Integrate[(Cos[c + d*x]^(5/2)*(A + C*Cos[c + d*x]^2))/(b*Cos[c + d*x])^(3/ 2),x]
Output:
(Cos[c + d*x]^(3/2)*(6*A + 5*C + C*Cos[2*(c + d*x)])*Sin[c + d*x])/(6*d*(b *Cos[c + d*x])^(3/2))
Time = 0.27 (sec) , antiderivative size = 55, normalized size of antiderivative = 0.69, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {2031, 3042, 3492, 2009}
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 {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx\) |
\(\Big \downarrow \) 2031 |
\(\displaystyle \frac {\sqrt {\cos (c+d x)} \int \cos (c+d x) \left (C \cos ^2(c+d x)+A\right )dx}{b \sqrt {b \cos (c+d x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\sqrt {\cos (c+d x)} \int \sin \left (c+d x+\frac {\pi }{2}\right ) \left (C \sin \left (c+d x+\frac {\pi }{2}\right )^2+A\right )dx}{b \sqrt {b \cos (c+d x)}}\) |
\(\Big \downarrow \) 3492 |
\(\displaystyle -\frac {\sqrt {\cos (c+d x)} \int \left (-C \sin ^2(c+d x)+A+C\right )d(-\sin (c+d x))}{b d \sqrt {b \cos (c+d x)}}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {\sqrt {\cos (c+d x)} \left (\frac {1}{3} C \sin ^3(c+d x)-(A+C) \sin (c+d x)\right )}{b d \sqrt {b \cos (c+d x)}}\) |
Input:
Int[(Cos[c + d*x]^(5/2)*(A + C*Cos[c + d*x]^2))/(b*Cos[c + d*x])^(3/2),x]
Output:
-((Sqrt[Cos[c + d*x]]*(-((A + C)*Sin[c + d*x]) + (C*Sin[c + d*x]^3)/3))/(b *d*Sqrt[b*Cos[c + d*x]]))
Int[(Fx_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Simp[a^(m + 1/ 2)*b^(n - 1/2)*(Sqrt[b*v]/Sqrt[a*v]) Int[v^(m + n)*Fx, x], x] /; FreeQ[{a , b, m}, x] && !IntegerQ[m] && IGtQ[n + 1/2, 0] && IntegerQ[m + n]
Int[sin[(e_.) + (f_.)*(x_)]^(m_.)*((A_) + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[-f^(-1) Subst[Int[(1 - x^2)^((m - 1)/2)*(A + C - C*x^2 ), x], x, Cos[e + f*x]], x] /; FreeQ[{e, f, A, C}, x] && IGtQ[(m + 1)/2, 0]
Time = 0.36 (sec) , antiderivative size = 50, normalized size of antiderivative = 0.62
method | result | size |
default | \(\frac {\sin \left (d x +c \right ) \left (C \cos \left (d x +c \right )^{2}+3 A +2 C \right ) \sqrt {\cos \left (d x +c \right )}}{3 b d \sqrt {b \cos \left (d x +c \right )}}\) | \(50\) |
risch | \(\frac {\sqrt {\cos \left (d x +c \right )}\, \left (4 A +3 C \right ) \sin \left (d x +c \right )}{4 b \sqrt {b \cos \left (d x +c \right )}\, d}+\frac {\sqrt {\cos \left (d x +c \right )}\, C \sin \left (3 d x +3 c \right )}{12 b \sqrt {b \cos \left (d x +c \right )}\, d}\) | \(77\) |
parts | \(\frac {A \sin \left (d x +c \right ) \sqrt {\cos \left (d x +c \right )}}{d \sqrt {b \cos \left (d x +c \right )}\, b}+\frac {C \sin \left (d x +c \right ) \left (2+\cos \left (d x +c \right )^{2}\right ) \sqrt {\cos \left (d x +c \right )}}{3 d \sqrt {b \cos \left (d x +c \right )}\, b}\) | \(77\) |
Input:
int(cos(d*x+c)^(5/2)*(A+C*cos(d*x+c)^2)/(b*cos(d*x+c))^(3/2),x,method=_RET URNVERBOSE)
Output:
1/3/b/d*sin(d*x+c)*(C*cos(d*x+c)^2+3*A+2*C)*cos(d*x+c)^(1/2)/(b*cos(d*x+c) )^(1/2)
Time = 0.08 (sec) , antiderivative size = 49, normalized size of antiderivative = 0.61 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\frac {{\left (C \cos \left (d x + c\right )^{2} + 3 \, A + 2 \, C\right )} \sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{3 \, b^{2} d \sqrt {\cos \left (d x + c\right )}} \] Input:
integrate(cos(d*x+c)^(5/2)*(A+C*cos(d*x+c)^2)/(b*cos(d*x+c))^(3/2),x, algo rithm="fricas")
Output:
1/3*(C*cos(d*x + c)^2 + 3*A + 2*C)*sqrt(b*cos(d*x + c))*sin(d*x + c)/(b^2* d*sqrt(cos(d*x + c)))
Timed out. \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\text {Timed out} \] Input:
integrate(cos(d*x+c)**(5/2)*(A+C*cos(d*x+c)**2)/(b*cos(d*x+c))**(3/2),x)
Output:
Timed out
Time = 0.33 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.71 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\frac {\frac {C {\left (\sin \left (3 \, d x + 3 \, c\right ) + 9 \, \sin \left (\frac {1}{3} \, \arctan \left (\sin \left (3 \, d x + 3 \, c\right ), \cos \left (3 \, d x + 3 \, c\right )\right )\right )\right )}}{b^{\frac {3}{2}}} + \frac {12 \, A \sin \left (d x + c\right )}{b^{\frac {3}{2}}}}{12 \, d} \] Input:
integrate(cos(d*x+c)^(5/2)*(A+C*cos(d*x+c)^2)/(b*cos(d*x+c))^(3/2),x, algo rithm="maxima")
Output:
1/12*(C*(sin(3*d*x + 3*c) + 9*sin(1/3*arctan2(sin(3*d*x + 3*c), cos(3*d*x + 3*c))))/b^(3/2) + 12*A*sin(d*x + c)/b^(3/2))/d
Exception generated. \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\text {Exception raised: TypeError} \] Input:
integrate(cos(d*x+c)^(5/2)*(A+C*cos(d*x+c)^2)/(b*cos(d*x+c))^(3/2),x, algo rithm="giac")
Output:
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value
Time = 0.84 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.94 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\frac {\sqrt {\cos \left (c+d\,x\right )}\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (12\,A\,\sin \left (2\,c+2\,d\,x\right )+10\,C\,\sin \left (2\,c+2\,d\,x\right )+C\,\sin \left (4\,c+4\,d\,x\right )\right )}{12\,b^2\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \] Input:
int((cos(c + d*x)^(5/2)*(A + C*cos(c + d*x)^2))/(b*cos(c + d*x))^(3/2),x)
Output:
(cos(c + d*x)^(1/2)*(b*cos(c + d*x))^(1/2)*(12*A*sin(2*c + 2*d*x) + 10*C*s in(2*c + 2*d*x) + C*sin(4*c + 4*d*x)))/(12*b^2*d*(cos(2*c + 2*d*x) + 1))
Time = 0.23 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.42 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{3/2}} \, dx=\frac {\sqrt {b}\, \sin \left (d x +c \right ) \left (-\sin \left (d x +c \right )^{2} c +3 a +3 c \right )}{3 b^{2} d} \] Input:
int(cos(d*x+c)^(5/2)*(A+C*cos(d*x+c)^2)/(b*cos(d*x+c))^(3/2),x)
Output:
(sqrt(b)*sin(c + d*x)*( - sin(c + d*x)**2*c + 3*a + 3*c))/(3*b**2*d)