Integrand size = 25, antiderivative size = 83 \[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=\frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {2 \text {arctanh}\left (e^{c (a+b x)}\right ) \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {6852, 2320, 396, 212} \[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=\frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {2 \text {arctanh}\left (e^{c (a+b x)}\right ) \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}} \]
[In]
[Out]
Rule 212
Rule 396
Rule 2320
Rule 6852
Rubi steps \begin{align*} \text {integral}& = \frac {\tanh (a c+b c x) \int e^{c (a+b x)} \coth (a c+b c x) \, dx}{\sqrt {\tanh ^2(a c+b c x)}} \\ & = \frac {\tanh (a c+b c x) \text {Subst}\left (\int \frac {-1-x^2}{1-x^2} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\tanh ^2(a c+b c x)}} \\ & = \frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {(2 \tanh (a c+b c x)) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\tanh ^2(a c+b c x)}} \\ & = \frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {2 \text {arctanh}\left (e^{c (a+b x)}\right ) \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 51, normalized size of antiderivative = 0.61 \[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=\frac {\left (e^{c (a+b x)}-2 \text {arctanh}\left (e^{c (a+b x)}\right )\right ) \tanh (c (a+b x))}{b c \sqrt {\tanh ^2(c (a+b x))}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 0.36 (sec) , antiderivative size = 48, normalized size of antiderivative = 0.58
method | result | size |
default | \(\frac {\operatorname {csgn}\left (\tanh \left (c \left (b x +a \right )\right )\right ) \left (\sinh \left (b c x +a c \right )+\cosh \left (b c x +a c \right )-2 \,\operatorname {arctanh}\left ({\mathrm e}^{b c x +a c}\right )\right )}{c b}\) | \(48\) |
risch | \(\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) {\mathrm e}^{c \left (b x +a \right )}}{\sqrt {\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}{\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}}\, \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) b c}+\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) \ln \left ({\mathrm e}^{c \left (b x +a \right )}-1\right )}{\sqrt {\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}{\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}}\, \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) c b}-\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) \ln \left ({\mathrm e}^{c \left (b x +a \right )}+1\right )}{\sqrt {\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}{\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}}\, \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) c b}\) | \(213\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 70, normalized size of antiderivative = 0.84 \[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=\frac {\cosh \left (b c x + a c\right ) - \log \left (\cosh \left (b c x + a c\right ) + \sinh \left (b c x + a c\right ) + 1\right ) + \log \left (\cosh \left (b c x + a c\right ) + \sinh \left (b c x + a c\right ) - 1\right ) + \sinh \left (b c x + a c\right )}{b c} \]
[In]
[Out]
\[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=e^{a c} \int \frac {e^{b c x}}{\sqrt {\tanh ^{2}{\left (a c + b c x \right )}}}\, dx \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 56, normalized size of antiderivative = 0.67 \[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=\frac {e^{\left (b c x + a c\right )}}{b c} - \frac {\log \left (e^{\left (b c x + a c\right )} + 1\right )}{b c} + \frac {\log \left (e^{\left (b c x + a c\right )} - 1\right )}{b c} \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 88, normalized size of antiderivative = 1.06 \[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=\frac {e^{\left (b c x + a c\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) - \log \left (e^{\left (b c x + a c\right )} + 1\right ) \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) + \log \left ({\left | e^{\left (b c x + a c\right )} - 1 \right |}\right ) \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right )}{b c} \]
[In]
[Out]
Timed out. \[ \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx=\int \frac {{\mathrm {e}}^{c\,\left (a+b\,x\right )}}{\sqrt {{\mathrm {tanh}\left (a\,c+b\,c\,x\right )}^2}} \,d x \]
[In]
[Out]