Integrand size = 17, antiderivative size = 25 \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {\log \left (\cosh \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {3556} \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {\log \left (\cosh \left (a d+b d \log \left (c x^n\right )\right )\right )}{b d n} \]
[In]
[Out]
Rule 3556
Rubi steps \begin{align*} \text {integral}& = \frac {\text {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*}
Time = 0.06 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.96 \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {\log \left (\cosh \left (d \left (a+b \log \left (c x^n\right )\right )\right )\right )}{b d n} \]
[In]
[Out]
Time = 0.10 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00
method | result | size |
derivativedivides | \(\frac {\ln \left (\cosh \left (d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )\right )}{n b d}\) | \(25\) |
default | \(\frac {\ln \left (\cosh \left (d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )\right )}{n b d}\) | \(25\) |
parallelrisch | \(-\frac {\ln \left (x \right ) d b n +\ln \left (1-\tanh \left (d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )\right )}{d b n}\) | \(37\) |
risch | \(\ln \left (x \right )-\frac {2 a}{b n}-\frac {2 \ln \left (c \right )}{n}-\frac {2 \ln \left (x^{n}\right )}{n}-\frac {i \pi \,\operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{n}+\frac {i \pi \,\operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right ) \operatorname {csgn}\left (i c \right )}{n}+\frac {i \pi \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{n}-\frac {i \pi \operatorname {csgn}\left (i c \,x^{n}\right )^{2} \operatorname {csgn}\left (i c \right )}{n}+\frac {\ln \left (c^{2 b d} \left (x^{n}\right )^{2 b d} {\mathrm e}^{d \left (i b \pi \,\operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}-i b \pi \,\operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right ) \operatorname {csgn}\left (i c \right )-i b \pi \operatorname {csgn}\left (i c \,x^{n}\right )^{3}+i b \pi \operatorname {csgn}\left (i c \,x^{n}\right )^{2} \operatorname {csgn}\left (i c \right )+2 a \right )}+1\right )}{b d n}\) | \(238\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 76 vs. \(2 (25) = 50\).
Time = 0.27 (sec) , antiderivative size = 76, normalized size of antiderivative = 3.04 \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=-\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} \]
[In]
[Out]
Time = 1.39 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.44 \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=- \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} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.96 \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {\log \left (\cosh \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\right )}{b d n} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 74 vs. \(2 (25) = 50\).
Time = 0.36 (sec) , antiderivative size = 74, normalized size of antiderivative = 2.96 \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {\log \left (\sqrt {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 )}{b d n} - \log \left (x\right ) \]
[In]
[Out]
Time = 1.68 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.36 \[ \int \frac {\tanh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {\ln \left ({\mathrm {e}}^{2\,a\,d}\,{\left (c\,x^n\right )}^{2\,b\,d}+1\right )}{b\,d\,n}-\ln \left (x\right ) \]
[In]
[Out]