Optimal. Leaf size=86 \[ \cos (e) \text{CosIntegral}(f x) \sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c \sin (e+f x)+c}-\sin (e) \text{Si}(f x) \sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c \sin (e+f x)+c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.183241, antiderivative size = 86, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.121, Rules used = {4604, 3303, 3299, 3302} \[ \cos (e) \text{CosIntegral}(f x) \sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c \sin (e+f x)+c}-\sin (e) \text{Si}(f x) \sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c \sin (e+f x)+c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4604
Rule 3303
Rule 3299
Rule 3302
Rubi steps
\begin{align*} \int \frac{\sqrt{a-a \sin (e+f x)} \sqrt{c+c \sin (e+f x)}}{x} \, dx &=\left (\sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c+c \sin (e+f x)}\right ) \int \frac{\cos (e+f x)}{x} \, dx\\ &=\left (\cos (e) \sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c+c \sin (e+f x)}\right ) \int \frac{\cos (f x)}{x} \, dx-\left (\sec (e+f x) \sin (e) \sqrt{a-a \sin (e+f x)} \sqrt{c+c \sin (e+f x)}\right ) \int \frac{\sin (f x)}{x} \, dx\\ &=\cos (e) \text{Ci}(f x) \sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c+c \sin (e+f x)}-\sec (e+f x) \sin (e) \sqrt{a-a \sin (e+f x)} \sqrt{c+c \sin (e+f x)} \text{Si}(f x)\\ \end{align*}
Mathematica [A] time = 0.222457, size = 52, normalized size = 0.6 \[ \sec (e+f x) \sqrt{a-a \sin (e+f x)} \sqrt{c (\sin (e+f x)+1)} (\cos (e) \text{CosIntegral}(f x)-\sin (e) \text{Si}(f x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.083, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{x}\sqrt{a-a\sin \left ( fx+e \right ) }\sqrt{c+c\sin \left ( fx+e \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-a \sin \left (f x + e\right ) + a} \sqrt{c \sin \left (f x + e\right ) + c}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{c \left (\sin{\left (e + f x \right )} + 1\right )} \sqrt{- a \left (\sin{\left (e + f x \right )} - 1\right )}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-a \sin \left (f x + e\right ) + a} \sqrt{c \sin \left (f x + e\right ) + c}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]