Optimal. Leaf size=140 \[ -\frac{6 i \csc ^{-1}(a+b x) \text{PolyLog}\left (2,-e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 i \csc ^{-1}(a+b x) \text{PolyLog}\left (2,e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 \text{PolyLog}\left (3,-e^{i \csc ^{-1}(a+b x)}\right )}{b}-\frac{6 \text{PolyLog}\left (3,e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{(a+b x) \csc ^{-1}(a+b x)^3}{b}+\frac{6 \csc ^{-1}(a+b x)^2 \tanh ^{-1}\left (e^{i \csc ^{-1}(a+b x)}\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.101629, antiderivative size = 140, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 7, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.875, Rules used = {5253, 5217, 3758, 4183, 2531, 2282, 6589} \[ -\frac{6 i \csc ^{-1}(a+b x) \text{PolyLog}\left (2,-e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 i \csc ^{-1}(a+b x) \text{PolyLog}\left (2,e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 \text{PolyLog}\left (3,-e^{i \csc ^{-1}(a+b x)}\right )}{b}-\frac{6 \text{PolyLog}\left (3,e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{(a+b x) \csc ^{-1}(a+b x)^3}{b}+\frac{6 \csc ^{-1}(a+b x)^2 \tanh ^{-1}\left (e^{i \csc ^{-1}(a+b x)}\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5253
Rule 5217
Rule 3758
Rule 4183
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int \csc ^{-1}(a+b x)^3 \, dx &=\frac{\operatorname{Subst}\left (\int \csc ^{-1}(x)^3 \, dx,x,a+b x\right )}{b}\\ &=-\frac{\operatorname{Subst}\left (\int x^3 \cot (x) \csc (x) \, dx,x,\csc ^{-1}(a+b x)\right )}{b}\\ &=\frac{(a+b x) \csc ^{-1}(a+b x)^3}{b}-\frac{3 \operatorname{Subst}\left (\int x^2 \csc (x) \, dx,x,\csc ^{-1}(a+b x)\right )}{b}\\ &=\frac{(a+b x) \csc ^{-1}(a+b x)^3}{b}+\frac{6 \csc ^{-1}(a+b x)^2 \tanh ^{-1}\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 \operatorname{Subst}\left (\int x \log \left (1-e^{i x}\right ) \, dx,x,\csc ^{-1}(a+b x)\right )}{b}-\frac{6 \operatorname{Subst}\left (\int x \log \left (1+e^{i x}\right ) \, dx,x,\csc ^{-1}(a+b x)\right )}{b}\\ &=\frac{(a+b x) \csc ^{-1}(a+b x)^3}{b}+\frac{6 \csc ^{-1}(a+b x)^2 \tanh ^{-1}\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}-\frac{6 i \csc ^{-1}(a+b x) \text{Li}_2\left (-e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 i \csc ^{-1}(a+b x) \text{Li}_2\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{(6 i) \operatorname{Subst}\left (\int \text{Li}_2\left (-e^{i x}\right ) \, dx,x,\csc ^{-1}(a+b x)\right )}{b}-\frac{(6 i) \operatorname{Subst}\left (\int \text{Li}_2\left (e^{i x}\right ) \, dx,x,\csc ^{-1}(a+b x)\right )}{b}\\ &=\frac{(a+b x) \csc ^{-1}(a+b x)^3}{b}+\frac{6 \csc ^{-1}(a+b x)^2 \tanh ^{-1}\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}-\frac{6 i \csc ^{-1}(a+b x) \text{Li}_2\left (-e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 i \csc ^{-1}(a+b x) \text{Li}_2\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 \operatorname{Subst}\left (\int \frac{\text{Li}_2(-x)}{x} \, dx,x,e^{i \csc ^{-1}(a+b x)}\right )}{b}-\frac{6 \operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{i \csc ^{-1}(a+b x)}\right )}{b}\\ &=\frac{(a+b x) \csc ^{-1}(a+b x)^3}{b}+\frac{6 \csc ^{-1}(a+b x)^2 \tanh ^{-1}\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}-\frac{6 i \csc ^{-1}(a+b x) \text{Li}_2\left (-e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 i \csc ^{-1}(a+b x) \text{Li}_2\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}+\frac{6 \text{Li}_3\left (-e^{i \csc ^{-1}(a+b x)}\right )}{b}-\frac{6 \text{Li}_3\left (e^{i \csc ^{-1}(a+b x)}\right )}{b}\\ \end{align*}
Mathematica [A] time = 0.118717, size = 162, normalized size = 1.16 \[ \frac{-6 i \csc ^{-1}(a+b x) \text{PolyLog}\left (2,-e^{i \csc ^{-1}(a+b x)}\right )+6 i \csc ^{-1}(a+b x) \text{PolyLog}\left (2,e^{i \csc ^{-1}(a+b x)}\right )+6 \text{PolyLog}\left (3,-e^{i \csc ^{-1}(a+b x)}\right )-6 \text{PolyLog}\left (3,e^{i \csc ^{-1}(a+b x)}\right )+a \csc ^{-1}(a+b x)^3+b x \csc ^{-1}(a+b x)^3-3 \csc ^{-1}(a+b x)^2 \log \left (1-e^{i \csc ^{-1}(a+b x)}\right )+3 \csc ^{-1}(a+b x)^2 \log \left (1+e^{i \csc ^{-1}(a+b x)}\right )}{b} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.306, size = 247, normalized size = 1.8 \begin{align*} x \left ({\rm arccsc} \left (bx+a\right ) \right ) ^{3}+{\frac{ \left ({\rm arccsc} \left (bx+a\right ) \right ) ^{3}a}{b}}+3\,{\frac{ \left ({\rm arccsc} \left (bx+a\right ) \right ) ^{2}}{b}\ln \left ( 1+{\frac{i}{bx+a}}+\sqrt{1- \left ( bx+a \right ) ^{-2}} \right ) }-{\frac{6\,i{\rm arccsc} \left (bx+a\right )}{b}{\it polylog} \left ( 2,{\frac{-i}{bx+a}}-\sqrt{1- \left ( bx+a \right ) ^{-2}} \right ) }-3\,{\frac{ \left ({\rm arccsc} \left (bx+a\right ) \right ) ^{2}}{b}\ln \left ( 1-{\frac{i}{bx+a}}-\sqrt{1- \left ( bx+a \right ) ^{-2}} \right ) }+{\frac{6\,i{\rm arccsc} \left (bx+a\right )}{b}{\it polylog} \left ( 2,{\frac{i}{bx+a}}+\sqrt{1- \left ( bx+a \right ) ^{-2}} \right ) }+6\,{\frac{1}{b}{\it polylog} \left ( 3,{\frac{-i}{bx+a}}-\sqrt{1- \left ( bx+a \right ) ^{-2}} \right ) }-6\,{\frac{1}{b}{\it polylog} \left ( 3,{\frac{i}{bx+a}}+\sqrt{1- \left ( bx+a \right ) ^{-2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} x \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right )^{3} - \frac{3}{4} \, x \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) \log \left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )^{2} - \int \frac{3 \,{\left (4 \,{\left (b^{3} x^{3} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) + 3 \, a b^{2} x^{2} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) + a^{3} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) +{\left (3 \, a^{2} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) - \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right )\right )} b x - a \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right )\right )} \log \left (b x + a\right )^{2} -{\left (4 \, b x \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right )^{2} - b x \log \left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )^{2}\right )} \sqrt{b x + a + 1} \sqrt{b x + a - 1} - 4 \,{\left (b^{3} x^{3} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) + 2 \, a b^{2} x^{2} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) +{\left (a^{2} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) - \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right )\right )} b x +{\left (b^{3} x^{3} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) + 3 \, a b^{2} x^{2} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) + a^{3} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) +{\left (3 \, a^{2} \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right ) - \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right )\right )} b x - a \arctan \left (1, \sqrt{b x + a + 1} \sqrt{b x + a - 1}\right )\right )} \log \left (b x + a\right )\right )} \log \left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )\right )}}{4 \,{\left (b^{3} x^{3} + 3 \, a b^{2} x^{2} + a^{3} +{\left (3 \, a^{2} - 1\right )} b x - a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\operatorname{arccsc}\left (b x + a\right )^{3}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{acsc}^{3}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{arccsc}\left (b x + a\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]