Optimal. Leaf size=55 \[ \frac{\tanh ^{-1}\left (\cosh \left (a+b \log \left (c x^n\right )\right )\right )}{2 b n}-\frac{\coth \left (a+b \log \left (c x^n\right )\right ) \text{csch}\left (a+b \log \left (c x^n\right )\right )}{2 b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0448704, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {3768, 3770} \[ \frac{\tanh ^{-1}\left (\cosh \left (a+b \log \left (c x^n\right )\right )\right )}{2 b n}-\frac{\coth \left (a+b \log \left (c x^n\right )\right ) \text{csch}\left (a+b \log \left (c x^n\right )\right )}{2 b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3768
Rule 3770
Rubi steps
\begin{align*} \int \frac{\text{csch}^3\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \text{csch}^3(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac{\coth \left (a+b \log \left (c x^n\right )\right ) \text{csch}\left (a+b \log \left (c x^n\right )\right )}{2 b n}-\frac{\operatorname{Subst}\left (\int \text{csch}(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{2 n}\\ &=\frac{\tanh ^{-1}\left (\cosh \left (a+b \log \left (c x^n\right )\right )\right )}{2 b n}-\frac{\coth \left (a+b \log \left (c x^n\right )\right ) \text{csch}\left (a+b \log \left (c x^n\right )\right )}{2 b n}\\ \end{align*}
Mathematica [A] time = 0.0591374, size = 81, normalized size = 1.47 \[ -\frac{\log \left (\tanh \left (\frac{1}{2} \left (a+b \log \left (c x^n\right )\right )\right )\right )}{2 b n}-\frac{\text{sech}^2\left (\frac{1}{2} \left (a+b \log \left (c x^n\right )\right )\right )}{8 b n}-\frac{\text{csch}^2\left (\frac{1}{2} \left (a+b \log \left (c x^n\right )\right )\right )}{8 b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.019, size = 51, normalized size = 0.9 \begin{align*} -{\frac{{\rm csch} \left (a+b\ln \left ( c{x}^{n} \right ) \right ){\rm coth} \left (a+b\ln \left ( c{x}^{n} \right ) \right )}{2\,bn}}+{\frac{{\it Artanh} \left ({{\rm e}^{a+b\ln \left ( c{x}^{n} \right ) }} \right ) }{bn}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.15472, size = 203, normalized size = 3.69 \begin{align*} -\frac{c^{3 \, b} e^{\left (3 \, b \log \left (x^{n}\right ) + 3 \, a\right )} + c^{b} e^{\left (b \log \left (x^{n}\right ) + a\right )}}{b c^{4 \, b} n e^{\left (4 \, b \log \left (x^{n}\right ) + 4 \, a\right )} - 2 \, b c^{2 \, b} n e^{\left (2 \, b \log \left (x^{n}\right ) + 2 \, a\right )} + b n} + \frac{\log \left (\frac{{\left (c^{b} e^{\left (b \log \left (x^{n}\right ) + a\right )} + 1\right )} e^{\left (-a\right )}}{c^{b}}\right )}{2 \, b n} - \frac{\log \left (\frac{{\left (c^{b} e^{\left (b \log \left (x^{n}\right ) + a\right )} - 1\right )} e^{\left (-a\right )}}{c^{b}}\right )}{2 \, b n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.84464, size = 2109, normalized size = 38.35 \begin{align*} \text{result too large to display} \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 \frac{\operatorname{csch}^{3}{\left (a + b \log{\left (c x^{n} \right )} \right )}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.20888, size = 278, normalized size = 5.05 \begin{align*} \frac{1}{4} \, c^{3 \, b}{\left (\frac{c^{b} e^{\left (-3 \, a\right )} \log \left (2 \, x^{b n}{\left | c \right |}^{b} \cos \left (-\frac{1}{2} \, \pi b \mathrm{sgn}\left (c\right ) + \frac{1}{2} \, \pi b\right ) e^{a} + x^{2 \, b n}{\left | c \right |}^{2 \, b} e^{\left (2 \, a\right )} + 1\right )}{b c^{4 \, b} n} - \frac{c^{b} e^{\left (-3 \, a\right )} \log \left (-2 \, x^{b n}{\left | c \right |}^{b} \cos \left (-\frac{1}{2} \, \pi b \mathrm{sgn}\left (c\right ) + \frac{1}{2} \, \pi b\right ) e^{a} + x^{2 \, b n}{\left | c \right |}^{2 \, b} e^{\left (2 \, a\right )} + 1\right )}{b c^{4 \, b} n} - \frac{4 \,{\left (c^{2 \, b} x^{3 \, b n} e^{\left (2 \, a\right )} + x^{b n}\right )} e^{\left (-2 \, a\right )}}{{\left (c^{2 \, b} x^{2 \, b n} e^{\left (2 \, a\right )} - 1\right )}^{2} b c^{2 \, b} n}\right )} e^{\left (3 \, a\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]