Optimal. Leaf size=46 \[ \frac {\tanh ^{-1}\left (\sqrt {\frac {1}{\left (a+b x^n\right )^2}+1}\right )}{b n}+\frac {\left (a+b x^n\right ) \text {csch}^{-1}\left (a+b x^n\right )}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {6715, 6314, 372, 266, 63, 207} \[ \frac {\tanh ^{-1}\left (\sqrt {\frac {1}{\left (a+b x^n\right )^2}+1}\right )}{b n}+\frac {\left (a+b x^n\right ) \text {csch}^{-1}\left (a+b x^n\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 207
Rule 266
Rule 372
Rule 6314
Rule 6715
Rubi steps
\begin {align*} \int x^{-1+n} \text {csch}^{-1}\left (a+b x^n\right ) \, dx &=\frac {\operatorname {Subst}\left (\int \text {csch}^{-1}(a+b x) \, dx,x,x^n\right )}{n}\\ &=\frac {\left (a+b x^n\right ) \text {csch}^{-1}\left (a+b x^n\right )}{b n}+\frac {\operatorname {Subst}\left (\int \frac {1}{(a+b x) \sqrt {1+\frac {1}{(a+b x)^2}}} \, dx,x,x^n\right )}{n}\\ &=\frac {\left (a+b x^n\right ) \text {csch}^{-1}\left (a+b x^n\right )}{b n}+\frac {\operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {1}{x^2}} x} \, dx,x,a+b x^n\right )}{b n}\\ &=\frac {\left (a+b x^n\right ) \text {csch}^{-1}\left (a+b x^n\right )}{b n}-\frac {\operatorname {Subst}\left (\int \frac {1}{x \sqrt {1+x}} \, dx,x,\frac {1}{\left (a+b x^n\right )^2}\right )}{2 b n}\\ &=\frac {\left (a+b x^n\right ) \text {csch}^{-1}\left (a+b x^n\right )}{b n}-\frac {\operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\sqrt {1+\frac {1}{\left (a+b x^n\right )^2}}\right )}{b n}\\ &=\frac {\left (a+b x^n\right ) \text {csch}^{-1}\left (a+b x^n\right )}{b n}+\frac {\tanh ^{-1}\left (\sqrt {1+\frac {1}{\left (a+b x^n\right )^2}}\right )}{b n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.18, size = 74, normalized size = 1.61 \[ \frac {\frac {\sqrt {\left (a+b x^n\right )^2+1} \sinh ^{-1}\left (a+b x^n\right )}{\sqrt {\frac {1}{\left (a+b x^n\right )^2}+1}}+\left (a+b x^n\right )^2 \text {csch}^{-1}\left (a+b x^n\right )}{b n \left (a+b x^n\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.65, size = 334, normalized size = 7.26 \[ \frac {a \log \left (-b \cosh \left (n \log \relax (x)\right ) - b \sinh \left (n \log \relax (x)\right ) - a + \sqrt {\frac {2 \, a b + {\left (a^{2} + b^{2} + 1\right )} \cosh \left (n \log \relax (x)\right ) - {\left (a^{2} - b^{2} + 1\right )} \sinh \left (n \log \relax (x)\right )}{\cosh \left (n \log \relax (x)\right ) - \sinh \left (n \log \relax (x)\right )}} + 1\right ) - a \log \left (-b \cosh \left (n \log \relax (x)\right ) - b \sinh \left (n \log \relax (x)\right ) - a + \sqrt {\frac {2 \, a b + {\left (a^{2} + b^{2} + 1\right )} \cosh \left (n \log \relax (x)\right ) - {\left (a^{2} - b^{2} + 1\right )} \sinh \left (n \log \relax (x)\right )}{\cosh \left (n \log \relax (x)\right ) - \sinh \left (n \log \relax (x)\right )}} - 1\right ) + {\left (b \cosh \left (n \log \relax (x)\right ) + b \sinh \left (n \log \relax (x)\right )\right )} \log \left (\frac {\sqrt {\frac {2 \, a b + {\left (a^{2} + b^{2} + 1\right )} \cosh \left (n \log \relax (x)\right ) - {\left (a^{2} - b^{2} + 1\right )} \sinh \left (n \log \relax (x)\right )}{\cosh \left (n \log \relax (x)\right ) - \sinh \left (n \log \relax (x)\right )}} + 1}{b \cosh \left (n \log \relax (x)\right ) + b \sinh \left (n \log \relax (x)\right ) + a}\right ) - \log \left (-b \cosh \left (n \log \relax (x)\right ) - b \sinh \left (n \log \relax (x)\right ) - a + \sqrt {\frac {2 \, a b + {\left (a^{2} + b^{2} + 1\right )} \cosh \left (n \log \relax (x)\right ) - {\left (a^{2} - b^{2} + 1\right )} \sinh \left (n \log \relax (x)\right )}{\cosh \left (n \log \relax (x)\right ) - \sinh \left (n \log \relax (x)\right )}}\right )}{b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{n - 1} \operatorname {arcsch}\left (b x^{n} + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.17, size = 0, normalized size = 0.00 \[ \int x^{-1+n} \mathrm {arccsch}\left (a +b \,x^{n}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 60, normalized size = 1.30 \[ \frac {2 \, {\left (b x^{n} + a\right )} \operatorname {arcsch}\left (b x^{n} + a\right ) + \log \left (\sqrt {\frac {1}{{\left (b x^{n} + a\right )}^{2}} + 1} + 1\right ) - \log \left (\sqrt {\frac {1}{{\left (b x^{n} + a\right )}^{2}} + 1} - 1\right )}{2 \, b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.21, size = 40, normalized size = 0.87 \[ \frac {\mathrm {atanh}\left (\sqrt {\frac {1}{{\left (a+b\,x^n\right )}^2}+1}\right )+\mathrm {asinh}\left (\frac {1}{a+b\,x^n}\right )\,\left (a+b\,x^n\right )}{b\,n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________