Optimal. Leaf size=18 \[ \frac{\tanh \left (a+b \log \left (c x^n\right )\right )}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0276421, antiderivative size = 18, 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 = {3767, 8} \[ \frac{\tanh \left (a+b \log \left (c x^n\right )\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3767
Rule 8
Rubi steps
\begin{align*} \int \frac{\text{sech}^2\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \text{sech}^2(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{i \operatorname{Subst}\left (\int 1 \, dx,x,-i \tanh \left (a+b \log \left (c x^n\right )\right )\right )}{b n}\\ &=\frac{\tanh \left (a+b \log \left (c x^n\right )\right )}{b n}\\ \end{align*}
Mathematica [A] time = 0.0585788, size = 18, normalized size = 1. \[ \frac{\tanh \left (a+b \log \left (c x^n\right )\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 19, normalized size = 1.1 \begin{align*}{\frac{\tanh \left ( 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 [A] time = 1.20167, size = 38, normalized size = 2.11 \begin{align*} -\frac{2}{b c^{2 \, b} n e^{\left (2 \, b \log \left (x^{n}\right ) + 2 \, a\right )} + b n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 3.03557, size = 219, normalized size = 12.17 \begin{align*} -\frac{2}{b n \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} + 2 \, b n \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + b n \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} + b n} \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{sech}^{2}{\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 [A] time = 1.15309, size = 38, normalized size = 2.11 \begin{align*} -\frac{2}{{\left (c^{2 \, b} x^{2 \, b n} e^{\left (2 \, a\right )} + 1\right )} b n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]