Integrand size = 33, antiderivative size = 176 \[ \int \frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{x^3} \, dx=-\frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{2 x^2}-\frac {1}{2} f^2 \cos (e) \operatorname {CosIntegral}(f x) \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}+\frac {1}{2} f^2 \sec (e+f x) \sin (e) \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)} \text {Si}(f x)+\frac {f \sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)} \tan (e+f x)}{2 x} \]
-1/2*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(1/2)/x^2-1/2*f^2*Ci(f*x)*cos (e)*sec(f*x+e)*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(1/2)+1/2*f^2*sec(f *x+e)*Si(f*x)*sin(e)*(a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(1/2)+1/2*f*( a-a*sin(f*x+e))^(1/2)*(c+c*sin(f*x+e))^(1/2)*tan(f*x+e)/x
Time = 0.98 (sec) , antiderivative size = 87, normalized size of antiderivative = 0.49 \[ \int \frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{x^3} \, dx=\frac {\sec (e+f x) \sqrt {c (1+\sin (e+f x))} \sqrt {a-a \sin (e+f x)} \left (-\cos (e+f x)-f^2 x^2 \cos (e) \operatorname {CosIntegral}(f x)+f x \sin (e+f x)+f^2 x^2 \sin (e) \text {Si}(f x)\right )}{2 x^2} \]
(Sec[e + f*x]*Sqrt[c*(1 + Sin[e + f*x])]*Sqrt[a - a*Sin[e + f*x]]*(-Cos[e + f*x] - f^2*x^2*Cos[e]*CosIntegral[f*x] + f*x*Sin[e + f*x] + f^2*x^2*Sin[ e]*SinIntegral[f*x]))/(2*x^2)
Time = 0.67 (sec) , antiderivative size = 85, normalized size of antiderivative = 0.48, number of steps used = 11, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5115, 3042, 3778, 25, 3042, 3778, 3042, 3784, 3042, 3780, 3783}
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 {\sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c}}{x^3} \, dx\) |
\(\Big \downarrow \) 5115 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \int \frac {\cos (e+f x)}{x^3}dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \int \frac {\sin \left (e+f x+\frac {\pi }{2}\right )}{x^3}dx\) |
\(\Big \downarrow \) 3778 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (\frac {1}{2} f \int -\frac {\sin (e+f x)}{x^2}dx-\frac {\cos (e+f x)}{2 x^2}\right )\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (-\frac {1}{2} f \int \frac {\sin (e+f x)}{x^2}dx-\frac {\cos (e+f x)}{2 x^2}\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 {1}{2} f \int \frac {\sin (e+f x)}{x^2}dx-\frac {\cos (e+f x)}{2 x^2}\right )\) |
\(\Big \downarrow \) 3778 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (-\frac {1}{2} f \left (f \int \frac {\cos (e+f x)}{x}dx-\frac {\sin (e+f x)}{x}\right )-\frac {\cos (e+f x)}{2 x^2}\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 {1}{2} f \left (f \int \frac {\sin \left (e+f x+\frac {\pi }{2}\right )}{x}dx-\frac {\sin (e+f x)}{x}\right )-\frac {\cos (e+f x)}{2 x^2}\right )\) |
\(\Big \downarrow \) 3784 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (-\frac {1}{2} f \left (f \left (\cos (e) \int \frac {\cos (f x)}{x}dx-\sin (e) \int \frac {\sin (f x)}{x}dx\right )-\frac {\sin (e+f x)}{x}\right )-\frac {\cos (e+f x)}{2 x^2}\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 {1}{2} f \left (f \left (\cos (e) \int \frac {\sin \left (f x+\frac {\pi }{2}\right )}{x}dx-\sin (e) \int \frac {\sin (f x)}{x}dx\right )-\frac {\sin (e+f x)}{x}\right )-\frac {\cos (e+f x)}{2 x^2}\right )\) |
\(\Big \downarrow \) 3780 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (-\frac {1}{2} f \left (f \left (\cos (e) \int \frac {\sin \left (f x+\frac {\pi }{2}\right )}{x}dx-\sin (e) \text {Si}(f x)\right )-\frac {\sin (e+f x)}{x}\right )-\frac {\cos (e+f x)}{2 x^2}\right )\) |
\(\Big \downarrow \) 3783 |
\(\displaystyle \sec (e+f x) \sqrt {a-a \sin (e+f x)} \sqrt {c \sin (e+f x)+c} \left (-\frac {1}{2} f \left (f (\cos (e) \operatorname {CosIntegral}(f x)-\sin (e) \text {Si}(f x))-\frac {\sin (e+f x)}{x}\right )-\frac {\cos (e+f x)}{2 x^2}\right )\) |
Sec[e + f*x]*Sqrt[a - a*Sin[e + f*x]]*Sqrt[c + c*Sin[e + f*x]]*(-1/2*Cos[e + f*x]/x^2 - (f*(-(Sin[e + f*x]/x) + f*(Cos[e]*CosIntegral[f*x] - Sin[e]* SinIntegral[f*x])))/2)
3.2.70.3.1 Defintions of rubi rules used
Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Simp[(c + d*x)^(m + 1)*(Sin[e + f*x]/(d*(m + 1))), x] - Simp[f/(d*(m + 1)) Int[( c + d*x)^(m + 1)*Cos[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && LtQ[m, - 1]
Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[SinInte gral[e + f*x]/d, x] /; FreeQ[{c, d, e, f}, x] && EqQ[d*e - c*f, 0]
Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosInte gral[e - Pi/2 + f*x]/d, x] /; FreeQ[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]
Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[Cos[(d* e - c*f)/d] Int[Sin[c*(f/d) + f*x]/(c + d*x), x], x] + Simp[Sin[(d*e - c* f)/d] Int[Cos[c*(f/d) + f*x]/(c + d*x), x], x] /; FreeQ[{c, d, e, f}, x] && NeQ[d*e - c*f, 0]
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 \frac {\sqrt {a -\sin \left (f x +e \right ) a}\, \sqrt {c +c \sin \left (f x +e \right )}}{x^{3}}d x\]
Exception generated. \[ \int \frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{x^3} \, dx=\text {Exception raised: TypeError} \]
Exception raised: TypeError >> Error detected within library code: inte grate: implementation incomplete (has polynomial part)
\[ \int \frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{x^3} \, dx=\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^{3}}\, dx \]
\[ \int \frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{x^3} \, dx=\int { \frac {\sqrt {-a \sin \left (f x + e\right ) + a} \sqrt {c \sin \left (f x + e\right ) + c}}{x^{3}} \,d x } \]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.42 (sec) , antiderivative size = 1022, normalized size of antiderivative = 5.81 \[ \int \frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{x^3} \, dx=\text {Too large to display} \]
-1/4*(f^2*x^2*real_part(cos_integral(f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2 *e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1/2*f*x)^2*tan(1/2*e)^2 + f^2 *x^2*real_part(cos_integral(-f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn (sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1/2*f*x)^2*tan(1/2*e)^2 + 2*f^2*x^2*i mag_part(cos_integral(f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1 /4*pi + 1/2*f*x + 1/2*e))*tan(1/2*f*x)^2*tan(1/2*e) - 2*f^2*x^2*imag_part( cos_integral(-f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1/2*f*x)^2*tan(1/2*e) + 4*f^2*x^2*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_integral(f*x)*ta n(1/2*f*x)^2*tan(1/2*e) - f^2*x^2*real_part(cos_integral(f*x))*sgn(cos(-1/ 4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1/2*f*x)^ 2 - f^2*x^2*real_part(cos_integral(-f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2* e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1/2*f*x)^2 + f^2*x^2*real_part (cos_integral(f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1/2*e)^2 + f^2*x^2*real_part(cos_integral(-f*x))*sgn (cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1 /2*e)^2 + 2*f^2*x^2*imag_part(cos_integral(f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*tan(1/2*e) - 2*f^2*x^2*imag _part(cos_integral(-f*x))*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sgn(sin(-1/4 *pi + 1/2*f*x + 1/2*e))*tan(1/2*e) + 4*f^2*x^2*sgn(cos(-1/4*pi + 1/2*f*...
Timed out. \[ \int \frac {\sqrt {a-a \sin (e+f x)} \sqrt {c+c \sin (e+f x)}}{x^3} \, dx=\int \frac {\sqrt {a-a\,\sin \left (e+f\,x\right )}\,\sqrt {c+c\,\sin \left (e+f\,x\right )}}{x^3} \,d x \]