Optimal. Leaf size=17 \[ \frac {\sec ^5(x)}{5}-\frac {\sec ^3(x)}{3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {4397, 2606, 14} \[ \frac {\sec ^5(x)}{5}-\frac {\sec ^3(x)}{3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2606
Rule 4397
Rubi steps
\begin {align*} \int \frac {1}{(\csc (x)-\sin (x))^3} \, dx &=\int \sec ^3(x) \tan ^3(x) \, dx\\ &=\operatorname {Subst}\left (\int x^2 \left (-1+x^2\right ) \, dx,x,\sec (x)\right )\\ &=\operatorname {Subst}\left (\int \left (-x^2+x^4\right ) \, dx,x,\sec (x)\right )\\ &=-\frac {1}{3} \sec ^3(x)+\frac {\sec ^5(x)}{5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 17, normalized size = 1.00 \[ \frac {\sec ^5(x)}{5}-\frac {\sec ^3(x)}{3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.20, size = 14, normalized size = 0.82 \[ -\frac {5 \, \cos \relax (x)^{2} - 3}{15 \, \cos \relax (x)^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.13, size = 59, normalized size = 3.47 \[ -\frac {4 \, {\left (\frac {5 \, {\left (\cos \relax (x) - 1\right )}}{\cos \relax (x) + 1} - \frac {5 \, {\left (\cos \relax (x) - 1\right )}^{2}}{{\left (\cos \relax (x) + 1\right )}^{2}} + \frac {15 \, {\left (\cos \relax (x) - 1\right )}^{3}}{{\left (\cos \relax (x) + 1\right )}^{3}} + 1\right )}}{15 \, {\left (\frac {\cos \relax (x) - 1}{\cos \relax (x) + 1} + 1\right )}^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.12, size = 14, normalized size = 0.82 \[ -\frac {1}{3 \cos \relax (x )^{3}}+\frac {1}{5 \cos \relax (x )^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.31, size = 103, normalized size = 6.06 \[ -\frac {4 \, {\left (\frac {5 \, \sin \relax (x)^{2}}{{\left (\cos \relax (x) + 1\right )}^{2}} + \frac {5 \, \sin \relax (x)^{4}}{{\left (\cos \relax (x) + 1\right )}^{4}} + \frac {15 \, \sin \relax (x)^{6}}{{\left (\cos \relax (x) + 1\right )}^{6}} - 1\right )}}{15 \, {\left (\frac {5 \, \sin \relax (x)^{2}}{{\left (\cos \relax (x) + 1\right )}^{2}} - \frac {10 \, \sin \relax (x)^{4}}{{\left (\cos \relax (x) + 1\right )}^{4}} + \frac {10 \, \sin \relax (x)^{6}}{{\left (\cos \relax (x) + 1\right )}^{6}} - \frac {5 \, \sin \relax (x)^{8}}{{\left (\cos \relax (x) + 1\right )}^{8}} + \frac {\sin \relax (x)^{10}}{{\left (\cos \relax (x) + 1\right )}^{10}} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.55, size = 13, normalized size = 0.76 \[ \frac {1}{5\,{\cos \relax (x)}^5}-\frac {1}{3\,{\cos \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 \frac {1}{\left (- \sin {\relax (x )} + \csc {\relax (x )}\right )^{3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________