Optimal. Leaf size=168 \[ \frac {c \sin (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c}}{4 f^2}+\frac {c \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c}}{f^2}+\frac {x \sec (e+f x) \sqrt {a-a \sin (e+f x)} (c \sin (e+f x)+c)^{5/2}}{2 c f}-\frac {3 c x \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c}}{4 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 168, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {4604, 4422, 2644} \[ \frac {c \sin (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c}}{4 f^2}+\frac {c \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c}}{f^2}+\frac {x \sec (e+f x) \sqrt {a-a \sin (e+f x)} (c \sin (e+f x)+c)^{5/2}}{2 c f}-\frac {3 c x \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c}}{4 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2644
Rule 4422
Rule 4604
Rubi steps
\begin {align*} \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx &=\left (\sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}\right ) \int x \cos (e+f x) (c+c \sin (e+f x)) \, dx\\ &=\frac {x \sec (e+f x) \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{5/2}}{2 c f}-\frac {\left (\sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}\right ) \int (c+c \sin (e+f x))^2 \, dx}{2 c f}\\ &=\frac {c \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{f^2}-\frac {3 c x \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{4 f}+\frac {c \sin (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{4 f^2}+\frac {x \sec (e+f x) \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{5/2}}{2 c f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.64, size = 73, normalized size = 0.43 \[ \frac {c \sqrt {a-a \sin (e+f x)} \sqrt {c (\sin (e+f x)+1)} (\sin (e+f x)+4 f x \tan (e+f x)-f x \cos (2 (e+f x)) \sec (e+f x)+4)}{4 f^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.17, size = 0, normalized size = 0.00 \[ \int x \left (c +c \sin \left (f x +e \right )\right )^{\frac {3}{2}} \sqrt {a -a \sin \left (f x +e \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {-a \sin \left (f x + e\right ) + a} {\left (c \sin \left (f x + e\right ) + c\right )}^{\frac {3}{2}} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.21, size = 123, normalized size = 0.73 \[ -\frac {c\,\sqrt {-a\,\left (\sin \left (e+f\,x\right )-1\right )}\,\sqrt {c\,\left (\sin \left (e+f\,x\right )+1\right )}\,\left (-16\,{\sin \left (e+f\,x\right )}^2+\sin \left (e+f\,x\right )+\sin \left (3\,e+3\,f\,x\right )+8\,f\,x\,\sin \left (2\,e+2\,f\,x\right )+2\,f\,x\,\left (2\,{\sin \left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2-1\right )+2\,f\,x\,\left (2\,{\sin \left (\frac {3\,e}{2}+\frac {3\,f\,x}{2}\right )}^2-1\right )+16\right )}{8\,f^2\,\left (2\,{\sin \left (e+f\,x\right )}^2-2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x \left (c \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}} \sqrt {- a \left (\sin {\left (e + f x \right )} - 1\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________