Optimal. Leaf size=158 \[ \frac {\sec (e+f x) \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}{d f}-\frac {\sqrt {a+b} \tan (e+f x) \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (\csc (e+f x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right )}{\sqrt {d} f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 158, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {2888, 2816} \[ \frac {\sec (e+f x) \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}{d f}-\frac {\sqrt {a+b} \tan (e+f x) \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (\csc (e+f x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right )}{\sqrt {d} f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2816
Rule 2888
Rubi steps
\begin {align*} \int \frac {\sec ^2(e+f x) \sqrt {a+b \sin (e+f x)}}{\sqrt {d \sin (e+f x)}} \, dx &=\frac {\sec (e+f x) \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}{d f}+\frac {1}{2} a \int \frac {1}{\sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}} \, dx\\ &=\frac {\sec (e+f x) \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}{d f}-\frac {\sqrt {a+b} \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (1+\csc (e+f x))}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right ) \tan (e+f x)}{\sqrt {d} f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 6.23, size = 198, normalized size = 1.25 \[ \frac {4 a^2 \sin ^4\left (\frac {1}{4} (2 e+2 f x-\pi )\right ) \sec (e+f x) \sqrt {-\frac {(a+b) \sin (e+f x) (a+b \sin (e+f x))}{a^2 (\sin (e+f x)-1)^2}} \sqrt {-\frac {(a+b) \cot ^2\left (\frac {1}{4} (2 e+2 f x-\pi )\right )}{a-b}} F\left (\sin ^{-1}\left (\sqrt {-\frac {a+b \sin (e+f x)}{a (\sin (e+f x)-1)}}\right )|\frac {2 a}{a-b}\right )+(a+b) \tan (e+f x) (a+b \sin (e+f x))}{f (a+b) \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right )} \sec \left (f x + e\right )^{2}}{d \sin \left (f x + e\right )}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {b \sin \left (f x + e\right ) + a} \sec \left (f x + e\right )^{2}}{\sqrt {d \sin \left (f x + e\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.72, size = 666, normalized size = 4.22 \[ -\frac {\left (\sqrt {-\frac {-\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )-b \sin \left (f x +e \right )+\cos \left (f x +e \right ) a -a}{\left (b +\sqrt {-a^{2}+b^{2}}\right ) \sin \left (f x +e \right )}}\, \sqrt {\frac {\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )-b \sin \left (f x +e \right )+\cos \left (f x +e \right ) a -a}{\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )}}\, \sqrt {\frac {a \left (-1+\cos \left (f x +e \right )\right )}{\left (b +\sqrt {-a^{2}+b^{2}}\right ) \sin \left (f x +e \right )}}\, \EllipticF \left (\sqrt {-\frac {-\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )-b \sin \left (f x +e \right )+\cos \left (f x +e \right ) a -a}{\left (b +\sqrt {-a^{2}+b^{2}}\right ) \sin \left (f x +e \right )}}, \frac {\sqrt {2}\, \sqrt {\frac {b +\sqrt {-a^{2}+b^{2}}}{\sqrt {-a^{2}+b^{2}}}}}{2}\right ) \cos \left (f x +e \right ) \sin \left (f x +e \right ) \sqrt {-a^{2}+b^{2}}+\sqrt {-\frac {-\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )-b \sin \left (f x +e \right )+\cos \left (f x +e \right ) a -a}{\left (b +\sqrt {-a^{2}+b^{2}}\right ) \sin \left (f x +e \right )}}\, \sqrt {\frac {\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )-b \sin \left (f x +e \right )+\cos \left (f x +e \right ) a -a}{\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )}}\, \sqrt {\frac {a \left (-1+\cos \left (f x +e \right )\right )}{\left (b +\sqrt {-a^{2}+b^{2}}\right ) \sin \left (f x +e \right )}}\, \EllipticF \left (\sqrt {-\frac {-\sqrt {-a^{2}+b^{2}}\, \sin \left (f x +e \right )-b \sin \left (f x +e \right )+\cos \left (f x +e \right ) a -a}{\left (b +\sqrt {-a^{2}+b^{2}}\right ) \sin \left (f x +e \right )}}, \frac {\sqrt {2}\, \sqrt {\frac {b +\sqrt {-a^{2}+b^{2}}}{\sqrt {-a^{2}+b^{2}}}}}{2}\right ) \cos \left (f x +e \right ) \sin \left (f x +e \right ) b -\sqrt {2}\, \cos \left (f x +e \right ) \sin \left (f x +e \right ) b -\sqrt {2}\, \cos \left (f x +e \right ) a +\sqrt {2}\, b \sin \left (f x +e \right )+\sqrt {2}\, a \right ) \sin \left (f x +e \right ) \sqrt {2}}{2 f \left (-1+\cos \left (f x +e \right )\right ) \cos \left (f x +e \right ) \sqrt {d \sin \left (f x +e \right )}\, \sqrt {a +b \sin \left (f x +e \right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {b \sin \left (f x + e\right ) + a} \sec \left (f x + e\right )^{2}}{\sqrt {d \sin \left (f x + e\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sqrt {a+b\,\sin \left (e+f\,x\right )}}{{\cos \left (e+f\,x\right )}^2\,\sqrt {d\,\sin \left (e+f\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {a + b \sin {\left (e + f x \right )}} \sec ^{2}{\left (e + f x \right )}}{\sqrt {d \sin {\left (e + f x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________