Integrand size = 33, antiderivative size = 183 \[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}-\frac {2 a C \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 b}{a+b}\right )}{b d \sqrt {a+b \cos (c+d x)}}+\frac {2 A \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \operatorname {EllipticPi}\left (2,\frac {1}{2} (c+d x),\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}} \] Output:
2*C*(a+b*cos(d*x+c))^(1/2)*EllipticE(sin(1/2*d*x+1/2*c),2^(1/2)*(b/(a+b))^ (1/2))/b/d/((a+b*cos(d*x+c))/(a+b))^(1/2)-2*a*C*((a+b*cos(d*x+c))/(a+b))^( 1/2)*InverseJacobiAM(1/2*d*x+1/2*c,2^(1/2)*(b/(a+b))^(1/2))/b/d/(a+b*cos(d *x+c))^(1/2)+2*A*((a+b*cos(d*x+c))/(a+b))^(1/2)*EllipticPi(sin(1/2*d*x+1/2 *c),2,2^(1/2)*(b/(a+b))^(1/2))/d/(a+b*cos(d*x+c))^(1/2)
\[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx \] Input:
Integrate[((A + C*Cos[c + d*x]^2)*Sec[c + d*x])/Sqrt[a + b*Cos[c + d*x]],x ]
Output:
Integrate[((A + C*Cos[c + d*x]^2)*Sec[c + d*x])/Sqrt[a + b*Cos[c + d*x]], x]
Time = 1.41 (sec) , antiderivative size = 186, normalized size of antiderivative = 1.02, number of steps used = 15, number of rules used = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.455, Rules used = {3042, 3539, 25, 3042, 3134, 3042, 3132, 3481, 3042, 3142, 3042, 3140, 3286, 3042, 3284}
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+C \cos ^2(c+d x)\right )}{\sqrt {a+b \cos (c+d x)}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {A+C \sin \left (c+d x+\frac {\pi }{2}\right )^2}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx\) |
\(\Big \downarrow \) 3539 |
\(\displaystyle \frac {C \int \sqrt {a+b \cos (c+d x)}dx}{b}-\frac {\int -\frac {(A b-a C \cos (c+d x)) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}}dx}{b}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {\int \frac {(A b-a C \cos (c+d x)) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}}dx}{b}+\frac {C \int \sqrt {a+b \cos (c+d x)}dx}{b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {A b-a C \sin \left (c+d x+\frac {\pi }{2}\right )}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx}{b}+\frac {C \int \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}dx}{b}\) |
\(\Big \downarrow \) 3134 |
\(\displaystyle \frac {\int \frac {A b-a C \sin \left (c+d x+\frac {\pi }{2}\right )}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx}{b}+\frac {C \sqrt {a+b \cos (c+d x)} \int \sqrt {\frac {a}{a+b}+\frac {b \cos (c+d x)}{a+b}}dx}{b \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {A b-a C \sin \left (c+d x+\frac {\pi }{2}\right )}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx}{b}+\frac {C \sqrt {a+b \cos (c+d x)} \int \sqrt {\frac {a}{a+b}+\frac {b \sin \left (c+d x+\frac {\pi }{2}\right )}{a+b}}dx}{b \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3132 |
\(\displaystyle \frac {\int \frac {A b-a C \sin \left (c+d x+\frac {\pi }{2}\right )}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3481 |
\(\displaystyle \frac {A b \int \frac {\sec (c+d x)}{\sqrt {a+b \cos (c+d x)}}dx-a C \int \frac {1}{\sqrt {a+b \cos (c+d x)}}dx}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {A b \int \frac {1}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx-a C \int \frac {1}{\sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3142 |
\(\displaystyle \frac {A b \int \frac {1}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx-\frac {a C \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \int \frac {1}{\sqrt {\frac {a}{a+b}+\frac {b \cos (c+d x)}{a+b}}}dx}{\sqrt {a+b \cos (c+d x)}}}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {A b \int \frac {1}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx-\frac {a C \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \int \frac {1}{\sqrt {\frac {a}{a+b}+\frac {b \sin \left (c+d x+\frac {\pi }{2}\right )}{a+b}}}dx}{\sqrt {a+b \cos (c+d x)}}}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3140 |
\(\displaystyle \frac {A b \int \frac {1}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {a+b \sin \left (c+d x+\frac {\pi }{2}\right )}}dx-\frac {2 a C \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}}}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3286 |
\(\displaystyle \frac {\frac {A b \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \int \frac {\sec (c+d x)}{\sqrt {\frac {a}{a+b}+\frac {b \cos (c+d x)}{a+b}}}dx}{\sqrt {a+b \cos (c+d x)}}-\frac {2 a C \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}}}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {A b \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \int \frac {1}{\sin \left (c+d x+\frac {\pi }{2}\right ) \sqrt {\frac {a}{a+b}+\frac {b \sin \left (c+d x+\frac {\pi }{2}\right )}{a+b}}}dx}{\sqrt {a+b \cos (c+d x)}}-\frac {2 a C \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}}}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
\(\Big \downarrow \) 3284 |
\(\displaystyle \frac {\frac {2 A b \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \operatorname {EllipticPi}\left (2,\frac {1}{2} (c+d x),\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}}-\frac {2 a C \sqrt {\frac {a+b \cos (c+d x)}{a+b}} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),\frac {2 b}{a+b}\right )}{d \sqrt {a+b \cos (c+d x)}}}{b}+\frac {2 C \sqrt {a+b \cos (c+d x)} E\left (\frac {1}{2} (c+d x)|\frac {2 b}{a+b}\right )}{b d \sqrt {\frac {a+b \cos (c+d x)}{a+b}}}\) |
Input:
Int[((A + C*Cos[c + d*x]^2)*Sec[c + d*x])/Sqrt[a + b*Cos[c + d*x]],x]
Output:
(2*C*Sqrt[a + b*Cos[c + d*x]]*EllipticE[(c + d*x)/2, (2*b)/(a + b)])/(b*d* Sqrt[(a + b*Cos[c + d*x])/(a + b)]) + ((-2*a*C*Sqrt[(a + b*Cos[c + d*x])/( a + b)]*EllipticF[(c + d*x)/2, (2*b)/(a + b)])/(d*Sqrt[a + b*Cos[c + d*x]] ) + (2*A*b*Sqrt[(a + b*Cos[c + d*x])/(a + b)]*EllipticPi[2, (c + d*x)/2, ( 2*b)/(a + b)])/(d*Sqrt[a + b*Cos[c + d*x]]))/b
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[2*(Sqrt[a + b]/d)*EllipticE[(1/2)*(c - Pi/2 + d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[Sqrt[a + b*Sin[c + d*x]]/Sqrt[(a + b*Sin[c + d*x])/(a + b)] Int[Sqrt[a/(a + b) + ( b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2 , 0] && !GtQ[a + b, 0]
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/(d*S qrt[a + b]))*EllipticF[(1/2)*(c - Pi/2 + d*x), 2*(b/(a + b))], x] /; FreeQ[ {a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[Sqrt[(a + b*Sin[c + d*x])/(a + b)]/Sqrt[a + b*Sin[c + d*x]] Int[1/Sqrt[a/(a + b) + (b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && !GtQ[a + b, 0]
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[(2/(f*(a + b)*Sqrt[c + d]))*EllipticPi[ 2*(b/(a + b)), (1/2)*(e - Pi/2 + f*x), 2*(d/(c + d))], x] /; FreeQ[{a, b, c , d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[c + d, 0]
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[Sqrt[(c + d*Sin[e + f*x])/(c + d)]/Sqrt [c + d*Sin[e + f*x]] Int[1/((a + b*Sin[e + f*x])*Sqrt[c/(c + d) + (d/(c + d))*Sin[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a* d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && !GtQ[c + d, 0]
Int[(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)]))/((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Simp[ B/d Int[(a + b*Sin[e + f*x])^m, x], x] - Simp[(B*c - A*d)/d Int[(a + b* Sin[e + f*x])^m/(c + d*Sin[e + f*x]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, m}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Int[((A_.) + (C_.)*sin[(e_.) + (f_.)*(x_)]^2)/(Sqrt[(a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])), x_Symbol] :> Simp [C/(b*d) Int[Sqrt[a + b*Sin[e + f*x]], x], x] - Simp[1/(b*d) Int[Simp[a *c*C - A*b*d + (b*c*C + a*C*d)*Sin[e + f*x], x]/(Sqrt[a + b*Sin[e + f*x]]*( c + d*Sin[e + f*x])), x], x] /; FreeQ[{a, b, c, d, e, f, A, C}, x] && NeQ[b *c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Time = 2.46 (sec) , antiderivative size = 249, normalized size of antiderivative = 1.36
method | result | size |
default | \(\frac {2 \sqrt {\left (2 b \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a -b \right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {\frac {2 b \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a -b}{a -b}}\, \left (A \operatorname {EllipticPi}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), 2, \sqrt {-\frac {2 b}{a -b}}\right ) b +C \operatorname {EllipticF}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {-\frac {2 b}{a -b}}\right ) a -C \operatorname {EllipticE}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {-\frac {2 b}{a -b}}\right ) a +C \operatorname {EllipticE}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {-\frac {2 b}{a -b}}\right ) b \right )}{\sqrt {-2 b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}+\left (a +b \right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, b \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a +b}\, d}\) | \(249\) |
parts | \(\frac {2 A \sqrt {\left (2 b \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a -b \right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {\frac {2 b \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a -b}{a -b}}\, \operatorname {EllipticPi}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), 2, \sqrt {-\frac {2 b}{a -b}}\right )}{\sqrt {-2 b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}+\left (a +b \right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a +b}\, d}+\frac {2 C \sqrt {\left (2 b \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a -b \right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {\frac {2 b \cos \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a -b}{a -b}}\, \left (a \operatorname {EllipticF}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {-\frac {2 b}{a -b}}\right )-a \operatorname {EllipticE}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {-\frac {2 b}{a -b}}\right )+b \operatorname {EllipticE}\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {-\frac {2 b}{a -b}}\right )\right )}{\sqrt {-2 b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}+\left (a +b \right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}\, b \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 b \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+a +b}\, d}\) | \(388\) |
Input:
int((A+C*cos(d*x+c)^2)*sec(d*x+c)/(a+b*cos(d*x+c))^(1/2),x,method=_RETURNV ERBOSE)
Output:
2*((2*b*cos(1/2*d*x+1/2*c)^2+a-b)*sin(1/2*d*x+1/2*c)^2)^(1/2)*(sin(1/2*d*x +1/2*c)^2)^(1/2)*((2*b*cos(1/2*d*x+1/2*c)^2+a-b)/(a-b))^(1/2)*(A*EllipticP i(cos(1/2*d*x+1/2*c),2,(-2*b/(a-b))^(1/2))*b+C*EllipticF(cos(1/2*d*x+1/2*c ),(-2*b/(a-b))^(1/2))*a-C*EllipticE(cos(1/2*d*x+1/2*c),(-2*b/(a-b))^(1/2)) *a+C*EllipticE(cos(1/2*d*x+1/2*c),(-2*b/(a-b))^(1/2))*b)/(-2*b*sin(1/2*d*x +1/2*c)^4+(a+b)*sin(1/2*d*x+1/2*c)^2)^(1/2)/b/sin(1/2*d*x+1/2*c)/(-2*b*sin (1/2*d*x+1/2*c)^2+a+b)^(1/2)/d
\[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\int { \frac {{\left (C \cos \left (d x + c\right )^{2} + A\right )} \sec \left (d x + c\right )}{\sqrt {b \cos \left (d x + c\right ) + a}} \,d x } \] Input:
integrate((A+C*cos(d*x+c)^2)*sec(d*x+c)/(a+b*cos(d*x+c))^(1/2),x, algorith m="fricas")
Output:
integral((C*cos(d*x + c)^2 + A)*sec(d*x + c)/sqrt(b*cos(d*x + c) + a), x)
\[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\int \frac {\left (A + C \cos ^{2}{\left (c + d x \right )}\right ) \sec {\left (c + d x \right )}}{\sqrt {a + b \cos {\left (c + d x \right )}}}\, dx \] Input:
integrate((A+C*cos(d*x+c)**2)*sec(d*x+c)/(a+b*cos(d*x+c))**(1/2),x)
Output:
Integral((A + C*cos(c + d*x)**2)*sec(c + d*x)/sqrt(a + b*cos(c + d*x)), x)
\[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\int { \frac {{\left (C \cos \left (d x + c\right )^{2} + A\right )} \sec \left (d x + c\right )}{\sqrt {b \cos \left (d x + c\right ) + a}} \,d x } \] Input:
integrate((A+C*cos(d*x+c)^2)*sec(d*x+c)/(a+b*cos(d*x+c))^(1/2),x, algorith m="maxima")
Output:
integrate((C*cos(d*x + c)^2 + A)*sec(d*x + c)/sqrt(b*cos(d*x + c) + a), x)
\[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\int { \frac {{\left (C \cos \left (d x + c\right )^{2} + A\right )} \sec \left (d x + c\right )}{\sqrt {b \cos \left (d x + c\right ) + a}} \,d x } \] Input:
integrate((A+C*cos(d*x+c)^2)*sec(d*x+c)/(a+b*cos(d*x+c))^(1/2),x, algorith m="giac")
Output:
integrate((C*cos(d*x + c)^2 + A)*sec(d*x + c)/sqrt(b*cos(d*x + c) + a), x)
Timed out. \[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\int \frac {C\,{\cos \left (c+d\,x\right )}^2+A}{\cos \left (c+d\,x\right )\,\sqrt {a+b\,\cos \left (c+d\,x\right )}} \,d x \] Input:
int((A + C*cos(c + d*x)^2)/(cos(c + d*x)*(a + b*cos(c + d*x))^(1/2)),x)
Output:
int((A + C*cos(c + d*x)^2)/(cos(c + d*x)*(a + b*cos(c + d*x))^(1/2)), x)
\[ \int \frac {\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt {a+b \cos (c+d x)}} \, dx=\left (\int \frac {\sqrt {\cos \left (d x +c \right ) b +a}\, \cos \left (d x +c \right )^{2} \sec \left (d x +c \right )}{\cos \left (d x +c \right ) b +a}d x \right ) c +\left (\int \frac {\sqrt {\cos \left (d x +c \right ) b +a}\, \sec \left (d x +c \right )}{\cos \left (d x +c \right ) b +a}d x \right ) a \] Input:
int((A+C*cos(d*x+c)^2)*sec(d*x+c)/(a+b*cos(d*x+c))^(1/2),x)
Output:
int((sqrt(cos(c + d*x)*b + a)*cos(c + d*x)**2*sec(c + d*x))/(cos(c + d*x)* b + a),x)*c + int((sqrt(cos(c + d*x)*b + a)*sec(c + d*x))/(cos(c + d*x)*b + a),x)*a