Integrand size = 15, antiderivative size = 41 \[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=\frac {\text {arctanh}\left (\frac {a-b \cot ^2(x)}{\sqrt {a+b} \sqrt {a+b \cot ^4(x)}}\right )}{2 \sqrt {a+b}} \] Output:
1/2*arctanh((a-b*cot(x)^2)/(a+b)^(1/2)/(a+b*cot(x)^4)^(1/2))/(a+b)^(1/2)
Time = 0.01 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.00 \[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=\frac {\text {arctanh}\left (\frac {a-b \cot ^2(x)}{\sqrt {a+b} \sqrt {a+b \cot ^4(x)}}\right )}{2 \sqrt {a+b}} \] Input:
Integrate[Cot[x]/Sqrt[a + b*Cot[x]^4],x]
Output:
ArcTanh[(a - b*Cot[x]^2)/(Sqrt[a + b]*Sqrt[a + b*Cot[x]^4])]/(2*Sqrt[a + b ])
Time = 0.27 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.467, Rules used = {3042, 25, 4153, 25, 1577, 488, 219}
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 {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int -\frac {\tan \left (x+\frac {\pi }{2}\right )}{\sqrt {a+b \tan \left (x+\frac {\pi }{2}\right )^4}}dx\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\int \frac {\tan \left (x+\frac {\pi }{2}\right )}{\sqrt {b \tan \left (x+\frac {\pi }{2}\right )^4+a}}dx\) |
\(\Big \downarrow \) 4153 |
\(\displaystyle \int -\frac {\cot (x)}{\left (\cot ^2(x)+1\right ) \sqrt {a+b \cot ^4(x)}}d\cot (x)\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\int \frac {\cot (x)}{\left (\cot ^2(x)+1\right ) \sqrt {b \cot ^4(x)+a}}d\cot (x)\) |
\(\Big \downarrow \) 1577 |
\(\displaystyle -\frac {1}{2} \int \frac {1}{\left (\cot ^2(x)+1\right ) \sqrt {b \cot ^4(x)+a}}d\cot ^2(x)\) |
\(\Big \downarrow \) 488 |
\(\displaystyle \frac {1}{2} \int \frac {1}{-\cot ^4(x)+a+b}d\frac {a-b \cot ^2(x)}{\sqrt {b \cot ^4(x)+a}}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {\text {arctanh}\left (\frac {a-b \cot ^2(x)}{\sqrt {a+b} \sqrt {a+b \cot ^4(x)}}\right )}{2 \sqrt {a+b}}\) |
Input:
Int[Cot[x]/Sqrt[a + b*Cot[x]^4],x]
Output:
ArcTanh[(a - b*Cot[x]^2)/(Sqrt[a + b]*Sqrt[a + b*Cot[x]^4])]/(2*Sqrt[a + b ])
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/(((c_) + (d_.)*(x_))*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] :> -Subst[ Int[1/(b*c^2 + a*d^2 - x^2), x], x, (a*d - b*c*x)/Sqrt[a + b*x^2]] /; FreeQ [{a, b, c, d}, x]
Int[(x_)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Simp[1/2 Subst[Int[(d + e*x)^q*(a + c*x^2)^p, x], x, x^2], x] /; Free Q[{a, c, d, e, p, q}, x]
Int[((d_.)*tan[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*((c_.)*tan[(e_.) + (f_.)*(x_)])^(n_))^(p_.), x_Symbol] :> With[{ff = FreeFactors[Tan[e + f*x], x]}, Simp[c*(ff/f) Subst[Int[(d*ff*(x/c))^m*((a + b*(ff*x)^n)^p/(c^2 + f f^2*x^2)), x], x, c*(Tan[e + f*x]/ff)], x]] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && (IGtQ[p, 0] || EqQ[n, 2] || EqQ[n, 4] || (IntegerQ[p] && Ratio nalQ[n]))
Time = 0.27 (sec) , antiderivative size = 65, normalized size of antiderivative = 1.59
method | result | size |
derivativedivides | \(\frac {\ln \left (\frac {2 a +2 b -2 b \left (\cot \left (x \right )^{2}+1\right )+2 \sqrt {a +b}\, \sqrt {b \left (\cot \left (x \right )^{2}+1\right )^{2}-2 b \left (\cot \left (x \right )^{2}+1\right )+a +b}}{\cot \left (x \right )^{2}+1}\right )}{2 \sqrt {a +b}}\) | \(65\) |
default | \(\frac {\ln \left (\frac {2 a +2 b -2 b \left (\cot \left (x \right )^{2}+1\right )+2 \sqrt {a +b}\, \sqrt {b \left (\cot \left (x \right )^{2}+1\right )^{2}-2 b \left (\cot \left (x \right )^{2}+1\right )+a +b}}{\cot \left (x \right )^{2}+1}\right )}{2 \sqrt {a +b}}\) | \(65\) |
Input:
int(cot(x)/(a+b*cot(x)^4)^(1/2),x,method=_RETURNVERBOSE)
Output:
1/2/(a+b)^(1/2)*ln((2*a+2*b-2*b*(cot(x)^2+1)+2*(a+b)^(1/2)*(b*(cot(x)^2+1) ^2-2*b*(cot(x)^2+1)+a+b)^(1/2))/(cot(x)^2+1))
Leaf count of result is larger than twice the leaf count of optimal. 138 vs. \(2 (35) = 70\).
Time = 0.17 (sec) , antiderivative size = 264, normalized size of antiderivative = 6.44 \[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=\left [\frac {\log \left (\frac {1}{2} \, {\left (a^{2} + 2 \, a b + b^{2}\right )} \cos \left (2 \, x\right )^{2} + \frac {1}{2} \, a^{2} + \frac {1}{2} \, b^{2} + \frac {1}{2} \, {\left ({\left (a + b\right )} \cos \left (2 \, x\right )^{2} - 2 \, a \cos \left (2 \, x\right ) + a - b\right )} \sqrt {a + b} \sqrt {\frac {{\left (a + b\right )} \cos \left (2 \, x\right )^{2} - 2 \, {\left (a - b\right )} \cos \left (2 \, x\right ) + a + b}{\cos \left (2 \, x\right )^{2} - 2 \, \cos \left (2 \, x\right ) + 1}} - {\left (a^{2} - b^{2}\right )} \cos \left (2 \, x\right )\right )}{4 \, \sqrt {a + b}}, -\frac {\sqrt {-a - b} \arctan \left (\frac {{\left ({\left (a + b\right )} \cos \left (2 \, x\right )^{2} - 2 \, a \cos \left (2 \, x\right ) + a - b\right )} \sqrt {-a - b} \sqrt {\frac {{\left (a + b\right )} \cos \left (2 \, x\right )^{2} - 2 \, {\left (a - b\right )} \cos \left (2 \, x\right ) + a + b}{\cos \left (2 \, x\right )^{2} - 2 \, \cos \left (2 \, x\right ) + 1}}}{{\left (a^{2} + 2 \, a b + b^{2}\right )} \cos \left (2 \, x\right )^{2} + a^{2} + 2 \, a b + b^{2} - 2 \, {\left (a^{2} - b^{2}\right )} \cos \left (2 \, x\right )}\right )}{2 \, {\left (a + b\right )}}\right ] \] Input:
integrate(cot(x)/(a+b*cot(x)^4)^(1/2),x, algorithm="fricas")
Output:
[1/4*log(1/2*(a^2 + 2*a*b + b^2)*cos(2*x)^2 + 1/2*a^2 + 1/2*b^2 + 1/2*((a + b)*cos(2*x)^2 - 2*a*cos(2*x) + a - b)*sqrt(a + b)*sqrt(((a + b)*cos(2*x) ^2 - 2*(a - b)*cos(2*x) + a + b)/(cos(2*x)^2 - 2*cos(2*x) + 1)) - (a^2 - b ^2)*cos(2*x))/sqrt(a + b), -1/2*sqrt(-a - b)*arctan(((a + b)*cos(2*x)^2 - 2*a*cos(2*x) + a - b)*sqrt(-a - b)*sqrt(((a + b)*cos(2*x)^2 - 2*(a - b)*co s(2*x) + a + b)/(cos(2*x)^2 - 2*cos(2*x) + 1))/((a^2 + 2*a*b + b^2)*cos(2* x)^2 + a^2 + 2*a*b + b^2 - 2*(a^2 - b^2)*cos(2*x)))/(a + b)]
\[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=\int \frac {\cot {\left (x \right )}}{\sqrt {a + b \cot ^{4}{\left (x \right )}}}\, dx \] Input:
integrate(cot(x)/(a+b*cot(x)**4)**(1/2),x)
Output:
Integral(cot(x)/sqrt(a + b*cot(x)**4), x)
\[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=\int { \frac {\cot \left (x\right )}{\sqrt {b \cot \left (x\right )^{4} + a}} \,d x } \] Input:
integrate(cot(x)/(a+b*cot(x)^4)^(1/2),x, algorithm="maxima")
Output:
integrate(cot(x)/sqrt(b*cot(x)^4 + a), x)
Time = 0.14 (sec) , antiderivative size = 58, normalized size of antiderivative = 1.41 \[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=-\frac {\log \left ({\left | -{\left (\sqrt {a + b} \sin \left (x\right )^{2} - \sqrt {a \sin \left (x\right )^{4} + b \sin \left (x\right )^{4} - 2 \, b \sin \left (x\right )^{2} + b}\right )} {\left (a + b\right )} + \sqrt {a + b} b \right |}\right )}{2 \, \sqrt {a + b}} \] Input:
integrate(cot(x)/(a+b*cot(x)^4)^(1/2),x, algorithm="giac")
Output:
-1/2*log(abs(-(sqrt(a + b)*sin(x)^2 - sqrt(a*sin(x)^4 + b*sin(x)^4 - 2*b*s in(x)^2 + b))*(a + b) + sqrt(a + b)*b))/sqrt(a + b)
Timed out. \[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=\int \frac {\mathrm {cot}\left (x\right )}{\sqrt {b\,{\mathrm {cot}\left (x\right )}^4+a}} \,d x \] Input:
int(cot(x)/(a + b*cot(x)^4)^(1/2),x)
Output:
int(cot(x)/(a + b*cot(x)^4)^(1/2), x)
\[ \int \frac {\cot (x)}{\sqrt {a+b \cot ^4(x)}} \, dx=\int \frac {\sqrt {\cot \left (x \right )^{4} b +a}\, \cot \left (x \right )}{\cot \left (x \right )^{4} b +a}d x \] Input:
int(cot(x)/(a+b*cot(x)^4)^(1/2),x)
Output:
int((sqrt(cot(x)**4*b + a)*cot(x))/(cot(x)**4*b + a),x)