Integrand size = 28, antiderivative size = 73 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=\frac {8 \sec ^5(e+f x) (c-c \sin (e+f x))^{5/2}}{15 a^3 c f}-\frac {2 \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 a^3 c^2 f} \] Output:
8/15*sec(f*x+e)^5*(c-c*sin(f*x+e))^(5/2)/a^3/c/f-2/3*sec(f*x+e)^5*(c-c*sin (f*x+e))^(7/2)/a^3/c^2/f
Time = 3.10 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.26 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=\frac {2 c \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+5 \sin (e+f x)) \sqrt {c-c \sin (e+f x)}}{15 a^3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (1+\sin (e+f x))^3} \] Input:
Integrate[(c - c*Sin[e + f*x])^(3/2)/(a + a*Sin[e + f*x])^3,x]
Output:
(2*c*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*(-1 + 5*Sin[e + f*x])*Sqrt[c - c*Sin[e + f*x]])/(15*a^3*f*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])*(1 + Sin[ e + f*x])^3)
Time = 0.48 (sec) , antiderivative size = 72, normalized size of antiderivative = 0.99, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {3042, 3215, 3042, 3153, 3042, 3152}
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 {(c-c \sin (e+f x))^{3/2}}{(a \sin (e+f x)+a)^3} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {(c-c \sin (e+f x))^{3/2}}{(a \sin (e+f x)+a)^3}dx\) |
\(\Big \downarrow \) 3215 |
\(\displaystyle \frac {\int \sec ^6(e+f x) (c-c \sin (e+f x))^{9/2}dx}{a^3 c^3}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {(c-c \sin (e+f x))^{9/2}}{\cos (e+f x)^6}dx}{a^3 c^3}\) |
\(\Big \downarrow \) 3153 |
\(\displaystyle \frac {-\frac {4}{3} c \int \sec ^6(e+f x) (c-c \sin (e+f x))^{7/2}dx-\frac {2 c \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 f}}{a^3 c^3}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {-\frac {4}{3} c \int \frac {(c-c \sin (e+f x))^{7/2}}{\cos (e+f x)^6}dx-\frac {2 c \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 f}}{a^3 c^3}\) |
\(\Big \downarrow \) 3152 |
\(\displaystyle \frac {\frac {8 c^2 \sec ^5(e+f x) (c-c \sin (e+f x))^{5/2}}{15 f}-\frac {2 c \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 f}}{a^3 c^3}\) |
Input:
Int[(c - c*Sin[e + f*x])^(3/2)/(a + a*Sin[e + f*x])^3,x]
Output:
((8*c^2*Sec[e + f*x]^5*(c - c*Sin[e + f*x])^(5/2))/(15*f) - (2*c*Sec[e + f *x]^5*(c - c*Sin[e + f*x])^(7/2))/(3*f))/(a^3*c^3)
Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x _)])^(m_), x_Symbol] :> Simp[b*(g*Cos[e + f*x])^(p + 1)*((a + b*Sin[e + f*x ])^(m - 1)/(f*g*(m - 1))), x] /; FreeQ[{a, b, e, f, g, m, p}, x] && EqQ[a^2 - b^2, 0] && EqQ[2*m + p - 1, 0] && NeQ[m, 1]
Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x _)])^(m_), x_Symbol] :> Simp[(-b)*(g*Cos[e + f*x])^(p + 1)*((a + b*Sin[e + f*x])^(m - 1)/(f*g*(m + p))), x] + Simp[a*((2*m + p - 1)/(m + p)) Int[(g* Cos[e + f*x])^p*(a + b*Sin[e + f*x])^(m - 1), x], x] /; FreeQ[{a, b, e, f, g, m, p}, x] && EqQ[a^2 - b^2, 0] && IGtQ[Simplify[(2*m + p - 1)/2], 0] && NeQ[m + p, 0]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Simp[a^m*c^m Int[Cos[e + f*x]^(2*m)*(c + d*Sin[e + f*x])^(n - m), x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && EqQ[ b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && IntegerQ[m] && !(IntegerQ[n] && ((Lt Q[m, 0] && GtQ[n, 0]) || LtQ[0, n, m] || LtQ[m, n, 0]))
Time = 0.48 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.84
method | result | size |
default | \(-\frac {2 c^{2} \left (-1+\sin \left (f x +e \right )\right ) \left (5 \sin \left (f x +e \right )-1\right )}{15 a^{3} \left (1+\sin \left (f x +e \right )\right )^{2} \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f}\) | \(61\) |
Input:
int((c-c*sin(f*x+e))^(3/2)/(a+sin(f*x+e)*a)^3,x,method=_RETURNVERBOSE)
Output:
-2/15*c^2/a^3*(-1+sin(f*x+e))/(1+sin(f*x+e))^2*(5*sin(f*x+e)-1)/cos(f*x+e) /(c-c*sin(f*x+e))^(1/2)/f
Time = 0.08 (sec) , antiderivative size = 74, normalized size of antiderivative = 1.01 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=-\frac {2 \, {\left (5 \, c \sin \left (f x + e\right ) - c\right )} \sqrt {-c \sin \left (f x + e\right ) + c}}{15 \, {\left (a^{3} f \cos \left (f x + e\right )^{3} - 2 \, a^{3} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) - 2 \, a^{3} f \cos \left (f x + e\right )\right )}} \] Input:
integrate((c-c*sin(f*x+e))^(3/2)/(a+a*sin(f*x+e))^3,x, algorithm="fricas")
Output:
-2/15*(5*c*sin(f*x + e) - c)*sqrt(-c*sin(f*x + e) + c)/(a^3*f*cos(f*x + e) ^3 - 2*a^3*f*cos(f*x + e)*sin(f*x + e) - 2*a^3*f*cos(f*x + e))
Timed out. \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=\text {Timed out} \] Input:
integrate((c-c*sin(f*x+e))**(3/2)/(a+a*sin(f*x+e))**3,x)
Output:
Timed out
Leaf count of result is larger than twice the leaf count of optimal. 331 vs. \(2 (65) = 130\).
Time = 0.12 (sec) , antiderivative size = 331, normalized size of antiderivative = 4.53 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=\frac {2 \, {\left (c^{\frac {3}{2}} - \frac {10 \, c^{\frac {3}{2}} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {4 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} - \frac {30 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {6 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} - \frac {30 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}} + \frac {4 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{6}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{6}} - \frac {10 \, c^{\frac {3}{2}} \sin \left (f x + e\right )^{7}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{7}} + \frac {c^{\frac {3}{2}} \sin \left (f x + e\right )^{8}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{8}}\right )}}{15 \, {\left (a^{3} + \frac {5 \, a^{3} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {10 \, a^{3} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {10 \, a^{3} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {5 \, a^{3} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} + \frac {a^{3} \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )} f {\left (\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )}^{\frac {3}{2}}} \] Input:
integrate((c-c*sin(f*x+e))^(3/2)/(a+a*sin(f*x+e))^3,x, algorithm="maxima")
Output:
2/15*(c^(3/2) - 10*c^(3/2)*sin(f*x + e)/(cos(f*x + e) + 1) + 4*c^(3/2)*sin (f*x + e)^2/(cos(f*x + e) + 1)^2 - 30*c^(3/2)*sin(f*x + e)^3/(cos(f*x + e) + 1)^3 + 6*c^(3/2)*sin(f*x + e)^4/(cos(f*x + e) + 1)^4 - 30*c^(3/2)*sin(f *x + e)^5/(cos(f*x + e) + 1)^5 + 4*c^(3/2)*sin(f*x + e)^6/(cos(f*x + e) + 1)^6 - 10*c^(3/2)*sin(f*x + e)^7/(cos(f*x + e) + 1)^7 + c^(3/2)*sin(f*x + e)^8/(cos(f*x + e) + 1)^8)/((a^3 + 5*a^3*sin(f*x + e)/(cos(f*x + e) + 1) + 10*a^3*sin(f*x + e)^2/(cos(f*x + e) + 1)^2 + 10*a^3*sin(f*x + e)^3/(cos(f *x + e) + 1)^3 + 5*a^3*sin(f*x + e)^4/(cos(f*x + e) + 1)^4 + a^3*sin(f*x + e)^5/(cos(f*x + e) + 1)^5)*f*(sin(f*x + e)^2/(cos(f*x + e) + 1)^2 + 1)^(3 /2))
Leaf count of result is larger than twice the leaf count of optimal. 207 vs. \(2 (65) = 130\).
Time = 0.18 (sec) , antiderivative size = 207, normalized size of antiderivative = 2.84 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=-\frac {2 \, \sqrt {2} {\left (c \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + \frac {5 \, c {\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1\right )} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1} - \frac {5 \, c {\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1\right )}^{2} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{{\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1\right )}^{2}} + \frac {15 \, c {\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1\right )}^{3} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{{\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1\right )}^{3}}\right )} \sqrt {c}}{15 \, a^{3} f {\left (\frac {\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 1}{\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1} + 1\right )}^{5}} \] Input:
integrate((c-c*sin(f*x+e))^(3/2)/(a+a*sin(f*x+e))^3,x, algorithm="giac")
Output:
-2/15*sqrt(2)*(c*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)) + 5*c*(cos(-1/4*pi + 1/2*f*x + 1/2*e) - 1)*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))/(cos(-1/4*pi + 1 /2*f*x + 1/2*e) + 1) - 5*c*(cos(-1/4*pi + 1/2*f*x + 1/2*e) - 1)^2*sgn(sin( -1/4*pi + 1/2*f*x + 1/2*e))/(cos(-1/4*pi + 1/2*f*x + 1/2*e) + 1)^2 + 15*c* (cos(-1/4*pi + 1/2*f*x + 1/2*e) - 1)^3*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)) /(cos(-1/4*pi + 1/2*f*x + 1/2*e) + 1)^3)*sqrt(c)/(a^3*f*((cos(-1/4*pi + 1/ 2*f*x + 1/2*e) - 1)/(cos(-1/4*pi + 1/2*f*x + 1/2*e) + 1) + 1)^5)
Time = 22.86 (sec) , antiderivative size = 355, normalized size of antiderivative = 4.86 \[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=\frac {c\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}\,8{}\mathrm {i}}{3\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^2}+\frac {136\,c\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}}{15\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^3}-\frac {c\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}\,64{}\mathrm {i}}{5\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^4}-\frac {32\,c\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}}{5\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^5} \] Input:
int((c - c*sin(e + f*x))^(3/2)/(a + a*sin(e + f*x))^3,x)
Output:
(c*exp(e*1i + f*x*1i)*(c - c*((exp(- e*1i - f*x*1i)*1i)/2 - (exp(e*1i + f* x*1i)*1i)/2))^(1/2)*8i)/(3*a^3*f*(exp(e*1i + f*x*1i) - 1i)*(exp(e*1i + f*x *1i) + 1i)^2) + (136*c*exp(e*1i + f*x*1i)*(c - c*((exp(- e*1i - f*x*1i)*1i )/2 - (exp(e*1i + f*x*1i)*1i)/2))^(1/2))/(15*a^3*f*(exp(e*1i + f*x*1i) - 1 i)*(exp(e*1i + f*x*1i) + 1i)^3) - (c*exp(e*1i + f*x*1i)*(c - c*((exp(- e*1 i - f*x*1i)*1i)/2 - (exp(e*1i + f*x*1i)*1i)/2))^(1/2)*64i)/(5*a^3*f*(exp(e *1i + f*x*1i) - 1i)*(exp(e*1i + f*x*1i) + 1i)^4) - (32*c*exp(e*1i + f*x*1i )*(c - c*((exp(- e*1i - f*x*1i)*1i)/2 - (exp(e*1i + f*x*1i)*1i)/2))^(1/2)) /(5*a^3*f*(exp(e*1i + f*x*1i) - 1i)*(exp(e*1i + f*x*1i) + 1i)^5)
\[ \int \frac {(c-c \sin (e+f x))^{3/2}}{(a+a \sin (e+f x))^3} \, dx=\frac {\sqrt {c}\, c \left (\int \frac {\sqrt {-\sin \left (f x +e \right )+1}}{\sin \left (f x +e \right )^{3}+3 \sin \left (f x +e \right )^{2}+3 \sin \left (f x +e \right )+1}d x -\left (\int \frac {\sqrt {-\sin \left (f x +e \right )+1}\, \sin \left (f x +e \right )}{\sin \left (f x +e \right )^{3}+3 \sin \left (f x +e \right )^{2}+3 \sin \left (f x +e \right )+1}d x \right )\right )}{a^{3}} \] Input:
int((c-c*sin(f*x+e))^(3/2)/(a+a*sin(f*x+e))^3,x)
Output:
(sqrt(c)*c*(int(sqrt( - sin(e + f*x) + 1)/(sin(e + f*x)**3 + 3*sin(e + f*x )**2 + 3*sin(e + f*x) + 1),x) - int((sqrt( - sin(e + f*x) + 1)*sin(e + f*x ))/(sin(e + f*x)**3 + 3*sin(e + f*x)**2 + 3*sin(e + f*x) + 1),x)))/a**3