Optimal. Leaf size=25 \[ \frac {4}{5} (\csc (x)+1)^{5/2}-\frac {2}{7} (\csc (x)+1)^{7/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {4372, 1570, 1469, 627, 43} \[ \frac {4}{5} (\csc (x)+1)^{5/2}-\frac {2}{7} (\csc (x)+1)^{7/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 627
Rule 1469
Rule 1570
Rule 4372
Rubi steps
\begin {align*} \int \cot ^3(x) \csc (x) \sqrt {1+\csc (x)} \, dx &=\operatorname {Subst}\left (\int \frac {\sqrt {1+\frac {1}{x}} \left (1-x^2\right )}{x^4} \, dx,x,\sin (x)\right )\\ &=\operatorname {Subst}\left (\int \frac {\left (-1+\frac {1}{x^2}\right ) \sqrt {1+\frac {1}{x}}}{x^2} \, dx,x,\sin (x)\right )\\ &=-\operatorname {Subst}\left (\int \sqrt {1+x} \left (-1+x^2\right ) \, dx,x,\csc (x)\right )\\ &=-\operatorname {Subst}\left (\int (-1+x) (1+x)^{3/2} \, dx,x,\csc (x)\right )\\ &=-\operatorname {Subst}\left (\int \left (-2 (1+x)^{3/2}+(1+x)^{5/2}\right ) \, dx,x,\csc (x)\right )\\ &=\frac {4}{5} (1+\csc (x))^{5/2}-\frac {2}{7} (1+\csc (x))^{7/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 18, normalized size = 0.72 \[ -\frac {2}{35} (\csc (x)+1)^{5/2} (5 \csc (x)-9) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 44, normalized size = 1.76 \[ \frac {2 \, {\left (13 \, \cos \relax (x)^{2} + {\left (9 \, \cos \relax (x)^{2} - 8\right )} \sin \relax (x) - 8\right )} \sqrt {\frac {\sin \relax (x) + 1}{\sin \relax (x)}}}{35 \, {\left (\cos \relax (x)^{2} - 1\right )} \sin \relax (x)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.14, size = 128, normalized size = 5.12 \[ \frac {2 \, {\left (35 \, {\left (\sqrt {\sin \relax (x)^{2} + \sin \relax (x)} - \sin \relax (x)\right )}^{6} - 35 \, {\left (\sqrt {\sin \relax (x)^{2} + \sin \relax (x)} - \sin \relax (x)\right )}^{5} - 35 \, {\left (\sqrt {\sin \relax (x)^{2} + \sin \relax (x)} - \sin \relax (x)\right )}^{4} + 105 \, {\left (\sqrt {\sin \relax (x)^{2} + \sin \relax (x)} - \sin \relax (x)\right )}^{3} - 91 \, {\left (\sqrt {\sin \relax (x)^{2} + \sin \relax (x)} - \sin \relax (x)\right )}^{2} + 35 \, \sqrt {\sin \relax (x)^{2} + \sin \relax (x)} - 35 \, \sin \relax (x) - 5\right )} \mathrm {sgn}\left (\sin \relax (x)\right )}{35 \, {\left (\sqrt {\sin \relax (x)^{2} + \sin \relax (x)} - \sin \relax (x)\right )}^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.18, size = 38, normalized size = 1.52 \[ -\frac {2 \left (9 \left (\cos ^{2}\relax (x )\right ) \sin \relax (x )+13 \left (\cos ^{2}\relax (x )\right )-8 \sin \relax (x )-8\right ) \sqrt {\frac {1+\sin \relax (x )}{\sin \relax (x )}}}{35 \sin \relax (x )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 21, normalized size = 0.84 \[ -\frac {2}{7} \, {\left (\frac {1}{\sin \relax (x)} + 1\right )}^{\frac {7}{2}} + \frac {4}{5} \, {\left (\frac {1}{\sin \relax (x)} + 1\right )}^{\frac {5}{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.42, size = 24, normalized size = 0.96 \[ \frac {2\,{\left (\sin \relax (x)+1\right )}^{5/2}\,\sqrt {\frac {1}{\sin \relax (x)}}\,\left (9\,\sin \relax (x)-5\right )}{35\,{\sin \relax (x)}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {\csc {\relax (x )} + 1} \cot ^{3}{\relax (x )} \csc {\relax (x )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________