Integrand size = 31, antiderivative size = 168 \[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx=\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} \] Output:
c*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(1/2)/f^2-3/4*c*x*sec(f*x+e)*(a- a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(1/2)/f+1/4*c*sin(f*x+e)*(a-a*sin(f*x +e))^(1/2)*(c+c*sin(f*x+e))^(1/2)/f^2+1/2*x*sec(f*x+e)*(a-a*sin(f*x+e))^(1 /2)*(c+c*sin(f*x+e))^(5/2)/c/f
Time = 0.80 (sec) , antiderivative size = 73, normalized size of antiderivative = 0.43 \[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx=\frac {c \sqrt {c (1+\sin (e+f x))} \sqrt {a-a \sin (e+f x)} (4-f x \cos (2 (e+f x)) \sec (e+f x)+\sin (e+f x)+4 f x \tan (e+f x))}{4 f^2} \] Input:
Integrate[x*Sqrt[a - a*Sin[e + f*x]]*(c + c*Sin[e + f*x])^(3/2),x]
Output:
(c*Sqrt[c*(1 + Sin[e + f*x])]*Sqrt[a - a*Sin[e + f*x]]*(4 - f*x*Cos[2*(e + f*x)]*Sec[e + f*x] + Sin[e + f*x] + 4*f*x*Tan[e + f*x]))/(4*f^2)
Time = 0.41 (sec) , antiderivative size = 115, normalized size of antiderivative = 0.68, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.129, Rules used = {5115, 4922, 3042, 3123}
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 x \sqrt {a-a \sin (e+f x)} (c \sin (e+f x)+c)^{3/2} \, dx\) |
\(\Big \downarrow \) 5115 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \int x \cos (e+f x) (\sin (e+f x) c+c)dx\) |
\(\Big \downarrow \) 4922 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (\frac {x (c \sin (e+f x)+c)^2}{2 c f}-\frac {\int (\sin (e+f x) c+c)^2dx}{2 c f}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (\frac {x (c \sin (e+f x)+c)^2}{2 c f}-\frac {\int (\sin (e+f x) c+c)^2dx}{2 c f}\right )\) |
\(\Big \downarrow \) 3123 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (\frac {x (c \sin (e+f x)+c)^2}{2 c f}-\frac {-\frac {2 c^2 \cos (e+f x)}{f}-\frac {c^2 \sin (e+f x) \cos (e+f x)}{2 f}+\frac {3 c^2 x}{2}}{2 c f}\right )\) |
Input:
Int[x*Sqrt[a - a*Sin[e + f*x]]*(c + c*Sin[e + f*x])^(3/2),x]
Output:
Sec[e + f*x]*Sqrt[a - a*Sin[e + f*x]]*Sqrt[c + c*Sin[e + f*x]]*((x*(c + c* Sin[e + f*x])^2)/(2*c*f) - ((3*c^2*x)/2 - (2*c^2*Cos[e + f*x])/f - (c^2*Co s[e + f*x]*Sin[e + f*x])/(2*f))/(2*c*f))
Int[((a_) + (b_.)*sin[(c_.) + (d_.)*(x_)])^2, x_Symbol] :> Simp[(2*a^2 + b^ 2)*(x/2), x] + (-Simp[2*a*b*(Cos[c + d*x]/d), x] - Simp[b^2*Cos[c + d*x]*(S in[c + d*x]/(2*d)), x]) /; FreeQ[{a, b, c, d}, x]
Int[Cos[(c_.) + (d_.)*(x_)]*((e_.) + (f_.)*(x_))^(m_.)*((a_) + (b_.)*Sin[(c _.) + (d_.)*(x_)])^(n_.), x_Symbol] :> Simp[(e + f*x)^m*((a + b*Sin[c + d*x ])^(n + 1)/(b*d*(n + 1))), x] - Simp[f*(m/(b*d*(n + 1))) Int[(e + f*x)^(m - 1)*(a + b*Sin[c + d*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && IGtQ[m, 0] && NeQ[n, -1]
Int[((g_.) + (h_.)*(x_))^(p_.)*((a_) + (b_.)*Sin[(e_.) + (f_.)*(x_)])^(m_)* ((c_) + (d_.)*Sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[a^IntPart[m] *c^IntPart[m]*(a + b*Sin[e + f*x])^FracPart[m]*((c + d*Sin[e + f*x])^FracPa rt[m]/Cos[e + f*x]^(2*FracPart[m])) Int[(g + h*x)^p*Cos[e + f*x]^(2*m)*(c + d*Sin[e + f*x])^(n - m), x], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && IntegerQ[p] && IntegerQ[2*m] && IGeQ[n - m, 0]
\[\int x \sqrt {a -a \sin \left (f x +e \right )}\, \left (c +c \sin \left (f x +e \right )\right )^{\frac {3}{2}}d x\]
Input:
int(x*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(3/2),x)
Output:
int(x*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(3/2),x)
Exception generated. \[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx=\text {Exception raised: TypeError} \] Input:
integrate(x*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(3/2),x, algorithm="fr icas")
Output:
Exception raised: TypeError >> Error detected within library code: inte grate: implementation incomplete (has polynomial part)
\[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx=\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 \] Input:
integrate(x*(a-a*sin(f*x+e))**(1/2)*(c+c*sin(f*x+e))**(3/2),x)
Output:
Integral(x*(c*(sin(e + f*x) + 1))**(3/2)*sqrt(-a*(sin(e + f*x) - 1)), x)
\[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx=\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 } \] Input:
integrate(x*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(3/2),x, algorithm="ma xima")
Output:
integrate(sqrt(-a*sin(f*x + e) + a)*(c*sin(f*x + e) + c)^(3/2)*x, x)
Leaf count of result is larger than twice the leaf count of optimal. 311 vs. \(2 (146) = 292\).
Time = 0.21 (sec) , antiderivative size = 311, normalized size of antiderivative = 1.85 \[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx =\text {Too large to display} \] Input:
integrate(x*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(3/2),x, algorithm="gi ac")
Output:
-1/8*(8*c*cos(f*x + e)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))/f + c*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/ 4*pi + 1/2*f*x + 1/2*e))*sin(2*f*x + 2*e)/f - (pi*c*sgn(cos(-1/4*pi + 1/2* f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)) - (pi - 2*f*x - 2*e)*c*s gn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)) - 2 *c*e*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e )))*cos(2*f*x + 2*e)/f + 4*(pi*c*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(s in(-1/4*pi + 1/2*f*x + 1/2*e)) - (pi - 2*f*x - 2*e)*c*sgn(cos(-1/4*pi + 1/ 2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)) - 2*c*e*sgn(cos(-1/4*p i + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)))*sin(f*x + e)/f) *sqrt(a)*sqrt(c)/f
Time = 16.36 (sec) , antiderivative size = 123, normalized size of antiderivative = 0.73 \[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx=-\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 )} \] Input:
int(x*(a - a*sin(e + f*x))^(1/2)*(c + c*sin(e + f*x))^(3/2),x)
Output:
-(c*(-a*(sin(e + f*x) - 1))^(1/2)*(c*(sin(e + f*x) + 1))^(1/2)*(sin(e + f* x) + sin(3*e + 3*f*x) - 16*sin(e + f*x)^2 + 8*f*x*sin(2*e + 2*f*x) + 2*f*x *(2*sin(e/2 + (f*x)/2)^2 - 1) + 2*f*x*(2*sin((3*e)/2 + (3*f*x)/2)^2 - 1) + 16))/(8*f^2*(2*sin(e + f*x)^2 - 2))
\[ \int x \sqrt {a-a \sin (e+f x)} (c+c \sin (e+f x))^{3/2} \, dx=\sqrt {c}\, \sqrt {a}\, c \left (\int \sqrt {\sin \left (f x +e \right )+1}\, \sqrt {-\sin \left (f x +e \right )+1}\, \sin \left (f x +e \right ) x d x +\int \sqrt {\sin \left (f x +e \right )+1}\, \sqrt {-\sin \left (f x +e \right )+1}\, x d x \right ) \] Input:
int(x*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(3/2),x)
Output:
sqrt(c)*sqrt(a)*c*(int(sqrt(sin(e + f*x) + 1)*sqrt( - sin(e + f*x) + 1)*si n(e + f*x)*x,x) + int(sqrt(sin(e + f*x) + 1)*sqrt( - sin(e + f*x) + 1)*x,x ))