Optimal. Leaf size=75 \[ a \log (x)-\frac {i b \text {Li}_2\left (e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{2 n}-\frac {i b \sin ^{-1}\left (c x^n\right )^2}{2 n}+\frac {b \sin ^{-1}\left (c x^n\right ) \log \left (1-e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {6742, 4830, 3717, 2190, 2279, 2391} \[ -\frac {i b \text {PolyLog}\left (2,e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{2 n}+a \log (x)-\frac {i b \sin ^{-1}\left (c x^n\right )^2}{2 n}+\frac {b \sin ^{-1}\left (c x^n\right ) \log \left (1-e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2190
Rule 2279
Rule 2391
Rule 3717
Rule 4830
Rule 6742
Rubi steps
\begin {align*} \int \frac {a+b \sin ^{-1}\left (c x^n\right )}{x} \, dx &=\int \left (\frac {a}{x}+\frac {b \sin ^{-1}\left (c x^n\right )}{x}\right ) \, dx\\ &=a \log (x)+b \int \frac {\sin ^{-1}\left (c x^n\right )}{x} \, dx\\ &=a \log (x)+\frac {b \operatorname {Subst}\left (\int x \cot (x) \, dx,x,\sin ^{-1}\left (c x^n\right )\right )}{n}\\ &=-\frac {i b \sin ^{-1}\left (c x^n\right )^2}{2 n}+a \log (x)-\frac {(2 i b) \operatorname {Subst}\left (\int \frac {e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\sin ^{-1}\left (c x^n\right )\right )}{n}\\ &=-\frac {i b \sin ^{-1}\left (c x^n\right )^2}{2 n}+\frac {b \sin ^{-1}\left (c x^n\right ) \log \left (1-e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{n}+a \log (x)-\frac {b \operatorname {Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}\left (c x^n\right )\right )}{n}\\ &=-\frac {i b \sin ^{-1}\left (c x^n\right )^2}{2 n}+\frac {b \sin ^{-1}\left (c x^n\right ) \log \left (1-e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{n}+a \log (x)+\frac {(i b) \operatorname {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{2 n}\\ &=-\frac {i b \sin ^{-1}\left (c x^n\right )^2}{2 n}+\frac {b \sin ^{-1}\left (c x^n\right ) \log \left (1-e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{n}+a \log (x)-\frac {i b \text {Li}_2\left (e^{2 i \sin ^{-1}\left (c x^n\right )}\right )}{2 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.21, size = 157, normalized size = 2.09 \[ a \log (x)-\frac {b c \left (\log (x) \log \left (\sqrt {1-c^2 x^{2 n}}+\sqrt {-c^2} x^n\right )+\frac {i \left (i \sinh ^{-1}\left (\sqrt {-c^2} x^n\right ) \log \left (1-e^{-2 \sinh ^{-1}\left (\sqrt {-c^2} x^n\right )}\right )-\frac {1}{2} i \left (\text {Li}_2\left (e^{-2 \sinh ^{-1}\left (\sqrt {-c^2} x^n\right )}\right )-\sinh ^{-1}\left (\sqrt {-c^2} x^n\right )^2\right )\right )}{n}\right )}{\sqrt {-c^2}}+b \log (x) \sin ^{-1}\left (c x^n\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \arcsin \left (c x^{n}\right ) + a}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 164, normalized size = 2.19 \[ \frac {a \ln \left (c \,x^{n}\right )}{n}-\frac {i b \arcsin \left (c \,x^{n}\right )^{2}}{2 n}+\frac {b \arcsin \left (c \,x^{n}\right ) \ln \left (1+i c \,x^{n}+\sqrt {1-c^{2} x^{2 n}}\right )}{n}+\frac {b \arcsin \left (c \,x^{n}\right ) \ln \left (1-i c \,x^{n}-\sqrt {1-c^{2} x^{2 n}}\right )}{n}-\frac {i b \polylog \left (2, -i c \,x^{n}-\sqrt {1-c^{2} x^{2 n}}\right )}{n}-\frac {i b \polylog \left (2, i c \,x^{n}+\sqrt {1-c^{2} x^{2 n}}\right )}{n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ {\left (c n \int \frac {\sqrt {c x^{n} + 1} \sqrt {-c x^{n} + 1} x^{n} \log \relax (x)}{c^{2} x x^{2 \, n} - x}\,{d x} + \arctan \left (c x^{n}, \sqrt {c x^{n} + 1} \sqrt {-c x^{n} + 1}\right ) \log \relax (x)\right )} b + a \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {a+b\,\mathrm {asin}\left (c\,x^n\right )}{x} \,d x \]
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 {a + b \operatorname {asin}{\left (c x^{n} \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________