Optimal. Leaf size=25 \[ \frac{\log \left (\cosh \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0204699, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059, Rules used = {3475} \[ \frac{\log \left (\cosh \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3475
Rubi steps
\begin{align*} \int \frac{\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \tanh (d (a+b x)) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{\log \left (\cosh \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n}\\ \end{align*}
Mathematica [A] time = 0.0460165, size = 24, normalized size = 0.96 \[ \frac{\log \left (\cosh \left (d \left (a+b \log \left (c x^n\right )\right )\right )\right )}{b d n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.004, size = 56, normalized size = 2.2 \begin{align*} -{\frac{\ln \left ( \tanh \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) -1 \right ) }{2\,dbn}}-{\frac{\ln \left ( \tanh \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) +1 \right ) }{2\,dbn}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.08618, size = 32, normalized size = 1.28 \begin{align*} \frac{\log \left (\cosh \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\right )}{b d n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.14591, size = 205, normalized size = 8.2 \begin{align*} -\frac{b d n \log \left (x\right ) - \log \left (\frac{2 \, \cosh \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right )}{\cosh \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right ) - \sinh \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right )}\right )}{b d n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 5.89987, size = 36, normalized size = 1.44 \begin{align*} - \frac{\log{\left (b d n \tanh ^{2}{\left (a d + b d \log{\left (c x^{n} \right )} \right )} - b d n \right )}}{2 b d n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.37024, size = 99, normalized size = 3.96 \begin{align*} \frac{\log \left (2 \, x^{2 \, b d n}{\left | c \right |}^{2 \, b d} \cos \left (\pi b d \mathrm{sgn}\left (c\right ) - \pi b d\right ) e^{\left (2 \, a d\right )} + x^{4 \, b d n}{\left | c \right |}^{4 \, b d} e^{\left (4 \, a d\right )} + 1\right )}{2 \, b d n} - \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]